* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    min-height: 100vh;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 2px;
}

header .subtitle {
    font-size: 1.3em;
    opacity: 0.9;
    font-weight: 300;
}

header .dates {
    margin-top: 15px;
    font-size: 1.1em;
    opacity: 0.8;
}

/* Navigation */
nav {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav a {
    color: #2c3e50;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background 0.2s;
}

nav a:hover {
    background: #f0f0f0;
}

nav .nav-title {
    font-weight: bold;
    font-size: 1.1em;
}

.nav-links {
    display: flex;
    gap: 10px;
}

/* Day Header */
.day-hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    position: relative;
}

.day-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
}

.day-hero-content {
    position: relative;
    color: white;
    padding: 40px;
    width: 100%;
}

.day-hero h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 300;
}

.day-hero .day-number {
    font-size: 1.2em;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.day-hero .location {
    font-size: 1.5em;
    opacity: 0.9;
}

/* Content Sections */
.content-section {
    background: white;
    padding: 40px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: 400;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Summary Box */
.summary-box {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
    font-size: 1.1em;
    line-height: 1.8;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.info-card label {
    display: block;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    margin-bottom: 5px;
}

.info-card .value {
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 500;
}

/* Photo Gallery */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-item .photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 15px 15px;
    font-size: 0.9em;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-caption {
    opacity: 1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 1.1em;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 1001;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    cursor: pointer;
    padding: 20px;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
}

.lightbox-nav:hover {
    opacity: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1em;
    opacity: 0.8;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Day Cards Grid (Index Page) */
.day-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.day-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

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

.day-card-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.day-card-image .day-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.day-card-content {
    padding: 20px;
}

.day-card-content h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3em;
}

.day-card-content .date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.day-card-content .preview {
    color: #555;
    font-size: 0.95em;
    line-height: 1.5;
}

/* Page Navigation */
.page-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.page-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2c3e50;
    padding: 15px 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: background 0.2s;
}

.page-nav a:hover {
    background: #e9ecef;
}

.page-nav .next-day {
    margin-left: auto;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
}

footer a {
    color: #3498db;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    .day-hero {
        height: 40vh;
        min-height: 300px;
    }

    .day-hero h1 {
        font-size: 2em;
    }

    .content-section {
        padding: 25px;
    }

    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .day-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-nav {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    nav .container {
        flex-direction: column;
        gap: 10px;
    }
}
