/* ============================================
   Intro Section — Lanka Tour Driver
   ============================================ */

/* --- Keyframes --- */
@keyframes introFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes introFadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes introLineExpand {
  from { width: 0; }
  to   { width: 40px; }
}

/* --- Section --- */
.intro-section {
  background: #FFFFFF;
  padding: 80px 0;
  position: relative;
}

/* Bottom gradient separator */
.intro-section__separator {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 139, 139, 0.15), transparent);
}

/* --- Container --- */
.intro-section__container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  gap: 60px;
}

/* --- Text Column --- */
.intro-section__text {
  opacity: 0;
}

.intro-section.is-visible .intro-section__text {
  animation: introFadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

/* Decorative teal line */
.intro-section__accent-line {
  display: block;
  height: 2.5px;
  background: linear-gradient(135deg, #008B8B, #20B2AA);
  border: none;
  border-radius: 2px;
  margin-bottom: 16px;
  width: 0;
}

.intro-section.is-visible .intro-section__accent-line {
  animation: introLineExpand 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

/* --- Heading --- */
.intro-section__heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: #1A3A52;
  line-height: 1.25;
  margin: 0 0 20px;
}

.intro-section__heading-teal {
  color: #008B8B;
}

.intro-section__heading-teal em {
  font-style: italic;
}

/* --- Body --- */
.intro-section__body {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.85;
  color: #4A6A7A;
  margin: 0;
  opacity: 0;
}

.intro-section.is-visible .intro-section__body {
  animation: introFadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.intro-section__body strong {
  color: #1A3A52;
  font-weight: 600;
}

/* --- Image Column --- */
.intro-section__image-wrap {
  opacity: 0;
  position: relative;
}

.intro-section.is-visible .intro-section__image-wrap {
  animation: introFadeInRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.intro-section__img-stack {
  position: relative;
  height: 500px;
  width: 100%;
}

.intro-section__img-stack img {
  position: absolute;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro-section__img-stack:hover img {
  transform: scale(1.02);
}

.intro-section__img-main {
  width: 75%;
  height: 400px;
  top: 0;
  right: 15px;
  z-index: 2;
}

.intro-section__img-secondary {
  width: 55%;
  height: 260px;
  bottom: 0;
  left: 0;
  z-index: 3;
  border: 6px solid #FDFAF5;
}

.intro-section__img-accent {
  position: absolute;
  bottom: 30px;
  right: 0;
  width: 120px;
  height: 120px;
  background: #008B8B;
  opacity: 0.12;
  z-index: 1;
  border-radius: 12px;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1100px) {
  .intro-section__container {
    padding: 0 40px;
    gap: 40px;
  }

  .intro-section__heading {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .intro-section__container {
    grid-template-columns: 1fr;
    max-width: 650px;
    gap: 36px;
  }

  .intro-section__text {
    text-align: center;
  }

  .intro-section__accent-line {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-section__img-stack {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .intro-section__img-main {
    height: 320px;
  }
  
  .intro-section__img-secondary {
    height: 200px;
  }
}

@media (max-width: 640px) {
  .intro-section {
    padding: 50px 0;
  }

  .intro-section__container {
    padding: 0 24px;
  }

  .intro-section__heading {
    font-size: 26px;
  }

  .intro-section__body {
    font-size: 13.5px;
  }
  
  .intro-section__img-stack {
    height: 300px;
  }
  
  .intro-section__img-main {
    height: 240px;
  }
  
  .intro-section__img-secondary {
    height: 150px;
    border-width: 4px;
  }
  
  .intro-section__img-accent {
    width: 80px;
    height: 80px;
    bottom: 10px;
    right: 0;
  }
}
