/* ================================================================
    PRIME VISTA | LUXURY FOOTER MASTER ARCHITECTURE
    Palette: Deep Abyss (#051d24), Heritage Gold (#D4AF37)
================================================================
*/

:root {
    --gold: #D4AF37;
    --gold-low: rgba(212, 175, 55, 0.2);
    --gold-whisper: rgba(212, 175, 55, 0.05);
    --abyss: #030d10;
    --abyss-light: #0a1a1f;
    --text-dim: rgba(255, 255, 255, 0.6);
    --transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- 1. BASE FOOTER CONTAINER --- */
.site-footer {
    position: relative;
    background: var(--abyss);
    padding: 100px 0 0 0;
    color: #ffffff;
    overflow: hidden;
    width: 100%;
}

.footer-container {
    position: relative;
    z-index: 5;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* --- 2. THE LAKE WAVE ANIMATION --- */
.lake-wave-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 300px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1600 200"><path fill="%23D4AF37" fill-opacity="0.04" d="M0,100 C200,150 400,50 600,100 C800,150 1000,50 1200,100 C1400,150 1600,50 1800,100 L1800,200 L0,200 Z"/></svg>');
    background-repeat: repeat-x;
    animation: lakeFlow 30s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes lakeFlow {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- 3. TOP HERO SECTION --- */
.footer-hero-statement {
    text-align: center;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--gold-whisper);
    margin-bottom: 80px;
}

.hero-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 5vw, 68px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
}

.italic-gold {
    font-style: italic;
    color: var(--gold);
}

.line-link {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    font-weight: 700;
    border-bottom: 1px solid var(--gold-low);
    padding-bottom: 8px;
    transition: var(--transition);
}

.line-link:hover {
    letter-spacing: 7px;
    border-bottom-color: #fff;
}

/* --- 4. MAIN NAVIGATION GRID --- */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.6fr 0.6fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-logo-container {
    text-align: center;
}

.footer-logo-container img {
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    filter: brightness(1.2);
    display: block;
    margin: 0 auto;
}

.brand-location {
    margin-top: 5px;      /* Adjust this value */
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #ccc;
}

.footer-col h6,
.footer-col .h6 {
    margin-top: 0;
    font-weight: 400;
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

/* Brand Details */
.brand-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 10px;
}

.brand-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
}

.brand-bio {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dim);
    font-weight: 300;
}

/* Nav Links */
.footer-links a, .contact-line {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 15px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

/* --- 5. ATELIER SIDE-FORM (THE LEGACY) --- */
.review-col .side-form {
    display: flex;
    flex-direction: column;
}

.side-form input, 
.side-form select, 
.side-form textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--gold-low);
    color: #fff;
    padding: 12px 0;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 11px;
    outline: none;
    transition: var(--transition);
}

.side-form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 15px;
}

.side-form textarea {
    resize: none;
    margin-top: 10px;
}

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

.side-form select option {
    background: var(--abyss);
    color: #fff;
}

.mini-line-link {
    background: none;
    border: none;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10px;
    font-weight: 700;
    border-bottom: 1px solid var(--gold-low);
    padding-bottom: 5px;
    cursor: pointer;
    align-self: flex-start;
    transition: var(--transition);
}

.mini-line-link:hover {
    letter-spacing: 5px;
    color: #fff;
}

/* --- 6. SOCIAL & LEGAL BARS --- */
.social-icon-grid {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-low);
    border-radius: 50%;
    color: var(--text-dim);
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
}

.icon-box:hover {
    color: var(--abyss);
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-5px);
}

.footer-legal-bar {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.667);
}

.footer-legal-bar p:first-child {
    margin-right: auto;
}

.footer-legal-bar p:last-child {
    margin-left: auto;
}

.dev-tag span { color: var(--gold); }
.dev-tag a { text-decoration: none; }

/* --- 7. RESPONSIVE ORCHESTRATION --- */
@media (max-width: 1200px) {
    .footer-main-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 40px;
    }
    .review-col {
        grid-column: span 3;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .footer-main-grid {
        grid-template-columns: 1fr 1fr;
    }
    .review-col {
        grid-column: span 2;
    }
    .footer-hero-statement {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
}

@media (max-width: 500px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
    }
    .review-col, .brand-info {
        grid-column: span 1;
    }
    .footer-legal-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Success Pop-up Styling */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 13, 16, 0.95); /* Deep dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.5s ease;
}

.success-content {
    text-align: center;
    padding: 40px;
    border: 1px solid var(--gold);
    background: #051a1f;
    max-width: 400px;
    position: relative;
}

.success-content i {
    font-size: 50px;
    color: #4cd137;
    margin-bottom: 20px;
}

.success-content h4,
.success-content h3 {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.success-content p {
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
}

/* Visual loading bar to show redirect timing */
.loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    width: 0%;
    animation: loadProgress 5s linear forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes loadProgress {
    from { width: 0%; }
    to { width: 100%; }
}