/* ==========================================================================
   1. BASE STYLES & TYPOGRAPHY
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: 'Georgia', serif;
    background-color: #0d0d0d;
}

.lounge-container {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('../images/kybricks.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
    margin-top: -180px;
}

/* ==========================================================================
   2. NAVIGATION BAR & DROPDOWN MENU
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    border-bottom: 2px solid #c5a059;
    padding-bottom: 10px;
    width: 80%;
    max-width: 1200px;
    overflow: visible !important; /* Ensures the dropdown overlay is visible */
}

.nav-link {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #c5a059;
}

/* Dropdown Container */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Button Text - Matches .nav-link styles precisely */
.nav-dropbtn {
    background: none;
    border: none;
    color: #f2f2f2;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
    font-weight: normal;
    cursor: pointer;
    padding: 0;
    margin: 0;
    transition: color 0.3s ease;
}

.nav-dropdown:hover .nav-dropbtn {
    color: #c5a059;
}

/* Hidden Dropdown Menu Wrapper */
.nav-dropdown-content {
    display: none;
    position: absolute;
    background-color: #111111;
    min-width: 240px;
    box-shadow: 0px 12px 24px rgba(0, 0, 0, 0.8);
    border: 1px solid #c5a059;
    border-radius: 4px;
    z-index: 9999;
    top: 100%;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 0;
}

/* Navigation Links inside Dropdown Menu */
.nav-dropdown-content a {
    color: #d9d9d9 !important;
    padding: 12px 20px;
    text-decoration: none !important;
    display: block;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    text-align: center;
    border-bottom: 1px solid #222;
    letter-spacing: 1px;
    transition: background 0.2s, color 0.2s;
    text-transform: none;
}

.nav-dropdown-content a:last-child {
    border-bottom: none;
}

.nav-dropdown-content a:hover {
    background-color: #c5a059 !important;
    color: #000000 !important;
}

/* Display the Dropdown Menu on Mouse Hover */
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

/* ==========================================================================
   3. BRANDING ELEMENTS & DIVIDERS
   ========================================================================== */
.logo-container img {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

h1.main-title {
    font-size: 4rem;
    color: #c5a059;
    letter-spacing: 6px;
    text-align: center;
    margin: 40px 0 5px 0;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
    font-weight: normal;
    padding: 0 20px;
    box-sizing: border-box;
}

h2.sub-title {
    font-size: 4rem;
    color: #d9d9d9;
    letter-spacing: 5px;
    text-align: center;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    font-family: 'Georgia', serif;
    font-weight: normal;
    padding: 0 20px;
    box-sizing: border-box;
}

.slogan-text {
   font-size: 1.5rem;
   font-style: italic;
   color: #d9d9d9;
   text-align: center;
   margin-top: 60px;
   margin-bottom: 40px;
}

.separator-line {
    color: #c5a059;
    font-size: 1.5rem;
    margin: 15px 0;
    text-align: center;
    width: 100%;
    letter-spacing: -6px;
}

.premium-divider {
    width: 80%;
    max-width: 1200px;
    border-bottom: 2px solid #c5a059;
    margin: 25px auto;
}

.premium-divider-with-icon {
    display: flex;
    align-items: center;
    text-align: center;
    width: 80%;
    max-width: 1200px;
    margin: 25px auto;
    color: #c5a059;
    font-size: 1.5rem;
}

.premium-divider-with-icon::before,
.premium-divider-with-icon::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #c5a059;
    margin: 0 20px;
}

/* ==========================================================================
   4. MARKETING & CONTENT LAYOUTS
   ========================================================================== */
.mission-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    box-sizing: border-box;
}

.mission-title {
    font-size: 3.5rem;
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.mission-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #d9d9d9;
    font-style: normal;
    margin-top: 30px;
}

/* ==========================================================================
   5. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 768px) {
   .lounge-container {
       background-attachment: scroll;
       padding: 20px 10px;
   }

   .logo-container img {
       width: 120px;
   }

   .navbar {
       flex-direction: column;
       align-items: center;
       gap: 15px;
       width: 90%;
   }

   .nav-link {
       font-size: 1.1rem;
       letter-spacing: 2px;
   }

   h1.main-title {
       font-size: 2.2rem;
       letter-spacing: 3px;
       line-height: 1.3;
   }

   h2.sub-title {
       font-size: 1.8rem;
       letter-spacing: 2px;
   }
   
   .separator-line {
       font-size: 1.1rem;
       margin: 15px 0;
       letter-spacing: -6px;
   }

   .slogan-text {
       font-size: 1.1rem;
       font-style: italic;
       color: #d9d9d9;
       text-align: center;
       margin-top: 60px;
       margin-bottom: 40px;
   }
}