/* Contact Page Specific Styles */

.contact-hero {
    background: linear-gradient(rgba(0, 102, 204, 0.85), rgba(0, 102, 204, 0.85)), 
                url('../images/contact/contact-hero.jpg') center/cover;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.contact-hero .hero-overlay {
    width: 100%;
}

/* Quick Contact Cards */
.quick-contact-cards {
    margin-top: 3rem;
}

.quick-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 1.5rem;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    height: 100%;
    backdrop-filter: blur(10px);
}

.quick-contact-card:hover {
    background: rgba(255,255,255,0.2);
    border-color: white;
    transform: translateY(-5px);
    text-decoration: none;
    color: white;
}

.quick-contact-card i {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.quick-contact-card span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.contact-info-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-detail {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.info-note {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Department Cards */
.department-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: var(--transition);
    border: 1px solid #e9ecef;
}

.department-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.dept-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

.department-card h5 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.department-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.dept-contact {
    margin-bottom: 1.5rem;
}

.dept-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.dept-contact i {
    color: var(--primary-color);
    width: 20px;
}

/* Map Section */
.map-container {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.map-overlay {
    padding: 2rem;
}

.map-overlay i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-overlay h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-overlay p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Contact Form */
.form-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    border: 1px solid #e9ecef;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    color: var(--text-dark);
    font-weight: 600;
}

.form-header p {
    color: var(--text-light);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

.form-control.is-invalid {
    border-color: var(--danger);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    border: 1px solid #e9ecef;
    margin-bottom: -1px;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
}

.accordion-body {
    background: white;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 50vh;
    }
    
    .quick-contact-card {
        padding: 1rem;
    }
    
    .quick-contact-card i {
        font-size: 1.5rem;
    }
    
    .contact-info-card {
        padding: 1.5rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .department-card {
        padding: 1.5rem;
    }
    
    .dept-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}

/* Animation for elements */
.contact-hero .animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

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

/* Success/Error message styling */
.alert {
    border: none;
    border-radius: 0;
    margin-bottom: 0;
}

.alert-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
}

/* Loading state for submit button */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Enhanced focus states */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25), 0 0 10px rgba(0, 102, 204, 0.1);
}

/* Hover effects for cards */
.contact-info-card:hover .info-icon,
.department-card:hover .dept-icon {
    transform: scale(1.1);
}

/* Smooth transitions */
.quick-contact-card,
.contact-info-card,
.department-card,
.form-card {
    transition: all 0.3s ease;
}

/* WhatsApp specific styling */
.btn-success {
    background: #25d366;
    border-color: #25d366;
}

.btn-success:hover {
    background: #128c7e;
    border-color: #128c7e;
}

/* Department specific colors */
.dept-icon[data-dept="bookings"] {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.dept-icon[data-dept="partnerships"] {
    color: #6f42c1;
    background: rgba(111, 66, 193, 0.1);
}

.dept-icon[data-dept="support"] {
    color: #fd7e14;
    background: rgba(253, 126, 20, 0.1);
}

/* Custom scrollbar for textarea */
textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Floating labels effect */
.form-floating > label {
    color: var(--text-light);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--primary-color);
}

/* Print styles */
@media print {
    .quick-contact-cards,
    .map-container {
        display: none;
    }
}