/*
Theme Name: GTS-Theme
Theme URI: https://gimmethescore.com
Author: GimmeTheScore
Author URI: https://gimmethescore.com
Description: Thème personnalisé
Version: 1.0
*/

/* Variables & Reset */
:root {
    --primary-orange: #FF6600;
    --primary-orange-hover: #e65c00;
    --dark-bg: #111111;
    --dark-card: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #cccccc;
    --font-main: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-outline {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--dark-bg);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: linear-gradient(135deg, rgba(153, 61, 0, 0.95) 0%, rgba(80, 30, 0, 0.95) 100%);
    /* Dark Orange Gradient */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--primary-orange);
    /* Ambassador orange border */
    transition: all var(--transition-speed);
}

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

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

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #fff;
    /* Reverted to white */
}

/* Header Button Specifics */
.header-btn.btn-outline {
    border-color: #fff;
    color: #fff;
}

.header-btn.btn-outline:hover {
    background-color: #fff;
    color: var(--dark-bg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* REMPLACEZ L'URL CI-DESSOUS PAR CELLE DE VOTRE IMAGE HERO DEPUIS WORDPRESS */
    background-image: url('https://gimmethescore.com/wp-content/uploads/2025/12/hero-bg.jpg');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    margin-top: var(--header-height, 80px);
    /* padding-top removed, using margin on content instead */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(17, 17, 17, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    /* Push content down by header height */
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 300;
}

/* Sections General */
section {
    padding: 80px 0;
    scroll-margin-top: var(--header-height, 80px);
    /* Adjust scroll position for fixed header */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-desc {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 60px;
    font-size: 1.1rem;
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vision-card {
    background-color: var(--dark-card);
    padding: 0 0 40px 0;
    /* Adjusted padding */
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed);
    overflow: hidden;
    /* For image */
}

.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
}

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

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

.vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    padding: 0 30px;
}

.vision-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    padding: 0 30px;
}

/* Target Audience Section (New) */
.target-section {
    background-color: #161616;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.target-item {
    padding: 30px;
    border-left: 3px solid var(--primary-orange);
    background: linear-gradient(90deg, rgba(255, 102, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}

.target-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.target-item p {
    color: var(--text-gray);
}

/* Features Section (New) */
.features-section {
    /* REMPLACEZ L'URL CI-DESSOUS (même image que hero ou une autre) */
    background-image: url('https://gimmethescore.com/wp-content/uploads/2025/12/hero-bg.png');
    background-size: cover;
    background-attachment: fixed;
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #161616;
}

.features-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-check {
    color: var(--primary-orange);
    font-weight: bold;
}

/* Key Figures Section */
.stats-section {
    background: rgba(17, 17, 17, 0.9);
    text-align: center;
}

.stats-grid {
    display: grid;
    /* Changed to grid for better card layout */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.stat-card {
    background-color: var(--dark-card);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.4;
}

/* Logo Carousel */
.logo-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    margin-top: 40px;
    position: relative;
    background: transparent;
}

.logo-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    /* Increased duration for smoother checking */
    width: calc(150px * 18);
    /* 150px slide width * 18 slides (6 sets of 3) */
}

.slide {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
    /* Prevent shrinking on mobile */
}

.slide img {
    max-width: 100%;
    max-height: 80px;
    transition: all 0.3s ease;
    /* Removed grayscale filter */
}

.slide img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-150px * 3));
    }

    /* Move by width of ONE original set (3 slides) */
}

/* FAQ Section */
.faq-section {
    background-color: #161616;
    /* Alternating color */
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: all var(--transition-speed);
}

.faq-item.active {
    border-color: var(--primary-orange);
    background: rgba(255, 255, 255, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-main);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-orange);
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    /* Approximate max height */
    padding-bottom: 20px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Ambassador Section (New) */
.join-section {
    padding: 60px 0;
}

.join-box {
    background: linear-gradient(135deg, var(--dark-card) 0%, #222 100%);
    border: 1px solid var(--primary-orange);
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.join-box::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
}

.join-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.join-box p {
    color: var(--text-gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Why Now Section */
.why-now-section {
    background-color: var(--dark-bg);
}

.why-now-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.why-now-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-gray);
}

/* Join Section */
.join-section {
    text-align: center;
    padding: 100px 0;
    background-color: var(--dark-bg);
    /* Alternating back to dark-bg */
}

.join-form {
    max-width: 500px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    /* Changed to column for vertical layout */
    gap: 15px;
}

.join-form input[type="email"],
.join-form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 20px;
    /* Slightly less rounded for textarea consistency */
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-speed);
    resize: vertical;
    /* Allow vertical resize only */
}

.join-form input[type="email"]:focus,
.join-form textarea:focus {
    border-color: var(--primary-orange);
}

.join-form button {
    align-self: center;
    /* Center the button */
    min-width: 200px;
}

/* Footer */
.site-footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--text-gray);
}

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

.separator {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.2);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        align-self: flex-start;
        /* Keep logo on the left or center if preferred, user said "below" implies stacking */
        width: 100%;
        justify-content: center;
        /* Center logo on mobile looks better usually, but let's stick to user request of stacking */
    }

    .header-btn {
        width: 100%;
        text-align: center;
        display: block;
    }

    .hero-title {
        font-size: 2.2rem;
        /* margin-top removed, handled by dynamic padding on section */
    }


    .join-form {
        flex-direction: column;
    }

    .join-form input[type="email"] {
        width: 100%;
    }

    .join-form button {
        width: 100%;
    }

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

    .ambassador-box {
        padding: 30px 20px;
    }
}

/* Legal Page Specifics */
.legal-section {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--dark-card);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content h2 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p,
.legal-content ul {
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

/* Floating Back Button */
.floating-back-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 2000;
    background-color: rgba(17, 17, 17, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.floating-back-btn:hover {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.floating-back-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .floating-back-btn {
        top: 20px;
        left: 20px;
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    .legal-content {
        padding: 20px;
    }
}