/* =====================================================
 * CSS Réserver Logement - Base (Section, Fonctionnalités, Boutons)
 * ===================================================== */

/* =====================================================
 * SECTION RÉSERVATION
 * ===================================================== */
.reservation-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 20px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.reservation-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    opacity: 0.03;
    animation: float 12s ease-in-out infinite;
}

.reservation-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -15%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--dynasty-accent), var(--dynasty-luxury-gold));
    border-radius: 50%;
    opacity: 0.02;
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    50% {
        transform: translateY(-30px) rotate(5deg) scale(1.05);
    }
}

.reservation-container {
    max-width: 1920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.reservation-content {
    animation: slideInLeft 0.8s ease-out;
}

.reservation-visual {
    animation: slideInRight 0.8s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reservation-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    margin: 0 0 24px 0;
    background: var(--primary-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    position: relative;
}

.reservation-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.6;
    font-weight: 500;
}

/* =====================================================
 * GRID DES FONCTIONNALITÉS
 * ===================================================== */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 40px 0;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 20px 20px 0 0;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin: 0 0 20px 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-primary);
}

.feature-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
 * BADGE PROMO
 * ===================================================== */
.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--dynasty-warning), var(--dynasty-luxury-gold));
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 20px;
    margin: 0 0 24px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* =====================================================
 * BOUTONS D'ACTION
 * ===================================================== */
.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-gradient);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--glass-bg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--text-primary);
}

