/*
Theme Name: Oranjevereniging Nijeveen
Theme URI: https://oranjeverenigingnijeveen.nl
Author: Oranjevereniging Nijeveen
Author URI: https://oranjeverenigingnijeveen.nl
Description: Modern, feestelijk theme voor Oranjevereniging Nijeveen - Exacte HTML versie
Version: 3.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oranjevereniging
Tags: custom-menu, featured-images, responsive-design, one-column, two-columns
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-image {
    height: 70px;
    width: auto;
    max-width: 100%;
}

.logo-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 0;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Dropdown Menu */
.main-navigation .menu-item-has-children {
    position: relative;
}

.main-navigation .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    margin-top: 10px;
    z-index: 1000;
    list-style: none;
}

.main-navigation .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.main-navigation .sub-menu li {
    margin: 0;
}

.main-navigation .sub-menu a {
    color: #333;
    padding: 12px 20px;
    display: block;
    font-size: 13px;
    transition: background 0.3s, color 0.3s;
    text-transform: none;
}

.main-navigation .sub-menu a:hover {
    background: #ff6b35;
    color: white;
    opacity: 1;
}

/* Hero Section - EXACT from HTML */
.hero {
    background: linear-gradient(135deg, rgba(255,107,53,0.9) 0%, rgba(247,147,30,0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23ff6b35" width="1200" height="600"/><circle fill="%23f7931e" opacity="0.3" cx="200" cy="100" r="80"/><circle fill="%23f7931e" opacity="0.3" cx="900" cy="400" r="120"/><circle fill="%23ff6b35" opacity="0.4" cx="1100" cy="150" r="60"/></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 18px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    font-size: 16px;
}

.btn-primary {
    background: white;
    color: #ff6b35;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.3);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content Sections */
.content-section {
    padding: 80px 20px;
}

section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 15px;
    color: #222;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about,
.about-section {
    background: #ffe4d6;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.about-content p {
    margin-bottom: 20px;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #ff6b35;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Upcoming Events */
.events {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.event-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.event-date {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.event-card p {
    opacity: 0.9;
    line-height: 1.6;
}

/* News/Blog Posts */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

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

.post-content {
    padding: 30px;
}

.post-date {
    font-size: 14px;
    color: #ff6b35;
    margin-bottom: 10px;
    font-weight: 600;
}

.post-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
}

.post-title a {
    color: #222;
    text-decoration: none;
}

.post-title a:hover {
    color: #ff6b35;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Sponsors Carousel */
.sponsors,
.sponsors-section {
    background: #ffe4d6;
    overflow: hidden;
}

.sponsor-carousel {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.sponsor-track {
    display: flex;
    gap: 40px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.sponsor-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-card {
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 120px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
}

.sponsor-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255,107,53,0.3);
}

.sponsor-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.sponsor-name {
    font-size: 16px;
    color: #666;
    font-weight: 600;
    text-align: center;
}

/* Social Media */
.social-proof {
    text-align: center;
    padding: 60px 20px;
    background: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
    background: #f7931e;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

/* Photo Carousel (top of page) */
.photo-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #000;
}

.photo-carousel-track {
    display: flex;
    animation: photoScroll 40s linear infinite;
    width: fit-content;
}

.photo-carousel-track:hover {
    animation-play-state: paused;
}

@keyframes photoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.photo-carousel-slide {
    min-width: 600px;
    height: 400px;
    flex-shrink: 0;
    margin-right: 20px;
}

.photo-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sponsor carousel at bottom */
.bottom-sponsors {
    background: #ffe4d6;
    padding: 60px 20px;
    overflow: hidden;
}

.bottom-sponsors .section-title {
    margin-bottom: 40px;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    transition: transform 0.3s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle.active {
    transform: rotate(90deg);
}

.mobile-menu-btn {
    display: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Touch-friendly improvements */
* {
    -webkit-tap-highlight-color: transparent;
}

button, a {
    touch-action: manipulation;
}

@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 15px 35px;
    }
    
    .main-navigation a {
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .sponsor-card {
        min-height: 100px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    nav {
        padding: 10px 15px;
    }
    
    .header-logo-image {
        height: 50px;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.2);
        z-index: 9999;
        gap: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-navigation.active {
        display: flex !important;
    }
    
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation a {
        color: #333;
        padding: 15px 10px;
        display: block;
        text-align: left;
    }
    
    .main-navigation .sub-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 0;
        padding: 10px 0 10px 20px;
    }
    
    .main-navigation .menu-item-has-children:hover > .sub-menu {
        display: none;
    }
    
    .main-navigation .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .mobile-menu-toggle,
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding: 60px 20px;
    }
    
    .hero-stats {
        gap: 30px;
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .photo-carousel {
        height: 200px;
    }
    
    .photo-carousel-slide {
        min-width: 100vw;
        height: 200px;
        margin-right: 0;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .event-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        font-size: 16px;
    }
}

@media (max-width: 1100px) {
    .main-navigation {
        gap: 15px;
    }
    
    .main-navigation a {
        font-size: 12px;
    }
    
    .header-logo-image {
        height: 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .photo-carousel {
        height: 300px;
    }
    
    .photo-carousel-slide {
        min-width: 500px;
        height: 300px;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* WordPress specific */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

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

img {
    max-width: 100%;
    height: auto;
}
