/* ========================================================
   ALBASERRADA GRAND RESIDENCIAL - REFINED ARCHITECTURAL STYLES
   Colors based strictly on original site identity:
   - Primary Slate Navy: #1a1f30 (rgba(26, 31, 48))
   - Brand Green: #5c9768 / #4d8157 (Albaserrada Sage Green)
   - Secondary Accent: #ce9127 (Warm Amber Gold)
   - Soft Backgrounds: #f8f9fa / #f0f4f1
   ======================================================== */

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

:root {
  --color-primary: #1a1f30;       /* Original Navy: rgb(26, 31, 48) */
  --color-primary-light: #252b40; /* Elevated Navy */
  --color-brand-green: #5c9768;   /* Official Albaserrada Sage Green */
  --color-brand-green-dark: #467850;
  --color-accent-gold: #ce9127;   /* Official Warm Gold */
  --color-bg-light: #f8f9fa;      /* Clean architectural light */
  --color-surface: #ffffff;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Refined, smaller border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--color-bg-light);
  color: #1a1f30;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism effects with original #1a1f30 */
.glass-nav {
  background: rgba(26, 31, 48, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(26, 31, 48, 0.08);
}

.glass-card-dark {
  background: rgba(26, 31, 48, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(92, 151, 104, 0.25);
}

/* Text and Background Utility Classes */
.text-brand-navy {
  color: #1a1f30;
}

.bg-brand-navy {
  background-color: #1a1f30;
}

.text-brand-green {
  color: #5c9768;
}

.bg-brand-green {
  background-color: #5c9768;
}

.border-brand-green {
  border-color: #5c9768;
}

.text-brand-gold {
  color: #ce9127;
}

.bg-brand-gold {
  background-color: #ce9127;
}

.bg-green-gradient {
  background: linear-gradient(135deg, #5c9768 0%, #467850 100%);
}

.bg-gold-gradient {
  background: linear-gradient(135deg, #ce9127 0%, #dfa037 100%);
}

/* Smooth Image Transitions */
.zoom-on-hover {
  overflow: hidden;
}
.zoom-on-hover img {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.zoom-on-hover:hover img {
  transform: scale(1.04);
}

/* Luxury button with subtle rounding */
.btn-primary {
  background-color: #5c9768;
  color: #ffffff;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-weight: 600;
}
.btn-primary:hover {
  background-color: #487d54;
  box-shadow: 0 4px 14px rgba(92, 151, 104, 0.35);
}

.btn-secondary {
  background-color: #1a1f30;
  color: #ffffff;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-weight: 600;
}
.btn-secondary:hover {
  background-color: #272f49;
  box-shadow: 0 4px 14px rgba(26, 31, 48, 0.25);
}

.btn-gold {
  background-color: #ce9127;
  color: #ffffff;
  border-radius: 6px;
  transition: all 0.25s ease;
  font-weight: 600;
}
.btn-gold:hover {
  background-color: #b57c1d;
  box-shadow: 0 4px 14px rgba(206, 145, 39, 0.35);
}

/* Active tab style with refined subtle corner */
.model-tab.active {
  background: #1a1f30;
  color: #ffffff;
  border-color: #1a1f30;
  box-shadow: 0 4px 12px rgba(26, 31, 48, 0.2);
}

.model-tab:not(.active) {
  background: #ffffff;
  color: #4b5563;
  border-color: #e5e7eb;
}
.model-tab:not(.active):hover {
  background: #f3f4f6;
  color: #1a1f30;
}

/* Floating WhatsApp Pulsing */
@keyframes pulse-ring {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-pulse {
  animation: pulse-ring 2s infinite;
}

/* Lightbox Modal */
.modal-overlay {
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

/* Hero gradient with original #1a1f30 */
.hero-gradient {
  background: linear-gradient(180deg, rgba(26, 31, 48, 0.78) 0%, rgba(26, 31, 48, 0.88) 60%, #1a1f30 100%);
}

/* Refined architectural border */
.arch-border {
  border: 1px solid rgba(26, 31, 48, 0.1);
}
