/*******************************
    BANNER
*******************************/

.banner {
    position: relative;
    width: min(100%, 1280px);
    height: 200px;
    margin: 30px auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Dark overlay – between image and text */
.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 1;
}

/* Banner image */
.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Banner text */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 3.5rem;
    font-weight: 300;
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.55);
    letter-spacing: 1px;
    margin: 0;
    z-index: 2;
}

#banner-addon {
    color: var(--white50);
}

@media (max-width: 600px) {
    .banner-text {
        font-size: 2rem;
        left: 20px;
        bottom: 15px;
        transform: translateY(0);
    }
}

/*******************************
    NAV + LOGIN BUTTONS
*******************************/

.banner .nav {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
    z-index: 3;
}

/* LOGIN button */
.login-button {
    background: rgba(0, 0, 0, 0.25);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    font-size: 0.9rem;
    font-weight: 400;
    text-decoration: none;
    border-radius: 999px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.login-button:hover {
    background: rgba(0, 0, 0, 0.45);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/*******************************
    HAMBURGER ICON
*******************************/

.hamburger {
    position: relative;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.45);
}

/* The 3 bars */
.hamburger span {
    position: absolute;
    width: 20px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Position bars */
.hamburger span:nth-child(1) {
    transform: translateY(-6px);
}
.hamburger span:nth-child(2) {
    transform: translateY(0);
}
.hamburger span:nth-child(3) {
    transform: translateY(6px);
}

/* Active → turns into X */
.hamburger.active span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

/*******************************
    FULL-BANNER DROPDOWN MENUS
*******************************/

/* FULL-SCREEN NAV OVERLAY */
.nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    margin: 0;
    padding: 0;
    list-style: none;
    border-radius: 0;
    display: none;              /* jQuery toggles */
    z-index: 80;

    background: rgba(4, 19, 25, 0.96);
    text-align: center;
    padding-top: 80px;          /* Space for header / mini-header */
}

/* (keep these as they are) */
.nav-links li {
    display: inline-block;
    margin: 0 20px;
}

.nav-links a {
    color: #e5edf0;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 300;
    transition: 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff91;
    text-decoration: none;
}

/* Mobile layout: stack links vertically and space them nicely */
@media (max-width: 979px) {
    .nav-links {
        padding-top: 100px;
    }

    .nav-links li {
        display: block;          /* stack vertically */
        margin: 0.rem 0;     
    }

    .nav-links a {
       display: inline-block;
       font-size: 1.2rem;          
       padding: 0.25rem 0.5rem;  
    }
}

/*******************************
    MINI HEADER (ON SCROLL)
*******************************/

.mini-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;


    background: rgba(10, 20, 28, 0.85);
    backdrop-filter: blur(8px);

    box-shadow: 0 4px 12px rgba(0,0,0,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.05);

    color: #e5edf0;
    z-index: 2000;
    opacity: 0;                /* default hidden */
    pointer-events: none;
    transition: opacity 0.25s ease-out;
}

/* Center content to match main container */
.mini-inner {
    width: min(100% - 40px, 1280px);
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
        padding: 0 20px;           /* ← NEW: 20px padding on left + right */

}

/* Left text: small SCOT label */
.mini-title {
    font-size: 1.4rem;
    font-weight: 300;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
}

#mini-addon {
    color: #ffffffa2; /* ~70% opacity */
    margin-left: 4px;
    text-transform: lowercase;
}

/* Right side nav icons */
.mini-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Slightly tighter buttons in mini header */
.mini-header .login-button {
    padding: 4px 12px;
    font-size: 0.8rem;
}

.mini-header .hamburger {
    width: 30px;
    height: 30px;
}

/* When page is scrolled enough, show mini header */
body.compact-header .mini-header {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
