﻿/* --- Variables & Reset --- */
:root {
    --bg-dark: #121212;
    --bg-panel: #1f1f1f;
    --border-color: #2c2c2c;
    --accent-gold: #FFD700;
    --text-main: #ffffff;
    --text-muted: #cccccc;
    --header-height: 60px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* --- Base Styles --- */
html {
    scrollbar-gutter: stable;
    overflow-y: auto;
}

@supports not (scrollbar-gutter: stable) {
    html {
        overflow-y: scroll;
    }
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

html, body {
    height: auto; /* Allow content to dictate height */
    min-height: 100%;
    overflow-x: hidden; /* Prevent horizontal wiggle */
    overflow-y: visible; /* Ensure vertical scroll is allowed */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

/* --- Layout Wrapper --- */
.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
   /* position: sticky;*/
    top: 0;
    z-index: 1000;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* Logo */
.header-logo .logo-text,
.header-logo a {
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 5px;
}

.header-logo .logo-text-small {
    display: none;
}

/* Desktop Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

    .header-nav a {
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
        position: relative;
        padding: 8px 0;
        color: var(--text-muted);
    }

        .header-nav a:hover {
            color: var(--accent-gold);
        }

        /* Hover Underline Effect */
        .header-nav a:not(.nav-cta)::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 50%;
            background-color: var(--accent-gold);
            transition: all 0.3s ease;
            transform: translateX(-50%);
        }

        .header-nav a:not(.nav-cta):hover::after {
            width: 100%;
        }

/* CTA Button */
.nav-cta {
    background-color: var(--accent-gold) !important;
    color: #000 !important;
    padding: 10px 22px !important;
    font-weight: 800 !important;
    border-radius: 4px;
}

    .nav-cta:hover {
        background-color: var(--text-main) !important;
    }

/* Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--text-main);
    cursor: pointer;
    background: none;
    border: 0;
    z-index: 1100;
}

    .menu-toggle:focus-visible {
        outline: 2px solid rgba(255,255,255,0.6);
        outline-offset: 3px;
    }

/* --- Components --- */
.thankyou-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: calc(100vh - var(--header-height));
    padding: 40px 20px;
}

.thankyou-panel {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

    .thankyou-panel h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

/* --- Footer --- */
.site-footer {
    background-color: #111;
    padding: 20px 0;
    font-size: 0.9rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-links {
    list-style: none;
    text-align: right;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a:hover {
        text-decoration: underline;
    }

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .header-nav {
        display: none;
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        height: 75vh;
        /*background-color: #001f3f;*/
        background-color: var(--bg-panel);
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

        .header-nav.active {
            display: flex;
            opacity: 1;
        }

    .header-logo .logo-text {
        display: none;
    }

    .header-logo .logo-text-small {
        display: inline-flex;
        font-size: 0.7rem;
    }

    .header-nav a {
       /* font-size: 1.5rem;*/
        width: 100%;
        text-align: center;
    }
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #001f3f; /* Your Navy */
    border-top: 2px solid #FFD700;
    padding: 20px 0;
    z-index: 9999;
    display: none; /* Hidden by default */
}

.cookie-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-text p {
    color: #fff;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-text a {
    color: #FFD700;
    text-decoration: underline;
}

.cookie-btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cookie-btn-link {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-flex {
        flex-direction: column;
        text-align: center;
    }
}