/* Contact Page Styles */

.contact-hero {
    position: relative;
    padding: 160px 0 140px;
    background: linear-gradient(135deg, rgba(15, 42, 34, 0.9), rgba(22, 53, 44, 0.82)), url('https://images.unsplash.com/photo-1529074963764-98f45c47344b?w=1600');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

.contact-hero .hero-eyebrow {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.contact-hero h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--off-white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 42, 34, 0.08);
    border: 1px solid rgba(22, 53, 44, 0.06);
    position: sticky;
    top: 120px;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--medium-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details {
    display: grid;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.contact-item h3 {
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    line-height: 1.7;
}

.contact-item a {
    color: var(--primary-green);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.contact-item a:hover {
    border-color: rgba(22, 53, 44, 0.3);
}

.contact-highlight {
    margin-top: 1.5rem;
    padding: 2rem;
    background: var(--primary-green);
    border-radius: 16px;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(15, 42, 34, 0.15);
}

.contact-highlight h4 {
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.contact-highlight p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.contact-highlight .btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border-color: transparent;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 3.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(15, 42, 34, 0.08);
    border: 1px solid rgba(22, 53, 44, 0.06);
}

.trip-form h3 {
    margin-bottom: 2.5rem;
    font-weight: 500;
    color: var(--primary-green);
}

.trip-form h4 {
    margin-bottom: 1.75rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-divider {
    height: 1px;
    background: rgba(22, 53, 44, 0.06);
    margin: 3rem 0 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    margin-bottom: 2rem;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--medium-gray);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(22, 53, 44, 0.12);
    border-radius: 0;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: border-color 0.3s ease;
    background: transparent;
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-green);
    background: transparent;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 24px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(22, 53, 44, 0.3);
    font-weight: 300;
}

/* Airport Search Dropdown - Google Flights Style */
.airport-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: var(--white);
    border: 1px solid rgba(22, 53, 44, 0.08);
    border-radius: 8px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(15, 42, 34, 0.12);
    display: none;
    z-index: 10;
}

.airport-results.active {
    display: block;
}

/* City Group */
.city-group {
    border-bottom: 1px solid rgba(22, 53, 44, 0.06);
}

.city-group:last-child {
    border-bottom: none;
}

/* City Header */
.city-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.city-header:hover {
    background: rgba(22, 53, 44, 0.02);
}

/* Icons */
.location-icon,
.airplane-icon {
    flex-shrink: 0;
    fill: rgba(22, 53, 44, 0.5);
}

.collapse-icon {
    flex-shrink: 0;
    fill: rgba(22, 53, 44, 0.4);
    margin-left: auto;
    transition: transform 0.2s ease;
}

.collapse-icon.collapsed {
    transform: rotate(-90deg);
}

/* City Info */
.city-info {
    flex: 1;
    min-width: 0;
}

.city-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-gray);
}

.city-description {
    font-size: 0.85rem;
    color: rgba(22, 53, 44, 0.5);
    margin-top: 2px;
}

/* Airports List */
.airports-list {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: max-height 0.3s ease;
}

.airports-list.collapsed {
    max-height: 0;
    overflow: hidden;
}

/* Airport Item */
.airport-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 48px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-top: 1px solid rgba(22, 53, 44, 0.04);
}

.airport-item.standalone {
    padding-left: 16px;
}

.airport-item:hover {
    background: rgba(22, 53, 44, 0.03);
}

.airport-item:hover .airport-name {
    color: var(--primary-green);
}

/* Airport Info */
.airport-info {
    flex: 1;
    min-width: 0;
}

.airport-name {
    font-size: 0.9rem;
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.airport-code {
    font-weight: 600;
    margin-left: 4px;
}

.airport-distance,
.airport-description {
    font-size: 0.8rem;
    color: rgba(22, 53, 44, 0.5);
    margin-top: 2px;
}

/* No Results */
.no-results {
    padding: 20px 16px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(22, 53, 44, 0.5);
}

/* Scrollbar Styling */
.airport-results::-webkit-scrollbar {
    width: 8px;
}

.airport-results::-webkit-scrollbar-track {
    background: rgba(22, 53, 44, 0.02);
    border-radius: 4px;
}

.airport-results::-webkit-scrollbar-thumb {
    background: rgba(22, 53, 44, 0.15);
    border-radius: 4px;
}

.airport-results::-webkit-scrollbar-thumb:hover {
    background: rgba(22, 53, 44, 0.25);
}

.response-note {
    font-size: 0.85rem;
    color: rgba(22, 53, 44, 0.5);
    margin-top: 1.5rem;
    text-align: center;
    font-weight: 300;
}

.response-note a {
    color: var(--primary-green);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.response-note a:hover {
    border-bottom-color: var(--primary-green);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 90px 0;
    }

    .contact-form-container,
    .contact-info {
        padding: 2.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
}
