/* Home Page Specific Styles */

/* Scroll Progress Indicator */
.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(189, 129, 95, 0.2);
  z-index: 1000;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, #bd815f, #c68642);
  width: 0%;
  transition: width 0.1s ease-out;
}

/* Hero Section */
.hero {
  padding: 160px 0 96px;
  background: #000;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 20% 50%,
    rgba(189, 129, 95, 0.1) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 128px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(100px);
  animation: heroTitleReveal 1.2s ease-out 0.3s forwards;
}
/* Styling for the Explore Guides button container */
.button-container {
  display: flex;
  justify-content: center; /* Horizontally centers the button */
  align-items: center;    /* Vertically centers the button */
  padding: 40px 0;        /* Adds some space above and below */
  background: none;       /* Removes the white background */
}
@keyframes heroTitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  background: linear-gradient(90deg, #ffffff 0%, #444444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(50px);
  animation: heroSubtitleReveal 1s ease-out 0.8s forwards;
}

@keyframes heroSubtitleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  flex: 0 0 42%;
  text-align: center;
  opacity: 0;
  transform: scale(0.8) translateX(50px);
  animation: heroImageReveal 1.2s ease-out 0.6s forwards;
}

@keyframes heroImageReveal {
  to {
    opacity: 1;
    transform: scale(1) translateX(0);
  }
}

.hero-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Quiz Section */
.quiz-section {
  padding: 60px 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.quiz-content {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}

.quiz-image {
  flex: 0 0 360px;
}

.quiz-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  transition: all 0.4s ease;
}

.quiz-image:hover img {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(189, 129, 95, 0.3);
}

.quiz-text {
  flex: 1;
  text-align: center;
}

.quiz-title {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
  background: linear-gradient(
    89deg,
    rgba(189, 129, 95, 0.75) 0%,
    rgba(255, 254, 254, 0.75) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-subtitle {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 48px;
  background: linear-gradient(90deg, #ffffff 0%, #444444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title {
  text-align: center;
  margin-top: 20px;
}

.section-title h3 {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 64px;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Skincare Aspects */
.aspects-section {
  padding: 30px 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.aspects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.aspect-card {
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

.aspect-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(189, 129, 95, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.aspect-card:hover::before {
  opacity: 1;
}

.aspect-card:hover {
  transform: translateY(-10px);
}

.aspect-card img {
  width: 100%;
  max-width: 332px;
  height: 300px;
  object-fit: cover;
  border-radius: 26px;
  margin-bottom: 20px;
  transition: all 0.4s ease;
}

.aspect-card:hover img {
  transform: scale(1.1);
}

.aspect-card h4 {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 0%, #444444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}
/* --- Fix for Button Centering on Mobile --- */
@media (max-width: 768px) {
    .button-container {
        display: flex;
        justify-content: center; /* This is the key property to center the button */
        width: 100%;             /* Ensures the container takes up the full width */
    }
}
/* --- ENHANCED Skincare Solutions Section --- */
.solutions-section {
    padding: 100px 0;
    background: #050505;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(189, 129, 95, 0.2);
}

.solutions-section .section-title {
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 50px;
    background: linear-gradient(180deg, #ffffff 0%, #bd815f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solutions-tabs {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(189, 129, 95, 0.2);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(28, 28, 30, 0.8) 100%);
    border-bottom: 1px solid rgba(189, 129, 95, 0.2);
    border-radius: 10px 10px 0 0;
    overflow: hidden; /* To contain the gradient border */
}

.tab-btn {
    flex: 1;
    padding: 18px 20px; /* Slightly reduced top/bottom padding */
    background: transparent;
    border: none;
    color: #ccc; /* Slightly lighter default color */
    font-size: 17px; /* Slightly smaller font size */
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s ease, background-color 0.3s ease;
    position: relative;
}

.tab-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #bd815f, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tab-btn:hover {
    color: #fff;
    background-color: rgba(189, 129, 95, 0.05); /* Subtle hover feedback */
}

.tab-btn.active {
    color: #D4AC79;
    background-color: rgba(189, 129, 95, 0.1); /* More pronounced active state */
}

.tab-btn.active::before {
    opacity: 1;
}

.tab-content-container {
    padding: 40px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s ease;
}

.tab-content.active {
    display: block;
}

.tab-content h3 {
    font-size: 28px;
    font-weight: 500;
    background: linear-gradient(90deg, #ffffff 0%, #bd815f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.tab-content p {
    color: #c0c0c0;
    margin-bottom: 25px;
    line-height: 1.7;
}

.tab-content h4 {
    font-size: 18px;
    color: #bd815f;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tab-content ul, .tab-content ol {
    list-style: none;
    padding-left: 0;
    color: #c0c0c0;
}

.tab-content li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.tab-content li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #D4AC79;
    font-size: 20px;
    line-height: 1.2;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Why It Matters */
.why-matters {
  padding: 80px 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.why-matters h3 {
  font-family: "Inter", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 32px;
  background: linear-gradient(90deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-matters p {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.4;
  background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* --- Modal Styles (The "After Click" Part) --- */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
     /* Hidden by default */
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex; /* Shown when active */
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    z-index: 2001;
    background: #1C1C1E;
    color: #c0c0c0;
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 100%;
    border: 1px solid #3a3a3a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: fadeInScale 0.4s ease-out;
}

.modal-content h3 {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  background: linear-gradient(90deg, #ffffff 0%, #bd815f 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.modal-content p {
    font-size: 16px;
    line-height: 1.7;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Testimonials */
.testimonials-section {
  padding: 80px 0;
  background: #000;
  position: relative;
  z-index: 2;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-title h3 {
  font-family: "Inter", sans-serif;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.2;
}

.testimonials-title .text-white {
  color: #fff;
}

.testimonials-title .text-gold {
  color: #bd815f;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.testimonial-card {
  border: 2px solid #bd815f;
  border-radius: 20px;
  padding: 54px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: linear-gradient(
    135deg,
    rgba(189, 129, 95, 0.05),
    rgba(0, 0, 0, 0.8)
  );
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(189, 129, 95, 0.1),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 18px;
}

.testimonial-card:hover::before {
  opacity: 1;
}

.testimonial-card.side {
  opacity: 0.4;
  transform: scale(0.9);
}

.testimonial-card.main {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(189, 129, 95, 0.2);
}

.testimonial-quote {
  font-family: "Inter", sans-serif;
  font-size: 128px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-text {
  font-family: "Inter", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  position: relative;
  z-index: 2;
}

.testimonial-author h4 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #bd815f;
  margin-bottom: 8px;
}

.testimonial-author p {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 80px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .quiz-title {
    font-size: 36px;
  }

  .quiz-subtitle {
    font-size: 28px;
  }

  .section-title h3 {
    font-size: 48px;
  }
  
  .section-title {
    margin-top: 80px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card.side {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 48px;
  }

  .hero-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .hero-image {
    display: none;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .quiz-content {
    flex-direction: column;
    gap: 30px;
  }

  .quiz-image {
    flex: none;
    max-width: 300px;
  }

  .quiz-title {
    font-size: 32px;
  }

  .quiz-subtitle {
    font-size: 24px;
  }

  .section-title h3 {
    font-size: 36px;
  }

  .aspects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .aspect-card h4 {
    font-size: 28px;
  }

  .why-matters h3 {
    font-size: 32px;
  }

  .why-matters p {
    font-size: 18px;
  }

  .testimonials-title h3 {
    font-size: 40px;
  }

  .testimonial-card {
    padding: 30px;
  }

  .testimonial-quote {
    font-size: 80px;
  }

  .testimonial-text {
    font-size: 18px;
  }
}