/* =================================================================ating
   Custom Header Styles (Transparent & Responsive)
   =================================================================== */

:root {
    --header-bg: transparent;
    --header-text: #ffffff;
    --header-text-hover: #3b82f6; /* Adjust to match your accent color */
    --transition-speed: 0.3s ease;
    --spacing-md: 1.5rem;
}

/* Base Header Layout */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--header-bg);
    color: var(--header-text);
}

.site-header .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    z-index: 100000;
}
.skip-link:focus {
    top: 0;
}

/* Site Branding / Logo */
.site-branding img {
    max-height: 40px;
    width: auto;
}

.site-logo-text {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-text);
}

/* Desktop Navigation */
.main-navigation .nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.main-navigation .nav-menu a {
    text-decoration: none;
    color: var(--header-text);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-speed);
}

.main-navigation .nav-menu a:hover {
    color: var(--header-text-hover);
}

/* Header CTA Button */
.header-cta .btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-speed), transform var(--transition-speed);
}

.btn-primary {
    background-color: #3b82f6; /* Change to match your brand color */
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2563eb;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    z-index: 1001;
}

.mobile-menu-toggle .hamburger {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--header-text);
    transition: var(--transition-speed);
}

/* =================================================================
   Mobile Menu Drawer Styles
   =================================================================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: #111827; /* Dark background for mobile drawer */
    color: #ffffff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    overflow-y: auto;
}

/* Active state toggled via JavaScript */
.mobile-menu.is-active {
    right: 0;
}

.mobile-menu-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-menu-close {
    align-self: flex-end;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    margin-bottom: 2rem;
}

.mobile-navigation .mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.mobile-navigation .mobile-nav-menu li {
    margin-bottom: 1.25rem;
}

.mobile-navigation .mobile-nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.mobile-navigation .mobile-nav-menu a:hover {
    color: #3b82f6;
}

.mobile-menu-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.mobile-menu-cta .btn-large {
    display: block;
    text-align: center;
    width: 100%;
    padding: 0.8rem;
}

/* =================================================================
   Responsive Media Queries
   =================================================================== */

@media screen and (max-width: 992px) {
    /* Hide desktop navigation & desktop CTA on tablets/mobiles */
    .main-navigation,
    .header-cta {
        display: none;
    }

    /* Show mobile menu toggle button */
    .mobile-menu-toggle {
        display: flex;
    }
}