/* Base styles */
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background-image: url("/web/jakarta.faces.resource/images/hero.jpg.xhtml");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 100vh;
    display: block; /* was flex, removed to allow natural scroll */
    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: 0px 0;
    transition: all 0.3s ease-in-out;
}

/* When scrolling */
.nav-overlay.scrolled {
    background: rgba(0, 0, 0, 0.85);
    padding: 5px 0;
}

/* Container for centering */
.container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    padding: 1rem;
}

.header {
    text-align: center;
    align-items: center;
    justify-content: center;
    padding: 30px 70px;
}

/* Align header text a little better */
.header h1 {
    font-size: 2.4rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.header p {
    max-width: 500px;
    margin: 0;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Glassy form — stronger blur + softer white */
.glass-form {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Button rounder to match screenshot */
.gold-button {
    border-radius: 40px;
    padding: 0.9rem;
}

.form-title {
    color: #ffd700;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Form elements - bottom border style */
.form-group {
    position: relative;
}

.bottom-border-input {
    width: 100%;
    padding: 0.8rem 0.5rem;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    background: transparent;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s ease;
}

.bottom-border-input:focus {
    border-bottom-color: #ffd700;
    background: rgba(255, 255, 255, 0.05);
}

textarea.bottom-border-input {
    min-height: 120px;
    resize: vertical;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    padding: 1rem;
}

textarea.bottom-border-input:focus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.05);
}

/* Button styles */
.gold-button {
    width: 100%;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #0f416c;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 1rem;
}

.gold-button:hover {
    background: linear-gradient(135deg, #FFA500, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Messages */
.ui-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
    font-weight: 600;
}

/* Success */
.ui-messages-info, .ui-message-info {
    background: rgba(0, 255, 127, 0.12);
    border: 1px solid rgba(0, 255, 127, 0.3);
    color: #00ff7f;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Error */
.ui-messages-error, .ui-message-error {
    background: rgba(255, 0, 0, 0.12);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff6b6b;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Placeholder styling */
.bottom-border-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 600;
}

#contactForm #message::placeholder {
    color: #000; /* black placeholder */
    font-size: 1rem;
    font-weight: 600;
}

textarea.bottom-border-input::placeholder {
    color: #000; /* black */
    font-size: 1rem;
    font-weight: 600;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        max-width: 90%;
    }

    .glass-form {
        padding: 2rem 1.5rem;
    }

    .header h1 {
        font-size: 2.2rem;
    }

    .form-title {
        font-size: 1.6rem;
    }
}

/* Animation for form elements */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeIn 0.5s ease forwards;
}

.form-group:nth-child(1) {
    animation-delay: 0.1s;
}

.form-group:nth-child(2) {
    animation-delay: 0.2s;
}

.form-group:nth-child(3) {
    animation-delay: 0.3s;
}

.form-group:nth-child(4) {
    animation-delay: 0.4s;
}

.gold-button {
    animation-delay: 0.5s;
}

 .location-section {
     text-align: center;
     padding: 60px 20px;
     background-color: #f9f9f9;
     font-family: 'Inter', sans-serif;
 }

.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;
    /* High quality shadow */
    box-shadow: 0 15px 35px rgba(24, 61, 113, 0.15);
    border: 4px solid white; /* Frame */
}

.google-map {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-buttons {
    margin-top: 25px;
}

.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) {
    .map-container-styled { height: 350px; }
    .location-title { font-size: 2rem; }
}

