/* ==========================================
   1. CORE VARIABLES & TYPOGRAPHY RESET
   ========================================== */

:root {
    --storefront-grey: #484e53;
    /* Rich charcoal slate grey from your building trims */

    --facade-tan: #e1b485;
    /* Warm premium terracotta color of your walls */

    --text-dark: #1f2224;
    /* Premium near-black for modern readability */

    --text-muted: #64748b;
    /* Balanced grey for supporting body text */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
}

body {
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden;
    min-height: 100vh;
}


/* ==========================================
   2. HEADER NAVIGATION STYLES
   ========================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 8%;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f2f5;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-dark);
}


/* ==========================================
   3. PREMIUM BRAND INTERACTIVE BUTTONS
   ========================================== */

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: 1px solid var(--storefront-grey);
    background-color: var(--storefront-grey);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    background-color: #35393d;
    border-color: #35393d;
}

.btn-nav {
    background: transparent;
    color: var(--storefront-grey);
}

.btn-nav:hover {
    background: #f8f9fa;
    color: #35393d;
}

.btn-cta {
    padding: 0 32px;
}


/* ==========================================
   4. SEAMLESS COMBINED HERO LAYOUT
   ========================================== */

.main-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: calc(100vh - 89px);
    background-color: #f6f5f2;
    /* Matches the soft stone tones of your plaza tarmac */
}

.content-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 8%;
    background-color: #f6f5f2;
    /* Flows natively into the layout background */
}

.main-heading {
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.main-heading span {
    color: var(--storefront-grey);
    border-bottom: 3.5px solid var(--facade-tan);
    padding-bottom: 2px;
}

.main-subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
}


/* ==========================================
   5. SIGNUP INTERACTIVE USER INTERFACE
   ========================================== */

.waitlist-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin-bottom: 0;
}

.waitlist-form input {
    flex: 1;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    color: var(--text-dark);
}

.waitlist-form input:focus {
    border-color: var(--storefront-grey);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(72, 78, 83, 0.1);
}

/* Waitlist confirmation message */

#waitlist-message {
    min-height: 24px;
    margin: 12px 0 26px;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    color: #3f6f52;
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

#waitlist-message:not(:empty) {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================
   6. DEPARTMENT HOVER CARDS
   ========================================== */

.departments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.dept-card {
    padding: 20px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -2px rgba(0, 0, 0, 0.02);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.dept-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.05),
        0 4px 6px -4px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.card-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 12px;
}

.dept-card h4 {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-weight: 700;
}

.dept-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}


/* ==========================================
   7. IMMERSIVE SHOWCASE WITH BLENDED
      GRADIENT MASK
   ========================================== */

.image-side {
    position: relative;
    background-color: #f6f5f2;
    background-image: url('./storefront.png');
    background-size: cover;
    background-position: 45% center;
    background-repeat: no-repeat;
}

/* Feathers the left edge of the store building
   photo into the text column background */

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            #f6f5f2 0%,
            rgba(246, 245, 242, 0.3) 25%,
            rgba(0, 0, 0, 0) 65%);
}

.badge-pill {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   8. RESPONSIVE MOBILE OPTIMIZATIONS
   ========================================== */

@media (max-width: 1024px) {

    .main-layout {
        grid-template-columns: 1fr;
    }

    .content-side {
        padding: 60px 24px 40px 24px;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 40px;
    }

    .image-side {
        display: block;
        height: 380px;
        width: 100%;
        border-top: 1px solid #f0f2f5;
    }

    /* Remove the side gradient mask on mobile
       devices for clarity */

    .image-overlay {
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0) 60%,
                rgba(0, 0, 0, 0.2) 100%);
    }

    .badge-pill {
        bottom: 20px;
        right: 20px;
    }
}