/* CSS Contact Page - L'Indien de Porquerolles */

.contact-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    min-height: calc(100vh - 120px);
}

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
    background: #204a71;
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 4px solid #204a71;
}

.contact-form-section h2 {
    color: #204a71;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-form-section h2 i {
    color: #204a71;
    font-size: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #204a71;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #204a71;
    width: 20px;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #204a71;
    background: white;
    box-shadow: 0 0 0 3px rgba(74, 103, 65, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

.btn-contact {
    background: linear-gradient(135deg, #204a71 0%, #204a71 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(74, 103, 65, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(74, 103, 65, 0.4);
    background: linear-gradient(135deg, #204a71 0%, #204a71 100%);
}

.btn-contact:active {
    transform: translateY(-1px);
}

.btn-contact.sending {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

.btn-contact .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-contact.sending .spinner {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.contact-info-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 4px solid #204a71;
    height: fit-content;
}

.contact-info-section h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-info-section h2 i {
    color: #204a71;
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-items {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    border-left: 4px solid #204a71;
}

.contact-items:hover {
    background: #e3f2fd;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-items-icon {
    background: linear-gradient(135deg, #204a71 0%, #204a71 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-items-content h3 {
    color: #204a71;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-items-content p {
    color: #204a71;
    font-size: 1rem;
    margin: 0;
    line-height: 1.4;
}

.contact-items-content a {
    color: #204a71;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-items-content a:hover {
    color: #204a71;
    text-decoration: underline;
}

.map-section {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-top: 4px solid #204a71;
}

.map-section h2 {
    color: #204a71;
    font-size: 2rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.map-section h2 i {
    color: #204a71;
    font-size: 1.8rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.success-message,
.error-message {
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-page-container {
        padding: 20px 15px;
    }
    
    .contact-hero {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .map-section {
        padding: 25px 20px;
    }
    
    .contact-form-section h2,
    .contact-info-section h2,
    .map-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .contact-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .map-section {
        padding: 20px 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }
    
    .btn-contact {
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
