/*
 Theme Name: RP Trading Child
 Theme URI: https://rptrading.nl
 Description: Child theme voor RP-Trading op basis van GeneratePress
 Author: Kevin
 Template: generatepress
 Version: 1.0
*/

/* ==========================
   BASIS / FONTS
   ========================== */

/* Custom fonts – paden vanuit de root van je child theme */
@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oswald';
    src: url('assets/fonts/Oswald-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Racing Sans One';
    src: url('assets/fonts/RacingSansOne-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Basis */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #111;
    color: #fff;
}

.site-content {
    min-height: 70vh;
}

/* Headings in Oswald */
.entry-title,
h1,
h2,
h3 {
    font-family: 'Oswald', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ==========================
   HEADER / NAV
   ========================== */

.rp-header {
    position: relative;
    z-index: 50;
    background-color: #111;
    /* donkere balk */
    border-top: 2px dashed #fff;
    /* "stiksel" */
    border-bottom: 2px dashed #fff;
    padding: 10px 40px;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

/* Canvas / stof texture over de balk */
.rp-header::before {
    content: "";
    position: absolute;
    inset: 0;
    /* alleen de nav-bedekking */
    background: url('assets/img/canvas-textuur.jpg') center/cover no-repeat;
    opacity: 1;
    /* pas aan naar smaak */
    mix-blend-mode: overlay;
    /* of overlay, multiply, dodge */
    pointer-events: none;
    z-index: 1;
    /* onder de content, boven de kleur */
}

/* ACCOUNT icoon in rechter menu */
.rp-nav-right .rp-menu > li > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Verberg de tekst 'Account' specifiek voor dat menu-item */
.rp-nav-right .rp-menu > li.menu-item-account > a {
    font-size: 0; /* tekst verdwijnt */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding-top: 4px; /* kleine tweak voor verticale balans */
}

/* Zet jouw witte SVG als icoon */
.rp-nav-right .rp-menu > li.menu-item-account > a::before {
    content: "";
    display: block;
    width: clamp(18px, 2.6vw, 30px);   /* min 18px, max 34px, schaalt mee met scherm */
    height: clamp(18px, 2.6vw, 30px);
    background: url('assets/icons/Helm-icon-wit.svg') no-repeat center/contain;
    filter: drop-shadow(5px 5px 8px #000);
    margin-top: -2px;  /* perfect vertical alignment */
    transition: 0.15s ease;
}

/* Zorg dat de inhoud van de nav boven de overlay staat */
.rp-header > * {
    position: relative;
    z-index: 2;
}

.rp-header-inner {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigatie links/rechts */
.rp-nav {
    flex: 1;
}

.rp-nav-left .rp-menu {
    justify-content: flex-start;
}

.rp-nav-right .rp-menu {
    justify-content: flex-end;
}

.rp-menu {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu links */
.rp-menu > li > a {
    line-height: 1;
    position: relative;
    top: 1px;
    text-decoration: none;
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 3.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 5px 5px 8px #000000;
    text-transform: lowercase;
    /* “diensten / producten” */
    transition: transform 0.15s ease, text-shadow 0.15s ease, opacity 0.15s ease;
    font-family: 'Racing Sans One', sans-serif;
    font-style: italic;
}

.rp-menu > li > a:hover,
.rp-menu > li > a:focus {
    transform: translateY(-1px);
    text-shadow: 5px 5px 8px #000000;
    opacity: 0.9;
}

/* Logo dat uit de balk steekt */
.rp-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -35%);
    z-index: 80;
}

.rp-logo img {
    width: 100%;
    height: auto;
    max-width: 70px;
    display: block;
    filter: drop-shadow(5px 5px 8px #000000);
}


/* Fallback tekstlogo */
.rp-logo-text {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border-radius: 6px;
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

/* NAV Bar Telefoon */
@media (max-width: 768px) {
    .rp-logo img {
        height: auto;
        max-width: 40px;
    }

    .rp-logo {
        transform: translate(-50%, -45%) !important;
    }

    .rp-header {
        /*padding: 12px 20px !important; */
    }

    .rp-menu {
        gap: 20px;
    }

    .rp-menu > li > a {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .rp-logo img {
        max-width: 25px;
    }

    .rp-logo {
        transform: translate(-50%, -40%) !important;
    }
}


/* ==========================
   HERO SECTIE
   (versie uit je main.css)
   ========================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 850px;
    min-height: 600px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Foto vult beeld zonder vervormen */
    object-position: center;
    /* Houd focus in het midden */
    display: block;
}

.hero-grunge {
    position: absolute;
    inset: 0;
    background: url('assets/img/grunge-overlay.jpg') center/cover no-repeat;
    opacity: 0.25;
    /* hoe sterk het effect is */
    mix-blend-mode: color-dodge;
    /* OF multiply / soft-light / screen / overlay */
    z-index: 3;
    /* tussen foto en tekst */
    pointer-events: none;
    /* voorkomt dat je knoppen blokkeert */
}

.hero-bg {
    position: absolute;
    inset: 0;
    /* pas de bestandsnaam aan als nodig */
    background: url('assets/img/Corvette+Mustang-brug.jpg') center center / cover no-repeat;
    filter: brightness(0.75);
    filter: blur(3px);
    z-index: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: stretch;
    /* child (hero-inner) wordt ook 100% hoog */
}

.hero-inner {
    width: 100%;
    /* pakt nu de volle breedte van de hero */
    max-width: none;
    /* niet meer centreren op 1300/1900px */
    margin: 0;
    /* geen automatische centrering */
    padding: 40px 24px 32px;
    /* afstand tot linker/rechter rand */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    height: 100%;
    box-sizing: border-box;
}

/* Linker tekstblok */
.hero-left h1 {
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.15;
    margin: 0;
    text-transform: none;
}

/* Rechter kaartje */
.hero-right {
    align-self: flex-end;
    /* naar onderkant van hero-inner */
    max-width: 420px;
    background: rgba(0, 0, 0, 0.55);
    padding: 24px 26px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
}

.hero-right p {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
}

/* CTA-knop */
.rp-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.rp-btn-primary {
    background-color: #ffffff;
    color: #000000;
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-right {
        align-self: flex-start;
        margin-top: 24px;
    }
}

/* ==========================
   PAGINA / SINGLE
   ========================== */

.rp-page,
.rp-single {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.rp-page-title,
.rp-single-title {
    font-size: 32px;
    margin-bottom: 20px;
}
