:root {
  /* Color Palette */
  --color-off-white: #FFFFFF;
  --color-charcoal: #000000;
  --color-concrete: #888888;
  --color-steel: #555555;
  --color-accent: #FF6B00; /* Vibrant Orange */

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;

  /* Sizing & Spacing */
  --nav-height: 80px;
  --section-padding: 6rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-off-white);
  color: var(--color-charcoal);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

button {
  font-family: var(--font-body);
  border: none;
  background: none;
  cursor: pointer;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.fullscreen-section {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}

.huge-text {
  font-size: clamp(2.5rem, min(7vw, 10vh), 8rem);
  letter-spacing: -0.02em;
}

.large-text {
  font-size: clamp(2rem, 5vw, 4rem);
}

.subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-concrete);
}

.text-accent {
  color: var(--color-accent) !important;
}

.text-white {
  color: #fff !important;
}

.text-center {
  text-align: center;
}

.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 4rem; }
.mt-16 { margin-top: 6rem; }

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes panBackground {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes panBackgroundMobile {
  0% { background-position: 60% center; }
  50% { background-position: 100% center; }
  100% { background-position: 60% center; }
}

.animate-fade-in {
  animation: fadeIn 1s ease forwards;
}

/* --- NAVIGATION --- */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  z-index: 100;
  transition: all 0.3s ease;
  background-color: var(--color-off-white);
  color: var(--color-charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.main-nav.scrolled {
  background-color: rgba(241, 238, 232, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.nav-left .logo {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 80px;
  width: auto;
  object-fit: contain;
}

.nav-center {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-center a {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-center a:hover .nav-accent {
  color: var(--color-off-white);
}

/* --- DROPDOWN NAVIGATION --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 220px;
  box-shadow: 0px 10px 30px 0px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 4px;
  padding: 10px 0;
  top: 100%;
  left: 0;
  margin-top: 10px;
}

.dropdown-content a {
  color: var(--color-charcoal) !important;
  padding: 12px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.9rem;
  letter-spacing: normal;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

.dropdown-content a:hover {
  background-color: #f9f9f9;
  color: var(--color-accent) !important;
  padding-left: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
  animation: bdt-fade 0.3s ease;
}

/* Navigation Right */
.nav-right {
  display: flex;
  align-items: center;
}

.nav-accent {
  color: var(--color-accent);
  font-size: 0.65rem;
}

.get-in-touch-btn {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
}

.get-in-touch-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mobile-menu-btn {
  display: none;
  color: var(--color-charcoal);
  margin-left: 16px;
  cursor: pointer;
}

/* --- HERO --- */
.hero-section {
  color: var(--color-off-white);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('hero_bg.jpg');
  background-size: cover;
  background-position: center;
  animation: panBackground 40s ease-in-out infinite;
}

.hero-background .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 23, 23, 0.4) 0%,
    rgba(23, 23, 23, 0.1) 50%,
    rgba(23, 23, 23, 0.7) 100%
  );
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--nav-height) + 20px);
  padding-bottom: 20px;
  height: 100%;
}

.hero-title {
  margin-top: auto;
  max-width: 800px;
}

.hero-title .huge-text {
  line-height: 1;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title .huge-text {
    white-space: nowrap; /* Prevents BUILT TO LAST from wrapping only on desktop */
  }
}

.hero-divider {
  width: 250px;
  height: 2px;
  background-color: var(--color-accent);
  border: none;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.hero-bottom {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
}

.explore-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.explore-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
}

.explore-link:hover .explore-arrow {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  font-size: 0.75rem;
}

.social-icon:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- OUR SPACES --- */
.our-spaces-section {
  padding: var(--section-padding) 0;
}

.spaces-catalogue {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.space-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.space-header {
  font-size: 1.25rem;
  font-weight: 500;
  display: flex;
  gap: 8px;
  align-items: center;
}

.space-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: #E0DDD8;
}

.space-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.space-image-wrapper:hover .space-image {
  transform: scale(1.05);
}

.space-overlay {
  position: absolute;
  inset: 0;
  background: rgba(23, 23, 23, 0.2);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.space-image-wrapper:hover .space-overlay {
  opacity: 1;
}

.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-off-white);
  color: var(--color-charcoal);
  padding: 16px 32px;
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  border-radius: 50px;
  text-transform: uppercase;
}

.explore-btn:hover {
  background: var(--color-charcoal);
  color: var(--color-off-white);
  opacity: 1;
}

.space-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

.space-subtitle {
  font-size: 1.25rem;
  color: var(--color-steel);
}

/* --- NOT JUST A CONTAINER --- */
.transformation-section {
  padding: var(--section-padding) 0;
  background-color: var(--color-charcoal);
  color: var(--color-off-white);
  overflow: hidden;
}

.transformation-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  flex: 1;
}

.step-num {
  font-size: 0.875rem;
  color: var(--color-concrete);
}

.step h4 {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.step-line {
  position: absolute;
  top: 10px;
  right: -50%;
  width: 100%;
  height: 1px;
  background-color: var(--color-steel);
  z-index: 0;
}

.transformation-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 21/9;
  background-color: #222;
  overflow: hidden;
}

.transformation-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.overlay-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
}

/* --- DIVISIONS --- */
.divisions-section {
  padding: var(--section-padding) 0;
}

.divisions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.division-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  color: var(--color-off-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.division-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
  z-index: 0;
}

.division-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(23, 23, 23, 0.1) 0%,
    rgba(23, 23, 23, 0.8) 100%
  );
}

.division-card:hover .division-bg {
  transform: scale(1.05);
}

.division-content {
  position: relative;
  z-index: 1;
}

.division-title {
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.division-list {
  list-style: none;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* --- PROJECTS --- */
.project-fullscreen {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 40px;
  color: var(--color-off-white);
}

.project-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.project-bg .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(23, 23, 23, 0.8) 0%,
    rgba(23, 23, 23, 0.2) 100%
  );
}

.project-content {
  max-width: 800px;
  display: flex;
  flex-direction: column;
}

.project-details {
  display: flex;
  gap: 40px;
}

.project-details p:last-child {
  font-size: 1.25rem;
  margin-top: 8px;
}

/* --- FOOTER --- */
.footer-section {
  padding: 8rem 0 4rem;
  background-color: var(--color-off-white);
  color: var(--color-charcoal);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding-bottom: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.contact-link {
  font-size: 2rem;
  font-weight: 300;
  margin-top: 8px;
}

.contact-link:hover {
  color: var(--color-concrete);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 32px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.footer-links a:hover {
  color: var(--color-accent);
}

/* --- STICKY ACTIONS --- */
.sticky-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 1000;
}

.sticky-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.sticky-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0,0,0,0.3);
  color: #fff;
}

.whatsapp-btn {
  background-color: #25D366;
}

.contact-btn {
  background-color: var(--color-accent);
}

.sticky-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-center { 
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--color-off-white);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    display: none;
  }
  .nav-center.active {
    display: flex;
  }
  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 4rem;
    --nav-height: 100px;
  }
  
  .container, .main-nav, .project-fullscreen { padding-left: 16px; padding-right: 16px; }
  .nav-left .logo { display: flex; }
  .nav-logo-img { width: 220px; height: auto; max-height: 80px; object-fit: contain; }
  .get-in-touch-btn { padding: 6px 10px; font-size: 0.55rem; }
  
  .hero-background { animation: panBackgroundMobile 20s ease-in-out infinite; }
  .huge-text { font-size: clamp(2rem, 11vw, 3rem); }
  .hero-divider { width: 100px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
  .hero-subtitle { font-size: 0.65rem; }
  
  .spaces-catalogue { gap: 4rem; }
  .space-header { font-size: 1rem; }
  .space-image-wrapper { aspect-ratio: 4/3; }
  
  .transformation-steps { flex-direction: column; gap: 40px; }
  .step-line { display: none; }
  .transformation-placeholder { aspect-ratio: 16/9; }
  
  .divisions-grid { grid-template-columns: 1fr; gap: 20px; }
  .division-card { padding: 24px; aspect-ratio: 1/1; }
  .division-title { font-size: 1.5rem; }
  
  .project-details { flex-direction: column; gap: 20px; }
  .project-fullscreen { padding: 4rem 20px; justify-content: flex-start; }
  
  .footer-section { padding: 4rem 0 2rem; }
  .footer-top { flex-direction: column; gap: 40px; padding-bottom: 2rem; }
  .contact-link { font-size: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 24px; align-items: flex-start; }
  .footer-logo-img { height: 80px; }
  .footer-links { flex-direction: column; gap: 16px; }
  
  .sticky-actions { bottom: 20px; right: 20px; }
  .sticky-btn { width: 50px; height: 50px; }
  .sticky-icon { width: 24px; height: 24px; }
}
/* --- CREATIVE SECTION --- */
.creative-section {
  padding: 6rem 0 2rem;
  background-color: var(--color-off-white);
  overflow: hidden;
  position: relative;
}

.capsule-track {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  border-bottom: 2px dashed rgba(0,0,0,0.1);
}

.moving-capsule {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 350px;
  animation: moveCapsule 15s ease-in-out infinite alternate;
}

.capsule-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

@keyframes moveCapsule {
  0% { left: -350px; }
  100% { left: 100vw; }
}

/* --- SCROLLING GALLERY MARQUEE --- */
.marquee-section {
  padding: 2rem 0 6rem;
  background-color: var(--color-off-white);
  overflow: hidden;
}

.marquee-wrapper {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
  display: flex;
}

.marquee-content img {
  height: 350px;
  width: auto;
  margin-right: 20px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* --- ZIGZAG OUR SPACES --- */
.zigzag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6rem;
  gap: 40px;
}

.zigzag-row.reverse {
  flex-direction: row-reverse;
}

.zigzag-image {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.zigzag-image:hover img {
  transform: scale(1.05);
}

.zigzag-text {
  flex: 1;
  padding: 20px;
}

.zigzag-text h3 {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.zigzag-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-charcoal);
  margin-bottom: 2rem;
}

.zigzag-text ul {
  list-style: none;
  padding: 0;
}

.zigzag-text li {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--color-charcoal);
  font-weight: 500;
}

/* --- FEATURED MODELS GRID --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-data {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-data h3 {
  font-size: 1.4rem;
  color: var(--color-charcoal);
  margin-bottom: 15px;
  font-weight: 600;
}

.product-data p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
}

.buy-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25D366;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: auto;
  transition: background-color 0.3s ease;
  letter-spacing: 0.05em;
}

.buy-whatsapp-btn:hover {
  background-color: #1ebe57;
  color: white;
}

@media (max-width: 768px) {
  .zigzag-row, .zigzag-row.reverse {
    flex-direction: column;
  }
}

/* --- PRODUCT DETAIL PAGES --- */
.product-hero {
  padding: 150px 20px 80px;
  background: var(--color-charcoal);
  color: #fff;
  text-align: center;
  position: relative;
}

.product-hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.product-detail-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 0;
}

.product-image-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.product-image-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.gallery-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.specs-section {
  display: flex;
  gap: 60px;
}

.specs-content {
  flex: 2;
}

.specs-content h2 {
  font-size: 2.5rem;
  color: var(--color-charcoal);
  margin-bottom: 20px;
}

.specs-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
}

.specs-table th, .specs-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.specs-table th {
  font-weight: 600;
  color: var(--color-charcoal);
  width: 30%;
}

.specs-table td {
  color: #666;
}

.action-card {
  flex: 1;
  background-color: var(--color-off-white);
  padding: 40px;
  border-radius: 12px;
  position: sticky;
  top: 100px;
  height: fit-content;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.action-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--color-charcoal);
}

.buy-whatsapp-btn.large {
  display: flex;
  padding: 18px 24px;
  font-size: 1.1rem;
  width: 100%;
}

/* Button group for product cards */
.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-charcoal);
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  letter-spacing: 0.05em;
  flex: 1;
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: white;
}

.buy-whatsapp-btn {
  flex: 1;
}

@media (max-width: 992px) {
  .product-image-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-side {
    flex-direction: row;
    gap: 12px;
  }
  .gallery-side img {
    width: 50%;
    height: 200px;
  }
  .specs-section {
    flex-direction: column;
    gap: 40px;
  }
  .action-card {
    position: relative;
    top: 0;
    padding: 30px;
  }
  .product-detail-container {
    padding: 40px 0;
    gap: 40px;
  }
}

/* --- ANIMATED CAPSULES --- */
.animated-capsules-container {
  position: relative;
  width: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: visible !important;
  background: transparent;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.floating-capsule {
  width: 30%;
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
  animation: floatUpDown 6s ease-in-out infinite alternate;
}

.floating-capsule.cap1 { animation-delay: 0s; }
.floating-capsule.cap2 { animation-delay: -2s; transform: scale(1.1); }
.floating-capsule.cap3 { animation-delay: -4s; }

@keyframes floatUpDown {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

@media (max-width: 768px) {
  .animated-capsules-container {
    gap: 10px;
    min-height: 150px;
  }
}



/* COMPREHENSIVE MOBILE FIXES */
@media (max-width: 768px) {
  /* Make all main grids single column */
  .zigzag-row, .zigzag-row.reverse {
    flex-direction: column !important;
    text-align: center;
  }
  .zigzag-image {
    width: 100% !important;
    margin-bottom: 20px;
  }
  .product-grid, .gallery-grid, .premium-interiors {
    grid-template-columns: 1fr !important;
  }
  
  /* Text adjustments */
  .huge-text {
    font-size: 3rem !important;
    line-height: 1.1 !important;
  }
  .subtitle {
    font-size: 2rem !important;
  }
  
  /* Navigation */
  .main-nav {
    padding: 10px 15px !important;
  }
  .nav-center {
    display: none; /* Can implement a toggle later, but usually hidden on small screens */
  }
  
  /* Why Choose Us Section */
  .why-choose-us .container > div {
    grid-template-columns: 1fr !important;
  }
  
  /* Sliders and Lightbox */
  .slider-btn {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px !important;
  }
}


/* Logo Fixes */
.nav-logo-img {
    max-height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain;
}

/* Mobile Fixes for Why Choose Us */
@media (max-width: 768px) {
    .why-choose-us .container {
        padding: 0 15px;
    }
    .why-choose-us > div > div {
        padding: 20px !important;
    }
    .why-choose-us h3 {
        font-size: 1.1rem !important;
    }
    .why-choose-us p {
        font-size: 0.9rem !important;
    }
    .why-choose-us div[style*="font-size: 3rem;"] {
        font-size: 2rem !important;
        margin-bottom: 10px !important;
    }
    
    .main-nav {
        padding: 10px 15px !important;
    }
}


/* Product Page Mobile Fixes */
@media (max-width: 768px) {
  /* Fix huge headers on product pages */
  .page-hero h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .page-hero p {
    font-size: 0.9rem !important;
  }
  
  /* Fix Premium Interiors Grid - override inline styles */
  .premium-interiors {
    grid-template-columns: 1fr !important;
  }
  
  /* Fix slider and lightbox buttons on mobile */
  .slider-btn, #lightbox button, #global-lightbox button {
    width: 35px !important;
    height: 35px !important;
    font-size: 16px !important;
  }
  
  /* Make sure specs table isn't too wide */
  .specs-table th, .specs-table td {
    padding: 10px !important;
    font-size: 0.9rem !important;
    display: block !important;
    width: 100% !important;
  }
  .specs-table tr {
    display: block !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #eee;
  }
}


/* Final Logo and Footer Mobile Fixes */
.footer-section img {
    object-fit: contain;
    max-width: 200px;
    height: auto !important;
    max-height: 60px;
}

@media (max-width: 768px) {
    /* Navbar Logo Padding Fix */
    .main-nav {
        padding: 10px 5px !important;
    }
    
    /* Footer Layout Fix for Mobile */
    .footer-section .container {
        display: flex !important;
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
    }
    .footer-section .container > div {
        min-width: 100% !important;
    }
    .footer-section ul {
        display: inline-block;
        text-align: left;
    }
    
    /* Ensure footer logo doesn't stretch */
    .footer-section img {
        margin: 0 auto 15px auto !important;
        display: block;
    }
}


/* CapsuleCastle Reference Mobile Placements */
@media (max-width: 768px) {
    /* Hide the Get In Touch button in the top navbar on mobile, 
       so it's just Logo on the Left, Hamburger on the Right */
    .get-in-touch-btn {
        display: none !important;
    }
    
    /* Ensure navbar is purely flex-between for just the two elements */
    .main-nav {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 20px !important;
    }
    
    /* Ensure the mobile menu button doesn't have weird margins */
    .mobile-menu-btn {
        margin-left: auto;
    }
}


/* SUPER AGGRESSIVE MOBILE ALIGNMENT */
@media (max-width: 768px) {
    .main-nav {
        padding-left: 0 !important;
        padding-right: 15px !important;
    }
    .nav-left, .logo {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .footer-section .container {
        display: block !important;
        text-align: center !important;
    }
    .footer-section .container > div {
        display: block !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }
    .footer-section ul {
        display: inline-block !important;
        text-align: center !important;
    }
}


.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col {
    flex: 1;
    min-width: 200px;
}


/* PERFECT MOBILE ALIGNMENT - MATCHING REFERENCE */
@media (max-width: 768px) {
    /* 1. Flush Left Top Logo */
    nav.main-nav {
        padding-left: 5px !important; /* Just 5px so it's not literally touching the pixel edge, but extremely close */
    }
    .nav-left, .logo {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    
    /* 2. Perfectly Centered Footer */
    .footer-section {
        text-align: center !important;
    }
    .footer-section * {
        text-align: center !important;
    }
    .footer-col {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important; /* Centers flex children */
        width: 100% !important;
        margin-bottom: 35px !important;
        padding: 0 15px !important; /* Prevents text touching screen edges */
    }
    
    /* Ensure footer logo is centered */
    .footer-section img {
        margin: 0 auto 15px auto !important;
        display: block !important;
    }
    
    /* Ensure WhatsApp button is centered */
    .footer-col a[href*="wa.me"] {
        display: inline-block !important;
        margin: 10px auto 0 auto !important;
    }
}


/* STICKY BOTTOM BAR & HEADER FIXES */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Sticky Bottom Bar */
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    .sticky-call, .sticky-whatsapp {
        flex: 1;
        text-align: center;
        padding: 16px 0;
        color: white !important;
        font-weight: 700;
        font-size: 1.1rem;
        text-decoration: none;
        letter-spacing: 0.5px;
    }
    .sticky-call {
        background-color: #f35815; /* Orange to match reference */
    }
    .sticky-whatsapp {
        background-color: #2ecc71; /* Green */
    }
    
    /* Ensure body doesn't hide behind the sticky bar */
    body {
        padding-bottom: 60px !important;
    }

    /* Restore and style the Header CTA button */
    .get-in-touch-btn {
        display: inline-block !important;
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        background-color: transparent !important;
        color: #f35815 !important;
        border: 1px solid #f35815 !important;
        border-radius: 20px !important;
        margin-right: 10px !important;
        font-weight: 600 !important;
    }
    
    /* Force completely flush left logo */
    .main-nav {
        padding-left: 0 !important;
    }
    .nav-left {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    .logo {
        margin-left: -5px !important; /* Pull it even tighter to the edge */
    }
}


@media (max-width: 768px) {
    /* Scale down the logo slightly on mobile to match the compact reference */
    .nav-logo-img {
        max-height: 40px !important;
        width: auto !important;
    }
}


/* FINAL MOBILE FIXES FOR 3 ERRORS */
@media (max-width: 768px) {
    /* 1. Hide the old floating WhatsApp bubble */
    .sticky-actions {
        display: none !important;
    }

    /* 2. Fix the Top Logo aspect ratio (prevent squashing) */
    .nav-logo-img {
        max-height: 45px !important;
        width: auto !important;
        object-fit: contain !important; /* Forces correct aspect ratio */
        height: auto !important;
    }

    /* 3. Fix the Footer Logo alignment */
    .footer-col > a {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    .footer-section img {
        margin: 0 auto 15px auto !important;
        display: inline-block !important; /* ensures text-align center works on it if wrapped in a tag */
        object-fit: contain !important;
        width: auto !important;
        height: auto !important;
        max-height: 55px !important;
    }
}


/* FINAL FINAL MOBILE LOGO AND TEXT TWEAKS */
@media (max-width: 768px) {
    /* Top Logo: Make it bigger and not too far left */
    .main-nav {
        padding-left: 15px !important; /* Give it comfortable breathing room from the edge */
    }
    .logo {
        margin-left: 0 !important; /* Remove the negative margin */
    }
    .nav-logo-img {
        max-height: 55px !important; /* Bigger */
        width: auto !important;
        object-fit: contain !important;
    }

    /* Footer Logo: Make it bigger */
    .footer-section img {
        max-height: 80px !important; /* Bigger */
        margin: 0 auto 20px auto !important;
    }

    /* Footer Text: Make it look perfectly centered like the reference */
    .footer-col p {
        max-width: 290px !important; /* Forces it to wrap tightly in the center */
        margin: 0 auto 15px auto !important; /* Centers the block itself */
        text-align: center !important;
        line-height: 1.6 !important;
    }
}


/* FINAL PRODUCT PAGE TWEAKS */
@media (max-width: 768px) {
    /* 1. Fix Product Hero Title Size */
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
        padding: 0 15px;
    }
    
    /* 2. Fix Product Details Table Length (Make it compact horizontally) */
    .specs-table tr {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 0 !important;
        border-bottom: 1px solid #eaeaea !important;
        padding: 8px 0 !important;
    }
    .specs-table th {
        width: 45% !important;
        padding: 5px !important;
        font-size: 0.85rem !important;
        border-bottom: none !important;
        text-align: left !important;
    }
    .specs-table td {
        width: 55% !important;
        padding: 5px !important;
        font-size: 0.85rem !important;
        text-align: right !important;
        border-bottom: none !important;
    }
    
    /* 3. Re-adjust Top Logo (Prevent it from being too big/tall) */
    .nav-logo-img {
        max-height: 38px !important; /* Dialed down so it perfectly fits the header */
        width: auto !important;
        object-fit: contain !important;
    }
    .main-nav {
        padding-left: 10px !important;
    }
}


/* FINAL LOGO SIZE TWEAK - THE GOLDILOCKS ZONE */
@media (max-width: 768px) {
    .nav-logo-img {
        max-height: 48px !important; /* Not too big, not too small */
        max-width: 170px !important; /* Prevent it from getting too wide */
        width: auto !important;
        object-fit: contain !important;
    }
}


/* FINAL AGGRESSIVE MOBILE PRODUCT HERO TWEAKS */
@media (max-width: 768px) {
    /* Shrink the massive black hero block padding */
    .hero-section {
        padding: 50px 10px 30px !important;
    }
    
    /* Dramatically shrink the product title */
    .hero-section h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        letter-spacing: 1px !important;
    }
    
    /* Dramatically shrink the subtitle */
    .hero-section p, .hero-section .subtitle {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        letter-spacing: 1px !important;
        margin-bottom: 0 !important;
        opacity: 0.9 !important;
    }
}


/* FINAL FIXES FOR HOME HERO, PRODUCT HERO, AND DESKTOP GRID */
@media (max-width: 768px) {
    /* 1. Revert Home Page Hero text to be MASSIVE again */
    #home.hero-section {
        padding: 4rem 0 !important; /* Original huge padding */
    }
    #home .hero-title {
        font-size: 4rem !important; /* Original massive size */
        line-height: 1 !important;
        margin-bottom: 30px !important;
    }
    #home .hero-subtitle {
        font-size: 0.8rem !important;
    }
    
    /* 2. Fix Product Page Hero text to actually shrink */
    .product-hero, .hero-section:not(#home) {
        padding: 40px 10px 20px !important;
    }
    .product-hero h1, .hero-section:not(#home) h1 {
        font-size: 1.4rem !important;
        line-height: 1.3 !important;
        margin-bottom: 10px !important;
        white-space: normal !important;
    }
    .product-hero p, .hero-section:not(#home) p.subtitle {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        margin-top: 0 !important;
    }
}

/* 3. Force 3-column layout on Desktop for products */
@media (min-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}


/* FINAL FINAL HUGE LOGO OVERRIDE */
@media (max-width: 768px) {
    .nav-logo-img {
        max-height: 65px !important; /* Made it big as requested */
        max-width: 220px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}


/* FINAL HERO SIZING, SOCIAL ICONS, AND WHATSAPP BUTTON FIXES */
@media (max-width: 768px) {
    /* 1. Dial down the massive Home hero title */
    #home .hero-title {
        font-size: 2.8rem !important; /* Shrunk from 4rem so it doesn't hit the sticky bar */
        line-height: 1.1 !important;
        margin-bottom: 20px !important;
    }
    
    /* 2. Put Explore button and Social Icons side-by-side */
    .hero-bottom {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
        padding-bottom: 20px !important;
    }
    .explore-link {
        margin-bottom: 0 !important;
        font-size: 0.8rem !important; /* slightly smaller to fit */
    }
    
    /* 3. Shrink the massive Whatsapp button on product pages */
    .buy-whatsapp-btn.large {
        padding: 12px 15px !important;
        font-size: 0.9rem !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    .buy-whatsapp-btn.large svg {
        width: 18px !important;
        height: 18px !important;
        margin-right: 8px !important;
    }
}


/* FINAL POLISH FOR DESKTOP LOGO, MOBILE PRODUCT HERO, AND HOME HERO */

/* 1. Restore the Desktop Logo size (was accidentally shrunk globally) */
@media (min-width: 769px) {
    .nav-logo-img {
        max-height: 80px !important;
        max-width: 300px !important;
        width: auto !important;
    }
}

@media (max-width: 768px) {
    /* 2. Make Home Hero Title a bit bigger again as requested */
    #home .hero-title {
        font-size: 3.2rem !important; 
        margin-bottom: 25px !important;
    }
    
    /* 3. Fix the massive padding/margins squeezing the Product Title */
    .product-hero h1, .hero-section:not(#home) h1 {
        padding: 0 !important;
        margin: 0 auto 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 1.6rem !important; /* Slightly bigger as well */
        line-height: 1.2 !important;
    }
}


/* FINAL POLISH FOR FONT SMOOTHING AND HERO SIZING */
body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

@media (max-width: 768px) {
    /* Bump up the Home Hero Text Size as requested */
    #home .hero-title {
        font-size: 3.8rem !important; /* Huge again */
        margin-bottom: 25px !important;
    }
}


/* FINAL POLISH: PERMANENT SOLID NAVBAR FOR NON-HOME PAGES */
body.solid-nav .main-nav {
    background-color: rgba(241, 238, 232, 0.98) !important;
    border-bottom: 1px solid rgba(0,0,0,0.1) !important;
}

/* Ensure nav links look crisp */
.nav-center a {
    font-weight: 500;
    letter-spacing: 0.1em;
}
.nav-accent {
    font-weight: 400;
}
