/* --- Contact Header --- */
.contact-header {
    padding: 180px 5% 80px;
    text-align: center;
}
.contact-header h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--text-heading);
    transition: color 0.4s ease;
}
.header-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    transition: color 0.4s ease;
}

/* --- Contact Grid --- */
.contact-section {
    padding: 50px 5% 120px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left: Information */
.contact-info {
    padding-right: 40px;
    border-right: 1px solid var(--border-color);
    transition: border-color 0.4s ease;
}
.info-block {
    margin-bottom: 40px;
}
.info-block h3 {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 15px;
    font-family: var(--font-body);
    letter-spacing: 2px;
    text-transform: uppercase;
}
.info-block p {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: color 0.4s ease;
}
.social-links {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}
.social-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
}
.social-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.3s ease;
}
.social-links a:hover { color: var(--gold); }
.social-links a:hover::after { width: 100%; }

/* Right: Form (Premium Floating Label Design) */
.premium-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.input-group {
    position: relative;
    width: 100%;
}
.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
    font-size: 1.1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    transition: border-color 0.4s ease, color 0.4s ease;
    outline: none;
}
/* Specifically for select dropdown to look clean */
.input-group select {
    appearance: none;
    cursor: pointer;
}
.input-group select option {
    background-color: var(--bg-secondary);
    color: var(--text-main);
}

/* Floating Label Magic */
.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Active State: Input has focus OR has text typed in it */
.input-group input:focus ~ label,
.input-group input:valid ~ label,
.input-group select:focus ~ label,
.input-group select:valid ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:valid ~ label {
    top: -20px;
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Animated Bottom Line */
.input-group .line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--gold);
    transition: width 0.4s ease;
}
.input-group input:focus ~ .line,
.input-group select:focus ~ .line,
.input-group textarea:focus ~ .line {
    width: 100%;
}

.submit-btn {
    background: transparent;
    color: var(--text-heading);
    border: 1px solid var(--border-color);
    padding: 20px 40px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s ease;
    align-self: flex-start;
    margin-top: 20px;
}
.submit-btn:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--bg-primary); /* Swaps dynamically in dark/light mode */
}

/* --- Map / Break Section --- */
.map-section {
    width: 100%;
    height: 600px;
    position: relative;
}
.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
    transition: transform 10s linear;
}
.map-container:hover img {
    transform: scale(1.05);
}
.map-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}
.map-overlay-text h2 {
    font-size: 3.5rem;
    color: #fff !important; /* Always white over the map image */
    margin-bottom: 30px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- Animations --- */
.animate-fade-up { opacity: 0; transform: translateY(30px); transition: all 1s ease; }
.animate-fade-right { opacity: 0; transform: translateX(-40px); transition: all 1s ease; }
.animate-fade-left { opacity: 0; transform: translateX(40px); transition: all 1s ease; }
.in-view { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.4s; }

/* =========================================
   RESPONSIVE DESIGN (Contact Specific)
   ========================================= */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-info {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 40px;
    }
    .form-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .contact-header h1 {
        font-size: 3.5rem;
    }
    .map-section {
        height: 400px;
    }
    .map-overlay-text h2 {
        font-size: 2.5rem;
    }
}