/* ===================================================================
   VINTAGE RETRO CSS FOR TIMBER JOURNEY
   Consistent for all pages – Mobile First, Flexbox Only, No CSS Grid 
=================================================================== */

/*
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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
    display: block;
}
body {
    line-height: 1.6;
    background-color: #F3ECE6;
    color: #1B2B32;
}
ol, ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    border: 0;
}
button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

/*
FONTS 
(Vintage-inspired, web-safe fallbacks)
*/
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,700&display=swap');
body {
    font-family: 'Roboto', Arial, sans-serif;
    background: #F3ECE6; /* subtle paper background */
}
h1, h2, h3, h4, h5, h6, .tagline {
    font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
    letter-spacing: 0.03em;
}
h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 16px; }
h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; }
h4, h5, h6 { font-size: 1rem; }
p, li { font-size: 1rem; }
.tagline {
    color: #6C9282;
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 22px;
}
strong { font-weight: 700; }

/*
RETRO COLOR VARIABLES
*/
:root {
    --color-primary: #1B2B32;
    --color-secondary: #6C9282;
    --color-accent: #F3ECE6;
    --color-retro-yellow: #EFC372;
    --color-retro-cream: #F8F4E5;
    --color-retro-orange: #E8A978;
    --color-retro-green: #5C7C6E;
    --color-retro-brown: #755B3B;
    --color-retro-red: #B65C39;
    --color-white: #FFF;
    --color-dark: #1B2B32;
    --color-border: #E9E5D7;
}

/*
STRUCTURE LAYOUT
*/
.container {
    max-width: 1176px;
    margin: 0 auto;
    padding: 0 18px;
}
.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 0;
}
/* SPACING & SECTIONS AS PER REQUIREMENTS */
.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: var(--color-retro-cream);
    border-radius: 20px;
    box-shadow: 0 3px 10px 0 rgba(139, 108, 54, 0.06);
    position: relative;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    background: var(--color-white);
    border-radius: 18px;
    box-shadow: 0 2px 7px 0 rgba(100,77,35,0.10);
    margin-bottom: 20px;
    padding: 26px 24px 20px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 2px solid var(--color-border);
    min-width: 260px;
    max-width: 360px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-6px) scale(1.015);
    box-shadow: 0 8px 32px 0 rgba(146,109,54,0.13);
}

.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;
}
.text-section {
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}
.feature-grid > div {
    flex: 1 1 220px;
    min-width: 210px;
    background: var(--color-retro-yellow);
    border-radius: 16px;
    padding: 26px 18px 20px 18px;
    box-shadow: 0 2px 6px 0 rgba(116,80,46,0.11);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}
.feature-grid > div:hover {
    box-shadow: 0 6px 24px rgba(107,76,25,0.16);
}
.feature-grid img {
    width: 38px;
    height: 38px;
    filter: sepia(0.3) contrast(1.06) drop-shadow(0 2px 1px #b59774);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* TESTIMONIAL CARD (Retro Postcard Style) */
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--color-white);
    border-left: 8px solid var(--color-retro-orange);
    border-radius: 14px 30px 14px 14px;
    padding: 20px;
    box-shadow: 0 0.5px 6px 0 rgba(200,126,73,0.07);
    margin-bottom: 20px;
    color: var(--color-dark);
}
.testimonial-card p {
    font-family: 'Roboto', serif;
    font-size: 1.05rem;
    color: #503015;
    font-style: italic;
}
.testimonial-card span {
    font-family: 'Montserrat', Arial, sans-serif;
    color: var(--color-retro-brown);
    font-size: 0.97rem;
    margin-left: 12px;
}

/* BUTTONS (Vintage Rounded Large) */
.cta-button {
    display: inline-block;
    background: var(--color-retro-orange);
    color: var(--color-dark);
    border: 2.5px solid var(--color-retro-brown);
    border-radius: 999px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 13px 35px 12px 35px;
    margin-top: 8px;
    box-shadow: 0 1.5px 8px 0 rgba(128,70,27,0.075);
    transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.11s;
    cursor: pointer;
    position: relative;
    text-align: center;
}
.cta-button:hover, .cta-button:focus {
    background: var(--color-retro-yellow);
    color: var(--color-retro-red);
    box-shadow: 0 6px 28px 0 rgba(255,190,60,0.14);
    outline: none;
    transform: translateY(-2px) scale(1.04);
}

/* HEADER & NAVIGATION */
header {
    background: var(--color-retro-cream);
    box-shadow: 0 1.5px 10px 0 rgba(165,116,56,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 13px 0;
}
.main-nav ul {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: center;
}
.main-nav li {
    margin-bottom: 0;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    border-radius: 8px;
    padding: 6px 15px 6px 13px;
    transition: background 0.13s, color 0.13s;
    position: relative;
}
.main-nav a:hover,
.main-nav a:focus {
    background: var(--color-retro-yellow);
    color: var(--color-retro-brown);
    outline: none;
}
.main-nav .cta-button {
    margin-left: 24px;
    margin-top: 0;
}
.main-nav img {
    height: 46px;
}

/* MOBILE NAVIGATION & BURGER MENU */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 26px;
    top: 24px;
    z-index: 210;
    font-size: 2.05rem;
    color: var(--color-retro-orange);
    border-radius: 6px;
    background: var(--color-retro-yellow);
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-retro-brown);
    transition: background 0.18s, color 0.18s;
    padding: 0;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: var(--color-retro-orange);
    color: var(--color-retro-red);
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-retro-cream);
    z-index: 300;
    transform: translateX(-100%);
    transition: transform 0.29s cubic-bezier(.54,.07,0,.99);
    padding: 36px 25px 18px 25px;
}
.mobile-menu.open {
    transform: translateX(0);
    box-shadow: 4px 0 30px 0 rgba(81,68,35,0.06);
}
.mobile-menu-close {
    font-size: 2.6rem;
    color: var(--color-retro-red);
    background: var(--color-retro-yellow);
    border-radius: 18px;
    padding: 3px 16px 2px 16px;
    border: 2px solid var(--color-retro-orange);
    margin-bottom: 20px;
    align-self: flex-end;
    transition: background 0.15s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
    background: var(--color-retro-orange);
    color: var(--color-dark);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    margin-top: 13px;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.17rem;
    color: var(--color-dark);
    padding: 12px 6px 10px 2px;
    border-radius: 8px;
    transition: background 0.12s, color 0.12s;
    min-width: 146px;
    border-left: 5px solid var(--color-retro-yellow);
}
.mobile-nav a:hover,
.mobile-nav a:focus {
    background: var(--color-retro-yellow);
    color: var(--color-retro-red);
    outline: none;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 7px 32px 0 rgba(120, 76, 36, 0.17);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 20px 30px 20px 24px;
    z-index: 400;
    border: 2px solid var(--color-retro-yellow);
    animation: cookieBannerAppear 0.45s cubic-bezier(.41,1.32,.36,.99);
}
@keyframes cookieBannerAppear {
    0% { transform: translateY(70px) scale(0.98); opacity:0; }
    100% { transform: none; opacity:1; }
}
.cookie-banner p {
    font-size: 1rem;
    color: var(--color-dark);
}
.cookie-buttons {
    display: flex;
    flex-direction: row;
    gap: 14px;
    justify-content: flex-end;
}
.cookie-btn {
    background: var(--color-retro-yellow);
    color: var(--color-dark);
    border-radius: 12px;
    border: 2px solid var(--color-retro-brown);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 9px 23px;
    margin: 0 0 0 0;
    transition: background 0.14s, color 0.14s;
}
.cookie-btn.accept {
    background: var(--color-retro-orange);
    color: var(--color-white);
    border-color: var(--color-retro-red);
}
.cookie-btn.accept:hover,
.cookie-btn.accept:focus {
    background: var(--color-retro-red);
    color: var(--color-white);
    outline: none;
}
.cookie-btn.reject {
    background: var(--color-border);
    color: var(--color-retro-red);
    border-color: var(--color-retro-orange);
}
.cookie-btn.reject:hover,
.cookie-btn.reject:focus {
    background: var(--color-retro-brown);
    color: var(--color-retro-yellow);
    outline: none;
}
.cookie-btn.settings {
    background: var(--color-retro-yellow);
    color: var(--color-dark);
    border-color: var(--color-retro-yellow);
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
    background: var(--color-retro-orange);
    color: var(--color-retro-red);
    outline: none;
}

/* COOKIE MODAL */
.cookie-modal {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(1);
    background: var(--color-white);
    border: 2px solid var(--color-retro-yellow);
    border-radius: 20px;
    z-index: 410;
    box-shadow: 0 16px 50px 0 rgba(88,36,5,0.12);
    min-width: 280px;
    max-width: 96vw;
    width: 420px;
    padding: 34px 32px 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 23px;
    animation: cookieModalAppear 0.39s cubic-bezier(.47,1.53,.37,.97);
}
@keyframes cookieModalAppear {
    0% { transform: translate(-50%,40%) scale(0.92); opacity:0; }
    100% { transform: translate(-50%,-50%) scale(1); opacity:1; }
}
.cookie-modal h3 {
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--color-retro-brown);
    margin-bottom: 9px;
}
.cookie-modal .modal-close {
    position: absolute;
    right: 16px;
    top: 7px;
    font-size: 1.35rem;
    color: var(--color-retro-red);
    background: var(--color-retro-yellow);
    border-radius: 9px;
    padding: 2px 11px;
    border: 2px solid var(--color-retro-orange);
}
.cookie-modal-category {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cookie-modal-category label {
    font-size: 1rem;
    color: var(--color-dark);
}
.cookie-modal-category input[type="checkbox"] {
    accent-color: var(--color-retro-orange);
    width: 19px; height: 19px;
}
.cookie-modal .category-essential {
    font-style: italic;
    color: #B65C39;
    opacity: 1;
}
.cookie-modal .category-essential input[type="checkbox"] {
    display: none;
}

/* FOOTER (RETRO-PAPER look) */
footer {
    background: var(--color-retro-cream);
    border-top: 7px solid var(--color-retro-yellow);
    padding-top: 40px;
    padding-bottom: 30px;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.97rem;
    color: var(--color-retro-brown);
    margin-bottom: 15px;
}
.footer-nav a {
    color: var(--color-retro-brown);
    text-decoration: underline wavy;
    transition: color 0.12s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: var(--color-retro-red);
}
.brand-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 4px 0;
}
.brand-info img {
    height: 43px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 1rem;
    align-items: center;
    color: #91612d;
}

/* GENERAL LISTS AND TEXTS */
ul, ol {
    list-style: disc;
    padding-left: 32px;
    margin-bottom: 8px;
    color: #55513A;
}
ul li, ol li {
    margin-bottom: 7px;
    font-size: 1rem;
}
ul li strong, ol li strong {
    color: var(--color-retro-brown);
}

/* Inputs, Forms: (If any) */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    background: var(--color-accent);
    border: 2px solid var(--color-retro-yellow);
    border-radius: 10px;
    font-size: 1rem;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-family: 'Roboto', Arial, sans-serif;
}
input:focus, textarea:focus {
    outline: none;
    border-color: var(--color-retro-red);
    background: #FFFFF9;
}

/* QUOTES & BLOCKQUOTES */
blockquote, q {
    border-left: 4px solid var(--color-retro-orange);
    background: #F9F6EB;
    padding: 17px 22px 17px 15px;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--color-retro-red);
    border-radius: 12px;
    font-size: 1.09rem;
}

/* MISC */
hr {
    border: 0; height: 2px;
    background: var(--color-retro-yellow);
    margin: 40px 0 30px 0;
    border-radius: 2px;
}

/* RESPONSIVE DESIGN – MOBILE FIRST */
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    .content-wrapper {
        gap: 14px;
    }
    .main-nav ul, .footer-nav {
        display: none; /* Hide desktop nav on mobile */
    }
    .main-nav .cta-button {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .section {
        margin-bottom: 38px;
        padding: 24px 3px;
        border-radius: 12px;
    }
    .feature-grid {
        flex-direction: column;
        gap: 16px;
    }
    .card-container, .content-grid {
        flex-direction: column;
        gap: 16px;
    }
    .testimonial-card {
        flex-direction: column;
        padding: 17px;
        gap: 8px;
    }
    .text-image-section {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .cookie-modal {
        min-width: 200px;
        width: 98vw;
        padding: 22px 7px 20px 19px;
    }
}

@media (max-width: 499px) {
    h1 { font-size: 1.38rem; }
    h2 { font-size: 1.13rem; }
    .cta-button { font-size: 1rem; padding: 12px 22px; }
    .testimonial-card { font-size: 0.98rem; }
    .feature-grid > div { min-width: 0; padding: 13px 8px 15px 8px; }
    .footer-nav { flex-direction: column; gap: 9px; text-align: center; }
    .cookie-banner { padding: 16px 3vw 13px 4vw; font-size: 0.97rem;}
}

/* ANIMATIONS / MICROINTERACTIONS */
.cta-button, .mobile-menu-toggle, .mobile-menu-close, .cookie-btn, .mobile-nav a {
    transition: background 0.14s, color 0.14s, box-shadow 0.16s, transform 0.11s;
}
.card, .feature-grid > div, .testimonial-card {
    transition: transform 0.17s, box-shadow 0.17s;
}
.card:active, .feature-grid > div:active, .testimonial-card:active {
    transform: scale(0.99);
}
.cookie-banner, .cookie-modal {
    animation-timing-function: cubic-bezier(.5,1.7,.53,.99);
}

/* RETRO DECORATIVE PATTERNS (Simple CSS) */
.section::before {
    content: '';
    display: block;
    position: absolute;
    left: -18px; top: -18px;
    width: 58px; height: 18px;
    background: repeating-linear-gradient(90deg, var(--color-retro-yellow) 0 10px, transparent 10px 18px);
    opacity: 0.18;
    border-radius: 10px;
    pointer-events: none;
}

.section::after {
    content: '';
    display: block;
    position: absolute;
    right: -17px; bottom: -17px;
    width: 48px; height: 11px;
    background: repeating-linear-gradient(90deg, var(--color-retro-orange) 0 10px, transparent 10px 18px);
    opacity: 0.11;
    border-radius: 10px;
    pointer-events: none;
}

/* ACCESSIBILITY (FOCUS VISIBLE) */
a:focus, button:focus {
    outline: 2.5px solid var(--color-retro-red);
    outline-offset: 1.5px;
}

/* UTILITIES and MINOR ADJUSTMENTS */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px !important; }
.mb-1 { margin-bottom: 8px !important; }
.maxw-600 { max-width: 600px; }
.center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* Hide by default, show only via JS */
.cookie-banner, .cookie-modal {
    display: none;
}
.cookie-banner.active, .cookie-modal.active {
    display: flex;
}

/* Hide mobile menu by default, open via JS */
.mobile-menu {
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
}

/* For any page with .content-grid or .card-container, ensure no overlap & proper spacing */
.content-grid > *, .card-container > *, .feature-grid > *, .testimonial-card {
    margin-bottom: 20px;
}

/* ================
Vintage Retro, German-inspired Aesthetic
==================== */
body {
    /* Very subtle vintage paper look */
    background: linear-gradient(110deg, #f3ece6 85%, #f8f4e5 100%);
}

/* ================
End of CSS File
==================== */
