/* ============================================
   CONTACT - PAGE STYLES
   ============================================ */

@import url('../assets/css/global.css');

/* Hero */
.contact-hero {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("contact-hero.jpg");
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: calc(var(--navbar-height) * -1);
    padding-top: var(--navbar-height);
    position: relative; /* Ensure hero establishes text context if needed */
}

/* 
   OVERRIDE NAVBAR BEHAVIOR FOR THIS PAGE ONLY
   User Request: Navbar should NOT scroll with page (fixed at top relative to doc)
   and should NOT change color.
*/
body .navbar {
    position: absolute !important; /* Force absolute positioning */
    background: transparent !important; /* Force transparency */
    box-shadow: none !important;
    top: 0;
    left: 0;
    right: 0;
}

.contact-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-style: italic;
    font-size: 3.5rem;
    color: white;
    margin-bottom: 16px;
}

.contact-hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Content Layout */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Info Section Refined */
.info-card {
    background: var(--airbnb-light-gray);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--airbnb-border);
}

.info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 16px;
}

.info-address {
    font-size: 1.1rem;
    color: var(--airbnb-dark);
    line-height: 1.6;
    margin-bottom: 24px;
}

.info-link {
    display: inline-block;
    color: var(--eden-green-solid);
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
}

.info-link:hover {
    text-decoration: underline;
}

/* Form Section */
.contact-form {
    display: grid;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

input, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--airbnb-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--airbnb-dark);
}

input:focus, textarea:focus {
    outline: 2px solid var(--airbnb-dark);
    border-color: transparent;
}

button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}
