/* Contact page — hero form + thank-you + map section */

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", "Inter", sans-serif;
    background-image: url("/web/jakarta.faces.resource/images/hero.jpg.xhtml");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    line-height: 1.6;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    padding: 0;
    transition: all 0.3s ease-in-out;
}

.nav-overlay.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 5px 0;
}

.contact-page {
    padding: 7.5rem 1.25rem 3rem;
    min-height: 60vh;
}

.contact-page__inner {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.contact-page__header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.contact-page__header h1 {
    font-size: clamp(1.85rem, 5vw, 2.5rem);
    color: #fff;
    margin: 0 0 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.contact-page__header p {
    margin: 0 auto;
    max-width: 28rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

/* Glass card form */
.glass-form {
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(8, 22, 48, 0.55);
    border-radius: 20px;
    padding: 2rem 1.75rem 1.5rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-field {
    margin-bottom: 1.35rem;
}

.contact-field__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.4rem;
}

/* PrimeFaces inputs — unified dark glass look */
.glass-form .ui-inputfield,
.glass-form input.ui-inputtext,
.glass-form textarea.ui-inputtextarea {
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.75rem 0.85rem !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: none !important;
}

.glass-form .ui-inputfield:focus,
.glass-form input.ui-inputtext:focus,
.glass-form textarea.ui-inputtextarea:focus {
    border-color: rgba(253, 209, 5, 0.85) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 0 0 3px rgba(253, 209, 5, 0.15) !important;
}

.glass-form .ui-inputfield::placeholder,
.glass-form input::placeholder,
.glass-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45) !important;
    font-weight: 400 !important;
}

.glass-form textarea.ui-inputtextarea {
    min-height: 140px !important;
    resize: vertical;
    line-height: 1.5 !important;
}

.contact-form-hint {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.contact-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
    padding-top: 0.25rem;
}

.glass-form .gold-button,
.glass-form .ui-button.gold-button {
    min-width: 10rem;
    padding: 0.85rem 2.25rem !important;
    border: none !important;
    border-radius: 9999px !important;
    background: linear-gradient(135deg, #fdd105, #f5a623) !important;
    color: #0f2748 !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(253, 209, 5, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-form .gold-button:hover,
.glass-form .ui-button.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(253, 209, 5, 0.45);
    background: linear-gradient(135deg, #ffe566, #fdd105) !important;
    color: #0f2748 !important;
}

/* Messages */
#contactForm .ui-messages,
#contactForm .ui-message {
    margin-bottom: 1rem;
}

#contactForm .ui-message-error,
#contactForm .ui-messages-error {
    background: rgba(220, 53, 69, 0.18) !important;
    border: 1px solid rgba(255, 120, 120, 0.45) !important;
    color: #ffb4b4 !important;
    padding: 0.85rem 1rem !important;
    border-radius: 10px !important;
    font-weight: 600;
}

#contactForm .ui-message-warn,
#contactForm .ui-messages-warn {
    background: rgba(253, 209, 5, 0.12) !important;
    border: 1px solid rgba(253, 209, 5, 0.4) !important;
    color: #ffe9a8 !important;
    border-radius: 10px !important;
}

.contact-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

/* Thank-you page */
.thankyou-wrap {
    max-width: 520px;
    margin: 8rem auto 4rem;
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    background: rgba(8, 22, 48, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.thankyou-wrap h1 {
    font-size: 2rem;
    margin: 0 0 1rem;
    color: #fdd105;
}

.thankyou-wrap p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.thankyou-wrap a {
    color: #fdd105;
    font-weight: 600;
    text-decoration: none;
}

.thankyou-wrap a:hover {
    text-decoration: underline;
}

/* Map section */
.location-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f7fb;
    font-family: "Inter", sans-serif;
    color: #183d71;
}

.location-title {
    font-size: 2.5rem;
    color: #183d71;
    font-weight: 800;
    margin-bottom: 30px;
}

.map-container-styled {
    position: relative;
    max-width: 1000px;
    height: 500px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(24, 61, 113, 0.15);
    border: 4px solid white;
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-buttons {
    margin-top: 25px;
    margin-bottom: 1.25rem;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #183d71;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.directions-btn:hover {
    background-color: #fdd105;
    color: #183d71;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .contact-page {
        padding-top: 6.5rem;
    }

    .glass-form {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .map-container-styled {
        height: 350px;
    }

    .location-title {
        font-size: 2rem;
    }
}
