/* =====================
   GLOBAL RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  body {
  background: linear-gradient(
    180deg,
    #fff7f5 0%,
    #fde2e4 40%,
    #ffffff 100%
  );
}
}

/* =====================
   REUSABLE STYLES
===================== */
section {
  padding: 80px 8%;
}

h1, h2, h3 {
  font-family: "Playfair Display", serif;
  color: #3a1f1f;
}

h2 {
  font-size: 2.6rem;
  margin-bottom: 30px;
  text-align: center;
}

p {
  font-size: 1rem;
  color: #5c4a4a;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(135deg, #d16ba5, #f6c1cc);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(209, 107, 165, 0.35);
}

.btn-outline {
  padding: 14px 32px;
  border-radius: 30px;
  border: 2px solid #d16ba5;
  color: #d16ba5;
  text-decoration: none;
  margin-left: 15px;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #d16ba5;
  color: #fff;
}

/* =====================
   HEADER / NAVBAR
===================== */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 247, 245, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 8%;
}

.logo a {
  font-size: 1.6rem;
  font-weight: 700;
  color: #d16ba5;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #3a2d2d;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #d16ba5;
  transition: 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* =====================
   HERO SECTION
===================== */
#home {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 50px;
  min-height: 90vh;
  background: linear-gradient(to right, #fff7f5, #fde2e4);
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.2;
}

.hero-content p {
  margin: 20px 0 35px;
  font-size: 1.15rem;
}

.hero-image {
  width: 100%;
  height: 500px;
  border-radius: 30px;
  background: url("https://images.unsplash.com/photo-1559599101-f09722fb4948") center/cover no-repeat;
  box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

/* =====================
   SERVICES
===================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  transition: 0.4s;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.service-card h3 {
  margin-bottom: 15px;
}

/* =====================
   ABOUT
===================== */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  text-align: left;
}

.about-image {
  height: 450px;
  border-radius: 30px;
  background: url("https://images.unsplash.com/photo-1582095133179-bfd08e2fc6b3") center/cover no-repeat;
}

/* =====================
   WHY CHOOSE US
===================== */
#why-choose-us ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  list-style: none;
}

#why-choose-us li {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =====================
   GALLERY
===================== */
.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  position: relative;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;              /* 🔥 MAIN GAP BETWEEN IMAGES */
  margin-top: 50px;
}

.gallery-item {
  margin: 0;              /* ❗ important */
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  position: relative;
  background: #fff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.work-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 900px) {
  .gallery-grid {
    gap: 28px;
  }
}

@media (max-width: 500px) {
  .gallery-grid {
    gap: 22px;
  }
}


/* Caption */
.work-title {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0)
  );
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* =====================
   PRICING
===================== */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: #fff;
  border-radius: 25px;
  padding: 40px 25px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.pricing-card p {
  font-size: 2rem;
  font-weight: bold;
  color: #d16ba5;
}

/* =====================
   TESTIMONIALS
===================== */
.testimonials-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: #fff;
  padding: 35px 25px;
  border-radius: 25px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #f6c1cc;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card h4 {
  color: #3a1f1f;
  font-weight: 600;
}

.testimonial-card span {
  font-size: 0.9rem;
  color: #888;
}


/* =====================
   CONTACT
===================== */
/* =====================
   CTA SECTION
===================== */
#cta {
  background: linear-gradient(135deg, #d16ba5, #f6c1cc);
  color: #fff;
  padding: 90px 8%;
}

.cta-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}

.cta-text h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
}

.cta-text p {
  font-size: 1.1rem;
  color: #fff;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

/* CTA Buttons override */
#cta .btn {
  background: #fff;
  color: #d16ba5;
}

#cta .btn:hover {
  background: #3a1f1f;
  color: #fff;
}

#cta .btn-outline {
  border-color: #fff;
  color: #fff;
}

#cta .btn-outline:hover {
  background: #fff;
  color: #d16ba5;
}

/* Responsive CTA */
@media (max-width: 900px) {
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
  }
}

/* =====================
   FOOTER
===================== */
footer {
  background: #3a1f1f;
  color: #fff;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  padding: 70px 8%;
}

.footer-box h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #f6c1cc;
}

.footer-box h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #f6c1cc;
}

.footer-box p {
  font-size: 0.95rem;
  color: #e5dcdc;
  line-height: 1.6;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-box a {
  color: #fff;
  text-decoration: none;
}

.footer-box a:hover {
  text-decoration: underline;
}

/* Map */
.footer-box iframe {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 12px;
}

/* Bottom copyright */
.footer-bottom {
  background: #2a1515;
  text-align: center;
  padding: 18px;
  font-size: 0.9rem;
  color: #e5dcdc;
}

/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    text-align: center;
  }
}


/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
  #home,
  #about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image,
  .about-image {
    height: 350px;
  }

  .about-text h2 {
    text-align: center;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
  }
}

/* Navbar scroll effect */
header.scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* =====================
   LIGHTBOX STYLES
===================== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 2000;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* =====================
   SCROLL REVEAL BASE
===================== */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Optional variations */
.reveal-left {
  transform: translateX(-60px);
}

.reveal-right {
  transform: translateX(60px);
}

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
}

/* ==================================================
   FINAL RESPONSIVE FIXES (PRODUCTION READY)
================================================== */

/* Global safety */
body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

/* ----------------------------------
   SECTION PADDING
----------------------------------- */
@media (max-width: 1024px) {
  section {
    padding: 70px 6%;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 5%;
  }
}

@media (max-width: 480px) {
  section {
    padding: 50px 4%;
  }
}

/* ----------------------------------
   NAVBAR RESPONSIVE
----------------------------------- */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
}

/* ----------------------------------
   HERO SECTION
----------------------------------- */
@media (max-width: 900px) {
  #home {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    height: 340px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* ----------------------------------
   ABOUT SECTION
----------------------------------- */
@media (max-width: 900px) {
  #about {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-text h2 {
    text-align: center;
  }

  .about-image {
    height: 320px;
  }
}

/* ----------------------------------
   CTA SECTION
----------------------------------- */
@media (max-width: 768px) {
  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 15px;
  }

  .cta-buttons a {
    width: 100%;
  }
}

/* ----------------------------------
   GALLERY
----------------------------------- */
@media (max-width: 600px) {
  .gallery-item {
    height: 240px;
  }
}

/* ----------------------------------
   TESTIMONIALS / CARDS
----------------------------------- */
.service-card,
.testimonial-card,
.pricing-card {
  width: 100%;
}

/* ----------------------------------
   FOOTER
----------------------------------- */
@media (max-width: 600px) {
  .footer-container {
    text-align: center;
  }

  .footer-box iframe {
    height: 200px;
  }
}
