:root {
    --primary-color: #ff6b35;
    --secondary-color: #2e282a;
    --accent-color: #f7c59f;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    color: var(--secondary-color);
}

header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 3rem 0;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('campfire-bg.png');
    background-size: cover;
    background-position: center;
}

h1 {
    font-size: 3.5rem;
    margin: 0;
}

.subtitle {
    font-size: 1.5rem;
    margin-top: 1rem;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.responsive-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px; /* optionnel, pour un arrondi */
}

textarea, input {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

textarea {
    height: 100px;
    resize: vertical;
}

button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #e55a2b;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.address {
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
    color: white;
}

/* Programme du Festival */
.schedule {
    background: white;
    padding: 2rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary-color);
}

.event {
    position: relative;
    margin: 2rem 0;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: calc(50% - 30px);
    margin-left: auto;
}

.event:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
}

.event::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
}

.event:nth-child(odd)::before {
    right: -40px;
}

.event:nth-child(even)::before {
    left: -40px;
}

time {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Galerie Photos */
.photo-gallery {
    background-image: url('gallery-bg.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 2rem;
    font-style: italic;
    color: grey;
}

#gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

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

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

/* Souvenirs & Anecdotes */
.memories {
    background-image: url('memory-bg.png');
    background-size: cover;
    background-position: center;
    padding: 3rem 2rem;
}

.memory-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.memory-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.memory-card:hover {
    transform: translateY(-5px);
}

.memory-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* New styles for the updated content */
.date, .price {
    font-size: 1.3rem;
    margin-top: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.intro {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stages {
    margin-top: 2rem;
}

.main-stage, .retro-stage {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.retro-stage {
    text-align: center;
    background-color: var(--accent-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-block {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.info-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.info-block ul {
    list-style: none;
    padding: 0;
}

.info-block ul li {
    padding: 0.3rem 0;
}

.info-block.contact a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-block.contact a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    section {
        padding: 1rem;
    }
    
    .timeline::before {
        left: 0;
    }
    
    .event {
        width: calc(100% - 30px);
        margin-left: 30px !important;
    }
    
    .event::before {
        left: -35px !important;
    }
    
    .memory-container {
        grid-template-columns: 1fr;
    }
    
    .date, .price {
        font-size: 1.1rem;
    }
}

/* Add Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');