/* ==========================================================================
   HOUSTION - Premium Real Estate Landing Page Styles
   ========================================================================== */

/* CSS Variables */
:root {
    --color-charcoal: #1A1A1A;
    --color-gold: #C5A059;
    --color-white: #FFFFFF;
    --color-light-gray: #F5F5F5;
    --color-medium-gray: #666666;
    --color-border: #E0E0E0;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-charcoal);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

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

/* ==========================================================================
   NAVIGATION BAR (FIXED)
   ========================================================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-charcoal);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    transition: var(--transition-smooth);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition-smooth);
}

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

.nav-cta {
    padding: 0.75rem 1.75rem;
    border: 2px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.nav-cta:hover {
    background: var(--color-gold);
    color: var(--color-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-charcoal);
    border-radius: 3px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero::before {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.5) 0%, rgba(26, 26, 26, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    text-align: center;
    max-width: 900px;
    width: 100%;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 400;
    max-width: 700px;
}
.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
    background: #d4af6a;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(197, 160, 89, 0.4);
}

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

/* Hero Slider Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    pointer-events: all;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-size: 2rem;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
}

.hero-indicators {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.indicator.active {
    background: var(--color-gold);
    border-color: var(--color-gold);
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* ==========================================================================
   PROPERTIES GRID (7 VIDEO CARDS)
   ========================================================================== */

.properties-section {
    background: var(--color-light-gray);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: start;
}

@supports (grid-template-rows: masonry) {
    .properties-grid {
        grid-template-rows: masonry;
    }
}

.property-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.property-card[data-aos="fade-up"] {
    animation: fadeInCard 0.6s ease-out forwards;
}

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

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.property-video {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--color-charcoal);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.property-card:hover .video-player {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.property-card:hover .video-overlay {
    opacity: 1;
}

.detail-btn {
    padding: 0.875rem 2rem;
    background: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.detail-btn:hover {
    background: var(--color-white);
    color: var(--color-gold);
}

.property-info {
    padding: 1.5rem;
}

.property-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

.property-location {
    font-size: 1rem;
    color: var(--color-medium-gray);
    margin-bottom: 0.75rem;
}

.property-specs {
    font-size: 0.9rem;
    color: var(--color-medium-gray);
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-border);
}

.property-highlight {
    font-size: 0.875rem;
    color: var(--color-gold);
    font-weight: 600;
    padding-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}

.promo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--color-gold) 0%, #d4af6a 100%);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.4);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ==========================================================================
   WHY HOUSTION SECTION
   ========================================================================== */

.why-section {
    background: var(--color-white);
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--color-light-gray);
    border-radius: 8px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.value-card[data-aos="fade-up"] {
    animation: fadeInCard 0.6s ease-out forwards;
}

.value-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
}

.value-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
    margin-bottom: 1rem;
}

.value-desc {
    font-size: 1rem;
    color: var(--color-medium-gray);
    line-height: 1.7;
}

/* ==========================================================================
   LEAD GENERATION FORM
   ========================================================================== */

.form-section {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, #2a2a2a 100%);
    position: relative;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.form-content {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-heavy);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
    text-align: center;
}

.form-subtitle {
    font-size: 1rem;
    color: var(--color-medium-gray);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-charcoal);
}

.form-group input,
.form-group select {
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.submit-btn {
    padding: 1.1rem 2rem;
    background: var(--color-gold);
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 6px;
    transition: var(--transition-smooth);
    margin-top: 1rem;
}

.submit-btn:hover {
    background: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   MAP SECTION
   ========================================================================== */

.map-section {
    background: var(--color-light-gray);
}

.map-wrapper {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 0.25rem;
}

.contact-label {
    font-weight: 600;
    color: var(--color-charcoal);
    font-size: 0.9rem;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--color-medium-gray);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 3rem 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.footer-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   FLOATING ELEMENTS
   ========================================================================== */

.floating-wa {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-smooth);
    z-index: 999;
    cursor: pointer;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.floating-wa::before {
    content: attr(data-tooltip);
    position: absolute;
    right: 100%;
    margin-right: 1rem;
    background: var(--color-charcoal);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.floating-wa:hover::before {
    opacity: 1;
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    pointer-events: all;
}

.scroll-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
    
    .nav-cta {
        padding: 0.65rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
    .properties-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .property-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .section-container {
        padding: 3rem 1.5rem;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .floating-wa {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .scroll-top {
        bottom: 1.5rem;
        left: 1.5rem;
    }
    
    .floating-wa::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-logo {
        font-size: 1.5rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-headline {
        margin-bottom: 1rem;
    }
    
    .hero-subheadline {
        margin-bottom: 2rem;
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }
    
    .hero-controls {
        padding: 0 1rem;
    }
    
    .hero-prev,
    .hero-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .hero-indicators {
        bottom: 2rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }indicator {
        width: 10px;
        height: 10px;
    }
    .property-video {
        height: 240px;
    }
    
    .promo-badge {
        font-size: 0.65rem;
        padding: 0.4rem 0.75rem;
        top: 0.75rem;
        right: 0.75rem;
    }
    
    .property-name {
        font-size: 1.1rem;
    }
    
    .property-price {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   ANIMATION DELAYS
   ========================================================================== */

[data-aos="fade-up"][data-aos-delay="100"] {
    animation-delay: 0.1s;
}

[data-aos="fade-up"][data-aos-delay="200"] {
    animation-delay: 0.2s;
}