/* =========================================================================
   FLOW Elegant Wear - Luxury Brand "Under Construction" Page
   ========================================================================= */

/* Variables */
:root {
    --navy: #0F1E3A;
    --dark-blue: #1A2C52;
    --gold: #C8A45A;
    --light-gold: #E2C27A;
    --champagne: #E8D9B5;

    --text-primary: var(--champagne);
    --text-muted: rgba(232, 217, 181, 0.6);
    /* Muted champagne */

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --font-ar-serif: 'Amiri', serif;
    --font-ar-sans: 'Cairo', sans-serif;

    --glass-bg: rgba(15, 30, 58, 0.45);
    --glass-border: rgba(200, 164, 90, 0.25);
    --glass-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: var(--navy);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    padding: 3rem 0;
    position: relative;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

body.loaded {
    opacity: 1;
}

/* RTL Tweaks */
body.lang-ar {
    font-family: var(--font-ar-sans);
}

body.lang-ar .status-heading,
body.lang-ar .panel-title,
body.lang-ar .embossed-letter,
body.lang-ar .panel-subtitle {
    font-family: var(--font-ar-serif);
}

body.lang-ar .status-heading {
    font-size: 2.8rem;
}

body.lang-ar .description {
    font-size: 1.25rem;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background-size: cover;
    background-position: center;
    animation: slowZoom 30s infinite alternate linear;
}

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

    to {
        transform: scale(1.05);
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 30, 58, 0.85) 0%, rgba(26, 44, 82, 0.95) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Accents */
.scaffolding-accent {
    position: fixed;
    z-index: -1;
    border: 1px solid var(--gold);
    opacity: 0.15;
    pointer-events: none;
}

.scaffold-left {
    top: 10%;
    left: 5%;
    width: 1px;
    height: 80%;
    border-inline-start: 2px dashed var(--gold);
}

.scaffold-top {
    top: 5%;
    left: 10%;
    width: 80%;
    height: 1px;
    border-top: 1px solid var(--gold);
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 50;
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--glass-bg);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .language-switcher {
    right: auto;
    left: 2rem;
}

.language-switcher button {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, text-shadow 0.3s;
}

.language-switcher button:hover,
.language-switcher button.active {
    color: var(--champagne);
    text-shadow: 0 0 5px rgba(232, 217, 181, 0.3);
}

.language-switcher .divider-line {
    color: var(--gold);
    opacity: 0.5;
}

/* Layout */
.page-container {
    display: flex;
    gap: 2rem;
    width: 95%;
    max-width: 1400px;
    min-height: 85vh;
    height: auto;
    z-index: 10;
    margin: auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 4px;
}

.side-panel {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Left Panel */
.panel-left {
    align-items: center;
    justify-content: center;
}

.embossed-decor {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.25;
}

.embossed-letter {
    font-family: var(--font-serif);
    font-size: 8rem;
    line-height: 0.8;
    color: var(--gold);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1), -1px -1px 10px rgba(200, 164, 90, 0.3);
}

.vertical-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, var(--gold), transparent);
    margin: 20px 0;
}

.panel-subtitle {
    font-weight: 500;
    letter-spacing: 5px;
    white-space: nowrap;
    color: var(--champagne);
}

/* Main Center Panel */
.main-panel {
    flex: 2.5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
}

.logo-area {
    margin-bottom: 2rem;
    position: relative;
}

.main-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.main-logo:hover {
    transform: scale(1.02);
}

/* Typography */
.status-heading {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    color: var(--gold);
    text-shadow: 0px 0px 8px rgba(200, 164, 90, 0.2);
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--gold);
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 5px rgba(200, 164, 90, 0.5);
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--champagne);
    margin-bottom: 1rem;
    font-weight: 400;
}

.sub-description {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 450px;
    margin: 0 auto;
}

/* Subscription Form & Actions */
.subscription-form {
    margin-top: 2.5rem;
}

.subscribe-prompt {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.email-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    background: rgba(15, 30, 58, 0.4);
    backdrop-filter: blur(5px);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.email-form:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(200, 164, 90, 0.2);
}

.email-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    font-family: var(--font-sans);
    outline: none;
    font-size: 0.95rem;
    color: var(--champagne);
}

.email-form input[type="email"]::placeholder {
    color: rgba(232, 217, 181, 0.4);
}

.email-form button {
    padding: 12px 25px;
    border: none;
    background: var(--gold);
    color: var(--navy);
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
}

.email-form button:hover {
    background: var(--light-gold);
    box-shadow: 0 0 10px rgba(226, 194, 122, 0.4);
}

.action-area {
    margin-top: 3rem;
}

.follow-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--light-gold);
    opacity: 1;
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px rgba(200, 164, 90, 0.4));
}

/* Right Panel */
.panel-right {
    justify-content: space-around;
}

.panel-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--champagne);
    border-bottom: 1px solid var(--gold);
    display: inline-block;
    padding-bottom: 5px;
    font-weight: 400;
}

.identity-section {
    margin-bottom: 2rem;
}

.identity-section h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.swatches-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.swatch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    animation: fadeInUp 1s forwards;
    opacity: 0;
    transform: translateY(10px);
}

.fade-in-delay-1 {
    animation-delay: 0.8s;
}

.fade-in-delay-2 {
    animation-delay: 1.0s;
}

.fade-in-delay-3 {
    animation-delay: 1.2s;
}

.fade-in-delay-4 {
    animation-delay: 1.4s;
}

.fade-in-delay-5 {
    animation-delay: 1.6s;
}

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

.swatch {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.swatch-name {
    font-size: 0.6rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.c-cream {
    background-color: var(--navy);
}

.c-marble {
    background-color: var(--dark-blue);
}

.c-gold {
    background-color: var(--gold);
}

.c-navy {
    background-color: var(--champagne);
}

.c-beige {
    background-color: var(--light-gold);
}

.material-samples {
    display: flex;
    gap: 15px;
}

.material-card {
    width: 60px;
    height: 80px;
    background: var(--navy);
    display: flex;
    align-items: flex-end;
    padding: 5px;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--champagne);
    border: 1px solid var(--gold);
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.m-silk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 50%, var(--navy) 100%);
    opacity: 0.8;
}

.m-lace::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background-image: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 5px 5px;
    opacity: 0.3;
}


/* Founder Credit */
.founder-subtle {
    margin-top: 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    gap: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.founder-subtle:hover {
    opacity: 1;
    color: var(--champagne);
}

.founder-subtle .arabic-name {
    font-family: var(--font-ar-sans);
    font-size: 0.85rem;
    opacity: 0.9;
    text-transform: none;
    letter-spacing: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .page-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        padding: 5rem 0 2rem 0;
    }

    .panel-left,
    .panel-right,
    .scaffolding-accent {
        display: none;
    }

    .main-panel {
        flex: 1;
        width: 100%;
        margin: 0;
        padding: 0.75rem;
        border: none;
    }

    .status-heading,
    body.lang-ar .status-heading {
        font-size: 2.2rem;
    }

    .main-logo {
        max-width: 160px;
    }

    .email-form {
        flex-direction: column;
        border-radius: 12px;
        background: transparent;
        border: none;
    }

    .email-form input[type="email"] {
        border-radius: 12px;
        background: rgba(15, 30, 58, 0.6);
        border: 1px solid var(--glass-border);
        margin-bottom: 10px;
    }

    .email-form button {
        border-radius: 12px;
    }

    .founder-subtle {
        font-size: 0.75rem;
    }

    .founder-subtle .arabic-name {
        font-size: 0.85rem;
    }
}