/* ==========================================
   CONTACT.CSS - Page Contact
   ==========================================

   Description: Styles pour la page contact
   Version: 2.0.0 - Aligné avec le style global

   Structure:
   1. Section Hero (style unifié)
   2. Cartes d'information
   3. Formulaire de contact
   4. Carte Google Maps
   5. Section réservation rapide

   ========================================== */

/* ==========================================
   1. SECTION HERO
   ========================================== */

/* NOTE: Les styles Hero sont gérés par components/hero.css
   Ne pas ajouter de styles Hero ici pour éviter la duplication. */

/* ==========================================
   2. SECTION CONTACT - Cartes d'information
   ========================================== */

.contact-section {
    background: #f8f9fa;
    padding: var(--spacing-3xl) 0;
}

.contact-info-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all var(--transition-base);
    height: 100%;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.contact-info-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-bottom-color: var(--primary-color);
}

.contact-info-card:hover::before {
    opacity: 1;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.contact-info-card:hover .contact-icon {
    transform: scale(1.15) rotate(10deg);
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.35);
}

.contact-info-card h3 {
    font-size: var(--fs-xl);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.contact-info-card p {
    color: var(--medium-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

/* ==========================================
   3. FORMULAIRE DE CONTACT
   ========================================== */

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: var(--spacing-xl);
    position: relative;
    padding-bottom: var(--spacing-md);
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Inputs modernisés */
.form-control,
.form-select {
    border: 2px solid #e8ecef;
    background-color: #f8fafb;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    font-size: 1rem;
    color: var(--dark-color);
    transition: all var(--transition-base);
    font-family: var(--font-primary);
}

.form-control:focus,
.form-select:focus {
    background-color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
    outline: none;
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

/* Bouton d'envoi */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 16px 40px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.4);
}

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

/* Messages de succès/erreur */
.alert {
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.alert-success {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.2);
    color: var(--secondary-color);
}

.alert-danger {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.2);
    color: #d32f2f;
}

/* ==========================================
   4. CARTE GOOGLE MAPS
   ========================================== */

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 500px;
    border: 6px solid var(--white);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.15) contrast(1.05);
    transition: filter 0.5s ease;
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* ==========================================
   5. SECTION RÉSERVATION RAPIDE
   ========================================== */

.quick-booking-section {
    background: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.quick-booking-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.4;
}

.quick-booking-section h2 {
    color: var(--white) !important;
    font-size: var(--fs-3xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.booking-form {
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.booking-form .form-control,
.booking-form .form-select {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    padding: 12px 20px;
}

.booking-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.booking-form .form-control:focus,
.booking-form .form-select:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2) !important;
}

.booking-form select option {
    background: #1a1a2e;
    color: var(--white);
}

.btn-custom--primary {
    background: var(--gradient-primary);
    border: none;
    padding: 16px 40px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.95rem;
    border-radius: 50px;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.4);
    transition: all var(--transition-base);
}

.btn-custom--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5);
}
