:root {
    --primary-color: #8B4513;
    --secondary-color: #D2B48C;
    --accent-color: #CD853F;
    --dark-color: #3A2C1A;
    --light-color: #F5F5DC;
    --text-color: #2F1B0C;
}

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

body {
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.7;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><path d="M0 0h100v100H0z" fill="none"/><path d="M20 20h60v60H20z" stroke="%238B4513" stroke-width="2" fill="none"/></svg>');
    font-size: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
}

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

/* Header */
header {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo span {
    color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.8rem;
}

nav ul li a {
    color: var(--light-color);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    transition: color 0.3s;
    position: relative;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    height: 75vh;
    background: linear-gradient(rgba(58, 44, 26, 0.7), rgba(58, 44, 26, 0.7)), 
                url('https://source.unsplash.com/random/1600x900/?rome,ancient') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.8rem;
    color: var(--light-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Sections générales */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    font-size: 2.8rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 4px;
    background-color: var(--accent-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Page d'accueil */
.intro {
    background-color: var(--light-color);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
}

.intro-text p {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.intro-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.highlights {
    background-color: var(--secondary-color);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.highlight-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.highlight-content {
    padding: 2rem;
}

.highlight-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.6rem;
}

.highlight-content p {
    font-size: 1.3rem;
}

/* Page Histoire */
.timeline-section {
    background-color: var(--light-color);
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-container {
    padding: 15px 50px;
    position: relative;
    width: 50%;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--light-color);
    border: 4px solid var(--accent-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-content {
    padding: 25px 35px;
    background-color: var(--secondary-color);
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.timeline-content p {
    font-size: 1.3rem;
}

/* Page Personnages */
.characters-section {
    background-color: var(--light-color);
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.character-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.character-image {
    height: 280px;
    overflow: hidden;
}

.character-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.character-card:hover .character-image img {
    transform: scale(1.1);
}

.character-info {
    padding: 2rem;
}

.character-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.7rem;
}

.character-period {
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.character-info p {
    font-size: 1.3rem;
}

/* Page Monuments */
.monuments-section {
    background-color: var(--light-color);
}

.monument-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 5rem;
    align-items: center;
}

.monument-item:nth-child(even) .monument-image {
    order: 2;
}

.monument-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.monument-info h3 {
    margin-bottom: 1.2rem;
    font-size: 2rem;
}

.monument-info p {
    font-size: 1.4rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.footer-content p {
    font-size: 1.4rem;
}

.footer-links {
    display: flex;
    gap: 2.5rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1.3rem;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.copyright {
    margin-top: 2rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 1.1rem;
    }
    
    .header-container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-container::after {
        left: 18px;
    }
    
    .right {
        left: 0;
    }
    
    .monument-item {
        grid-template-columns: 1fr;
    }
    
    .monument-item:nth-child(even) .monument-image {
        order: 0;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}