/* ========================================
   VENEZUELAN HOMES - Unified Stylesheet
   ======================================== */

/* ----------------------------------------
   Font Face - Satoshi
   ---------------------------------------- */
@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/fonts/Satoshi-Variable.woff2') format('woff2'),
         url('../fonts/fonts/Satoshi-Variable.woff') format('woff'),
         url('../fonts/fonts/Satoshi-Variable.ttf') format('truetype');
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/fonts/Satoshi-VariableItalic.woff2') format('woff2'),
         url('../fonts/fonts/Satoshi-VariableItalic.woff') format('woff'),
         url('../fonts/fonts/Satoshi-VariableItalic.ttf') format('truetype');
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

/* ----------------------------------------
   Base & Typography
   ---------------------------------------- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Satoshi', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

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

/* Slow zoom animation for hero backgrounds */
.animate-slow-zoom {
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

/* Staggered fade in for lists */
.stagger-fade-in > * {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-fade-in > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-fade-in > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-fade-in > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-fade-in > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-fade-in > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-fade-in > *:nth-child(6) { animation-delay: 0.6s; }

/* ----------------------------------------
   Hero Section
   ---------------------------------------- */
.hero-fade {
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 70%, rgba(255,255,255,1) 100%);
}

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.nav-transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-solid {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------
   Forms (Application Page)
   ---------------------------------------- */
input[type="radio"]:checked,
input[type="checkbox"]:checked {
    accent-color: #000000;
}

/* Focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    ring: 2px;
    ring-color: #000000;
    border-color: transparent;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn-primary {
    background-color: #000000;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: scale(1.05);
}

.btn-secondary {
    background-color: #ffffff;
    color: #000000;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.2s ease;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

/* ----------------------------------------
   Cards
   ---------------------------------------- */
.card {
    background-color: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ----------------------------------------
   Section Utilities
   ---------------------------------------- */
.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 1rem;
    display: block;
}

/* ----------------------------------------
   Brand Colors (CSS Variables)
   ---------------------------------------- */
:root {
    /* Core Brand */
    --brand-dark: #111111;
    --brand-gray: #F5F5F7;
    --brand-accent: #2563EB;

    /* City-specific Accents */
    --color-caracas: #111111;
    --color-valencia-slate: #334155;
    --color-valencia-indigo: #4338ca;
    --color-margarita: #0EA5E9;
    --color-maracaibo: #0D9488;
    --color-gold: #D4AF37;
}

/* ----------------------------------------
   Responsive Utilities
   ---------------------------------------- */
@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none;
    }
}

/* Footer mobile 2 columns */
@media (max-width: 767px) {
    footer .grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }

    footer .grid > div:first-child {
        grid-column: span 2;
    }
}

