/* CSS SPÉCIFIQUE PAGE INDEX */

/* Section container styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    font-size: clamp(2rem, 4vw, 3rem);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    font-size: 1.1rem;
}

/* Hero specific animations */
.hero-content {
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Ambiance Grid */
.ambiance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-md);
    max-width: 1100px;
    margin: 0 auto;
}

.ambiance-card {
    background: rgba(26, 23, 20, 0.4);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 16px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease forwards;
    backdrop-filter: blur(5px);
}

.ambiance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.15), transparent);
    opacity: 0;
    transition: 0.6s ease;
}

.ambiance-card:hover::before {
    opacity: 1;
    animation: rotate 4s linear infinite;
}

.ambiance-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 165, 116, 0.5), transparent);
    transition: 0.5s;
}

.ambiance-card:hover::after {
    animation: shimmer 1.5s infinite;
}

.ambiance-card:hover {
    transform: translateY(-12px) scale(1.05);
    background: rgba(26, 23, 20, 0.7);
    border-color: var(--color-primary);
    box-shadow: 0 15px 50px rgba(212, 165, 116, 0.4),
                inset 0 0 20px rgba(212, 165, 116, 0.1);
}

.ambiance-card .card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 165, 116, 0.5));
    transition: all 0.4s ease;
    animation: icon-float 3s ease-in-out infinite;
}

.ambiance-card:hover .card-icon {
    transform: scale(1.3) rotate(10deg);
    filter: drop-shadow(0 0 25px rgba(212, 165, 116, 0.9));
    animation: icon-bounce 0.6s ease;
}

@keyframes icon-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes icon-bounce {
    0%, 100% {
        transform: scale(1.3) rotate(10deg) translateY(0);
    }
    50% {
        transform: scale(1.4) rotate(10deg) translateY(-5px);
    }
}

.ambiance-card h3 {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary);
    transition: all 0.3s ease;
    position: relative;
}

.ambiance-card:hover h3 {
    transform: translateY(-5px);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.6);
}

.ambiance-card p {
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.ambiance-card:hover p {
    color: var(--color-text-primary);
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { left: -50%; }
    100% { left: 150%; }
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .ambiance-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
}
