/* ============================================================
   sportbootschule.TV - Master Stylesheet (Stable Build)
   ============================================================ */

:root {
    --nauti-blue: #005596;
    --nauti-bg: #f0f4f7;
    --nauti-white: #ffffff;
}

/* ============================================================
   BASE
   ============================================================ */

@font-face {
    font-family: 'TV Logo';
    src: url('../fonts/tv-logo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


body {
    background-color: var(--nauti-bg);
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #444;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--nauti-blue);
    line-height: 1.3;
}

.container {
    width: 85% !important;
    margin: 0 auto;
}

/* ============================================================
   HEADER + NAVBAR (STABLE FLEX VERSION)
   ============================================================ */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 1100;
    overflow: visible;
}

/* BRAND BLOCK */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--nauti-blue);
}

/* LOGO */
.nauti-nav-logo {
    height: 80px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* BRAND TEXT */
.nauti-brand-text {
    font-family: 'TV Logo', sans-serif;
    font-size: 3rem;
    color: var(--nauti-blue);
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

/* ============================================================
   HAMBURGER
   ============================================================ */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1200;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--nauti-blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.dropmenu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropmenu ul li {
    position: relative;
}

.dropmenu ul li a {
    display: block;
    padding: 10px 20px;
    color: var(--nauti-blue) !important;
    font-weight: 600;
    text-decoration: none;
}

/* SUBMENU */
.dropmenu ul li ul {
    position: absolute;
    top: 100%;
    left: 0;
    display: block;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;

    transition: max-height 0.6s ease, opacity 0.3s ease;

    background: rgba(240, 244, 247, 0.95);
    backdrop-filter: blur(10px);

    min-width: 240px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.dropmenu ul li ul.is-open {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
}

/* SUBMENU ITEMS */
.dropmenu ul li ul li a {
    padding: 12px 20px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.dropmenu ul li ul li a:hover {
    background: var(--nauti-blue);
    color: #fff !important;
}

/* ============================================================
   HEADER IMAGE
   ============================================================ */

#header-image {
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.header-home {
    height: 420px;
}

.header-sub {
    height: 440px;
}

/* ============================================================
   CONTENT
   ============================================================ */

main {
    padding-top: 30px;
}

.update-info {
    font-size: 0.85rem;
    color: #777;
    font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
    background: #dee6ed;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 4px solid var(--nauti-blue);
}

/* ============================================================
   MOBILE
   ============================================================ */

@media screen and (max-width: 768px) {

    .container {
        width: 92% !important;
    }

    .menu-toggle {
        display: flex;
    }

    .dropmenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(240, 244, 247, 0.98);
        backdrop-filter: blur(15px);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.6s ease, opacity 0.3s ease;
    }

    .dropmenu.is-active {
        max-height: 100vh;
        opacity: 1;
    }

    .dropmenu ul {
        flex-direction: column;
    }

    .header-home,
    .header-sub {
        height: 200px;
    }

    .nauti-brand-text {
        font-size: 2.2rem;
    }

    .nauti-nav-logo {
        height: 60px;
    }

    .dropmenu ul li ul {
        position: static;
        box-shadow: none;
        background: transparent;
    }
}

/* ============================================================
   GDPR
   ============================================================ */

#gdpr-cookie-notice {
    background-color: #dee6ed !important;
    border-top: 4px solid var(--nauti-blue) !important;
}

#gdpr-cookie-notice .button {
    background-color: var(--nauti-blue) !important;
}
