/*
Theme Name: BCG Replica
Author: You
Version: 2.1
*/

/* --- 1. RESET --- */
body { margin: 0; padding: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #333; }
* { box-sizing: border-box; }
a { text-decoration: none; color: inherit; }

/* --- 2. HEADER (TRANSPARENT CONTAINER) --- */
/* This makes the main bar invisible so buttons look separated */
.site-header {
    height: 90px;
    background: transparent; /* Invisible background */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: none; /* No line */
    pointer-events: none; /* CRITICAL: Allows you to click content BEHIND the empty space */
}

/* --- 3. THE "PILLS" (FLOATING BUTTONS) --- */
.nav-pill {
    pointer-events: auto; /* Re-enable clicking for the buttons themselves */
    display: flex;
    align-items: center;
    background: #fff; /* The buttons stay white */
    border: 1px solid #eee;
    border-radius: 50px; /* Fully rounded */
    padding: 8px 25px;
    height: 50px;
    /* Stronger shadow so they stand out against scrolling content */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
    transition: box-shadow 0.3s ease;
}

/* Add a hover effect for a nice touch */
.nav-pill:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* LEFT PILL: Hamburger | Logo */
.nav-pill.left-pill { gap: 20px; }
.menu-trigger-icon {
    font-size: 24px;
    cursor: pointer;
    border-right: 1px solid #ddd;
    padding-right: 20px;
    line-height: 1;
    color: #333;
}
.logo a {
    font-size: 22px;
    font-weight: 800;
    color: #000;
    letter-spacing: -1px;
    text-transform: uppercase;
}

/* RIGHT PILL: Search | Login */
.nav-pill.right-pill { gap: 20px; }
.search-icon {
    font-size: 18px;
    cursor: pointer;
    color: #333;
}
.login-btn-trigger {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: underline;
    cursor: pointer;
    text-transform: uppercase;
    color: #000;
}

/* --- 4. THE POPUP MENU (Full Width) --- */
.popup-nav-container {
    display: none; /* Hidden */
    position: fixed; 
    top: 90px; /* Pushes it down below the header */
    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; /* Just below the header z-index */
    pointer-events: auto; /* Ensure menu is clickable */
}

/* Javascript toggles this class */
.popup-nav-container.open { display: block; } 

.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; }

/* Parent Items (e.g., INDUSTRIES) */
.desktop-menu-list > li > a { 
    font-size: 14px; font-weight: 700; color: #999; text-transform: uppercase; display: block; margin-bottom: 10px;
}

/* Sub Items (e.g., Automotive) */
.sub-menu { list-style: none; padding: 0; }
.sub-menu li a { font-size: 16px; color: #000; display: block; padding: 5px 0; font-weight: 500; }
.sub-menu li a:hover { color: #1a5c36; }


/* --- 5. SLIDER & CONTENT --- */
.hero-section { 
    padding-top: 150px; /* Space for the header */
    padding-left: 5%; 
    padding-right: 5%; 
    padding-bottom: 50px; 
    background: #fdfdfd; /* Light background for contrast */
}
.hero-title { font-size: 56px; font-weight: 700; color: #000; margin-bottom: 10px; line-height: 1.1; }
.hero-subtitle { font-size: 32px; font-weight: 300; color: #555; margin-bottom: 60px; }

.slider-container { width: 100%; overflow: hidden; }
.slider-track { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px; scroll-behavior: smooth; }
.slide-card {
    min-width: 320px; width: 320px; flex-shrink: 0;
    border: 1px solid #eee; cursor: pointer; transition: 0.3s; background: #fff;
}
.slide-card:hover { transform: translateY(-5px); border-bottom: 4px solid #1a5c36; }
.slide-image { width: 100%; height: 200px; object-fit: cover; }
.slide-content { padding: 25px; }
.slide-cat { font-size: 11px; font-weight: bold; color: #888; text-transform: uppercase; margin-bottom: 10px; display: block; }
.slide-title { font-size: 20px; line-height: 1.3; font-weight: 400; margin: 0; }

/* --- 6. LOGIN MODAL --- */
.login-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.95); z-index: 2000; justify-content: center; align-items: center; pointer-events: auto; }
.login-content { width: 400px; padding: 40px; background: #fff; border: 1px solid #ddd; box-shadow: 0 0 50px rgba(0,0,0,0.1); position: relative; }
.close-login { position: absolute; top: 10px; right: 20px; font-size: 30px; cursor: pointer; }