﻿/* Modern Contact Page Styles */
:root {
    --primary: #d4af37;
    --primary-dark: #b8972e;
    --dark: #0a0a14;
    --light: #f8f9fa;
    --gray: #6c757d;
    --dark-bg: rgba(20, 20, 40, 0.9);
}

body {
    background-color: var(--dark);
    color: var(--light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/images/aviation-contact-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-overlay {
    margin-top: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(10, 10, 20, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--primary), #f4e5c2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Main Container */
.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Form Section */
.contact-form-section {
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

    .form-header h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .form-header p {
        color: var(--gray);
        font-size: 1rem;
    }

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

    .form-group.floating label {
        position: absolute;
        top: 1rem;
        left: 0;
        color: var(--gray);
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .form-group.floating input:focus ~ label,
    .form-group.floating input:not(:placeholder-shown) ~ label,
    .form-group.floating textarea:focus ~ label,
    .form-group.floating textarea:not(:placeholder-shown) ~ label {
        top: -0.5rem;
        left: 0;
        font-size: 0.8rem;
        color: var(--primary);
    }

.underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.4s ease;
}

.form-group.floating input:focus ~ .underline,
.form-group.floating textarea:focus ~ .underline {
    width: 100%;
}

.modern-form input,
.modern-form textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: var(--light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

    .modern-form input:focus,
    .modern-form textarea:focus {
        outline: none;
        border-bottom-color: var(--primary);
    }

.modern-form textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
    }

/* Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--dark-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.info-header {
    margin-bottom: 1.5rem;
}

    .info-header h3 {
        font-size: 1.5rem;
        color: var(--primary);
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }

.info-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.map-placeholder {
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
}

.info-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.highlight-item h4 {
    color: var(--primary);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--gray);
    margin: 0;
}

/* Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.spinner {
    width: 3rem;
    height: 3rem;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        height: 50vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 40vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-form-section,
    .info-card {
        padding: 1.5rem;
    }
}
