:root {
    --primary-blue: #002e5d; /* Stade Français Deep Blue */
    --secondary-red: #e30613; /* Stade Français Red */
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --max-width: 1200px;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
    text-transform: uppercase;
}

strong {
    color: var(--secondary-red);
    font-weight: 700;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(30, 61, 118, 0.95) 0%, rgba(29, 50, 89, 0.95) 100%), url('assets/pattern.png');
    background-position: center;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    transform: skewY(-2deg);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
}

.year {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: -20px;
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero .highlight {
    color: var(--secondary-red);
}

.slogan {
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 40px;
    opacity: 0.9;
}

.leader-intro {
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    gap: 30px;
    padding: 30px 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
    max-width: 800px;
}

.leader-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.leader-text {
    flex: 1;
}

.leader-intro p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.leader-intro strong {
    color: var(--white);
    text-decoration: underline;
    text-decoration-color: var(--secondary-red);
}

.leader-credentials {
    list-style: none;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Intro Section */
.intro {
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.content-block p {
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 30px !important;
}

/* Project Section */

.project {
    background-image: url('assets/ruban.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--secondary-red);
    transition: transform 0.3s ease;
}

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

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Team Section */
.team h2 {
    text-align: center;
    font-size: 2.5rem;
}

.supports {
    background-image: url('assets/ruban-2.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.supports .container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--secondary-red);
}

.supports h2 {
    text-align: center;
}

.intro-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
}

.team {
    background: #f7e7df;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.team-member {
    padding: 25px;
    border: 1px solid #a1afcc;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(10px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #eee;
}

.team-member img.placeholder {
    object-fit: contain;
    padding: 20px;
    background-color: var(--bg-light);
}

.team-member:hover {
    border-color: var(--primary-blue);
    background-color: #fcfcfc;
}

.team-member h4 {
    color: var(--primary-blue);
    font-size: 1.1rem;
    margin-bottom: 5px;
    text-transform: none;
}

.team-member .role {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-red);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.team-member p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Supports Section */
.support-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.support-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.support-list li:last-child {
    border-bottom: none;
}

.vote {
    background: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
}

/* CTA Footer */
.cta-footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 40px 0 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.footer-skyline {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 40px;
    gap: 0;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-skyline img {
    height: auto;
    max-height: 120px; /* Reduced from 150px for non-Eiffel buildings */
    width: auto;
    max-width: 25%;
    object-fit: contain;
    margin-bottom: -1px; /* Fix for potential sub-pixel gaps */
}

.footer-skyline img[src*="tour-eiffel"] {
    max-height: 180px; /* Kept larger */
    transform-origin: bottom center;
    z-index: 1; /* Ensure it stays on top if overlaps occur */
}

@media (max-width: 768px) {
    .footer-skyline img {
        max-height: 80px;
    }
}

.final-message {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.date-box {
    background: var(--white);
    color: var(--primary-blue);
    display: inline-block;
    padding: 30px 50px;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 4px solid var(--secondary-red);
}

.date-box p {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.date-box .date {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--secondary-red);
    line-height: 1.2;
    margin: 10px 0;
}

.vote-icon {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.vote-call {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 60px;
    line-height: 1.4;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .year {
        font-size: 3rem;
    }
    
    .section {
        padding: 50px 0;
    }

    .leader-intro {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .leader-photo {
        width: 100px;
        height: 100px;
    }
}
