﻿/* ===========================================================
    1. CORE VARIABLES & RESET
=========================================================== */
:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --pink: #d63384;
    --pink-hover: #b82a6e;
    --bg-light: #f4f7f9;
    --card-shadow: 0 15px 50px rgba(0,0,0,0.15);
    --glass: rgba(255, 255, 255, 0.98);
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-light);
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

    body.menu-open {
        overflow: hidden;
    }

/* ===========================================================
    2. HEADER SECTION (LOGO 100px)
=========================================================== */
.top-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    height: 125px;
    gap: 20px;
}

.header-logo img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.header-title-area {
    flex-grow: 1;
    text-align: center;
    min-width: 0; /* Allows truncation */
}

    .header-title-area h1 {
        margin: 0;
        font-size: 26px;
        color: #1a1a1a;
        font-weight: 800;
        text-transform: uppercase;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.header-notice {
    display: inline-block;
    background: #fdf2f7;
    border-radius: 20px;
    padding: 4px 15px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--pink);
    font-weight: 600;
    border: 1px solid #f9d6e7;
}

.header-contact {
    text-align: right;
    min-width: 200px;
    border-left: 2px solid #f1f1f1;
    padding-left: 20px;
}

    .header-contact p {
        margin: 2px 0;
        font-size: 13px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }

    .header-contact i {
        color: var(--primary);
    }

/* Hamburger Button */
.menu-toggle {
    display: none; /* Hidden on Desktop */
    background: none;
    border: none;
    font-size: 30px;
    color: var(--primary);
    cursor: pointer;
    padding: 10px;
    z-index: 1002;
}

/* ===========================================================
    3. NAVIGATION & SIDE DRAWER
=========================================================== */
.main-nav {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 4px solid var(--primary);
    z-index: 1001;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
}

    .nav-links li a {
        text-decoration: none;
        color: #444;
        font-weight: 700;
        padding: 15px 20px;
        display: block;
        text-transform: uppercase;
        font-size: 15px;
        transition: 0.3s;
    }

        .nav-links li a:hover {
            color: var(--primary);
            background: #f8faff;
        }

.nav-close {
    display: none;
}

/* ===========================================================
    4. PAGE CONTENT (GLASS CARD)
=========================================================== */
.page-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(rgba(244, 247, 249, 0.8), rgba(244, 247, 249, 0.8)), url('https://www.toptal.com/designers/subtlepatterns/patterns/double-bubble.png');
}

.glass-card {
    background: var(--glass);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid #fff;
    width: 100%;
    max-width: 480px;
}

    .glass-card h3 {
        font-size: 24px;
        font-weight: 800;
        margin-bottom: 10px;
    }

    .glass-card p {
        color: #666;
        font-size: 14px;
        margin-bottom: 30px;
    }

.input-group-custom {
    position: relative;
    margin-bottom: 20px;
}

    .input-group-custom i {
        position: absolute;
        left: 18px;
        top: 18px;
        color: #aaa;
        font-size: 18px;
    }

.input-custom {
    width: 100%;
    height: 55px;
    padding-left: 50px;
    border-radius: 12px;
    border: 2px solid #edf2f7;
    font-size: 16px;
    font-weight: 600;
    outline: none;
}

.btn-pink {
    background: var(--pink);
    color: #fff;
    border: none;
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

/* ===========================================================
    5. MOBILE VIEW (THE FIX)
=========================================================== */
@media (max-width: 991px) {
    .header-row {
        height: 90px;
        padding: 0 15px;
        justify-content: space-between;
    }

    .header-logo img {
        height: 60px;
    }

    /* Force Icon Visibility */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .header-contact, .header-notice {
        display: none !important;
    }

    .header-title-area {
        text-align: left;
        padding-left: 10px;
    }

        .header-title-area h1 {
            font-size: 18px;
            max-width: 180px;
        }

    /* Side Drawer Styling */
    .main-nav {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: #fff;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        transition: var(--transition);
        z-index: 2000;
        border: none;
        display: block !important;
    }

        .main-nav.active {
            right: 0;
        }

    .nav-close {
        display: flex !important;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--pink);
        cursor: pointer;
        z-index: 2001;
    }

    .nav-links {
        flex-direction: column;
        padding-top: 80px;
        justify-content: flex-start;
    }

        .nav-links li a {
            padding: 20px 30px;
            border-bottom: 1px solid #f0f0f0;
            width: 100%;
        }

    /* Dimmed Background */
    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        visibility: hidden;
        opacity: 0;
        z-index: 0;
        transition: 0.3s;
    }

        .menu-overlay.active {
            visibility: visible;
            opacity: 1;
        }
}
