/*
Theme Name: Funky VW
Theme URI: https://www.funkyvw.nl
Description: Custom theme voor Funky VW - Klassieke Volkswagens
Author: Funky VW
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');

/* =============================================
   RESET
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
    background-color: #fff;
    color: #222;
    line-height: 1.6;
    font-size: 16px;
    font-weight: normal !important;
}

/* Override WP block library link underlines */
a,
a:where(:not(.wp-element-button)) {
    color: inherit;
    text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
    font-weight: bold !important;
}

p {
    text-wrap: unset;
}

/* =============================================
   PAGINAWRAPPER: 90% breed, gecentreerd
   ============================================= */
.fvw-page-wrap {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
}

/* =============================================
   TWEE KOLOMMEN
   ============================================= */

/* Linker kolom: wit, 60% */
.fvw-left {
    flex: 0 0 60%;
    max-width: 60%;
    background-color: #ffffff;
    padding: 15px 15px 15px 50px;
    display: flex;
    flex-direction: column;
}

/* Rechter kolom: groen, 40% */
.fvw-right {
    flex: 0 0 40%;
    max-width: 40%;
    background-color: #2A8573;
    padding: 15px 15px 0 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Mobiel: kolommen stapelen */
@media (max-width: 767px) {
    .fvw-page-wrap {
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }
    .fvw-left,
    .fvw-right {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .fvw-left {
        padding: 20px;
    }
    .fvw-right {
        padding: 0 15px 15px;
    }
}

/* =============================================
   LINKER KOLOM INHOUD
   ============================================= */
.fvw-logo {
    width: 30%;
    min-width: 80px;
    max-width: 160px;
    height: auto;
    display: block;
    margin-bottom: 0;
}

.fvw-left p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.fvw-spacer {
    display: block;
    height: 1em;
}

.fvw-bedrijfsnaam {
    font-weight: bold !important;
}

.fvw-left a {
    color: #222 !important;
    text-decoration: none !important;
}

.fvw-left a:hover {
    color: #2A8573 !important;
}

.fvw-social-inline a {
    color: #2A8573 !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

/* =============================================
   RECHTER KOLOM: GEZOCHT
   ============================================= */
.fvw-gezocht {
    padding-top: 15px;
    text-align: center;
}

.fvw-gezocht h2 {
    font-size: 1.8rem !important;
    font-weight: bold !important;
    color: #fff !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
}

/* Mobiel: afbeelding BOVEN de tekst */
@media (max-width: 767px) {
    .fvw-right {
        flex-direction: column;
    }
    .fvw-right-img {
        order: 1;
        margin-top: -50px;
        width: 100%;
        display: block;
    }
    .fvw-gezocht {
        order: 2;
        text-align: left;
        padding-top: 10px;
    }
    .fvw-gezocht h2 {
        text-align: left !important;
    }
}

/* Desktop: afbeelding hangt naar links over de kolom */
@media (min-width: 768px) {
    .fvw-right-img {
        width: 100%;
        display: block;
        margin-top: 100px;
        margin-left: -200px;
        /* Breeder zodat de rechterkant niet te kort is */
        width: calc(100% + 200px);
        max-width: calc(100% + 200px);
    }
    .fvw-gezocht {
        padding-top: 80px;
    }
}

/* =============================================
   ZWEVENDE SOCIAL BAR
   ============================================= */
.fvw-icon-bar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 999;
}

.fvw-icon-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #2A8573;
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color 0.2s;
}

.fvw-icon-bar a:hover {
    background-color: #1e6358;
}

/* =============================================
   FOOTER
   ============================================= */
.fvw-footer {
    background-color: #1a1a1a;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    padding: 16px 5%;
    font-family: 'Special Elite', 'Courier New', Courier, monospace !important;
}

.fvw-footer a {
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
}

.fvw-footer a:hover {
    color: #fff !important;
}

/* =============================================
   INNER PAGES
   ============================================= */
.fvw-page-content {
    background-color: #fff;
    min-height: 60vh;
    padding: 60px 50px;
    max-width: 900px;
    margin: 0 auto;
}

.fvw-page-title {
    font-size: 2rem;
    font-weight: bold !important;
    color: #2A8573;
    margin-bottom: 30px;
    border-bottom: 3px solid #2A8573;
    padding-bottom: 12px;
}

.fvw-page-body {
    line-height: 1.8;
}

.fvw-page-body p {
    margin-bottom: 14px;
}

/* NAV voor meerdere pagina's */
.fvw-nav {
    background-color: #1a1a1a;
    padding: 0 5%;
}

.fvw-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.fvw-nav ul li a {
    display: block;
    color: #ccc !important;
    text-decoration: none !important;
    font-size: 0.85rem;
    padding: 12px 16px;
    transition: color 0.2s;
}

.fvw-nav ul li a:hover,
.fvw-nav ul li.current-menu-item a {
    color: #2A8573 !important;
}
