/* Ocean Balance Akademie – Vintage Retro Style Theme CSS */

/* ===== CSS RESET / NORMALIZE ===== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    width: 100%;
    background: #FAF4E6;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #2B2620;
    font-size: 16px;
    line-height: 1.65;
    background-color: #FAF4E6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
}
a {
    color: #204D74;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #ee7e3a;
    outline: none;
}
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
ul, ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}
li {
    margin-bottom: 0.5em;
}
strong { font-weight: bold; }
em { font-style: italic; }

/* ====== WEBFONTS (Montserrat for display, Roboto for body) ====== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

/* VINTAGE COLOR PALETTE (Brand + Retro Accents) */
:root {
    --primary: #204D74;
    --secondary: #13AEBB;
    --accent: #F4F6F8;
    --retro-blue: #406997;
    --retro-yellow: #FFDC98;
    --retro-red: #C14324;
    --retro-green: #B2BC7C;
    --retro-orange: #ee7e3a;
    --headline-bg: #F7E1B0;
    --bg-main: #FAF4E6;
    --vintage-brown: #4C3228;
    --card-bg: #FFFBEA;
    --shadow: 0 2px 12px rgba(52,32,22,.09);
}

/* ====== CONTAINER & LAYOUT WRAPPERS (FLEX ONLY) ====== */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.card {
    background: var(--card-bg);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 32px 24px;
    margin-bottom: 20px;
    position: relative;
    min-width: 270px;
    transition: box-shadow 0.21s, transform 0.21s;
    border: 2px solid #FFE4B3;
}
.card:hover {
    box-shadow: 0 8px 28px rgba(60,38,20,.14);
    transform: translateY(-4px) scale(1.03);
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background: #F7E1B0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 20px;
    color: #1E231E;
    font-size: 17px;
    font-family: 'Montserrat', Impact, system-ui, sans-serif;
    letter-spacing: 0.01em;
    border-left: 6px solid var(--retro-blue);
    transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card span {
    color: var(--vintage-brown);
    font-size: 15px;
    font-family: 'Roboto', Arial, sans-serif;
}
.testimonial-card:hover {
    box-shadow: 0 8px 36px rgba(85,64,12,0.21);
    transform: scale(1.015);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

/* ===== RESPONSIVE FLEX: force column on mobile, row on desktop ===== */
@media (max-width: 768px) {
    .container { padding: 0 10px; }
    .content-wrapper, .content-grid, .card-container {
        flex-direction: column;
        gap: 20px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 20px;
    }
    .main-nav { display: none; }
    header .container { justify-content: space-between; }
}

@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
        align-items: center;
        gap: 16px;
    }
    .content-wrapper, .content-grid, .card-container {
        flex-direction: row;
    }
    .text-image-section {
        flex-direction: row;
    }
}

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    color: var(--primary);
    margin-bottom: 18px;
    text-shadow: 0 1px 2px rgba(255,220,152,.2);
}
h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.2px;
    background: var(--headline-bg);
    display: inline-block;
    padding: 6px 22px 4px 22px;
    border-radius: 12px 36px 12px 36px/18px 8px 18px 8px;
    box-shadow: 0 2px 18px rgba(255,206,96,.09);
    margin-top: 12px;
    margin-bottom: 24px;
}
h2 {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--retro-red);
    margin-top: 12px;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    border-bottom: 4px dotted var(--retro-orange);
    width: fit-content;
    padding-bottom: 2px;
}
h3 {
    font-size: 1.35rem;
    color: var(--retro-blue);
    font-weight: 700;
    margin-bottom: 8px;
}
p, ul, ol {
    font-size: 18px;
    color: #2B2620;
    font-family: 'Roboto', Arial, sans-serif;
    margin-bottom: 12px;
    line-height: 1.7;
}
p.lead {
    color: var(--primary);
    font-size: 22px;
    letter-spacing: .03em;
    margin-bottom: 18px;
}

blockquote {
    font-style: italic;
    background: var(--retro-yellow);
    padding: 16px 25px;
    border-radius: 10px;
    border-left: 8px solid var(--retro-orange);
    margin: 18px 0;
}

/* ===== BUTTONS / CTA ===== */
.cta-btn {
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    background: var(--retro-orange);
    color: #fff;
    font-weight: 900;
    font-size: 1.13rem;
    letter-spacing: 1px;
    border-radius: 22px;
    padding: 12px 32px;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(238,126,58,.12);
    margin-top: 16px;
    border: none;
    cursor: pointer;
    outline: none;
    transition: background 0.22s, box-shadow 0.19s, transform 0.13s;
    position: relative;
    z-index: 1;
}
.cta-btn:hover, .cta-btn:focus {
    background: var(--retro-red);
    color: #FFE4B3;
    box-shadow: 0 6px 32px rgba(208,85,28,.17);
    transform: translateY(-2px) scale(1.05);
}
.main-nav .cta-btn, .mobile-nav .cta-btn {
    font-size: 1rem;
    padding: 9px 19px;
}

button {
    font: inherit;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    cursor: pointer;
    box-shadow: 0 2px 9px rgba(30,36,32,.08);
    transition: background 0.18s, transform 0.125s;
}
button:hover, button:focus {
    background: var(--secondary);
    color: #fff;
    transform: scale(1.05);
}

/* ===== HEADER & NAVIGATION ===== */
header {
    background: var(--primary);
    padding: 0;
    box-shadow: 0 2px 13px rgba(32,77,116,.09);
    letter-spacing: .02em;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    padding-top: 10px;
    padding-bottom: 10px;
}
header img {
    height: 53px;
    min-width: 48px;
    border-radius: 20px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 14px;
}
.main-nav a {
    color: #FFFBEA;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 1.03rem;
    position: relative;
    transition: background 0.16s, color 0.16s;
}
.main-nav a:not(.cta-btn):hover, .main-nav a:not(.cta-btn):focus {
    background: var(--retro-blue);
    color: var(--retro-yellow);
    outline: none;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #FFE4B3;
    font-size: 2rem;
    cursor: pointer;
    padding: 4px 15px;
    display: none;
    z-index: 1030;
    transition: color 0.18s, transform 0.14s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    color: var(--retro-yellow);
    transform: scale(1.11);
}

@media (max-width: 991px) {
    .main-nav { display: none !important; }
    .mobile-menu-toggle { display: block; }
}

/* ===== MOBILE NAVIGATION MENU ===== */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,23,7, 0.94);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.42,0,0.21,1), opacity 0.23s cubic-bezier(0.58,0.6,0.58,1);
}
.mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
    transform: translateX(0%);
}
.mobile-menu nav.mobile-nav {
    display: flex;
    flex-direction: column;
    background: var(--primary);
    width: 88vw;
    max-width: 350px;
    height: 100vh;
    padding: 38px 22px 28px 19px;
    gap: 18px;
    box-shadow: -6px 0 26px -2px #2d2920ba;
    border-top-left-radius: 18px;
    border-bottom-left-radius: 14px;
    position: relative;
}
.mobile-menu-close {
    position: absolute;
    top: 18px; right: 28px;
    background: none;
    color: #F7E1B0;
    font-size: 2.1rem;
    border: none;
    z-index: 2011;
    transition: color 0.17s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #FFDC98;
    transform: rotate(8deg) scale(1.1);
}
.mobile-nav a {
    color: #FAF4E6;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    padding: 8px 7px 8px 13px;
    border-radius: 8px;
    transition: background 0.19s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--secondary);
    color: #F7E1B0;
}
@media (min-width: 992px) {
    .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ===== SECTIONS & BACKGROUNDS ===== */
section {
    background: transparent;
    border-radius: 16px;
    box-shadow: 0 0px 0px 0px #0000;
    margin-bottom: 60px;
    /* padding is via .section */
}
section .container {
    padding-top: 10px;
    padding-bottom: 10px;
}
section:not(:last-child) {
    border-bottom: 6px dashed var(--retro-yellow);
}

/* ===== ICONS, LISTS, DECORATIVE ELEMENTS ===== */
ul img, li img {
    height: 28px;
    width: 28px;
    margin-right: 7px;
    vertical-align: middle;
    border-radius: 8px;
    filter: sepia(30%) brightness(1.05) contrast(1.18);
    box-shadow: 0 1px 2px #F7E1B099;
}

ul, ol {
    padding-left: 1.3em;
    margin-bottom: 1.1em;
    list-style-position: inside;
}
ul {
    list-style: disc outside;
}
ol {
    list-style: decimal outside;
}
@media (max-width: 600px) {
    ul, ol { font-size: 16px; }
}

/* ====== FOOTER ====== */
footer {
    background: var(--primary);
    color: #FAF4E6;
    padding: 34px 0 16px 0;
    letter-spacing: 0.03em;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
footer .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-bottom: 8px;
}
footer .footer-nav a {
    color: #FFDC98;
    font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.97rem;
    text-decoration: underline dotted var(--retro-yellow, #FFDC98);
    transition: color 0.14s, background 0.15s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
    color: var(--retro-orange);
    background: #F4F6F843;
}
footer .footer-contact span {
    color: #B2BC7C;
    font-size: 0.93rem;
    letter-spacing: 0.03em;
}

/* ====== COOKIE CONSENT BANNER ====== */
.cookie-consent-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #FFFBEA;
    color: #33200c;
    box-shadow: 0 -2px 24px #CAB2812C;
    padding: 18px 24px 18px 24px;
    z-index: 2500;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 16px;
    font-family: 'Roboto', Arial, sans-serif;
    border-top: 3px solid var(--retro-yellow);
    animation: cookie-slideup 0.5s cubic-bezier(.42,0,.32,1);
}
@keyframes cookie-slideup {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0%); }
}
.cookie-consent-banner button, .cookie-consent-banner .cookie-settings-btn {
    margin-right: 10px;
    background: var(--retro-orange);
    color: #fff;
    border-radius: 9px;
    padding: 9px 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    box-shadow: 0 2px 7px #FCBD5040;
    border: none;
    cursor: pointer;
    transition: background 0.18s, color 0.1s, transform 0.15s;
}
.cookie-consent-banner button:last-child, .cookie-consent-banner .cookie-settings-btn:last-child {
    margin-right: 0;
}
.cookie-consent-banner button:hover, .cookie-consent-banner .cookie-settings-btn:hover {
    background: var(--retro-red);
    color: #FFDC98;
}

/* ====== COOKIE MODAL ====== */
.cookie-modal {
    position: fixed;
    z-index: 2600;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
    background: #FFE4B3;
    color: #301D0E;
    padding: 43px 30px 36px 30px;
    border-radius: 18px;
    box-shadow: 0 6px 60px #775c4318;
    min-width: 310px;
    max-width: 95vw;
    width: 420px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    opacity: 1;
    animation: cookie-modal-in 0.28s cubic-bezier(.42,0,.55,1);
}
@keyframes cookie-modal-in {
    0% { transform: translate(-50%,-60%) scale(0.98); opacity: 0; }
    100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
}
.cookie-modal-close {
    position: absolute;
    top: 14px; right: 19px;
    background: none;
    font-size: 1.6rem;
    color: #C14324;
    border: none;
    cursor: pointer;
    z-index: 11;
    transition: color 0.12s, transform 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
    color: var(--retro-blue);
    transform: scale(1.12);
}
.cookie-modal h3 {
    font-size: 1.18rem;
    color: var(--retro-red);
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
}
.cookie-category label {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1.05rem;
    color: var(--primary);
    cursor: pointer;
}
.cookie-switch {
    appearance: none;
    width: 38px;
    height: 20px;
    background: #e0c788;
    border-radius: 20px;
    position: relative;
    outline: none;
    transition: background 0.17s;
}
.cookie-switch:checked {
    background: var(--retro-green);
}
.cookie-switch::after {
    content: '';
    position: absolute;
    left: 2px; top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: left 0.18s;
    box-shadow: 0 2px 5px #c4c4c444;
}
.cookie-switch:checked::after {
    left: 20px;
}
.cookie-category .always-enabled {
    color: #31764a;
    font-size: 0.94em;
    font-family: 'Montserrat', Arial, sans-serif;
    margin-left: 2px;
}
.cookie-modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}
.cookie-modal-actions button {
    background: var(--retro-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Montserrat', Arial, sans-serif;
    padding: 9px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s, color 0.12s;
}
.cookie-modal-actions button:hover, .cookie-modal-actions button:focus {
    background: var(--retro-red);
    color: #FFDC98;
}

/* ====== FORM / CONTACT STYLES ====== */
form {
    margin-top: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
input, textarea {
    font: inherit;
    border: 1.5px solid #FFD68A;
    border-radius: 12px;
    background: #FFFBEA;
    padding: 12px;
    font-size: 1.09em;
    outline: none;
    margin-bottom: 6px;
    transition: border 0.15s, box-shadow 0.14s;
}
input:focus, textarea:focus {
    border-color: var(--retro-orange);
    box-shadow: 0 2px 14px #ffae5a28;
}
label { font-weight: 500; margin-bottom: 2px; }

/* ===== SUCCESS PAGES ===== */
.thank-you-message, .success-message {
    background: var(--retro-yellow);
    border-radius: 14px;
    padding: 30px 20px;
    color: var(--primary);
    font-size: 1.22rem;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 34px 0;
    text-align: center;
}

/* ===== MICRO-INTERACTIONS & ANIMATIONS ===== */
a, .cta-btn, button, .mobile-menu-toggle, .mobile-menu-close {
    transition: color 0.18s, background 0.18s, box-shadow 0.18s, transform 0.14s;
}
.card, .testimonial-card {
    transition: box-shadow 0.23s, transform 0.19s;
}

/* ===== ACCESSIBILITY ===== */
:focus { outline: 2px solid #F7E1B0; outline-offset: 1px; }

/* ===== SPACING (ALL CARDS & SECTIONS must have min 20px between) ===== */
.card-container, .content-grid, .footer-nav, .text-image-section, 
.testimonial-card, .feature-item {
    gap: 24px;
    margin-bottom: 20px;
}
.section, section, .content-wrapper { margin-bottom: 60px; }
.card, .testimonial-card, .feature-item { margin-bottom: 20px; }

/* ===== CUSTOM RETRO DECORATIVE ELEMENTS ===== */
.section {
    border-radius: 18px;
    background: repeating-linear-gradient(45deg, #FFE4B3 0 2px, #FFFBEA 2px 24px);
    box-shadow: 0 2px 28px 2px #B2BC7C18;
    border: 2.5px solid #FFD68A;
}
@media (max-width: 640px) {
    .section {
        padding: 19px 7px;
        margin-bottom: 38px;
    }
    .testimonial-card {
        padding: 13px;
    }
}

/* ===== RETRO PATTERNS (background + headings) ===== */
@media (min-width: 769px) {
    body {
        background: linear-gradient(135deg, #FFDC98 0%, #FFE4B3 52%, #FAF4E6 100%);
        background-attachment: fixed;
    }
}

h1, h2 {
    /* Adding subtle halftone effect background for headings */
    background-image: radial-gradient(circle at 7px 7px, #F6DA9A 1.1px, transparent 1.1px), radial-gradient(circle at 14px 14px, #FFE4B3 1.2px, transparent 1.2px);
    background-size: 19px 19px;
    background-repeat: repeat;
}

/* ====== END VINTAGE RETRO THEME ====== */