/* ============================================
   NOVAKIN FC - DESIGN PROFESSIONNEL
   Couleurs: Or (#d4af37) et Noir (#0a0a0a)
   ============================================ */

:root {
    --gold: #d4af37;
    --gold-dark: #b8960c;
    --black: #0a0a0a;
    --black-light: #1a1a1a;
    --gray: #2c2c2c;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    font-weight: 700;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--white);
}

.navbar-brand img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.1);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

nav a:hover {
    color: var(--gold);
}

/* ============================================
   SECTION ACTUALITÉS
   ============================================ */

.news-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 15px;
}

.section-description {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

.featured-news {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.featured-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--shadow-lg);
}

.featured-main:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
}

.featured-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.featured-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: var(--white);
    z-index: 2;
}

.featured-category {
    display: inline-block;
    background: var(--gold);
    color: var(--black);
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.featured-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-date {
    font-size: 0.85rem;
    opacity: 0.9;
}

.featured-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-side-item {
    display: flex;
    gap: 15px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.featured-side-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.side-img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    flex-shrink: 0;
}

.side-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-category {
    color: var(--gold);
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.side-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

.side-date {
    font-size: 0.7rem;
    color: #888;
}

/* ============================================
   MATCHS SECTION
   ============================================ */

.matchs-section {
    padding: 80px 0;
    background: var(--white);
}

.featured-match {
    margin-bottom: 60px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
}

.featured-match:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.featured-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

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

.featured-match:hover .featured-image img {
    transform: scale(1.08);
}

.featured-match-content {
    padding: 40px;
}

.featured-match-date {
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.featured-match-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.featured-match-excerpt {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

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

.match-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.match-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.card-content {
    padding: 25px;
}

.card-date {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   JOUEURS SECTION
   ============================================ */

.players-section {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.player-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    cursor: pointer;
}

.player-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.player-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--gray);
}

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

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

.player-info {
    padding: 25px;
    text-align: center;
}

.player-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.player-position {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.player-bio {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

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

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

.btn-dark {
    background: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.btn-dark:hover {
    background: transparent;
    color: var(--black);
    border-color: var(--black);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--black-light) 100%);
    color: var(--white);
    padding: 60px 0 20px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* ============================================
   FORMULAIRES
   ============================================ */

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--black);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 30px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--black);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--gold);
}

.modal-body {
    padding: 30px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .featured-news {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .featured-title {
        font-size: 1.3rem;
    }

    .featured-match-title {
        font-size: 1.3rem;
    }

    nav ul {
        gap: 1rem;
    }

    nav a {
        font-size: 0.85rem;
    }

    .matchs-grid {
        grid-template-columns: 1fr;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .featured-title {
        font-size: 1.1rem;
    }

    .featured-content {
        padding: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    nav ul {
        gap: 0.5rem;
    }

    nav a {
        font-size: 0.75rem;
    }
}

/* ============================================
   UTILITAIRES
   ============================================ */

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

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-white {
    color: var(--white);
}

.bg-gold {
    background: var(--gold);
}

.bg-black {
    background: var(--black);
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.p-20 {
    padding: 20px;
}

.p-40 {
    padding: 40px;
}

.shadow {
    box-shadow: var(--shadow);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}
