/* Reset and Base Styles */
* {
    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: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Dark Mode */
body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
}

body.dark-mode section {
    background: #1e2533;
    color: #e0e0e0;
}

body.dark-mode .day {
    background: #252b3a;
    color: #e0e0e0;
}

body.dark-mode .day p {
    color: #b0b0b0;
}

body.dark-mode .accommodation {
    background: #1e2533;
    border-color: #3a4354;
}

body.dark-mode footer {
    background: #1a1a2e;
}

/* Header */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Theme Toggle Button */
.theme-toggle {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.theme-icon {
    line-height: 1;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

header h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.date-range {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.calendar-link {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 0.5rem;
}

.calendar-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

section h3 {
    color: #667eea;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.5rem;
}
section h4 {
    color: #667eea;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    border-bottom: 3px solid #667eea;
    padding-bottom: 0.2rem;
}

/* Participants Section */
.participant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    counter-reset: item-count;
}

.participant-grid ul {
    list-style: none;
}

.participant-grid li {
    padding: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
}

.participant-grid li:not(.dropout):not(.injured):not(.sick):not(.tintoplegend) {
    counter-increment: item-count;
}

.participant-grid li::before {
    content: '';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    /* background-image: url('tick.svg'); */
    background-image: url('motorcycle-favicon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.participant-grid li.dropout::before {
    content: '';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    background-image: url('cross.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.participant-grid li.dropout,
.participant-grid li.sick,
.participant-grid li.injured {
    padding: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
    text-decoration: line-through;
    color: #ff0000;
}

.participant-grid li.tintop,
.participant-grid li.tintoplegend {
    padding: 0.5rem 0;
    padding-left: 2.5rem;
    position: relative;
    /* text-decoration: underline;
    color: #0011ff; */
}

.participant-grid li.injured::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    background-image: url('arminsling.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.participant-grid li.sick::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    background-image: url('sick.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.participant-grid li.tintop::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    background-image: url('tintop.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

.participant-grid li.tintoplegend::before {
    content: '';
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    margin-right: 2em;
    background-image: url('tintop.svg');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
}

h4.participant-footer {
    color: #667eea;
}

h4.participant-footer::before {
    content: "("counter(item-count);
}

/* Itinerary Section */
.day {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.day h4 {
    color: #764ba2;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.day p {
    margin-bottom: 1rem;
    color: #555;
}

.accommodation {
    background: white;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin-top: 1rem;
}

.accommodation strong {
    color: #667eea;
}

/* Map Container */
.map-container {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

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

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.contact-info a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.links {
    margin: 1.5rem 0;
    font-size: 1.1rem;
}

.links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.5rem;
}

.links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.copyright {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.credits {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

.credits a {
    color: #667eea;
    text-decoration: none;
}

.credits a:hover {
    text-decoration: underline;
}

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

    header h2 {
        font-size: 1.2rem;
    }

    .participant-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    main {
        padding: 0 1rem;
    }

    section {
        padding: 1.5rem;
    }

    .map-container iframe {
        height: 300px;
    }
}