@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Syne:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Syne', serif;
  --font-mono: 'Space Grotesk', monospace;
  --bg-primary: #FAFAF9;
  --bg-secondary: #F5F5F4;
  --text-main: #1C1917;
  --text-muted: #78716C;
  --accent-brass: #B45309;
  --border-light: #E7E5E4;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

.font-mono-custom {
  font-family: var(--font-mono);
}

/* Custom Architectural Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F5F5F4;
}
::-webkit-scrollbar-thumb {
  background: #D6D3D1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #A8A29E;
}

/* Architectural Grid Background Texture */
.architectural-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(28, 25, 23, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28, 25, 23, 0.04) 1px, transparent 1px);
}

/* Subtle line accents */
.hairline-border {
  border-color: #E7E5E4;
}

/* Glassmorphism nav */
.nav-glass {
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 229, 228, 0.8);
}

/* Floor Plan Interactive Styling */
.floor-tab-active {
  background-color: #1C1917 !important;
  color: #FAFAF9 !important;
  border-color: #1C1917 !important;
}

/* Subtle Hover Zoom for Architecture Images */
.arch-img-card {
  overflow: hidden;
}
.arch-img-card img {
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.arch-img-card:hover img {
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

/* Custom Badges */
.badge-arch {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* Print Styles */
@media print {
  nav, footer, #inquiry, .no-print {
    display: none !important;
  }
}

/* Gallery Carousel Viewport & Transform Track */
.gallery-carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.5rem 0 1.25rem 0;
}
.gallery-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  margin: 0 -0.625rem;
}
.gallery-slide-card {
  flex: 0 0 33.3333%;
  width: 33.3333%;
  padding: 0 0.625rem;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .gallery-slide-card {
    flex: 0 0 50%;
    width: 50%;
  }
}
@media (max-width: 640px) {
  .gallery-slide-card {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 0.25rem;
  }
}
.gallery-slide-card .img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background-color: #1C1917;
}
.gallery-slide-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-dot {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-dot.active {
  background-color: #1C1917 !important;
  width: 2rem !important;
}
