/*

Theme Name: IN0413 Theme

Theme URI: https://in0413.nl

Description: Custom WordPress theme voor Inspiratie Netwerk 0413 - Een netwerk voor inspirerende bijeenkomsten

Version: 1.0.0

License: GNU General Public License v2 or later

License URI: http://www.gnu.org/licenses/gpl-2.0.html

Text Domain: in0413

Tags: custom-fields, events, agenda

*/



/* ===================================

   CSS Variables & Root Styles

   =================================== */

:root {

    --primary-color: #2d7d9a;

    --primary-dark: #1e5a6e;

    --primary-light: #a8d4e6;

    --accent-color: #e8a838;

    --accent-hover: #d49530;

    --text-dark: #333333;

    --text-light: #ffffff;

    --background-light: #e8e8e8;

    --background-card: #7fb3c4;

    --background-card-light: #b8d4de;

    --border-radius: 12px;

    --border-radius-sm: 8px;

    --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

    --shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.2);

    --font-primary: 'Nunito', sans-serif;

    --font-display: 'Poppins', sans-serif;

}



/* ===================================

   Reset & Base Styles

   =================================== */

*, *::before, *::after {

    box-sizing: border-box;

    margin: 0;

    padding: 0;

}



html {

    font-size: 16px;

    scroll-behavior: smooth;

}



body {

    font-family: var(--font-primary);

    background-color: var(--background-light);

    color: var(--text-dark);

    line-height: 1.6;

    background-image: url('assets/images/pattern-bg.svg');

    background-repeat: repeat;

    background-size: 200px;

    min-height: 100vh;

}



a {

    text-decoration: none;

    color: inherit;

    transition: color 0.3s ease;

}



img {

    max-width: 100%;

    height: auto;

    display: block;

}



ul, ol {

    list-style: none;

}



/* ===================================

   Typography

   =================================== */

h1, h2, h3, h4, h5, h6 {

    font-family: var(--font-display);

    font-weight: 600;

    line-height: 1.2;

}



h1 { font-size: 2.5rem; }

h2 { font-size: 2rem; }

h3 { font-size: 1.5rem; }

h4 { font-size: 1.25rem; }



/* ===================================

   Layout

   =================================== */

.container {

    width: 100%;

    max-width: 1280px;

    margin: 0 auto;

    padding: 0 20px;

}



.site-wrapper {

    min-height: 100vh;

    display: flex;

    flex-direction: column;

}



.main-content {

    flex: 1;

    padding: 40px 0;

}



/* ===================================

   Header & Navigation

   =================================== */

.site-header {

    padding: 20px 0;

    position: relative;

    z-index: 100;

}



.header-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 20px;

}



.site-logo {

    display: flex;

    align-items: center;

}



.site-logo img {

    height: 70px;

    width: auto;

}



.site-logo-text {

    background: var(--primary-color);

    color: var(--text-light);

    padding: 12px 16px;

    border-radius: var(--border-radius);

    font-family: var(--font-display);

    font-size: 0.9rem;

    line-height: 1.3;

    text-align: center;

    font-weight: 600;

}



.site-logo-text span {

    display: block;

}



.main-navigation {

    display: flex;

    align-items: center;

    gap: 40px;

}



.nav-menu {

    display: flex;

    gap: 40px;

}



.nav-menu a {

    font-family: var(--font-display);

    font-size: 1.25rem;

    color: var(--primary-color);

    font-weight: 500;

    position: relative;

    padding: 5px 0;

}



.nav-menu a::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--primary-color);

    transition: width 0.3s ease;

}



.nav-menu a:hover::after,

.nav-menu a.active::after {

    width: 100%;

}



.social-links {

    display: flex;

    gap: 10px;

}



.social-links a {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;

    height: 36px;

    background: var(--primary-color);

    color: var(--text-light);

    border-radius: 50%;

    font-size: 1rem;

    transition: transform 0.3s ease, background 0.3s ease;

}



.social-links a:hover {

    transform: scale(1.1);

    background: var(--primary-dark);

}



/* Mobile Navigation */

.wp-site-blocks > main.wp-block-group {

    padding-left: clamp(16px, 3vw, 48px);

    padding-right: clamp(16px, 3vw, 48px);

}

.mobile-menu-toggle {

    display: none;

    background: none;

    border: none;

    font-size: 1.5rem;

    color: var(--primary-color);

    cursor: pointer;

}



@media (max-width: 780px) {

    .mobile-menu-toggle {

        display: block;

    }

    

    .main-navigation {

        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: var(--text-light);

        padding: 20px;

        flex-direction: column;

        box-shadow: var(--shadow);

    }

    

    .main-navigation.active {

        display: flex;

    }

    

    .nav-menu {

        flex-direction: column;

        gap: 15px;

        text-align: center;

    }

}



/* ===================================

   Countdown Banner

   =================================== */

.countdown-banner {

    background: var(--background-card);

    border-radius: var(--border-radius);

    padding: 30px;

    margin-bottom: 30px;

    display: grid;

    grid-template-columns: 280px 1fr;

    gap: 20px;

    overflow: hidden;

}



.countdown-info {

    background: var(--text-light);

    border-radius: var(--border-radius);

    padding: 25px;

    text-align: center;

}



.countdown-label {

    font-size: 1rem;

    color: var(--text-dark);

    margin-bottom: 5px;

}



.countdown-number {

    font-family: var(--font-display);

    font-size: 5rem;

    font-weight: 700;

    color: var(--primary-color);

    line-height: 1;

}



.countdown-unit {

    font-size: 1.25rem;

    color: var(--text-dark);

    margin-bottom: 20px;

}



.countdown-title {

    font-family: var(--font-display);

    font-size: 2rem;

    font-weight: 700;

    color: var(--primary-color);

    line-height: 1.2;

}



.countdown-image {

    border-radius: var(--border-radius);

    overflow: hidden;

}



.countdown-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



@media (max-width: 900px) {

    .countdown-banner {

        grid-template-columns: 1fr;

    }

    

    .countdown-info {

        order: 2;

    }

    

    .countdown-image {

        order: 1;

        max-height: 300px;

    }

}



/* ===================================

   Event Cards Grid

   =================================== */

.events-section {

    margin-bottom: 40px;

}



.section-title {

    font-size: 1.5rem;

    color: var(--primary-color);

    margin-bottom: 20px;

}



.upcoming-events {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

    margin-bottom: 30px;

}



.upcoming-event-card {

    background: var(--background-card);

    border-radius: var(--border-radius);

    padding: 20px 25px;

    display: flex;

    align-items: center;

    gap: 20px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    cursor: pointer;

}



.upcoming-event-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-hover);

}



.event-card-title {

    color: var(--text-light);

    font-size: 1rem;

    margin-bottom: 10px;

    font-weight: 500;

}



.event-card-date {

    display: flex;

    align-items: baseline;

    gap: 10px;

}



.event-day {

    font-family: var(--font-display);

    font-size: 4rem;

    font-weight: 700;

    color: var(--primary-color);

    line-height: 1;

}



.event-month {

    font-family: var(--font-display);

    font-size: 1.5rem;

    color: var(--primary-color);

    font-weight: 500;

}



.event-speaker-photo {

    width: 70px;

    height: 70px;

    border-radius: 50%;

    object-fit: cover;

    border: 3px solid var(--text-light);

}



.event-speaker-name {

    font-size: 0.75rem;

    color: var(--text-light);

    text-align: center;

    margin-top: 5px;

}



/* Future Events Grid */

.future-events {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 15px;

}



.future-event-card {

    background: var(--background-card-light);

    border-radius: var(--border-radius);

    padding: 20px 15px;

    text-align: center;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    cursor: pointer;

}



.future-event-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-hover);

}



.future-event-card .event-day {

    font-size: 3.5rem;

}



.future-event-card .event-month {

    font-size: 1.25rem;

}



.future-event-card .event-year {

    font-size: 0.875rem;

    color: var(--primary-color);

    margin-top: 5px;

}



@media (max-width: 1100px) {

    .future-events {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width: 768px) {

    .upcoming-events {

        grid-template-columns: 1fr;

    }

    

    .future-events {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 480px) {

    .future-events {

        grid-template-columns: 1fr;

    }

}



/* ===================================

   Archive Grid

   =================================== */

.archive-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}



.archive-card {

    background: var(--background-card);

    border-radius: var(--border-radius);

    padding: 20px;

    position: relative;

    transition: transform 0.3s ease, box-shadow 0.3s ease;

    cursor: pointer;

    min-height: 180px;

}



.archive-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);

}



.archive-card-title {

    color: var(--text-light);

    font-size: 1rem;

    font-weight: 500;

    margin-bottom: 15px;

    padding-right: 40px;

    line-height: 1.3;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;

}



.archive-card-content {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

}



.archive-card-date {

    display: flex;

    align-items: baseline;

    gap: 8px;

}



.archive-card .event-day {

    font-size: 3.5rem;

}



.archive-card .event-month {

    font-size: 1.25rem;

}



.archive-card .event-year {

    font-size: 0.875rem;

    color: var(--text-light);

    opacity: 0.8;

    position: absolute;

    bottom: 20px;

    left: 20px;

}



.archive-card-speakers {

    display: flex;

    gap: -10px;

}



.archive-speaker {

    text-align: center;

}



.archive-speaker img {

    width: 60px;

    height: 60px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid var(--text-light);

}



.archive-speaker-name {

    font-size: 0.65rem;

    color: var(--text-light);

    margin-top: 5px;

    max-width: 70px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

}



.archive-location-badge {

    position: absolute;

    top: 50%;

    right: 10px;

    transform: translateY(-50%) rotate(-90deg);

    font-size: 0.75rem;

    color: var(--text-light);

    opacity: 0.7;

    text-transform: capitalize;

}



@media (max-width: 1000px) {

    .archive-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}



@media (max-width: 600px) {

    .archive-grid {

        grid-template-columns: 1fr;

    }

}



/* ===================================

   Single Event Page

   =================================== */

.single-event {

    background: var(--text-light);

    border-radius: var(--border-radius);

    overflow: hidden;

    margin-bottom: 40px;

}



.single-event-header {

    display: grid;

    grid-template-columns: 350px 1fr;

    background: linear-gradient(135deg, var(--background-card-light) 0%, var(--background-card) 100%);

}



.single-event-title-section {

    padding: 40px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

}



.single-event-title {

    font-family: var(--font-display);

    font-size: 2.5rem;

    font-weight: 700;

    color: var(--primary-color);

    line-height: 1.2;

}



.single-event-header-image {

    height: 300px;

    overflow: hidden;

}



.single-event-header-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}



.single-event-body {

    display: grid;

    grid-template-columns: 300px 1fr;

    gap: 40px;

    padding: 40px;

}



.single-event-sidebar {

    text-align: center;

}



.single-event-date {

    color: var(--primary-color);

    font-size: 1rem;

    margin-bottom: 30px;

}



.speakers-section h3 {

    color: var(--primary-color);

    font-size: 1rem;

    margin-bottom: 20px;

    font-weight: 500;

}



.speaker-item {

    margin-bottom: 25px;

}



.speaker-item img {

    width: 150px;

    height: 150px;

    border-radius: 50%;

    object-fit: cover;

    margin: 0 auto 10px;

    border: 4px solid var(--background-card-light);

}



.speaker-item .speaker-name {

    color: var(--primary-color);

    font-size: 0.9rem;

}



.single-event-content h2 {

    color: var(--primary-color);

    font-size: 1.75rem;

    margin-bottom: 20px;

}



.single-event-content p {

    margin-bottom: 15px;

    color: var(--text-dark);

}



.single-event-content .event-meta {

    margin: 25px 0;

}



.single-event-content .event-meta p {

    margin-bottom: 8px;

    display: flex;

    align-items: center;

    gap: 8px;

}



.single-event-content .event-meta .icon {

    color: var(--primary-color);

}



.cta-button {

    display: inline-block;

    background: var(--accent-color);

    color: var(--text-dark);

    padding: 12px 30px;

    border-radius: 25px;

    font-weight: 600;

    font-size: 1rem;

    transition: background 0.3s ease, transform 0.3s ease;

    border: none;

    cursor: pointer;

}



.cta-button:hover {

    background: var(--accent-hover);

    transform: translateY(-2px);

}



/* Event Footer */

.single-event-footer {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    padding: 30px 40px;

    border-top: 1px solid var(--background-light);

}



.event-footer-section h4 {

    color: var(--primary-color);

    font-size: 1rem;

    margin-bottom: 15px;

}



.location-logo {

    max-width: 200px;

}



.location-logo img {

    width: 100%;

}



.event-time p {

    color: var(--text-dark);

    margin-bottom: 5px;

}



@media (max-width: 900px) {

    .single-event-header {

        grid-template-columns: 1fr;

    }

    

    .single-event-title-section {

        order: 2;

    }

    

    .single-event-header-image {

        order: 1;

    }

    

    .single-event-body {

        grid-template-columns: 1fr;

    }

    

    .single-event-sidebar {

        order: 2;

    }

    

    .single-event-footer {

        grid-template-columns: 1fr;

        text-align: center;

    }

    

    .location-logo {

        margin: 0 auto;

    }

}



/* ===================================

   Newsletter Section

   =================================== */

.newsletter-section {

    background: var(--text-light);

    border-radius: var(--border-radius);

    padding: 50px;

    text-align: center;

    margin: 40px 0;

}



.newsletter-section .site-logo-text {

    display: inline-block;

    margin-bottom: 25px;

}



.newsletter-section h2 {

    color: var(--primary-color);

    font-size: 2rem;

    margin-bottom: 15px;

}



.newsletter-section .subtitle {

    color: var(--primary-color);

    font-weight: 600;

    margin-bottom: 10px;

}



.newsletter-section .description {

    color: #666;

    max-width: 600px;

    margin: 0 auto 30px;

}



.newsletter-form {

    max-width: 500px;

    margin: 0 auto;

}



.newsletter-form label {

    display: block;

    text-align: left;

    margin-bottom: 8px;

    font-weight: 500;

    color: var(--text-dark);

}



.newsletter-form input[type="email"] {

    width: 100%;

    padding: 15px;

    border: 1px solid #ddd;

    border-radius: var(--border-radius-sm);

    font-size: 1rem;

    margin-bottom: 20px;

    transition: border-color 0.3s ease;

}



.newsletter-form input[type="email"]:focus {

    outline: none;

    border-color: var(--primary-color);

}



.newsletter-form button {

    width: 100%;

    max-width: 250px;

}



/* ===================================

   Footer

   =================================== */

.site-footer {

    padding: 20px 0;

    border-top: 3px solid var(--primary-color);

    margin-top: auto;

}



.footer-content {

    text-align: center;

    color: var(--text-dark);

    font-size: 0.9rem;

}



/* ===================================

   Utility Classes

   =================================== */

.text-center { text-align: center; }

.text-left { text-align: left; }

.text-right { text-align: right; }



.mb-0 { margin-bottom: 0; }

.mb-1 { margin-bottom: 10px; }

.mb-2 { margin-bottom: 20px; }

.mb-3 { margin-bottom: 30px; }

.mb-4 { margin-bottom: 40px; }



.mt-0 { margin-top: 0; }

.mt-1 { margin-top: 10px; }

.mt-2 { margin-top: 20px; }

.mt-3 { margin-top: 30px; }

.mt-4 { margin-top: 40px; }



.hidden { display: none; }



/* ===================================

   Animations

   =================================== */

@keyframes fadeIn {

    from {

        opacity: 0;

        transform: translateY(20px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



.fade-in {

    animation: fadeIn 0.5s ease forwards;

}



.fade-in-delay-1 { animation-delay: 0.1s; }

.fade-in-delay-2 { animation-delay: 0.2s; }

.fade-in-delay-3 { animation-delay: 0.3s; }

.fade-in-delay-4 { animation-delay: 0.4s; }



