/*
Theme Name:  Camping de Schaopvolte
Theme URI:   https://schaopvolte.nl
Author:      Hosting Star
Author URI:  https://www.hostingstar.nl
Description: Maatwerk WordPress thema voor Camping de Schaopvolte in Eext, Drenthe.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: schaopvolte
Tags: camping, custom-menu, featured-images, footer-widgets, full-width-template
*/

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

:root {
    --green:      #4a7c59;
    --green-dark: #a0c65a;
    --green-light:#e8f2ec;
    --brown:      #8b6914;
    --beige:      #f5f0e8;
    --text:       #2c2c2c;
    --muted:      #666;
    --white:      #ffffff;
    --border:     #ddd;
    --radius:     6px;
    --shadow:     0 2px 8px rgba(0,0,0,.12);
    --font:       'Montserrat', 'Segoe UI', sans-serif;
    --max-w:      1200px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white); font-size: 16px; line-height: 1.7; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

h1,h2,h3,h4,h5,h6 { line-height: 1.3; font-weight: 700; color: var(--green-dark); margin-bottom: .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
h5, h6 { font-size: 1rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section     { padding: 60px 0; }
.section-sm  { padding: 40px 0; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s;
    text-decoration: none;
}
.btn-primary   { background: var(--green); color: var(--white); border-color: var(--green); }
.btn-primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); text-decoration: none; }
.btn-outline   { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--white); text-decoration: none; }

/* =====================================================================
   HEADER & NAVIGATION
   ===================================================================== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.site-logo img { height: 200px; width: auto; }
.site-logo:hover { text-decoration: none; }

/* Main nav */
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
    transition: background .2s, color .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item a,
.main-nav .current_page_item a { background: var(--green); color: var(--white); text-decoration: none; }

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block; width: 26px; height: 3px;
    background: var(--green-dark); border-radius: 2px;
    transition: all .3s;
}

/* =====================================================================
   HERO BANNER
   ===================================================================== */
.hero {
    position: relative;
    background: var(--green-dark) center/cover no-repeat;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 40px 20px;
    max-width: var(--max-w);
    margin: 0 auto;
}
.hero-content h1 {
    color: var(--white);
    font-size: 2.4rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    margin: 0;
}

/* =====================================================================
   HOME: INTRO BLOCK
   ===================================================================== */
.home-intro { background: var(--beige); }
.home-intro .intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}
.home-intro .intro-text h2 { margin-bottom: .8em; }
.intro-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.intro-images img { border-radius: var(--radius); }

/* =====================================================================
   CARD GRID (used on Historie, Verkoop, Agenda)
   ===================================================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    padding: 40px 0;
}
.card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
    transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0,0,0,.16); }
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1.1rem; margin-bottom: .4em; }
.card-body p  { color: var(--muted); font-size: .9rem; margin-bottom: 1em; }

/* =====================================================================
   PAGE CONTENT (default pages)
   ===================================================================== */
.page-content { padding: 50px 0 70px; }
.page-content h1 { margin-bottom: 1.2em; border-bottom: 3px solid var(--green); padding-bottom: .4em; }
.entry-content h4, .entry-content h5, .entry-content h6 { margin-top: 1.4em; margin-bottom: .4em; }
.entry-content ul  { list-style: disc; padding-left: 1.6em; margin-bottom: 1em; }
.entry-content ol  { list-style: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.entry-content strong { color: var(--green-dark); }

/* =====================================================================
   NOTICE BOX (bijv. kantooruren melding)
   ===================================================================== */
.notice-box {
    background: var(--beige);
    border-left: 5px solid var(--brown);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 30px;
    font-size: .95rem;
}

/* =====================================================================
   CONTACT PAGE
   ===================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding: 50px 0 30px;
}

/* Google Maps sectie */
.contact-map { padding: 0 0 60px; }
.contact-map h2 { margin-bottom: 1em; }
.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 16px;
}
.map-route-btn { margin-top: 4px; }
.contact-info h2 { margin-bottom: 1em; }
.contact-info address { font-style: normal; line-height: 2; }
.contact-info address strong { display: block; font-size: 1.1rem; color: var(--green-dark); margin-top: 1em; }
.opening-table { width: 100%; border-collapse: collapse; margin-top: 1em; font-size: .9rem; }
.opening-table td { padding: 5px 10px 5px 0; border-bottom: 1px solid var(--border); }
.opening-table td:first-child { font-weight: 600; }

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.contact-form-wrapper { background: var(--beige); border-radius: var(--radius); padding: 32px; }
.contact-form-wrapper h2 { margin-bottom: 1.2em; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9rem; }
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: .95rem;
    background: var(--white);
    transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); outline: none; }
.form-group textarea { resize: vertical; min-height: 130px; }

.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }
.alert-danger  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 20px; }

/* =====================================================================
   OMGEVING PAGINA
   ===================================================================== */
.omgeving-intro { background: var(--beige); padding: 30px 0; }
.omgeving-lead  { font-size: 1.05rem; line-height: 1.8; max-width: 820px; color: var(--text); }

.omgeving-page  { padding-top: 20px; }

.omgeving-sectie { margin-bottom: 50px; }
.omgeving-sectie-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--green-light);
}
.omgeving-sectie-header h2 { margin: 0; font-size: 1.5rem; color: var(--green-dark); }
.omgeving-icon { font-size: 1.8rem; line-height: 1; }

.omgeving-kaarten {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.omgeving-kaart {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    overflow: hidden;
}
.omgeving-kaart:hover { transform: translateY(-3px); box-shadow: 0 6px 18px rgba(0,0,0,.13); }
.omgeving-kaart-uitgelicht { border-color: var(--green); border-width: 2px; }
.omgeving-kaart-body { padding: 18px 20px; }
.omgeving-kaart-body h3 { font-size: 1rem; color: var(--green-dark); margin-bottom: 4px; }
.omgeving-kaart-body p  { font-size: .9rem; color: var(--muted); line-height: 1.6; margin-bottom: .5em; }
.omgeving-afstand { font-size: .8rem !important; font-weight: 700; color: var(--green) !important; margin-bottom: 8px !important; }
.omgeving-link { font-size: .85rem; font-weight: 600; color: var(--green); text-decoration: none; }
.omgeving-link:hover { text-decoration: underline; }

.omgeving-cta {
    background: var(--green-light);
    border-radius: var(--radius);
    padding: 32px 36px;
    text-align: center;
    margin: 40px 0 60px;
}
.omgeving-cta h3 { font-size: 1.3rem; margin-bottom: .5em; }
.omgeving-cta p  { margin-bottom: 1.2em; color: var(--muted); }

@media (max-width: 600px) {
    .omgeving-kaarten { grid-template-columns: 1fr; }
}
.reglement-content { max-width: 820px; }
.reglement-content h6 { font-size: .95rem; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    background: var(--green-dark);
    color: #000000;
    padding: 50px 0 0;
}
.footer-logo-row { text-align: center; margin-bottom: 40px; }
.footer-logo-row img { height: auto; width: auto; margin: 0 auto; }
.footer-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-col {
    flex: 1 1 0;
    min-width: 0;
}
.footer-col h5 { color: var(--white); font-weight: 700; margin-bottom: .8em; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col a { color: #000000; font-size: .9rem; display: block; margin-bottom: .3em; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-col address { font-style: normal; font-size: .9rem; line-height: 1.9; color: #000000; }
.footer-bottom {
    text-align: center;
    padding: 16px 0;
    font-size: .8rem;
    color: rgba(255,255,255,.5);
}

/* Facebook link in footer */
.facebook-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: #000000;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.facebook-link svg { flex-shrink: 0; }
.facebook-link:hover { color: #1877f2; text-decoration: none; }

/* Play Store link in footer */
.playstore-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: #000000;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .2s;
}
.playstore-link svg { flex-shrink: 0; }
.playstore-link:hover { color: #01875f; text-decoration: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
    .home-intro .intro-grid { grid-template-columns: 1fr; }
    .contact-grid            { grid-template-columns: 1fr; }
    .footer-grid             { flex-wrap: wrap; }
    .footer-col              { flex: 1 1 200px; }
}
@media (max-width: 768px) {
    .main-nav { display: none; }
    .main-nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: var(--shadow); padding: 16px; }
    .main-nav.open ul { flex-direction: column; gap: 4px; }
    .nav-toggle { display: flex; }
    .site-header { position: relative; }
    .hero-content h1 { font-size: 1.7rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .intro-images { grid-template-columns: 1fr; }
    h1 { font-size: 1.6rem; }
}
@media (max-width: 480px) {
    .card-grid { grid-template-columns: 1fr; }
}
