/*!
Theme Name: teds-it-basic
Theme URI: http://underscores.me/
Author: Underscores.me
Version: 1.0.0
*/

:root {
    color-scheme: light;
    --color-dark: #614B4E;
    --color-primary: #eb424f;
    --color-light-pink: #F5D4D1;
    --color-gray: #EBEBEB;
    --color-accent: #B8E6E1;
    --vitruvius-transition: all 0.5s ease;
    --font-display: 'Phaeton', 'Georgia', serif;
    --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@font-face {
    font-family: 'Phaeton';
    src: url('fonts/PhaRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

h1, h2, h3, .site-title {
    font-family: var(--font-display);
}

/* Header & Menu */
.site-header {
    background-color: var(--color-dark);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title a, .site-description { color: #fff; margin: 0; }

.main-navigation { background-color: transparent; width: auto; }

/* Navigatie Desktop & Mobiel */
.main-navigation ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 600px) {
    .main-navigation ul {
    display: none;
}
    .main-navigation.toggled ul {
        display: block !important;
        background: var(--color-dark);
    position: absolute;
        width: 90%;
        left: 5%;
        margin-top: 10px;
        padding: 10px;
        border: 2px solid var(--color-accent);
        border-radius: 12px;
        z-index: 999;
}
    .main-navigation.toggled ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    .main-navigation.toggled ul li:last-child {
        border-bottom: none;
    }
}

.main-navigation a {
    color: #F5D4D1;
    padding: 0.5em 1em;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.main-navigation a:hover {
    color: #fff;
}

@media screen and (min-width: 37.5em) {
    .menu-toggle {
        display: none !important;
    }
}

/* Custom Sections */
.hero-section h1 { color: #fff; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    color: #fff;
    text-align: center;
    padding: 1rem;
}

/* Mobiele balans */
@media screen and (max-width: 767px) {
    .hero-section {
        height: 40vh;
    }
}

/* Grotere Hero op Desktop */
@media screen and (min-width: 768px) {
    .hero-section {
        height: 80vh;
    }
}

/* Vitruvius Section */
.vitruvius-section {
    padding: 4rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    background-color: #E3CAC3;
    width: 100%;
    color: #614B4E;
}

.vitruvius-intro {
    flex: 1;
    text-align: left;
}

.vitruvius-container {
    flex: 1;
    position: relative;
    margin-top: 0;
}

@media screen and (max-width: 768px) {
    .vitruvius-section {
        flex-direction: column;
    text-align: center;
}
}

/* Highlight teksten */
.highlight-adem { color: var(--color-accent); font-weight: bold; }
.highlight-psychologie { color: var(--color-primary); font-weight: bold; }
.highlight-leefstijl { color: var(--color-dark); font-weight: bold; }
.vitruvius-image {
    max-width: 100%;
    height: auto;
    display: block;
}
.vitruvius-hotspot {
    position: absolute;
    width: 25px;
    height: 25px;
    background: #614B4E;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: var(--vitruvius-transition);
    border: 3px solid white;
    /* Pulsing effect */
    box-shadow: 0 0 0 0 rgba(142, 99, 103, 0.7);
    animation: pulse-hotspot 2s infinite;
    z-index: 5;
    /* Reset button styles */
    padding: 0;
    border: 3px solid white;
}

@keyframes pulse-hotspot {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 25, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(142, 99, 103, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(142, 99, 103, 0);
    }
}

.vitruvius-hotspot:hover {
    transform: translate(-50%, -50%) scale(1.2);
    background: var(--color-dark);
    animation: none;
    z-index: 20;
}

.vitruvius-label {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    padding: 1rem;
    background: var(--color-dark);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: var(--vitruvius-transition);
    pointer-events: none;
    font-size: 0.9rem;
    z-index: 100;
}

.vitruvius-label::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -8px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--color-dark) transparent;
}

.vitruvius-label small {
    display: block;
    color: var(--color-accent);
    margin-top: 4px;
}
.vitruvius-hotspot:hover .vitruvius-label {
    opacity: 1 !important;
    visibility: visible !important;
}

.vitruvius-label.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.vitruvius-hotspot--mind { top: 20%; left: 50%; } /* Hoofd */
.vitruvius-hotspot--body { top: 40%; left: 50%; } /* Borst */
.vitruvius-hotspot--soul { top: 50%; left: 50%; } /* Navel */

/* Patroon achtergrond */
.pattern-section {
    background: repeating-linear-gradient(
        -45deg,
        #DFC8CC,
        #DFC8CC 4px,
        #D4B9BB 4px,
        #D4B9BB 8px
    );
    padding: 80px 20px;
    color: #2D2224; /* Aangepast naar een donkerdere kleur voor beter contrast */
}

/* Underscores Basis */
/* Herstel scroll functionaliteit maar verberg de balk */
html, body {
    overflow-y: auto; /* Zorgt dat scrollen weer werkt */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar, body::-webkit-scrollbar {
    display: none;
}

/* Zorg dat alles binnen de viewport blijft */
* {
    box-sizing: border-box;
    max-width: 100vw;
}

/* Mobiel menu fix */
@media screen and (max-width: 600px) {
    .menu-toggle {
        display: block !important;
    }
    .main-navigation.toggled ul {
        display: block !important;
        background: var(--color-dark);
    position: absolute;
        width: 90%;
        left: 5%;
        margin-top: 10px;
        padding: 10px;
        border: 2px solid var(--color-accent);
        border-radius: 12px;
        z-index: 999;
}
    .main-navigation.toggled ul li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-navigation.toggled ul li:last-child {
        border-bottom: none;
    }
}

/* Hamburger Icoontje */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: none;
}

@media screen and (max-width: 600px) {
    .menu-toggle {
        display: block !important;
    }
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 25px;
    height: 3px;
    background: #F5D4D1;
    position: relative;
    transition: 0.3s;
    border-radius: 2px;
}
.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Footer Styling */
.site-footer {
    background-color: var(--color-dark);
    color: #F5D4D1;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}



/* Content breedte naar full-width */
.entry-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Zorg dat afbeeldingen ook binnen deze breedte blijven */
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* Volledige breedte achtergrondsecties */
.full-width-sectie {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 60px 0;
}

/* De content binnen de sectie weer terug naar 800px */
.full-width-sectie > .wp-block-group__inner-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Update voor Gutenberg Block Styles */
.is-style-sectie-kleur-roze, .sectie-kleur-roze { background-color: var(--color-light-pink); color: var(--color-dark); border-radius: 20px; padding: 20px; }
.is-style-sectie-kleur-accent, .sectie-kleur-accent { background-color: var(--color-accent); color: var(--color-dark); border-radius: 20px; padding: 20px; }
.is-style-sectie-kleur-grijs, .sectie-kleur-grijs { background-color: var(--color-gray); color: var(--color-dark); border-radius: 20px; padding: 20px; }
.is-style-sectie-kleur-donker, .sectie-kleur-donker { background-color: var(--color-dark); color: var(--color-light-pink); border-radius: 20px; padding: 20px; }
.is-style-sectie-kleur-wit, .sectie-kleur-wit { background-color: #ffffff; color: var(--color-dark); border-radius: 20px; padding: 20px; }

