@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700;1,800&display=swap');

:root {
  /* Base Palette inspired by Lovable Apex Template, harmonized for High-End Cutlery & Artisan Showroom */
  --bg-white: #ffffff;
  --bg-cream: #f9f8fc;
  --bg-cream-dark: #f1eef9;
  --bg-warm-stone: #faf8f5;
  
  --navy-900: #0d1f3c;
  --navy-800: #162847;
  --navy-700: #253858;
  --navy-600: #354a6e;
  
  /* Signature Accent (Harmonious Artisan Bronze & Apex Slate-Indigo balance) */
  --accent-500: #b86b28;
  --accent-600: #9a551b;
  --accent-400: #cf8341;
  --accent-300: #e5b384;
  --accent-100: #faefe5;

  --whatsapp-green: #1f8e4c;
  --whatsapp-green-hover: #17733c;

  --text-main: #18202c;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
  
  --shadow-sm: 0 1px 3px 0 rgba(13, 31, 60, 0.06), 0 1px 2px -1px rgba(13, 31, 60, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(13, 31, 60, 0.08), 0 8px 10px -6px rgba(13, 31, 60, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(13, 31, 60, 0.14), 0 10px 15px -5px rgba(13, 31, 60, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(13, 31, 60, 0.22);
  
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2.5rem;
  }
}

.font-display {
  font-family: var(--font-display);
}

.italic-accent {
  font-style: italic;
}

/* Accent Divider Bar from Apex Template */
.accent-bar {
  width: 4rem;
  height: 0.25rem;
  background-color: var(--accent-500);
  border-radius: var(--radius-full);
}

.accent-bar-center {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   1. HEADER & TOP BAR (Apex Template Style)
   ========================================== */
.top-bar {
  background-color: var(--navy-700);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.45rem 0;
  display: none;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

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

.top-bar-badge {
  background-color: var(--navy-900);
  padding: 0.2rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars-group {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #fbbf24;
}

.stars-text {
  color: #ffffff;
  margin-left: 0.35rem;
  font-weight: 500;
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.4);
}

/* Sticky Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 768px) {
  .brand-logo {
    font-size: 1.5rem;
  }
}

.brand-logo .brand-highlight {
  color: var(--accent-500);
}

.brand-logo .brand-suffix {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--navy-700);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 0.35rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-500);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-500);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-whatsapp-header {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--navy-700);
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .btn-whatsapp-header {
    display: inline-flex;
  }
}

.btn-whatsapp-header:hover {
  background-color: var(--navy-900);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp-header svg {
  width: 1rem;
  height: 1rem;
  color: #4ade80;
  flex-shrink: 0;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: var(--navy-900);
  border-radius: 0.5rem;
}

@media (min-width: 992px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Slide-Over Menu (Apex Template Style) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 31, 60, 0.65);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 20rem;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 100;
  box-shadow: var(--shadow-xl);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-nav {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-nav-link {
  padding: 0.85rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  background-color: var(--bg-cream);
  color: var(--accent-500);
}

.mobile-whatsapp-cta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--navy-700);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9375rem;
}

/* ==========================================
   2. HERO SECTION (Apex Template Layout)
   ========================================== */
.hero-section {
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-white);
  padding: 3.5rem 0 5rem;
  position: relative;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 5rem 0 6.5rem;
  }
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }
}

.hero-content {
  animation: fadeInUp 0.65s ease-out both;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-500);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.14;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.35rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-description {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 36rem;
}

.hero-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-checklist-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
}

.check-badge {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: var(--radius-full);
  background-color: var(--navy-900);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.check-badge svg {
  width: 0.85rem;
  height: 0.85rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--accent-500);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px -4px rgba(184, 107, 40, 0.4);
}

.btn-primary-pill:hover {
  background-color: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(184, 107, 40, 0.5);
}

.btn-outline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--navy-900);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
}

.btn-outline-pill:hover {
  background-color: var(--navy-900);
  color: #ffffff;
}

/* Right Side: Apex Template 3-Image Staggered Collage */
.hero-collage-desktop {
  position: relative;
  height: 510px;
  display: none;
}

@media (min-width: 1024px) {
  .hero-collage-desktop {
    display: block;
  }
}

.collage-card {
  position: absolute;
  width: 255px;
  height: 315px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  background-color: var(--navy-900);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, z-index 0s;
}

.collage-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-xl);
  z-index: 30 !important;
}

.collage-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.collage-card:hover img {
  transform: scale(1.06);
}

.collage-card-1 {
  top: 0;
  left: 0;
  z-index: 10;
}

.collage-card-2 {
  top: 75px;
  right: 0;
  z-index: 15;
}

.collage-card-3 {
  bottom: 0;
  left: 105px;
  z-index: 20;
  border: 4px solid #ffffff;
}

.collage-caption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(to top, rgba(13, 31, 60, 0.92) 0%, rgba(13, 31, 60, 0.55) 65%, transparent 100%);
  color: #ffffff;
  padding: 2rem 1rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.collage-caption-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-300);
  font-weight: 700;
}

.collage-caption-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

/* Mobile / Tablet Hero Featured Row (Apex Template responsive pattern) */
.hero-collage-mobile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (min-width: 1024px) {
  .hero-collage-mobile {
    display: none;
  }
}

.mobile-hero-card {
  cursor: pointer;
  text-align: center;
}

.mobile-hero-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-md);
}

.mobile-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-hero-card-title {
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.75rem;
  line-height: 1.3;
}

.mobile-hero-card-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* ==========================================
   3. PRODUTOS E SERVIÇOS SECTION
   ========================================== */
.section-white {
  padding: 5rem 0;
  background-color: var(--bg-white);
}

.section-cream {
  padding: 5rem 0;
  background-color: var(--bg-cream);
}

.section-cream-dark {
  padding: 5rem 0;
  background-color: var(--bg-cream-dark);
}

@media (min-width: 768px) {
  .section-white,
  .section-cream,
  .section-cream-dark {
    padding: 6.5rem 0;
  }
}

.section-header-center {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 1rem;
}

/* Apex 3-Pillar Highlight Blocks ("Why Apex" -> Pilares de Excelência) */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 165px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-navy {
  background-color: var(--navy-700);
  color: #ffffff;
}

.pillar-accent {
  background-color: var(--accent-500);
  color: #ffffff;
}

.pillar-soft {
  background-color: var(--accent-100);
  color: var(--navy-900);
  border: 1px solid var(--accent-300);
}

.pillar-icon {
  margin-bottom: 0.75rem;
  opacity: 0.92;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.875rem;
  opacity: 0.9;
  line-height: 1.5;
}

/* Services & Specialties Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-item-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-400);
}

.service-img-box {
  height: 13.5rem;
  overflow: hidden;
  position: relative;
  background-color: var(--navy-900);
}

.service-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-item-card:hover .service-img-box img {
  transform: scale(1.06);
}

.service-body {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy-900);
}

.service-arrow {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--text-muted);
  transition: color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.service-item-card:hover .service-arrow {
  color: var(--accent-500);
  transform: translateX(3px);
}

.service-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================
   4. SEÇÃO "O ARTESÃO" (Apex Offset Image Block)
   ========================================== */
.artisan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .artisan-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4.5rem;
  }
}

.artisan-quote-box {
  background-color: #ffffff;
  border-left: 4px solid var(--accent-500);
  padding: 1.5rem 1.75rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-sm);
  margin: 1.75rem 0;
}

.artisan-quote-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  color: var(--navy-900);
  line-height: 1.75;
}

.artisan-paragraph {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.artisan-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.artisan-badge {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.artisan-badge span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--accent-500);
}

.artisan-photo-wrapper {
  display: flex;
  justify-content: center;
}

.artisan-photo-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
}

.artisan-frame-offset {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 100%;
  height: 100%;
  background-color: var(--accent-500);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.artisan-photo {
  position: relative;
  z-index: 10;
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

/* ==========================================
   5. GALERIA DE FOTOS / SHOWROOM (Grid & Carousel)
   ========================================== */
.showroom-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .showroom-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent-500);
  color: var(--accent-500);
}

.filter-btn.active {
  background-color: var(--navy-900);
  color: #ffffff;
  border-color: var(--navy-900);
}

.view-toggle-group {
  display: inline-flex;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.25rem;
  align-self: flex-start;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.view-toggle-btn.active {
  background-color: var(--accent-500);
  color: #ffffff;
}

/* Showroom Grid View */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-card.featured-span {
  grid-column: span 1;
}

@media (min-width: 1024px) {
  .gallery-card.featured-span {
    grid-column: span 2;
  }
}

.gallery-img-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--navy-900);
  cursor: pointer;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.05);
}

.gallery-zoom-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(13, 31, 60, 0.78);
  backdrop-filter: blur(4px);
  color: #ffffff;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-card:hover .gallery-zoom-badge {
  opacity: 1;
  transform: translateY(0);
}

.gallery-category-tag {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.gallery-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.45rem;
}

.gallery-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.gallery-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  gap: 0.75rem;
}

.btn-card-inquire {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-900);
}

.btn-card-inquire:hover {
  color: var(--accent-500);
}

.btn-card-zoom {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-500);
}

/* Showroom Carousel View */
.carousel-container {
  display: none;
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.carousel-container.active {
  display: block;
}

.gallery-grid.hidden {
  display: none;
}

.carousel-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  width: 100%;
  background-color: #0b1528;
  overflow: hidden;
}

.carousel-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background-color: var(--accent-500);
  color: #ffffff;
}

.carousel-prev {
  left: 1.25rem;
}

.carousel-next {
  right: 1.25rem;
}

.carousel-info-bar {
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
  .carousel-info-bar {
    flex-direction: row;
    align-items: center;
  }
}

.carousel-thumbs {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 2rem;
  overflow-x: auto;
  background-color: var(--bg-cream);
}

.carousel-thumb {
  width: 5.5rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.carousel-thumb.active,
.carousel-thumb:hover {
  opacity: 1;
  border-color: var(--accent-500);
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   6. FOOTER (Apex Template 3-Col Style)
   ========================================== */
.site-footer {
  margin-top: auto;
}

.footer-main {
  background-color: var(--bg-cream);
  padding: 4.5rem 0;
  border-top: 1px solid rgba(13, 31, 60, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}

.footer-cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .footer-cta-title {
    font-size: 2.35rem;
  }
}

.footer-cta-sub {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-500);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-cta-sub:hover {
  color: var(--accent-600);
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(13, 31, 60, 0.6);
  margin-bottom: 1.15rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(13, 31, 60, 0.75);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-item svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent-500);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  font-size: 0.9rem;
  color: rgba(13, 31, 60, 0.75);
}

.footer-menu-grid a:hover {
  color: var(--accent-500);
}

.footer-bottom {
  background-color: var(--bg-cream);
  border-top: 1px solid rgba(13, 31, 60, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(13, 31, 60, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
  }
}

.footer-disclaimer {
  font-size: 0.6875rem;
  color: rgba(13, 31, 60, 0.38);
  text-align: center;
  margin-top: 0.75rem;
}

/* ==========================================
   7. LIGHTBOX MODAL
   ========================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(9, 18, 34, 0.92);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  background-color: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 1020px;
  width: 100%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: grid;
  grid-template-columns: 1fr;
  position: relative;
}

@media (min-width: 860px) {
  .lightbox-content {
    grid-template-columns: 1.35fr 0.85fr;
  }
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: rgba(13, 31, 60, 0.8);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background-color 0.2s ease;
}

.lightbox-close:hover {
  background-color: var(--accent-500);
}

.lightbox-img-pane {
  background-color: #0b1528;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  max-height: 75vh;
  position: relative;
}

.lightbox-img-pane img {
  width: 100%;
  height: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.lightbox-details-pane {
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
