/* Configuració General */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section {
    padding: 60px 20px;
    text-align: center;
}

/* Header (Gris amb lletra Grana) */
header {
    background-color: #e0e0e0;
    color: #800020;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #800020;
}

header h1 { margin: 0; }

nav a {
    color: #800020;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #001f3f;
}

/* Seccions Específiques */
.intro { background-color: #800020; color: white; }
.map-info { background-color: #001f3f; color: white; }
.calendar-section { background-color: #e0e0e0; color: #800020; }
.calendar-section h2 { color: #001f3f; }

/* Botons Generals */
.btn {
    background-color: #800020;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: transform 0.2s, background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #a00028;
    transform: scale(1.05);
}

/* Graella de Fotos i Calendari */
.photo-grid, .calendar-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.calendar-grid .btn {
    min-width: 100px;
}

/* Pàgina del Mapa */
.map-container {
    background-color: #800020;
    color: white;
    min-height: 80vh;
    padding: 40px;
}

#usa-map {
    width: 80%;
    max-width: 800px;
    margin: 20px auto;
    border: 2px solid white;
    height: 400px; /* Placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
}

/* Pàgina del Suro (Mesos) */
.corkboard-container {
    background-color: #001f3f;
    color: white;
    min-height: 90vh;
    padding: 40px;
}

.corkboard {
    background-color: #d2b48c; /* Color fusta/suro */
    border: 15px solid #5d4037;
    min-height: 500px;
    padding: 20px;
    margin: 20px auto;
    position: relative;
}

.nav-months {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}