/*
Theme Name: RCSSST Theme
Theme URI: https://rcssst.be
Author: RCSSST
Description: Thème WordPress officiel pour le RCS Sart Tilman - club de football à Liège
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rcssst-theme
Tags: football, club, sport, vert, blanc
*/

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Raleway:wght@300;400;500;600&display=swap');

/* CSS Variables */
:root {
    --vert-principal: #1e7e34;
    --vert-clair: #2d8a4e;
    --vert-fonce: #155724;
    --vert-pale: #e8f5e9;
    --blanc: #ffffff;
    --blanc-casse: #f8f9fa;
    --gris-clair: #6c757d;
    --gris-fonce: #343a40;
    --noir: #212529;
    --font-titre: 'Montserrat', sans-serif;
    --font-corps: 'Raleway', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-corps);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gris-fonce);
    background-color: var(--blanc);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titre);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--blanc);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    width: 60px;
    height: 60px;
    background: var(--vert-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    font-family: var(--font-titre);
    font-weight: 800;
    font-size: 1.5rem;
}

.site-logo span {
    font-size: 0.5rem;
    text-align: center;
    line-height: 1.1;
}

.site-title {
    font-family: var(--font-titre);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--vert-principal);
}

.site-title span {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gris-clair);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-list a {
    font-family: var(--font-titre);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gris-fonce);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vert-principal);
    transition: width 0.3s ease;
}

.nav-list a:hover {
    color: var(--vert-principal);
}

.nav-list a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--vert-principal);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--vert-principal) 0%, var(--vert-fonce) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    text-align: center;
    color: var(--blanc);
    position: relative;
    z-index: 1;
    padding: 40px;
}

.hero-logo {
    width: 150px;
    height: 150px;
    background: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-logo .logo-text {
    color: var(--vert-principal);
    font-family: var(--font-titre);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
}

.hero-logo .logo-sub {
    font-size: 0.6rem;
    text-align: center;
    color: var(--vert-principal);
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-titre);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blanc);
    color: var(--vert-principal);
}

.btn-primary:hover {
    background: var(--vert-pale);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--vert-principal);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    fill: var(--blanc);
    opacity: 0.7;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--blanc-casse);
}

.section-title {
    font-size: 2.5rem;
    color: var(--vert-principal);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--vert-principal);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--gris-clair);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

/* Le Club Section */
.club-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.club-content h3 {
    font-size: 1.8rem;
    color: var(--vert-principal);
    margin-bottom: 20px;
}

.club-content p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--blanc);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: var(--vert-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--vert-principal);
    font-size: 1.5rem;
}

.info-card h4 {
    font-size: 1.1rem;
    color: var(--vert-principal);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gris-clair);
}

/* Philosophie Section */
.philosophie-content {
    max-width: 800px;
    margin: 0 auto;
}

.philosophie-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.philosophie-num {
    width: 50px;
    height: 50px;
    background: var(--vert-principal);
    color: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.philosophie-text h4 {
    font-size: 1.3rem;
    color: var(--vert-principal);
    margin-bottom: 10px;
}

.philosophie-text p {
    color: var(--gris-clair);
    line-height: 1.8;
}

/* Stages Section */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stage-card {
    background: var(--blanc);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.stage-header {
    background: var(--vert-principal);
    padding: 30px;
    text-align: center;
    color: var(--blanc);
}

.stage-header h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.stage-header span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stage-body {
    padding: 30px;
}

.stage-body ul {
    list-style: none;
}

.stage-body li {
    padding: 10px 0;
    border-bottom: 1px solid var(--blanc-casse);
    display: flex;
    align-items: center;
    gap: 10px;
}

.stage-body li::before {
    content: '✓';
    color: var(--vert-principal);
    font-weight: bold;
}

.stage-body li:last-child {
    border-bottom: none;
}

.stage-footer {
    padding: 20px 30px;
    background: var(--blanc-casse);
}

.btn-stage {
    width: 100%;
    background: var(--vert-principal);
    color: var(--blanc);
    text-align: center;
}

.btn-stage:hover {
    background: var(--vert-fonce);
}

/* Facebook Section */
.social-section {
    background: linear-gradient(135deg, var(--vert-principal) 0%, var(--vert-fonce) 100%);
    color: var(--blanc);
    text-align: center;
}

.social-section .section-title {
    color: var(--blanc);
}

.social-section .section-title::after {
    background: var(--blanc);
}

.social-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.social-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: #1877f2;
    color: var(--blanc);
    padding: 20px 40px;
    border-radius: 50px;
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.facebook-btn:hover {
    background: #166fe5;
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(24, 119, 242, 0.5);
}

.facebook-btn svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Footer */
.site-footer {
    background: var(--vert-fonce);
    color: var(--blanc);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    background: var(--blanc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vert-principal);
    font-family: var(--font-titre);
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-logo-text {
    font-family: var(--font-titre);
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-family: var(--font-titre);
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--blanc);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--blanc);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blanc);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--vert-principal);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 992px) {
    .club-grid {
        grid-template-columns: 1fr;
    }
    
    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 90px;
        left: 0;
        right: 0;
        background: var(--blanc);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .stages-grid {
        grid-template-columns: 1fr;
    }
    
    .philosophie-item {
        flex-direction: column;
        text-align: center;
    }
    
    .philosophie-num {
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}