/* RESET & BASE */
html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  background-color: #FBF9F6; /* Richer soft cream */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  margin-top: 0;
  color: #111111; /* Deep charcoal */
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* UTILITIES */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

.bg-light {
  background-color: #F4EFEA; /* Slightly darker cream for contrast */
}

.section-padding {
  padding: 120px 0; /* Increased for luxury spacing */
}

.section-subtitle {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #A38A6A; /* Muted gold/champagne */
  margin-bottom: 15px;
  font-weight: 500;
}

.section-title {
  font-size: 42px;
  margin-bottom: 25px;
  line-height: 1.2;
}

.section-desc {
  font-size: 17px;
  color: #4a4a4a;
  max-width: 650px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ANIMATIONS */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.parallax-container {
  overflow: hidden;
  position: relative;
}

/* BUTTONS */
.btn-primary, .btn-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 36px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.btn-primary {
  background-color: #111;
  color: #FFF;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #A38A6A;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.btn-primary:hover {
  color: #FFF;
  border-color: #A38A6A;
}

.btn-primary:hover::before {
  transform: scaleX(1);
}

.btn-secondary {
  background-color: transparent;
  color: #111;
  border-color: #111;
}

.btn-secondary:hover {
  background-color: #111;
  color: #FFF;
}

/* TOP BAR */
.top-bar {
  background-color: #0A0A0A;
  color: #D3C4B1;
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 1px;
  font-weight: 300;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tb-item i {
  margin-right: 6px;
  color: #A38A6A;
}

/* HEADER */
.header {
  background-color: rgba(251, 249, 246, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

.header.scrolled {
  background-color: rgba(251, 249, 246, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 90px;
  transition: height 0.4s ease;
}

.header.scrolled .header-content {
  height: 75px;
}

.logo a {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 1px;
}

.logo .tagline {
  font-size: 10px;
  color: #A38A6A;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.desktop-nav ul {
  display: flex;
  gap: 35px;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #111;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: #A38A6A;
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #111;
  padding: 10px;
}

/* MOBILE NAV DROPDOWN */
.mobile-nav {
  display: none;
  background-color: rgba(251, 249, 246, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  display: block;
  padding: 20px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #111;
  text-align: center;
}

/* HERO SECTION */
.hero {
  padding: 80px 0 120px 0;
}

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

.hero-text .eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #A38A6A;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.editorial-title {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 400;
}

.hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
}

.trust-points {
  margin-bottom: 50px;
}

.trust-points li {
  margin-bottom: 15px;
  font-size: 15px;
  color: #333;
  font-weight: 400;
  display: flex;
  align-items: center;
}

.trust-points i {
  color: #A38A6A;
  margin-right: 15px;
  font-size: 14px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  object-fit: cover;
}

/* CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0,0,0,0.03);
  padding: 50px 40px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(5px);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(163, 138, 106, 0.1);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(163, 138, 106, 0.2);
}

.card-center {
  text-align: center;
}

.card-icon {
  font-size: 36px;
  color: #A38A6A;
  margin-bottom: 25px;
  transition: transform 0.5s ease;
}

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

.card h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.card p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 300;
  margin: 0;
}

/* FOUNDER SECTION */
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.founder-image img {
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  width: 100%;
}

/* SERVICES SECTION */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* GALLERY SECTION - MASONRY */
.masonry-grid {
  column-count: 3;
  column-gap: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 30px;
  break-inside: avoid;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(251, 249, 246, 0.95);
  padding: 10px 25px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  color: #111;
  opacity: 0;
  transition: all 0.4s ease;
  white-space: nowrap;
}

.gallery-item:hover .gallery-label {
  opacity: 1;
  bottom: 25px;
}

/* TEAM SECTION */
.team-image-container img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* CTA SECTION */
.cta {
  background-color: #0A0A0A;
  color: #FFF;
  padding: 140px 0;
}

.cta .section-title {
  color: #FFF;
}

.cta .section-desc {
  color: #CCC;
}

.cta .btn-primary {
  background-color: #FFF;
  color: #0A0A0A;
}

.cta .btn-primary::before {
  background-color: #A38A6A;
}

.cta .btn-secondary {
  border-color: rgba(255,255,255,0.3);
  color: #FFF;
}

.cta .btn-secondary:hover {
  background-color: #FFF;
  color: #0A0A0A;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* CONTACT SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: #FFF;
  padding: 60px;
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.02);
}

.contact-info h3 {
  font-size: 32px;
  margin-bottom: 30px;
}

.contact-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  font-weight: 300;
}

.contact-info i {
  color: #A38A6A;
  margin-right: 20px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.contact-info a {
  color: #555;
}

.contact-info a:hover {
  color: #A38A6A;
}

.social-links {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.contact-actions {
  display: flex;
  flex-direction: column;
}

/* FOOTER */
.footer {
  background-color: #0A0A0A;
  color: #888;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer h3, .footer h4 {
  color: #FFF;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.footer h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer p, .footer a {
  color: #888;
  font-size: 14px;
  margin-bottom: 12px;
  display: block;
  font-weight: 300;
}

.footer a:hover {
  color: #A38A6A;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  font-size: 20px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 30px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: #FFF;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
  color: #FFF;
}

/* MOBILE STICKY CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 999;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.btn-sticky {
  flex: 1;
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-call {
  background-color: #111;
}

.btn-wa {
  background-color: #25D366;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #FFF;
  font-size: 40px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-lightbox:hover {
  color: #A38A6A;
}

.hide-mobile {
  display: inline;
}

.hide-desktop {
  display: none;
}

/* MEDIA QUERIES */

/* Max 1024px */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .masonry-grid {
    column-count: 2;
  }
}

/* Max 768px (Mobile) */
@media (max-width: 768px) {
  body {
    padding-bottom: 56px; /* Space for mobile sticky CTA */
  }

  .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .hide-mobile {
    display: none;
  }
  
  .hide-desktop {
    display: flex;
  }
  
  .desktop-nav, .desktop-cta, .floating-whatsapp {
    display: none;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero-grid,
  .about-grid,
  .grid-3,
  .founder-grid,
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image {
    order: 1;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }

  .masonry-grid {
    column-count: 1;
  }
  
  .editorial-title {
    font-size: 38px;
  }
  
  .section-title {
    font-size: 32px;
  }

  .section-padding {
    padding: 80px 0;
  }
  
  .hero-buttons,
  .cta-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .hero-buttons a,
  .cta-buttons a {
    width: 100%;
    max-width: 100%;
  }

  .contact-grid {
    padding: 30px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
}
