/* 
 * Seynor Coaching - Style principal
 * Thème inspiré de GTA V pour Valorant
 */

/* Importer les variables et composants CSS */
@import url('variables.css');
@import url('components/backgrounds.css');
@import url('components/gta-animation.css');
@import url('components/animations.css');

/* Définition des gradients basés sur les variables */
:root {
    --gradient-dark: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-color-light) 100%);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color-light) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

/* Écran de chargement style GTA V */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: var(--transition-medium);
    overflow: hidden;
}

.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.map-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: blur(1px);
}

.agent-showcase {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.agent-image {
    max-height: 90%;
    max-width: 35%;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.5s ease;
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7));
}

.agent-image:nth-child(1) {
    position: absolute;
    top: 5%;
    left: 2%;
    transform: scale(0.85) rotate(-2deg);
}

.agent-image:nth-child(2) {
    position: absolute;
    top: 5%;
    right: 2%;
    transform: scale(0.85) rotate(2deg);
}

.agent-image:nth-child(3) {
    position: absolute;
    bottom: 5%;
    left: 2%;
    transform: scale(0.85) rotate(1deg);
}

.agent-image:nth-child(4) {
    position: absolute;
    bottom: 5%;
    right: 2%;
    transform: scale(0.85) rotate(-1deg);
}

.agent-image:nth-child(5) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.95;
    z-index: -1;
}

.loading-logo {
    position: relative;
    text-align: center;
    width: 80%;
    max-width: 600px;
    z-index: 1;
    background-color: rgba(15, 25, 35, 0.7);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}


.loading-logo h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

.loading-bar-container {
    width: 100%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.loading-bar {
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.loading-text {
    color: var(--accent-color);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .agent-image:nth-child(1),
    .agent-image:nth-child(3) {
        display: none;
    }
    
    .loading-logo {
        width: 90%;
        padding: 1.5rem;
    }
    
    .loading-logo h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .agent-image:nth-child(2),
    .agent-image:nth-child(4) {
        display: none;
    }
    
    .agent-image:nth-child(5) {
        opacity: 0.2;
    }
    
    .loading-logo {
        padding: 1rem;
    }
    
    .loading-logo h1 {
        font-size: 2rem;
    }
}

/* Structure principale */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header et navigation */
header {
    background-color: rgba(15, 25, 35, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

nav a {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0.8rem;
    right: 0.8rem;
    height: 2px;
    background-color: var(--primary-color);
}

.btn-client {
    background-color: var(--primary-color);
    color: var(--text-color) !important;
    padding: 0.5rem 1.2rem !important;
    border-radius: 4px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-client:hover {
    background-color: #e63e4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 70, 85, 0.3);
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: #e63e4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 70, 85, 0.3);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Page d'accueil */
.home-main {
    flex: 1;
}

.hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 5%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

/* Section agents populaires */
.featured-agents {
    padding: 5rem 2rem;
    background-color: var(--secondary-color);
}

.featured-agents h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.featured-agents h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.agent-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.agent-card {
    width: 220px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-fast);
    cursor: pointer;
}

.agent-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.agent-image {
    height: 280px;
    overflow: hidden;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-fast);
}

.agent-card:hover .agent-image img {
    transform: scale(1.05);
}

.agent-info {
    padding: 1.2rem;
    text-align: center;
}

.agent-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.agent-info p {
    color: var(--primary-color);
    font-weight: 500;
}

/* Section coaching preview */
.coaching-preview {
    padding: 5rem 2rem;
    background-color: var(--background-color);
    position: relative;
}

.coaching-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.coaching-content h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
}

.coaching-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.coaching-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature {
    width: 250px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-fast);
}

.feature:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.1);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature p {
    color: var(--accent-color);
    font-size: 0.95rem;
}

/* Section témoignages */
.testimonials {
    padding: 5rem 2rem;
    background-color: var(--secondary-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 1rem;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: var(--primary-color);
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial {
    padding: 2rem;
}

.testimonial-content {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-rank {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.author-rank img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--text-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-color);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--accent-color);
    max-width: 300px;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column a {
    color: var(--accent-color);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-column i {
    margin-right: 0.5rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .agent-cards {
        gap: 1.5rem;
    }
    
    .agent-card {
        width: 200px;
    }
    
    .agent-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
    }
    
    .hero {
        height: auto;
        padding: 5rem 1rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .featured-agents h2,
    .coaching-content h2,
    .testimonials h2 {
        font-size: 2rem;
    }
    
    .coaching-features {
        gap: 1.5rem;
    }
    
    .feature {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .agent-cards {
        gap: 1rem;
    }
    
    .agent-card {
        width: 150px;
    }
    
    .agent-image {
        height: 200px;
    }
    
    .testimonial-content {
        padding: 1.5rem;
    }
}
