/* ==========================================================================
   40Yard - Hub National du Football Américain en France
   Main Stylesheet
   ========================================================================== */

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    /* Brand Colors */
    --nfl-blue: #013369;
    --nfl-red: #D50A0A;
    --nfl-dark: #1a1a1a;
    --nfl-gray: #656668;
    --nfl-light: #f5f5f5;
    
    /* Functional Colors */
    --primary: #013369;
    --primary-dark: #011d3d;
    --secondary: #D50A0A;
    --secondary-dark: #b50909;
    --neutral: #f5f5f5;
    --neutral-dark: #e0e0e0;
    --text: #333333;
    --text-light: #656668;
    --white: #ffffff;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
}

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

/* ==========================================================================
   Base Styles
   ========================================================================== */

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    background-color: var(--white);
}

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

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

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

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Header
   ========================================================================== */

header {
    padding: 30px 0;
    text-align: center;
}

.logo-link {
    display: inline-block;
    margin-bottom: 10px;
}

.logo-img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s ease;
}

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

/* Legacy logo text style (fallback) */
.logo {
    font-size: 72px;
    font-weight: 900;
    color: var(--nfl-dark);
    letter-spacing: -2px;
    margin-bottom: 10px;
}

.tagline {
    font-size: 18px;
    color: var(--nfl-gray);
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    background: var(--white);
    text-align: center;
    padding: 80px 0 60px;
    margin-bottom: 30px;
}

.hero-badge {
    display: inline-block;
    background: var(--nfl-red);
    color: var(--white);
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-radius: 4px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--nfl-dark);
}

.hero p,
.hero-description {
    font-size: 20px;
    color: var(--nfl-gray);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-description strong {
    color: var(--nfl-dark);
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.feature-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(1, 51, 105, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--nfl-blue);
    box-shadow: 0 10px 30px rgba(1, 51, 105, 0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 18px;
    font-weight: 700;
    color: var(--nfl-red);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--nfl-dark);
    position: relative;
    z-index: 1;
}

.feature-card p {
    color: var(--nfl-gray);
    font-size: 15px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.feature-card p strong {
    color: var(--nfl-dark);
}

/* ==========================================================================
   Info Section
   ========================================================================== */

.info-section {
    margin: 80px 0;
}

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

.info-block {
    background: var(--white);
    border-left: 4px solid var(--nfl-red);
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 0 8px 8px 0;
}

.info-block h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--nfl-dark);
}

.info-block p {
    color: var(--nfl-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.info-block p strong {
    color: var(--nfl-dark);
}

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

.info-list li {
    color: var(--nfl-gray);
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.info-list li strong {
    color: var(--nfl-dark);
}

/* ==========================================================================
   Social Section
   ========================================================================== */

.social-section {
    text-align: center;
    padding: 40px 0 80px;
}

.social-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--nfl-dark);
}

.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.social-link {
    background: var(--white);
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 600;
    color: var(--nfl-dark);
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    padding: 16px 32px;
}

.social-link:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.social-link--instagram {
    background: var(--white);
}

.social-link--instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.instagram-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.social-link span {
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--nfl-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 10px;
}

footer p:last-child {
    margin-bottom: 0;
}

footer strong {
    color: var(--white);
}

.footer-legal {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Buttons (Global)
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(213, 10, 10, 0.3);
}

.btn-primary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(213, 10, 10, 0.4);
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .logo-img {
        max-width: 150px;
    }
    
    .logo {
        font-size: 48px;
    }
    
    .tagline {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p,
    .hero-description {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .info-block {
        padding: 25px 20px;
    }
    
    .info-block h3 {
        font-size: 20px;
    }
    
    .social-section {
        padding: 30px 0 60px;
    }
    
    .social-section h3 {
        font-size: 20px;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        padding: 12px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        max-width: 120px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .info-block h3 {
        font-size: 18px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    header,
    .social-section,
    footer {
        background: none;
    }
    
    .feature-card,
    .info-block {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    a {
        color: var(--nfl-dark);
    }
}
