/**
 * Styles pour la page d'accueil
 * Thème Valorant avec des sections dynamiques
 */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 25, 35, 0.7), rgba(15, 25, 35, 0.9));
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    color: var(--valorant-white);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: var(--valorant-white);
    opacity: 0.9;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Sections avec fond */
.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 25, 35, 0.8), rgba(15, 25, 35, 0.95));
}

.section-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--valorant-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--valorant-light-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Packs Section */
.featured-packs {
    position: relative;
    padding: 6rem 2rem;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Maps Section */
.featured-maps {
    position: relative;
    padding: 6rem 2rem;
}

.maps-carousel {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.map-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 400px;
}

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

.map-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: var(--valorant-white);
}

.map-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.map-info ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.map-info li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.map-info li::before {
    content: '•';
    color: var(--valorant-red);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: 6rem 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
    background-color: rgba(255, 255, 255, 0.08);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.rank-icon {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
}

.testimonial-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.9rem;
    color: var(--valorant-light-gray);
}

.testimonial-text {
    font-style: italic;
    line-height: 1.6;
    color: var(--valorant-white);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    color: var(--valorant-red);
    opacity: 0.3;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .hero-content p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 80vh;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta .btn {
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .packs-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .featured-packs, .featured-maps, .testimonials {
        padding: 4rem 1rem;
    }
}
