/*
Theme Name: BCG Replica
Author: You
Version: 2.5
*/

/* --- 1. RESET --- */
body { margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333; line-height: 1.6; }
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; }

/* --- 2. HEADER --- */
.site-header {
    height: 90px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    pointer-events: none; 
}

/* --- 3. PILLS --- */
.nav-pill {
    pointer-events: auto;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid #eee;
    border-radius: 50px;
    padding: 8px 25px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    transition: all 0.3s ease;
}
.nav-pill:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-1px); }

.nav-pill.left-pill { gap: 20px; }
.menu-trigger-icon { font-size: 20px; cursor: pointer; border-right: 1px solid #ddd; padding-right: 20px; color: #333; }
.logo img { max-height: 35px; width: auto; } 
.logo a { font-size: 20px; font-weight: 800; color: #000; text-transform: uppercase; }

.nav-pill.right-pill { gap: 20px; }
.search-icon { font-size: 16px; cursor: pointer; color: #333; }
.login-btn-trigger { font-weight: 700; font-size: 12px; letter-spacing: 1px; cursor: pointer; text-transform: uppercase; color: #000; }

/* --- 4. POPUP MENU --- */
.popup-nav-container {
    display: none;
    position: fixed; top: 90px; left: 0; width: 100%;
    background: #fff; padding: 50px 10%;
    border-top: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 999;
    pointer-events: auto;
}
.desktop-menu-list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.desktop-menu-list > li { width: 25%; margin-bottom: 30px; padding-right: 20px; }
.desktop-menu-list > li > a { font-size: 13px; font-weight: 700; color: #999; text-transform: uppercase; display: block; margin-bottom: 15px; letter-spacing: 1px; }
.sub-menu { list-style: none; padding: 0; }
.sub-menu li a { font-size: 16px; color: #000; display: block; padding: 6px 0; font-weight: 500; }
.sub-menu li a:hover { color: #1a5c36; transform: translateX(5px); }

/* --- 5. MODALS (Glassmorphism) --- */
.custom-modal { 
    display: none; position: fixed; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0, 0, 0, 0.4); 
    z-index: 2000; 
    justify-content: center; align-items: center; 
    pointer-events: auto; backdrop-filter: blur(4px); 
}

.modal-content.glass-effect { 
    width: 480px; 
    padding: 50px 40px; 
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 12px;
    text-align: center;
    position: relative;
    animation: fadeInUps 0.4s ease;
}
@keyframes fadeInUps { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.close-modal { position: absolute; top: 15px; right: 20px; font-size: 28px; cursor: pointer; color: #777; }
.close-modal:hover { color: #000; }

/* LOGIN STYLES */
.modal-logo img { max-height: 80px; width: auto; margin-bottom: 15px; } 
.modal-subtitle { color: #E7B634; font-style: italic; font-size: 14px; margin-bottom: 5px; font-weight: 600; }
.modal-title { margin-top: 5px; margin-bottom: 25px; font-size: 24px; font-weight: 700; color: #333; text-transform: uppercase; letter-spacing: 1px; }

/* Form Alignments */
.login-form { text-align: left; }
.login-form p { margin-bottom: 15px; }
.login-form label { display: block; font-size: 12px; text-transform: uppercase; font-weight: 700; color: #555; margin-bottom: 6px; }
.login-form input[type="text"], .login-form input[type="password"] { width: 100%; height: 45px; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 16px; background: #fdfdfd; }
.login-form input[type="text"]:focus, .login-form input[type="password"]:focus { border-color: #1a5c36; outline: none; background: #fff; }
.login-remember { margin-top: 10px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.login-submit input[type="submit"] { background: #1a5c36; color: #fff; border: none; padding: 12px; font-size: 16px; font-weight: bold; cursor: pointer; border-radius: 50px; width: 100%; text-transform: uppercase; transition: background 0.3s; }
.login-submit input[type="submit"]:hover { background: #144a2b; }

/* Search Modal Form */
.search-form { display: flex; gap: 10px; }
.search-field { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 16px; }
.search-submit-btn { background: #1a5c36; color: #fff; border: none; padding: 0 25px; font-weight: bold; border-radius: 6px; cursor: pointer; }

/* --- 6. HERO SECTION (Default Desktop) --- */
.hero-section { 
    padding-top: 150px; 
    padding-left: 5%; 
    padding-right: 5%; 
    padding-bottom: 50px; 
    background: #fdfdfd; 
    min-height: 80vh; /* Ensures it takes up space */
}

/* --- 7. FOOTER --- */
.site-footer { background: #111; color: #bbb; padding: 60px 20px; font-size: 14px; }
.footer-container { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-info h4, .footer-contact h4 { color: #fff; border-bottom: 2px solid #1a5c36; display: inline-block; padding-bottom: 5px; margin-bottom: 20px; }
.disclaimer-text { font-size: 12px; text-align: justify; line-height: 1.8; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { margin-bottom: 15px; display: flex; gap: 10px; }
.social-icons-container { width: 100%; display: flex; justify-content: center; gap: 20px; margin-top: 40px; padding-top: 30px; border-top: 1px solid #222; }
.social-icon { width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; background: #222; border-radius: 50%; color: #fff; transition: 0.3s; }
.social-icon:hover { background: #fff; color: #000; transform: translateY(-3px); }
.copyright { text-align: center; width: 100%; margin-top: 30px; font-size: 12px; }

/* =========================================
   8. MOBILE RESPONSIVENESS (FIX IS HERE) 
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. Adjust Header Pills to fit small screens */
    .site-header { padding: 0 10px; height: 70px; }
    .nav-pill { padding: 5px 15px; height: 40px; }
    .logo a { font-size: 14px; } 
    .menu-trigger-icon { font-size: 18px; padding-right: 15px; }
    .login-btn-trigger { font-size: 10px; }

    /* 2. Push Hero Content DOWNWARD significantly */
    .hero-section {
        padding-top: 220px !important; /* Forces text below header */
        text-align: center; /* Centers text for better look */
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 3. Adjust Heading Sizes on Mobile so they don't look huge */
    .hero-section h1, 
    .hero-section h2 {
        font-size: 24px !important; 
        line-height: 1.4;
    }
    
    .hero-section p {
        font-size: 16px;
    }

    /* 4. Adjust Modal for Mobile */
    .modal-content.glass-effect {
        width: 90%; /* Fits width of phone */
        padding: 30px 20px;
        margin-top: 60px; /* Pushes modal down so header doesn't cover it */
        max-height: 80vh; /* Prevents it from being too tall */
        overflow-y: auto; /* Allows scrolling if content is too long */
    }
    
    .modal-logo img { max-height: 60px; }
    .modal-title { font-size: 20px; }
}