/* ================================
   CONTACT SECTION REDESIGN
================================ */

.contact {
    background: #0d161d;
    padding: 6rem 1rem;
    text-align: center;
}

.contact h2 {
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    color: #f5c98a;
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    max-width: 600px;
    margin: 0 auto 4rem;
    color: #a3b8c2;
    font-size: 1.1rem;
}

/* Unified Premium Layout Card */
.contact-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0; /* No gap! We are merging them into one card */
    background: #1a252f;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ================================
   LEFT: Form Block
================================ */
.contact-form {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #131c23; /* Slightly darker left side */
    justify-content: center;
}

.contact-form input,
.contact-form textarea {
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f5c98a;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 15px rgba(245, 201, 138, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6a8291;
}

.contact-form button {
    margin-top: 10px;
    padding: 16px;
    background: linear-gradient(135deg, #f5c98a 0%, #d4a362 100%);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    color: #0f1a20;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(245, 201, 138, 0.2);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(245, 201, 138, 0.4);
    filter: brightness(1.1);
}

/* ================================
   RIGHT: Contact Info & Map
================================ */
.contact-info {
    padding: 4rem 3rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    /* Subtle gold highlight overlay on the right side */
    background: linear-gradient(135deg, rgba(245, 201, 138, 0.04), transparent);
}

.contact-info h3 {
    color: #f5c98a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-info p {
    color: #b0c4cf;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-info p strong {
    color: #ffffff;
    font-weight: 600;
}

.contact-info .note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #6a8291;
    font-style: italic;
    margin-bottom: 2.5rem;
}

/* Embedded Map container */
.contact-map {
    margin-top: auto;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Sleek inner border */
}

/* Trick to make iframe fill strictly and support hover states */
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* Keeps map dark mode by default */
    filter: invert(90%) hue-rotate(180deg) contrast(1.1);
    transition: filter 0.4s ease;
    position: absolute;
    top: 0; left: 0;
}

.contact-map:hover iframe {
    filter: invert(0%); /* Restores bright map on hover */
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-form,
    .contact-info {
        padding: 3rem 2rem;
    }
    .contact-map {
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .contact-form,
    .contact-info {
        padding: 2.5rem 1.25rem;
    }
    .contact-form button {
        padding: 14px;
        font-size: 1rem;
    }
}
