/* ==================================
   AURORA THEME - V3 DESIGN SYSTEM
   Ultra-Luxury Miami Waterfront
   ================================== */

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --navy: #0a1628;
    --gold: #b5985a;
    --cream: #f8f6f2;
    --light-warm: #f2ede6;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: rgba(255, 255, 255, 0.9);
    
    /* Typography */
    --font-heading: 'Italiana', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 5%;
    --container-max: 1400px;
    
    /* Transitions */
    --smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(3rem, 6vw, 5rem); }
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: clamp(2rem, 4vw, 3rem); }
h4 { font-size: clamp(1.5rem, 3vw, 2rem); }

.eyebrow {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
}

.section-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: 1rem;
}

/* Watermark Typography */
.watermark-text {
    position: absolute;
    font-family: var(--font-heading);
    font-size: clamp(8rem, 15vw, 20rem);
    color: var(--navy);
    opacity: 0.02;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
}

/* === PRELOADER === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.preloader-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(181, 149, 90, 0.1);
    transition: var(--smooth);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.625rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.25rem;
}

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

.nav-link {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: var(--smooth);
    position: relative;
}

.nav-link:hover {
    color: var(--gold);
}

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

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--gold);
    border-radius: 0;
    color: var(--gold);
}

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

.nav-cta::after {
    display: none;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--navy);
    border: 1px solid rgba(181, 149, 90, 0.2);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--smooth);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--smooth);
}

.dropdown-link:hover {
    background: rgba(181, 149, 90, 0.1);
    color: var(--gold);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--smooth);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--navy);
    z-index: 2000;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(181, 149, 90, 0.2);
}

.mobile-menu-close {
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-nav {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(181, 149, 90, 0.1);
    transition: var(--smooth);
}

.mobile-nav-link:hover {
    color: var(--gold);
}

.mobile-nav-section {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 1rem;
}

.mobile-nav-sub {
    padding-left: 1rem;
    font-size: 0.875rem;
}

.mobile-nav-cta {
    margin-top: 1rem;
    padding: 1rem;
    border: 1px solid var(--gold);
    text-align: center;
    color: var(--gold);
}

/* === HERO SECTIONS === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.35) 0%, rgba(10, 22, 40, 0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 5%;
}

.hero h1,
.hero .eyebrow,
.hero p {
    color: var(--white);
}

.hero h1 {
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

/* Floating Stats Bar */
.stats-bar {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 2px solid var(--gold);
    z-index: 3;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--navy);
    line-height: 1;
    display: block;
}

.stat-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-top: 0.5rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid;
    transition: var(--smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--gold);
}

.btn-outline {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

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

.btn-white {
    background: var(--white);
    border-color: var(--white);
    color: var(--navy);
}

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

/* === SECTIONS === */
.section {
    position: relative;
    padding: var(--section-padding);
}

.section-cream {
    background: var(--cream);
}

.section-light {
    background: var(--light-warm);
}

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

.section-navy h2,
.section-navy h3,
.section-navy .eyebrow {
    color: var(--white);
}

.section-navy .eyebrow {
    color: var(--gold);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header.align-left {
    text-align: left;
    margin-left: 0;
}

/* === PARALLAX BREAKS === */
.parallax-break {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 22, 40, 0.75);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 5%;
}

.parallax-content h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

/* === GRID LAYOUTS === */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* === CARDS === */
.card {
    position: relative;
    background: var(--white);
    overflow: hidden;
    transition: var(--smooth);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-dark);
    opacity: 0.8;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--gold);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    transition: var(--smooth);
}

.card-link:hover {
    letter-spacing: 0.1em;
}

/* Image Overlay Cards */
.card-overlay {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.card-overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--smooth);
}

.card-overlay:hover .card-overlay-image {
    transform: scale(1.1);
}

.card-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.95) 100%);
    color: var(--white);
}

.card-overlay-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

/* === NUMBERED SECTIONS === */
.numbered-section {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.number-label {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    opacity: 0.6;
    line-height: 1;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
    min-width: 100px;
}

.numbered-content h3 {
    margin-bottom: 1rem;
}

/* === FORMS === */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid rgba(10, 22, 40, 0.2);
    background: var(--white);
    color: var(--text-dark);
    transition: var(--smooth);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* === FOOTER === */
.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 5% 40px;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(181, 149, 90, 0.2);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-subheading {
    font-family: var(--font-body);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--smooth);
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-link {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--smooth);
    opacity: 0.8;
}

.social-link:hover {
    color: var(--gold);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-credit {
    color: var(--gold);
    text-decoration: none;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 5%;
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .stat-item {
        flex: 1 1 calc(50% - 1rem);
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .numbered-section {
        flex-direction: column;
        gap: 1rem;
    }
    
    .number-label {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero {
        min-height: 600px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.875rem 2rem;
        font-size: 0.8125rem;
    }
}

/* OVERRIDE: Make reveal elements visible by default */
.reveal-fade,
.reveal-slide,
.reveal-scale,
.card,
.numbered-section,
.section-header,
.service-item,
.community-card,
.listing-card,
.testimonial-card,
.service-card,
.testimonial,
.card-overlay,
.numbered-item,
.why-item,
.process-step,
.feature-card,
.stat-card,
.about-content {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}