/*
Theme Name: Swinging Sunday v2
Author: Richard Vos
Version: 2.0
*/

/* =========================================
   BASIS
========================================= */

:root {

    --primary: #7d0000;
    --secondary: #d4af37;
    --dark: #1b1b1b;

    --panel-bg: #f5f3ee;
    --panel-border: #d8c0c0;

}

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: 'Montserrat', sans-serif;
    background: #EAE7DA;
    color: #333;
    line-height: 1.7;

}

img {

    max-width: 100%;
    display: block;

}

.container {

    width: 90%;
    max-width: 1200px;
    margin: auto;

}

section {

    padding: 15px 0;
	background: #EAE7DA;

}

h1,
h2,
h3 {

    margin-bottom: 12px;

}

h2 {

    color: var(--primary);

}

p {

    margin-bottom: 20px;

}

/* =========================================
   HEADER
========================================= */

.site-header {

    position: relative;
    
}

.top-bar {

    background: white;

    text-align: center;

    padding: 20px 0;

    border-bottom: 1px solid #e5e5e5;

}

.custom-logo {

    width: 100%;
    height: auto;

    display: block;

}

.logo-container {

    display: flex;

    justify-content: center;

    align-items: center;

}

.main-navigation {

    background: var(--primary);

}

.main-navigation ul {

    list-style: none;

    display: flex;
    justify-content: center;
    gap: 30px;

    padding: 15px;

}

.main-navigation a {

    color: white;
    text-decoration: none;
    font-weight: bold;

}

.main-navigation a:hover {

    color: var(--secondary);

}

.main-navigation {

    background: var(--primary);

    position: sticky;
    top: 0;

    z-index: 9999;

}

/* =========================================
   HERO
========================================= */

.hero {

    position: relative;
    height: 600px;
    overflow: hidden;

}

.hero-bg {

    position: absolute;
    inset: 0;

}

.hero-bg img {

    width: 100%;
    height: 100%;
    object-fit: cover;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background: rgba(0,0,0,.45);

}

.hero-content {

    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    color: white;

    width: 90%;
    max-width: 900px;
    margin: auto;

}

.hero-content h1 {

    font-size: 4rem;
    color: white;

}

.hero-content p {

    font-size: 1.4rem;

}

.button {

    display: inline-block;

    background: var(--secondary);
    color: black;

    padding: 14px 30px;

    text-decoration: none;
    font-weight: bold;

    border-radius: 5px;

}

.hero-header {

    position: relative;

    overflow: hidden;

}

.hero-header::after {

    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0,0,0,.25);

}

.hero-banner-image {

    width: 100%;
    height: 400px;

    object-fit: cover;

}

.hero-title {

    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;

    z-index: 2;

}

.hero-title h1 {

    font-family: "Comic Sans MS", cursive;

    font-size: 6rem;

    font-weight: bold;

    color: #ffffff;

    text-shadow:
        0 4px 10px rgba(0,0,0,.45);

}

.hero-title p {

    font-family: Arial, sans-serif;

    font-size: 1.6rem;

    font-weight: 700;

    color: #ffffff;

    text-shadow:
        0 2px 6px rgba(0,0,0,.5);

}

/* =========================================
   2 KOLOMMEN
========================================= */

.two-column {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;

}

.volgende-band-card {
    max-width: 320px;
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-self: start;
}

/* =========================================
   NIEUWSBRIEF
========================================= */

#nieuwsbrief {

    background: #EAE7DA;

}

.nieuwsbrief-pagina {

    width: 100%;
    max-width: 700px;
    margin: 0 auto;

    padding-top: 40px;
}

.nieuwsbrief-pagina h1 {

    text-align: center;
    color: var(--primary);

    margin-top: 15px;
    margin-bottom: 40px;

}

/* =========================================
   OPTREDEN
========================================= */

#optreden {

    background: #EAE7DA;

}

#optreden img {

    max-width: 350px;
    margin: auto;

}

/* =========================================
   AGENDA
========================================= */

.agenda-poster {
    text-align: center;
}

.agenda-poster img {

    display: block;

    width: 100%;

    max-width: 594px;

    height: auto;

    margin: 0 auto;

}

/* =========================================
   BANDS
========================================= */

#bands {

    background: #EAE7DA;

}

.bands-grid-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px;
}

.bands-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.band-card {

    background: white;

    padding: 10px;

    text-align: center;

    border-radius: 10px;

    box-shadow: 0 3px 12px rgba(0,0,0,.08);

}

.band-card img {

    width: 100%;
    height: auto;

    object-fit: contain;

    margin: auto;

}

.band-card h3 {
    min-height: 40px;
}

/* =========================================
   LOCATIE
========================================= */

#locatie {

    background: #EAE7DA;

}

/* =========================================
   CONTACT
========================================= */

#contact {

    background: var(--primary);
    color: white;
	
	padding: 10px 0;

}

#contact h2 {

    color: white;
	margin-top: 0;

}

#contact ul {

    margin-left: 20px;

}

/* =========================================
   FOOTER
========================================= */

footer {

    background: var(--dark);
    color: white;

    text-align: center;

    padding: 40px;

}

/* =========================================
   MOBIEL
========================================= */

@media (max-width: 768px) {
	
	.hero-title h1 {
        font-size: 3rem;
    }

    .hero-title p {
        font-size: 1rem;
    }

    .content-panel {
        padding: 15px;
    }
	
	.container {
        width: 95%;
    }

    .footer-grid {

        display: flex !important;
        flex-direction: column !important;

        gap: 25px !important;

        text-align: center;

    }

    .social-icons {

        justify-content: center;

    }

    .two-column {
        grid-template-columns: 1fr;
    }

    .bands-grid {
        grid-template-columns: 1fr;
    }
	
	.bands-grid-top,
    .bands-grid-bottom {

        grid-template-columns: 1fr;
    }	

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .main-navigation ul {
        flex-wrap: wrap;
        gap: 15px;
    }

}

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 50px;
    height: 50px;

    background: var(--primary);

    color: white;

    text-decoration: none;

    border-radius: 50%;
	border: 2px solid #fff;
    
	display: flex;

    justify-content: center;
    align-items: center;

    font-size: 24px;

    box-shadow: 0 4px 10px rgba(0,0,0,.3);

    transition: .3s;

    z-index: 9999;

}

.back-to-top:hover {

    background: #9b1a1a;

    color: white;

    transform: translateY(-3px);

}

/* =========================================
   VOLGENDE BAND NIEUWSBRIEF
========================================= */

.volgende-band-card {

    max-width: 360px;

    margin: 0 auto;

}

.volgende-band-card h3 {

    margin: 12px 0;

}

/* =========================================
   LEES VERDER KNOP
========================================= */

.lees-verder-btn {

    display: inline-block;

    margin-top: 20px;

    padding: 10px 18px;

    background: var(--primary);

    color: white;

    text-decoration: none;

    border-radius: 5px;

    transition: .3s;

}

.lees-verder-btn:hover {

    opacity: .85;

}

.terug-knop {

    display: inline-block;

    margin-bottom: 20px;

    color: #8b0000;

    text-decoration: none;

    font-weight: bold;

}

.terug-knop:hover {

    text-decoration: underline;

}

.page-content h1 {
    color: var(--primary);
    margin-bottom: 30px;
}

/* =========================================
   CONTENT PAGINA'S
========================================= */

.page-content {

    padding: 60px 0;

}

.content-container {

    max-width: 700px;
    margin: 0 auto;

}

.page-content h1 {

    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;

}

.page-content p {

    margin-bottom: 20px;

}

.terug-home {

    text-align: center;
    margin-top: 40px;

}

/* =========================================
   FOOTER 3 KOLOMMEN
========================================= */

.footer-grid {

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;

}

/* =========================================
   SOCIAL ICONS
========================================= */

.social-icons {

    display: flex;
    gap: 15px;
    margin: 10px 0 25px;

}

.social-icons a {

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.15);

    border-radius: 50%;

    color: white;
    text-decoration: none;

    font-size: 20px;

    transition: .3s;

}

.social-icons a:hover {

    background: white;
    color: var(--primary);

}

/* =========================================
   NIEUWSBRIEF PANEL
========================================= */

.content-panel {

    background: var(--panel-bg);

    border: 2px solid var(--panel-border);

    border-radius: 12px;

    padding: 35px;

}

.hero-panel {

    padding: 40px;

}

html,
body {
    overflow-x: hidden;
}