/* ===================================
   HOME PAGE STYLES - checkmywed.com
   =================================== */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #2e2e2e;

  /* Combined gradient + image */
  background: 
    linear-gradient(
      to right,
     rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)
    ),
    url("../assets/Images/Home-page/HomePage_background.png") center center / cover no-repeat;
  background-attachment: fixed; /* subtle parallax */
  
  padding: 100px 20px 80px; /* top/bottom balance */
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
 bottom: 0;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-60px);
  }
}

.hero-content {
  position: absolute;
  top: 35%;
  left: 10%;
  /* transform: translate(-50%, -50%); */
  text-align: left;
  z-index: 1;
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--primary-white);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* About Section */
.about {
  background-color: var(--primary-white);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image .image-placeholder {
  width: 65%;
  aspect-ratio: 1;
  background: url("../assets/Images/Home-page/Banner\ Logo.png");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  color: white;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 1s ease-out;
}

.about-text .section-title {
  text-align: left;
}

.about-text .section-title::after {
  margin: 1rem 0;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--secondary-gray);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--primary-blush);
  margin-bottom: 0.5rem;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

/* Services Section */
.services {
  background: linear-gradient(180deg, var(--secondary-gray) 0%, var(--primary-white) 100%);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service-card {
  background-color: var(--primary-white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-blush), var(--primary-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-blush), var(--accent-rose));
  border-radius: 50%;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-soft);
}
.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-card p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-blush);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.service-link:hover {
  gap: 0.75rem;
  color: var(--primary-gold);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--primary-white);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: var(--secondary-gray);
  padding: 2.5rem;
  border-radius: 16px;
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary-blush);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blush), var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta {
  background: url("../assets/Images/Home-page/TrustBuilding.png") no-repeat;
  background-size: cover;
  background-position: 40% center; /* moves image slightly left */
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 15px; /* gives boxed shape */
  max-width: 1200px; /* set desired box width */
  margin: 2rem auto; /* centers the box */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* adds depth */
}

.cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-content {
  text-align: left;
  position: relative;
  z-index: 1;
  padding: 3rem;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.75) 20%, rgba(255, 255, 255, 0) 60%);
  border-radius: 10px 0 0 10px;
  max-width: 700px;
  margin-left: auto; /* pushes overlay to the right side */
}


.cta h2 {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 1rem;
  text-shadow: none;
}

.cta p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 2rem;
  text-shadow: none;
}

.btn-secondary {
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s;
}



/* Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .about-content {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 80vh;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

  .cta h2 {
    font-size: 2rem;
  }

  .cta p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
    .hero {
    height: auto;
    min-height: 100vh; /* full height for small screens */
    padding-bottom: 60px; /* ensures buttons aren't cut */
  }

  .hero-content {
    padding-bottom: 40px;
  }
  .hero-title {
    font-size: 1.875rem;
  }

  .about-image .image-placeholder {
    font-size: 5rem;
  }

  .stat-item h3 {
    font-size: 2rem;
  }
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form button {
    width: 100%;
  }
  
  .newsletter-content h2 {
    font-size: 1.8rem;
  }
  
  .newsletter-content p {
    font-size: 1rem;
  }
}

/* Newsletter Section */
.newsletter-section {
  padding: 100px 0;
  background:     linear-gradient(
      to top, 
      rgba(163, 54, 92, 0.55),   /* soft maroon overlay */
      rgba(163, 54, 92, 0.25),   /* fade upward */
      rgba(255, 255, 255, 0)     /* fully transparent top */
    ), url("./assets/Images/Service-images/Corousal1.png") center/cover no-repeat;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff6f6;
}

.newsletter-content p {
  font-size: 1.2rem;
  color: #ffe8e8;
  margin-bottom: 35px;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 550px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid #E0E0E0;
  border-radius: 50px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: white;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #FFB6C1;
  box-shadow: 0 0 0 4px rgba(255, 182, 193, 0.1);
}

.newsletter-form button {
  padding: 16px 40px;
  border-radius: 50px;
  white-space: nowrap;
}