/* ---------- NAV BAR (STICKY) ---------- */
.navbar {
    height: 72px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 24px;
    z-index: 999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

body.content-ready .navbar {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- HERO ---------- */
.contact-hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-hero h1 {
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

body.content-ready .contact-hero h1 {
    opacity: 0.85;
    transform: translateY(0);
}

/* ---------- SCROLL ARROW ---------- */
.scroll-arrow {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    padding: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 90;
}

body.content-ready .scroll-arrow.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

body.content-ready .menu-overlay.active ~ .scroll-arrow.visible {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(8px);
}

.scroll-arrow:hover {
    transform: translateX(-50%) translateY(0) scale(1.03);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    animation: arrowPulse 1.6s ease-in-out infinite;
}

@keyframes arrowPulse {
    0% { transform: rotate(-45deg) scale(1); opacity: 0.85; }
    50% { transform: rotate(-45deg) scale(1.08); opacity: 1; }
    100% { transform: rotate(-45deg) scale(1); opacity: 0.85; }
}

/* ---------- PAGE LOADER ---------- */
#pageLoader {
    opacity: 1;
    transition: opacity 0.6s ease;
}

#pageLoader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ---------- FORM SECTION ---------- */
.contact-form-section {
    max-width: 1100px;
    margin: 10px auto 180px;
    padding: 0 20px;
    display: flex;
    justify-content: center;

    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-form-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-form {
    width: 100%;
    max-width: 520px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.contact-form.is-fading {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

/* ---------- THANK YOU ---------- */
.thank-you {
    width: 100%;
    max-width: 520px;
    margin: -60px auto 0;
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.thank-you.visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(-80px);
}

.thank-you img {
    width: 210px;
    margin-bottom: 22px;
}

.thank-you-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: none;
    margin-bottom: 10px;
}

.thank-you-subtitle {
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 0.4px;
}

/* ---------- FORM GRID ---------- */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 28px;
}

/* ---------- LABELS ---------- */
label {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 8px;
}

/* ---------- INPUTS ---------- */
input,
textarea {
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding: 6px 0;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom-color: #fff;
}

textarea {
    resize: vertical;
}

/* ---------- CUSTOM SELECT ---------- */
.custom-select {
    position: relative;
    padding: 8px 26px 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    cursor: pointer;
    user-select: none;
}

.custom-select:focus {
    outline: none;
    border-bottom-color: #fff;
}

.selected-value {
    font-size: 13px;
}

/* Arrow */
.select-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

/* Rotate when open */
.custom-select.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* Options list */
.select-options {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #000;
    border: 1px solid rgba(255,255,255,0.3);
    list-style: none;
    padding: 6px 0;
    margin: 0;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 50;
}

.custom-select.open .select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.select-options li {
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.select-options li:hover,
.select-options li.active {
    background: rgba(255,255,255,0.08);
}

/* ---------- PACKAGE OPTIONS ---------- */
.package-field {
    display: flex;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: max-height 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.package-field.visible {
    max-height: 200px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    transition-duration: 0.75s;
    transition-timing-function: ease;
}

.package-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    margin-top: 6px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    cursor: pointer;
    color: #fff;
}

.checkbox-item input {
    accent-color: #fff;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.package-error {
    min-height: 16px;
    font-size: 11px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffb3b3;
    margin-top: 8px;
}

/* ---------- SUBMIT BUTTON ---------- */
.submit-btn {
    margin-top: 20px;
    background: none;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 10px 26px;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: block;
}

.form-status {
    min-height: 18px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 12px;
    color: #c4f7c4;
}

.form-status.error {
    color: #ffb3b3;
}

.submit-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .contact-hero {
        height: 80vh;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        margin: 2px auto 160px;
    }

    .scroll-arrow {
        bottom: 24px;
    }
}

