/* --- CSS VARIABLES & BASIC SETUP --- */
:root {
  --pastel-pink: #fecde1;
  --pastel-blue: #a3d5ff;
  --pastel-lavender: #d7bde2;
  --glass-bg: rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.6);
  --text-dark: #333;
  --text-light: #555;
  --accent-color: #e887a3;
  --accent-light: #f7b2c5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #eaece7;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.2;
}
.section-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}
.content-section {
  padding: 120px 0;
}
#home {
  padding-top: 0;
} /* Hero section adjustment */



.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-light));
  color: white;
  padding: 15px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(232, 135, 163, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(232, 135, 163, 0.6);
}

/* --- ASYMMETRICAL SECTION LAYOUT --- */
.section-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.layout--text-left {
  flex-direction: row-reverse;
}
.layout-image {
  flex: 1;
}
.layout-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.layout-text {
  flex: 1;
}
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}


/* --- MASONRY GALLERY --- */
/* --- GALLERY (2-COLUMN ON MOBILE) --- */
.gallery-masonry-grid {
  display: grid;
  
  /* This creates a 2-column grid by default (mobile-first) */
  grid-template-columns: repeat(2, 1fr);
  
  /* Defines the space between the images */
  gap: 1rem; 
  
  /* General container styles */
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  /* The break-inside property is not needed for CSS Grid */
}

.gallery-item img {
  width: 100%;
  height: 100%; /* Make image fill the grid cell */
  object-fit: cover; /* Ensures image covers the area without distortion */
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}


/* --- RESPONSIVE GALLERY: 3 Columns on Tablets & Desktops --- */
@media (min-width: 768px) {
  .gallery-masonry-grid {
    /* Switch to 3 columns on larger screens */
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; /* A slightly larger gap can look nice on desktop */
  }
}

/* --- LIGHTBOX (for gallery) --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
}
.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  border-radius: 10px;
  animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.close-lightbox {
  position: absolute;
  top: 25px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}
.close-lightbox:hover {
  color: var(--pastel-pink);
}


/* --- FOOTER --- */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* --- ANIMATIONS --- */
.animate-on-load,
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-from-left {
  transform: translateX(-50px);
}
.slide-in-from-right {
  transform: translateX(50px);
}
.fade-in {
  transform: translateY(30px);
}
.animate-on-load.is-visible,
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- MOBILE BOTTOM NAVIGATION --- */
.mobile-nav {
  display: none;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
  .section-layout {
    flex-direction: column !important;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text-pane {
    order: 2;
    padding-right: 0;
    padding-top: 2rem;
  }
  .hero-image-pane {
    order: 1;
    width: 100%;
    height: 40vh;
  }
  .gallery-masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
  #main-header .desktop-nav {
    display: none;
  }
  #main-header .container {
    justify-content: center;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid var(--glass-border);
    z-index: 1001;
    justify-content: space-around;
    padding: 10px 0;
  }
  .mobile-nav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
  }
  .mobile-nav .nav-link i {
    font-size: 1.4rem;
    margin-bottom: 4px;
  }
  .mobile-nav .nav-link.active {
    color: var(--accent-color);
    transform: translateY(-3px);
  }
  .section-title {
    font-size: 2.5rem;
  }
  #hero {
    min-height: 80vh;
  }
  .gallery-masonry-grid {
    column-count: 1;
  }
  .service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .price {
    padding-left: 0;
  }
}

/* --- MOBILE SPACING FIX --- */
/* This media query targets tablets and phones */
@media (max-width: 768px) {
  
  /* Adds space to the left and right of all main content sections */
  .content-section {
    padding-left: 1.5rem; /* ~24px of space */
    padding-right: 1.5rem; /* ~24px of space */
  }

  /*
    The hero section is slightly different. We add padding to its
    main container to push the text/image block away from the edges.
  */
  #hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  /* Adds space to the footer content */
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}