/* ========== BASE & RESET ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FDFBF7; color: #0A2E4A; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 { font-weight: 400; line-height: 1.1; }
p { margin: 0; }
img, video { max-width: 100%; height: auto; display: block; }

/* ========== SECTION LEAD ========== */
.section-lead {
    display: block;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #14B8A6;
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
}
.btn-primary:hover {
    background: #0D9488;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}
.btn-primary:focus-visible {
    outline: 2px solid #5EEAD4;
    outline-offset: 2px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #0F4C75;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.875rem 1.75rem;
    border-radius: 1rem;
    text-decoration: none;
    border: 1.5px solid rgba(15, 76, 117, 0.25);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-secondary:hover {
    background: rgba(15, 76, 117, 0.06);
    border-color: rgba(15, 76, 117, 0.5);
    transform: translateY(-1px);
}
.btn-secondary:focus-visible {
    outline: 2px solid #14B8A6;
    outline-offset: 2px;
}
.hero .btn-secondary {
    color: #fff;
    border-color: rgba(255,255,255,0.25);
}
.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* ========== INPUTS ========== */
.input-field {
    font-family: inherit;
    font-size: 0.9375rem;
    color: #0A2E4A;
    background: #FDFBF7;
    border: 1.5px solid #D5E5F0;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.input-field::placeholder { color: #9BBFCF; }
.input-field:focus {
    border-color: #5EEAD4;
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.15);
    outline: none;
    background: #fff;
}
.input-field:invalid:not(:placeholder-shown) {
    border-color: #F87171;
}

/* ========== VALUE CARDS ========== */
.value-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(15, 76, 117, 0.06);
    box-shadow: 0 2px 12px rgba(15, 76, 117, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 76, 117, 0.1);
}
.value-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #F0FDFA;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== ROOM CARDS ========== */
.room-card {
    background: #FDFBF7;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid rgba(15, 76, 117, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(15, 76, 117, 0.1);
}
.room-img-wrap {
    position: relative;
}

/* ========== AMENITY CARDS ========== */
.amenity-card {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.75rem;
    border: 1px solid rgba(15, 76, 117, 0.06);
    box-shadow: 0 2px 10px rgba(15, 76, 117, 0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}
.amenity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 76, 117, 0.09);
}
.amenity-icon {
    transition: transform 0.3s;
}
.amenity-card:hover .amenity-icon {
    transform: scale(1.08);
}

/* ========== CONTACT CARDS ========== */
.contact-card {
    border-radius: 1rem;
    padding: 0.5rem 0;
    text-decoration: none;
}
.contact-card:not(:first-child) {
    border-top: 1px solid rgba(15, 76, 117, 0.08);
}

/* ========== NAVBAR ========== */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(15, 76, 117, 0.06), 0 4px 20px rgba(15, 76, 117, 0.06);
}
#navbar.scrolled .font-serif { color: #0F4C75 !important; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #14B8A6;
    border-radius: 1px;
    transition: width 0.3s;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ========== MOBILE MENU ========== */
#mobile-menu.open {
    translate: 0 0;
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu.closed {
    translate: 0 -10px;
    opacity: 0;
    pointer-events: none;
}
.mobile-nav-link {
    position: relative;
    text-decoration: none;
}
.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #14B8A6;
    transition: width 0.3s;
}
.mobile-nav-link:hover::after { width: 100%; }

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0%, 100% { top: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-dot { animation: none; opacity: 1; top: 0; }
    html { scroll-behavior: auto; }
    .room-img { transition: none; }
    .value-card, .room-card, .amenity-card { transition: none; }
    .value-card:hover, .room-card:hover, .amenity-card:hover { transform: none; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .font-serif { line-height: 1.15; }
    .btn-primary, .btn-secondary { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
}
