/*
* Theme Name: Bonanza Landing - Premium Edition
* Description: Estilos renovados para Inversionistas Inmobiliarios Bonanza con estética moderna Blue & Gold
* Version: 2.0
*/

/* Island Architecture - Scoped Variables */
#bonanza-lp {
    /* Primary (Blue) Palette */
    --bnz-primary: #0B2545;
    /* Deep Midnight Blue */
    --bnz-primary-light: #133E6E;
    --bnz-primary-dark: #051121;
    --bnz-primary-gradient: linear-gradient(135deg, #0B2545 0%, #061A33 100%);

    /* Secondary (Gold) Palette */
    --bnz-secondary: #CFB991;
    /* Classic Gold */
    --bnz-secondary-light: #E6DCC5;
    --bnz-secondary-dark: #A89060;
    --bnz-gold-gradient: linear-gradient(135deg, #CFB991 0%, #F4E4BC 50%, #A89060 100%);
    --bnz-gold-text-gradient: linear-gradient(to right, #CFB991, #F4E4BC, #CFB991);

    /* Accents & Backgrounds */
    --bnz-accent: #FFFFFF;
    --bnz-text: #E0E0E0;
    /* Off-white for dark backgrounds */
    --bnz-text-dark: #1A1A1A;
    /* Dark gray for light backgrounds */
    --bnz-text-muted: #A0A0A0;

    --bnz-bg-body: #051121;
    /* Very dark blue background for the whole page */
    --bnz-bg-card: rgba(255, 255, 255, 0.05);
    /* Glassmorphism base */
    --bnz-bg-card-hover: rgba(255, 255, 255, 0.1);

    /* Typography */
    --bnz-font-heading: 'Cinzel', serif;
    --bnz-font-body: 'Lato', sans-serif;

    /* Spacing & Structure */
    --bnz-spacing-sm: 1rem;
    --bnz-spacing-md: 2rem;
    --bnz-spacing-lg: 5rem;

    /* Effects */
    --bnz-radius: 12px;
    --bnz-shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --bnz-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --bnz-glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --bnz-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Scoped Reset */
#bonanza-lp,
#bonanza-lp * {
    box-sizing: border-box;
}

#bonanza-lp {
    font-family: var(--bnz-font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--bnz-text);
    background-color: var(--bnz-bg-body);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Utilities */
#bonanza-lp .bonanza-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#bonanza-lp .text-gold {
    color: var(--bnz-secondary);
    background: var(--bnz-gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    /* Required for gradient text */
}

#bonanza-lp .text-white {
    color: #fff;
}

#bonanza-lp .bonanza-bg-light {
    background-color: #0B2545;
    /* Changed to dark blue for cohesion, cards will contrast */
}

#bonanza-lp .bonanza-bg-dark {
    background-color: var(--bnz-bg-body);
}

/* Typography */
#bonanza-lp h1,
#bonanza-lp h2,
#bonanza-lp h3,
#bonanza-lp h4 {
    font-family: var(--bnz-font-heading);
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

/* Header */
#bonanza-lp .bonanza-header {
    background-color: rgba(5, 17, 33, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--bnz-shadow-sm);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: var(--bnz-glass-border);
}

#bonanza-lp .bonanza-header .bonanza-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#bonanza-lp .bonanza-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

#bonanza-lp .bonanza-logo-img {
    height: 55px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--bnz-secondary);
}

#bonanza-lp .bonanza-logo-text {
    font-family: var(--bnz-font-heading);
    font-size: 1.4rem;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#bonanza-lp .bonanza-nav-list {
    display: none;
    /* Mobile first hidden */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Hero Section */
#bonanza-lp .bonanza-hero {
    position: relative;
    min-height: 90vh;
    /* Full viewport height almost */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(rgba(5, 17, 33, 0.7), rgba(5, 17, 33, 0.5)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    /* Luxury Real Estate Image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    text-align: center;
    overflow: hidden;
}

#bonanza-lp .bonanza-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bnz-bg-body), transparent);
    pointer-events: none;
}

#bonanza-lp .bonanza-hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

#bonanza-lp .bonanza-hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

#bonanza-lp .bonanza-hero-subtitle {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    font-weight: 300;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
#bonanza-lp .bonanza-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    /* Pill shape */
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--bnz-transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

#bonanza-lp .bonanza-btn-primary {
    background: var(--bnz-gold-gradient);
    color: #051121;
    box-shadow: 0 4px 15px rgba(207, 185, 145, 0.4);
}

#bonanza-lp .bonanza-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(207, 185, 145, 0.6);
}

#bonanza-lp .bonanza-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--bnz-secondary);
    margin-left: 1rem;
}

#bonanza-lp .bonanza-btn-outline:hover {
    background: var(--bnz-secondary);
    color: #051121;
    transform: translateY(-3px);
}

/* Sections */
#bonanza-lp .bonanza-section {
    padding: var(--bnz-spacing-lg) 0;
    position: relative;
}

#bonanza-lp .bonanza-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

#bonanza-lp .bonanza-section-title {
    font-size: 2.5rem;
    color: #fff;
    position: relative;
    display: inline-block;
}

#bonanza-lp .bonanza-divider {
    height: 3px;
    width: 80px;
    background: var(--bnz-gold-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Grid System */
#bonanza-lp .bonanza-grid {
    display: grid;
    gap: 2.5rem;
}

#bonanza-lp .bonanza-grid-2 {
    grid-template-columns: 1fr;
}

#bonanza-lp .bonanza-grid-3 {
    grid-template-columns: 1fr;
}

/* Cards (Glassmorphism) */
#bonanza-lp .bonanza-card,
#bonanza-lp .bonanza-feature-card {
    background: var(--bnz-bg-card);
    padding: 2.5rem;
    border-radius: var(--bnz-radius);
    border: var(--bnz-glass-border);
    backdrop-filter: blur(10px);
    box-shadow: var(--bnz-shadow-sm);
    transition: var(--bnz-transition);
    color: var(--bnz-text);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#bonanza-lp .bonanza-card:hover,
#bonanza-lp .bonanza-feature-card:hover {
    transform: translateY(-10px);
    background: var(--bnz-bg-card-hover);
    box-shadow: var(--bnz-shadow-lg);
    border-color: var(--bnz-secondary);
}

#bonanza-lp .bonanza-card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--bnz-gold-text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#bonanza-lp .bonanza-feature-card h4 {
    color: var(--bnz-secondary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* List Check */
#bonanza-lp .bonanza-list-check {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

#bonanza-lp .bonanza-list-check li {
    padding-left: 2.5rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--bnz-text);
}

#bonanza-lp .bonanza-list-check li::before {
    content: '✦';
    /* Star/Sparkle icon */
    color: var(--bnz-secondary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Accordion */
#bonanza-lp .bonanza-accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

#bonanza-lp .bonanza-accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--bnz-font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s;
}

#bonanza-lp .bonanza-accordion-header:hover {
    color: var(--bnz-secondary);
}

#bonanza-lp .bonanza-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

#bonanza-lp .bonanza-accordion-content p {
    padding: 1.5rem;
    color: var(--bnz-text);
    margin: 0;
}

#bonanza-lp .bonanza-accordion-item.active .bonanza-accordion-content {
    max-height: 300px;
}

#bonanza-lp .bonanza-accordion-item.active .bonanza-icon {
    transform: rotate(45deg);
    color: var(--bnz-secondary);
}

/* Form Section */
#bonanza-lp .bonanza-form-container {
    background: var(--bnz-bg-card);
    padding: 3rem;
    border-radius: var(--bnz-radius);
    border: var(--bnz-glass-border);
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

#bonanza-lp .form-group {
    margin-bottom: 1.5rem;
}

#bonanza-lp .form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--bnz-secondary);
    font-weight: bold;
    font-size: 0.9rem;
}

#bonanza-lp .form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: var(--bnz-font-body);
    font-size: 1rem;
    transition: all 0.3s;
}

#bonanza-lp .form-control:focus {
    outline: none;
    border-color: var(--bnz-secondary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(207, 185, 145, 0.2);
}

#bonanza-lp select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%22//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23CFB991%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem top 50%;
    background-size: 0.65rem auto;
}

/* Footer */
#bonanza-lp .bonanza-footer {
    background-color: #020a14;
    color: #fff;
    padding: 5rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#bonanza-lp .bonanza-footer-brand h3 {
    color: var(--bnz-secondary);
    margin-bottom: 0.5rem;
}

#bonanza-lp .bonanza-footer-links {
    margin: 2rem 0;
}

#bonanza-lp .bonanza-footer-links a {
    color: var(--bnz-text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

#bonanza-lp .bonanza-footer-links a:hover {
    color: var(--bnz-secondary);
}

/* Responsive */
@media (min-width: 768px) {
    #bonanza-lp .bonanza-nav-list {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    #bonanza-lp .bonanza-menu-toggle {
        display: none;
    }

    #bonanza-lp .bonanza-nav-link {
        text-decoration: none;
        color: #fff;
        font-weight: 500;
        font-size: 0.95rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: color 0.3s;
        padding: 0.5rem 0;
        position: relative;
    }

    #bonanza-lp .bonanza-nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--bnz-secondary);
        bottom: 0;
        left: 0;
        transition: width 0.3s;
    }

    #bonanza-lp .bonanza-nav-link:hover {
        color: var(--bnz-secondary);
    }

    #bonanza-lp .bonanza-nav-link:hover::after {
        width: 100%;
    }

    #bonanza-lp .bonanza-hero-title {
        font-size: 4rem;
        line-height: 1.1;
    }

    #bonanza-lp .bonanza-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    #bonanza-lp .bonanza-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    #bonanza-lp .bonanza-list-check {
        grid-template-columns: repeat(2, 1fr);
    }
}