/* ============================================
   LetMeStayForADay - Site-wide Stylesheet
   ============================================ */

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

:root {
    --primary-red: #CC0000;
    --dark-bg: #000000;
    --light-blue: #5B9AA8;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #DDDDDD;
    --archive-tan: #F5F1E8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--archive-tan);
}

/* ============================================
   Header
   ============================================ */
.header {
    background-color: var(--dark-bg);
    padding: 0;
    position: relative;
}

.header-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 10;
}

.logo {
    max-width: 250px;
    background-color: rgba(0, 0, 0, 0.0);
    padding: 10px;
    border-radius: 8px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Navigation
   ============================================ */
nav {
    background: var(--light-blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFF00;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 15px 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.menu-toggle.close {
    font-size: 22px;
}

/* ============================================
   Main Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr 250px;
    gap: 30px;
    padding: 40px 30px;
}

/* ============================================
   Sidebar Styles
   ============================================ */
.sidebar {
    padding: 20px;
}

/* LEFT SIDEBAR */
.sidebar-left {
    background: linear-gradient(135deg, #C5D5DB 0%, #E8EEF1 45%, #FFD7B5 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    padding: 25px 15px 15px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #FF6B35, #F7931E, #FF6B35);
}

/* Force smaller text throughout left sidebar */
.sidebar-left,
.sidebar-left center,
.sidebar-left div,
.sidebar-left p,
.sidebar-left a,
.sidebar-left strong,
.sidebar-left span {
    font-size: 11px !important;
    line-height: 1.6 !important;
}

.sidebar-left a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar-left a:visited {
    color: #4A7D88;
}

.sidebar-left a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.sidebar-left a:active {
    color: #990000;
}

.sidebar-left h3 {
    font-size: 24px !important;
    line-height: 1.4 !important;
}

.sponsor-section {
    text-align: center;
    margin-bottom: 30px;
}

.sponsor-section h3 {
    color: var(--primary-red);
    font-size: 14px !important;
    margin-bottom: 15px;
    line-height: 1.4 !important;
}

.sponsor-logo {
    max-width: 150px;
    margin: 15px auto;
    display: block;
}

.sponsor-list {
    font-size: 10px !important;
    line-height: 1.6 !important;
    text-align: center;
}

.sponsor-list a {
    color: #000000;
    text-decoration: none;
}

.sponsor-list a:visited {
    color: #000000;
}

.sponsor-list a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.sponsor-list a:active {
    color: #990000;
}

/* RIGHT SIDEBAR */
.sidebar-right {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
}


.sidebar-right h2,
.sidebar-right h3 {
    color: var(--light-blue);
    font-size: 22px !important;
    margin: 20px 0 10px;
}

.sidebar-right p {
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sidebar-right img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    padding: 20px;
}

.main-content a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s, border-bottom-color 0.3s;
    border-bottom: 1px solid rgba(91, 154, 168, 0.3);
}

.main-content a:visited {
    color: #4A7D88;
    border-bottom-color: rgba(74, 125, 136, 0.3);
}

.main-content a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.main-content a:active {
    color: #990000;
}

.intro-section {
    background-color: #FDFCFA;
    border: 1px solid #D5D0C5;
    border-radius: 4px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.intro-section h1 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.intro-section .highlight {
    color: var(--light-blue);
    font-weight: bold;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.intro-section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.story-section {
    margin-bottom: 40px;
}

.story-section h2 {
    color: var(--light-blue);
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-red);
}

.story-section h3 {
    color: var(--light-blue);
    font-size: 26px;
    margin: 40px 0 25px 0;
    font-weight: 600;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--light-blue);
}

.story-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.story-section a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.story-section a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.archive-entry {
    background: var(--primary-red);
    color: white;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
    border-radius: 4px;
    border: 2px solid #990000;
}

.archive-entry h2 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: normal;
}

.archive-entry p {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.archive-entry a {
    display: inline-block;
    background: white;
    color: var(--primary-red);
    padding: 15px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid white;
}

.archive-entry a:hover {
    background-color: var(--primary-red);
    color: white;
}

/* ============================================
   Footer
   ============================================ */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    color: white;
    padding: 40px 30px 30px 30px;
    margin-top: 60px;
    border-top: 3px solid #444;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer a {
    color: #AAA;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:visited {
    color: #999;
}

footer a:hover {
    color: white;
}

footer a:active {
    color: #FFFF00;
}

/* ============================================
   Report Page Styles
   ============================================ */
.report-header {
    background: linear-gradient(180deg, #E8F4F8 0%, #F5F9FB 50%, rgba(255,255,255,0) 100%);
    border-top: 4px solid var(--light-blue);
    border-radius: 8px;
    padding: 25px 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.datum {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.locatie {
    color: var(--text-light);
    font-size: 16px;
    display: block;
    margin-bottom: 20px;
    font-style: italic;
}

.tekstdik {
    font-weight: 600;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
    padding-top: 15px;
    border-top: 1px solid rgba(91, 154, 168, 0.2);
}

.tekstdik a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(91, 154, 168, 0.3);
}

.tekstdik a:visited {
    color: #4A7D88;
}

.tekstdik a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.tekstdik a:active {
    color: #990000;
}

.tekst {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tekst a {
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
    border-bottom: 1px solid rgba(91, 154, 168, 0.3);
}

.tekst a:visited {
    color: #4A7D88;
}

.tekst a:hover {
    color: var(--primary-red);
    border-bottom-color: var(--primary-red);
}

.tekst a:active {
    color: #990000;
}

/* Daily Reports List - Compact styling */
div.daily-reports-list {
    font-size: 11px !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
}

div.daily-reports-list strong {
    font-size: 11px !important;
}

div.daily-reports-list a {
    font-size: 11px !important;
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s;
}

div.daily-reports-list a:visited {
    color: #4A7D88;
}

div.daily-reports-list a:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

div.daily-reports-list a:active {
    color: #990000;
}

/* ============================================
   Photo Gallery Styling
   ============================================ */
.report-photos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.report-photos a {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    line-height: 0;
}

.report-photos a:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.report-photos img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: bottom;
    object-fit: cover;
}

/* Fancybox Caption */
.fancybox__caption {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(10px) !important;
    padding: 15px 25px !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    color: #e8e8e8 !important;
    text-align: left !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* ============================================
   Report Navigation
   ============================================ */
.report-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px 0;
    padding: 0;
    gap: 15px;
}

.report-nav a {
    color: var(--light-blue);
    background-color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border: 2px solid var(--light-blue);
    border-radius: 6px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    white-space: nowrap;
}

.report-nav a:hover {
    background-color: var(--light-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}

.report-nav a.index {
    color: var(--primary-red);
    border-color: var(--primary-red);
    font-weight: 700;
}

.report-nav a.index:hover {
    background-color: var(--primary-red);
    color: white;
}

.report-nav span {
    flex: 1;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet & Below */
@media (max-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .sidebar-left {
        order: 3;
    }
    
    .main-content {
        order: 1;
    }
    
    .sidebar-right {
        order: 2;
    }
    
    .intro-section {
        padding: 30px 20px;
    }
    
    .intro-section h1 {
        font-size: 28px;
    }
    
    .intro-section p {
        font-size: 16px;
    }
    
    .intro-section img {
        max-width: 100%;
        height: auto;
    }
    
    .logo-container {
        top: 20px;
        left: 20px;
    }
    
    .logo {
        max-width: 160px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Mobile menu */
    nav ul {
        display: none !important;
        flex-direction: column;
        width: 100%;
        background: var(--light-blue);
    }
    
    nav ul.active {
        display: flex !important;
    }
    
    .menu-toggle {
        display: block !important;
        width: 100%;
        text-align: left;
        background: var(--light-blue);
        color: #fff;
        font-size: 18px;
        padding: 14px 18px;
        border: none;
        cursor: pointer;
    }
    
    nav a {
        padding: 12px 15px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }
    
    .hero-image {
        min-height: 120px !important;
        object-fit: cover;
    }
    
    .story-section h2 {
        font-size: 24px;
    }
    
    .story-section h3 {
        font-size: 20px;
    }
    
    .intro-section img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .archive-entry {
        padding: 30px 20px !important;
    }
    
    .archive-entry h2 {
        font-size: 26px !important;
    }
    
    .archive-entry p {
        font-size: 16px !important;
    }
    
    .archive-entry a {
        padding: 12px 30px !important;
        font-size: 16px !important;
    }
    
    /* Report navigation mobile */
    .report-nav {
        gap: 10px;
    }
    
    .report-nav a {
        font-size: 13px;
        padding: 8px 12px;
        flex: 1;
        justify-content: center;
    }
    
    /* Fix logo size */
    .logo {
        max-width: 120px !important;
        padding: 4px !important;
    }

    .logo img {
        width: 100% !important;
        height: auto !important;
    }

    .logo-container {
        top: 10px !important;
        left: 10px !important;
    }

    .hero-image {
        min-height: 140px;
        object-fit: cover;
    }
}

/* Extra Small Mobile */
@media (max-width: 480px) {
    .logo {
        max-width: 70px !important;
    }
    
    .intro-section {
        padding: 20px 15px;
    }
    
    .intro-section h1 {
        font-size: 22px;
    }
    
    nav a {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .hero-image {
        min-height: 100px;
    }
    
    .intro-section img {
        width: 100%;
        height: auto;
    }
    
    .archive-entry {
        padding: 25px 15px !important;
    }
    
    .archive-entry h2 {
        font-size: 22px !important;
    }
    
    .archive-entry p {
        font-size: 15px !important;
    }
    
    .archive-entry a {
        padding: 12px 25px !important;
        font-size: 15px !important;
    }
    
    /* Report navigation very small screens */
    .report-nav {
        flex-direction: column;
    }
    
    .report-nav a {
        width: 100%;
    }
    
    .report-nav a.index {
        order: -1;
    }
    
    .report-nav span {
        display: none;
    }
    
    .menu-toggle {
        font-size: 16px;
        padding: 12px 14px;
    }
}