/* --- Core Variables & Global Resets --- */

:root {
    --primary-green: #2E7D32;
    --hover-green: #1B5E20;
    --accent-gold: #FFB300;
    --bg-dark: #0b0f0c;
    --text-white: #ffffff;
    --text-muted: #A0A0A0;
    --header-border-glass: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--text-white);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}


/* --- Header & Layout Container --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 110px; /* Gives the header a solid height */
    z-index: 1000;
    background-color: white;
    display: flex;
    align-items: center;
}

.header-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* --- Logo Scaling --- */
.logo-wrapper {
    display: flex;
    flex-direction: column; /* Required for stacked logo/text */
    align-items: center;    /* Keeps logo and text centered */
    text-decoration: none;
    gap: 2px;               /* Small gap between logo and text */
}

.logo-img {
    height: 70px !important; 
    width: auto !important;
    display: block;
}

/* Applied via PHP/HTML formatting previously */
.logo-text {
    font-size: 0.9rem !important;
    margin-top: -5px !important; 
    text-transform: uppercase !important; 
    letter-spacing: 1px !important; 
    display: block !important;
}
/* --- Desktop Menu Typography --- */

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: Black;
    text-decoration: none;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-gold);
}

.mobile-only-cta {
    display: none;
}


/* --- Pill Shape Call to Action --- */

.nav-cta {
    background-color: var(--primary-green);
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.nav-cta:hover {
    background-color: var(--hover-green);
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}


/* --- Responsive Hamburger Toggle Button --- */

.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    padding: 0;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}


/* Container for the new Settings section */
.settings-panel {
    background: rgba(255, 255, 255, 0.03); /* Glassmorphism base */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.settings-panel h3 {
    color: #d4af37; /* Signature Gold Accent */
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.settings-form label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.settings-form input[type="text"], 
.settings-form input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
}

.settings-form button {
    background: #d4af37;
    color: #000;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.settings-form button:hover {
    background: #b8962d;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}


/* --- Tablet & Mobile Optimization (Media Query Breakpoint) --- */

@media (max-width: 991px) {
    .header-container {
        padding: 1rem 1.5rem;
    }
    .desktop-only-cta {
        display: none;
    }
    .hamburger-toggle {
        display: flex;
    }
    /* Full height slide-out drawer panel */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background-color: rgba(11, 15, 12, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--header-border-glass);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .nav-menu.is-active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        margin-bottom: 3rem;
    }
    .nav-link {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    .mobile-only-cta {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.9rem;
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger-toggle[aria-expanded="true"] .hamburger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}