/* ==========================================================================
   Pasfotos aan Huis - Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables & Reset - Pasfotos aan Huis Huisstijl
   ========================================================================== */
:root {
    --primary-color: #c9d62e;      /* Geel/groen uit logo */
    --primary-dark: #a8b526;       /* Donkerder geel/groen */
    --primary-light: #dde641;      /* Lichter geel/groen */
    --secondary-color: #4a4a4a;    /* Donkergrijs */
    --text-color: #333333;         /* Tekst grijs */
    --text-light: #666666;         /* Lichtere tekst */
    --gray-light: #e5e5e5;         /* Lichtgrijs voor achtergronden */
    --background: #ffffff;
    --background-alt: #f9f9f9;
    --border-color: #dddddd;
    --success-color: #c9d62e;
    --error-color: #ef4444;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(201, 214, 46, 0.3);
}

/* ==========================================================================
   4. Header & Navigation - Enhanced Responsive Menu
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--background);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    height: var(--nav-height);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo/Brand */
.navbar-brand {
    z-index: 1001;
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.site-title:hover {
    color: var(--primary-color);
}

/* Desktop Navigation */
.navbar-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.navbar-menu li {
    position: relative;
}

.navbar-menu a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after,
.navbar-menu .current-menu-item > a::after {
    width: 100%;
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle - Hamburger Animation */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle-box {
    width: 30px;
    height: 24px;
    display: inline-block;
    position: relative;
}

.menu-toggle-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
}

.menu-toggle-inner,
.menu-toggle-inner::before,
.menu-toggle-inner::after {
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    position: absolute;
    transition: transform 0.15s ease;
}

.menu-toggle-inner::before,
.menu-toggle-inner::after {
    content: '';
    display: block;
}

.menu-toggle-inner::before {
    top: -10px;
}

.menu-toggle-inner::after {
    bottom: -10px;
}

/* Hamburger Animation when Active */
.menu-toggle.is-active .menu-toggle-inner {
    transform: rotate(45deg);
}

.menu-toggle.is-active .menu-toggle-inner::before {
    top: 0;
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
}

/* Mobile Navigation Styles */
@media (max-width: 968px) {
    .menu-toggle {
        display: block;
    }
    
    .navbar-menu-wrapper {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--background);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }
    
    .navbar-menu-wrapper.is-active {
        transform: translateX(0);
    }
    
    .navbar-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .navbar-menu li {
        width: 100%;
    }
    
    .navbar-menu a {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar-menu a::after {
        display: none;
    }
    
    .navbar-cta {
        margin-top: 2rem;
        width: 100%;
    }
    
    .navbar-cta .btn {
        width: 100%;
    }
}

/* Header scroll effect */
.site-header.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   5. Main Content Areas
   ========================================================================== */
.site-main {
    margin-top: 100px; /* Ruimte voor fixed header met padding */
    min-height: calc(100vh - 100px);
}

@media (max-width: 868px) {
    .site-main {
        margin-top: 90px;
    }
}

.page-header {
    background-color: var(--background-alt);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

/* Content wrapper zonder container */
.content-wrapper {
    padding: 4rem 0;
}

/* Normale content krijgt automatisch container */
.entry-content > * {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Uitgezonderd wide en full alignment */
.entry-content > .alignwide {
    max-width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}

.entry-content > .alignfull {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* ==========================================================================
   6. Hero Section - Pasfotos aan Huis Style
   ========================================================================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201,214,46,0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ==========================================================================
   7. Features Section
   ========================================================================== */
.features {
    padding: 5rem 0;
    background-color: var(--background-alt);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background-color: var(--background);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background-color: var(--background-alt);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer {
    background-color: var(--secondary-color);
    color: white;
    margin-top: 5rem;
}

.footer-widgets {
    padding: 4rem 0;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-column a:hover {
    color: white;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   9. Blog/Archive Styles
   ========================================================================== */
.blog .site-main,
.archive .site-main {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background-color: var(--background);
    border-radius: 1rem;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   10. Forms
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================================================
   11. WordPress Core Styles + Wide/Full Alignment
   ========================================================================== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* Wide and Full Width Alignment */
.alignwide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Nested containers fix */
.entry-content .alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* Gutenberg Block Specific Styles */
.wp-block-group.alignfull,
.wp-block-cover.alignfull {
    padding: 4rem 0;
}

.wp-block-group.alignfull > .wp-block-group__inner-container,
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* ==========================================================================
   12. Responsive Design
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   13. Animations
   ========================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================================================
   14. Print Styles
   ========================================================================== */
@media print {
    .site-header,
    .site-footer,
    .navbar,
    .menu-toggle {
        display: none;
    }
    
    .site-main {
        margin-top: 0;
    }
}

/* Verwijder standaard bullets en voeg vinkjes toe */
ul li {
    list-style: none;
    position: relative;
}

ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #c9d62e; /* Pasfotos groen */
    font-weight: bold;
    font-size: 1.2rem;
}
.footer-menu .menu-item::before {
    display: none !important;
}



/* ==========================================================================
   Dropdown Menu Styles
   ========================================================================== */

/* Menu item met kinderen */
.menu-item-has-children {
    position: relative;
}

.menu-item-has-children > a::after {
    content: '\25BC'; /* Down arrow */
    font-size: 0.7em;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

/* Submenu styling */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: var(--background);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
}

.sub-menu li {
    padding: 0;
}

.sub-menu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.sub-menu a:hover {
    background-color: var(--primary-color);
    color: white;
}

.sub-menu a::after {
    display: none; /* Verwijder de underline effect voor submenu items */
}

/* Show submenu on hover */
.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Arrow rotation on hover */
.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Mobile dropdown styles */
@media (max-width: 968px) {
    .menu-item-has-children > a::after {
        float: right;
        transform: rotate(-90deg);
    }
    
    .menu-item-has-children.is-open > a::after {
        transform: rotate(0deg);
    }
    
    .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.05);
        padding-left: 1rem;
        display: none;
    }
    
    .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }
    
    .sub-menu a {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
}



/* Language Switcher Styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-switcher a {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}

.language-switcher a:hover {
    color: white;
}

.language-switcher a.active {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.language-switcher img {
    width: 20px;
    height: 15px;
}

/* Mobile styles */
@media (max-width: 968px) {
    .language-switcher {
        margin: 1rem 0;
        justify-content: center;
    }
}



/* Language Switcher Styles - Vervang de bestaande styles met deze */
.language-switcher-desktop {
  position: fixed;
  top: 70px;
  right: 20px;
  transform: translateY(-50%);
  z-index: 1002;
  background-color: #C9D62E;
  border-radius: 100px;
}

.language-switcher-mobile {
    display: none;
    margin: 2rem 0;
}

.language-switcher {
    display: flex;
}

.language-switch-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-color);
    background-color: transparent;
    border: none;
}

.language-switch-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.globe-icon {
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.target-lang {
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* Mobile adjustments */
@media (max-width: 968px) {
    .language-switcher-desktop {
        display: none;
    }
    
    .language-switcher-mobile {
        display: flex;
        justify-content: center;
    }
    
    .language-switch-link {
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .globe-icon {
        font-size: 1.25rem;
    }
}



   /* WhatsApp Button Styling */
        .whatsapp-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background-color: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            transition: all 0.3s ease;
            z-index: 1000;
            text-decoration: none;
        }

        .whatsapp-button:hover {
            background-color: #128C7E;
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .whatsapp-icon {
            width: 32px;
            height: 32px;
            fill: white;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .whatsapp-button {
                width: 55px;
                height: 55px;
                bottom: 15px;
                right: 15px;
            }
            
            .whatsapp-icon {
                width: 28px;
                height: 28px;
            }
        }