/* Styles for the home page */
@import url('styleguide.css');
@import url('header.css');
@import url('footer.css');

.header-navigation {
  margin-bottom: 0;
}

.home-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0px 50px 150px 50px;
}

.home-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.home-hero {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100vh;
  justify-content: center;
  position: relative;
}

.home-hero-content {
  max-width: 800px;
}

.home-hero-content h1 {
  color: var(--royal-blue);
  font-family: var(--font-family-oscine-bold);
  font-size: 120px;
  font-weight: 700;
  line-height: 112px;
  margin: 0 0 40px 0;
}

.home-hero-content p {
  font-family: var(--font-family-oscine-regular);
  font-size: var(--font-size-l);
  line-height: 1.6;
  color: var(--black);
}

.home-video-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: 100px;
}

.home-video-section h2 {
  font-family: var(--font-family-oscine-bold);
  font-size: 64px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 40px 0;
  line-height: 1.2;
}

.home-video-description {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: center;
}

.home-video-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.home-video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.home-video-description-text {
  font-family: var(--font-family-oscine-regular);
  font-size: var(--font-size-l);
  line-height: 1.6;
  color: var(--black);
}

.home-procedure-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  align-items: end;
}

.home-procedure-title {
  font-family: var(--font-family-oscine-bold);
  font-size: 120px;
  font-weight: 700;
  line-height: 120px;
  color: var(--black);
  margin: 0;
}

.home-procedure-link {
  text-align: right;
}

.home-procedure-link-text {
  font-family: var(--font-family-oscine-regular);
  font-size: var(--font-size-l);
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.home-procedure-link-text::after {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='59.965' height='39.559' viewBox='0 0 59.965 39.559'%3E%3Cg id='Groupe_103' data-name='Groupe 103' transform='translate(-831.256 -2822.635)'%3E%3Cpath id='Trac%25C3%25A9_330' data-name='Trac%25C3%25A9 330' d='M296.426.354,319.5,19.361,296.426,38.369' transform='translate(570.146 2823.053)' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3Cline id='Ligne_10' data-name='Ligne 10' x2='58.393' transform='translate(831.256 2842.414)' fill='none' stroke='%23000' stroke-miterlimit='10' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E");
  width: 60px;
  height: 40px;
  display: inline-block;
  vertical-align: middle;
}

.home-buttons-wrapper {
  margin-top: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.home-buttons {
  display: flex;
  gap: 30px;
}

.home-button {
  padding: 12px 20px 8px 20px;
  border-radius: 32px;
  font-family: var(--font-family-oscine-bold);
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  line-height: 1;
}

.home-button-blue {
  background: var(--royal-blue);
  color: var(--white);
}

.home-button-blue:hover {
  background: var(--royal-blue);
  opacity: 0.9;
}

.home-button-white {
  background: var(--white);
  border: 2px solid var(--black);
  color: var(--black);
}

.home-button-white:hover {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
}

.home-scroll-indicator {
  position: relative;
  color: var(--royal-blue);
  cursor: pointer;
  text-decoration: none;
  animation: bounce 2s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
  align-self: flex-start;
}

.home-scroll-indicator:hover {
  opacity: 0.7;
}

.home-scroll-indicator svg {
  width: 40px;
  height: 40px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Tablet and small desktop adjustments */
@media screen and (max-width: 1060px) {
  .home-procedure-title {
    font-size: 50px;
    line-height: 48px;
  }
}

/* Mobile styles */
@media screen and (max-width: 768px) {
 
  .home-container{
    padding: 20px 20px 50px;
  }
  .home-sections-wrapper {
    gap: 80px;
  }
  
  /* Remove min-height on all sections */
  .home-hero,
  .home-video-section {
    min-height: 80vh;
    
  }
  
  /* Keep scroll indicator visible on mobile */
  .home-buttons-wrapper {
    gap: 15px;
  }
  
  .home-procedure-section {
    align-items: start;
  }
  
  /* Font sizes */
  .home-hero-content h1 {
    font-size: 64px;
    line-height: 60px;
  }
  
  .home-video-section h2 {
    font-size: 50px;
    line-height: 48px;
  }
  
  .home-procedure-title {
    font-size: 50px;
    line-height: 48px;
  }
  
  .home-hero-content p,
  .home-video-description-text p {
    font-size: 16px;
    line-height: 26px;
  }
  
  /* Layout adjustments */
  .home-video-description {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .home-video-wrapper {
    order: 2;
  }
  
  .home-video-description-text {
    order: 1;
  }
  
  .home-procedure-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .home-procedure-link {
    text-align: left;
  }
  
  .home-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .home-button {
    width: auto;
    box-sizing: border-box;
    padding-left: 40px;
    padding-right: 40px;
  }
  
  /* Arrow scaling */
  .home-procedure-link-text {
    font-size: 16px;
    gap: 0;
  }
  
  .home-procedure-link-text::after {
    transform: scale(0.6);
  }
  
 
}

