/* ============================================
   HI LI MOTEL — STYLES
   Burgundy + Blush · Vibrant Modern
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --burgundy: #7B2033;
    --burgundy-dark: #5C1A28;
    --burgundy-deeper: #3D1019;
    --blush: #FADADD;
    --blush-light: #FFF5F5;
    --blush-mid: #F8C8D0;
    --cream: #FFFAF8;
    --white: #FFFFFF;
    --dark: #1A0A0E;
    --dark-soft: #2D1520;
    --gray: #6B5260;
    --gray-light: #9E8090;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(123, 32, 51, 0.08);
    --shadow-md: 0 8px 30px rgba(123, 32, 51, 0.12);
    --shadow-lg: 0 20px 60px rgba(123, 32, 51, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    background: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.15;
    font-weight: 700;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- SCROLL REVEAL (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 248, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 32, 51, 0.08);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(255, 250, 248, 0.95);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--burgundy);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-logo-accent {
    color: var(--burgundy);
}

.nav-logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--blush);
    border-radius: 50%;
    margin-left: 4px;
    border: 2px solid var(--burgundy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark);
    border-radius: 100px;
    transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
    background: var(--blush);
    color: var(--burgundy);
}

.nav-cta {
    background: var(--burgundy) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
}

.nav-cta:hover {
    background: var(--burgundy-dark) !important;
    color: var(--white) !important;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        width: 100%;
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }

    .nav-cta {
        margin-top: 12px;
        text-align: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 10, 14, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--burgundy-deeper);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 16, 25, 0.88) 0%,
        rgba(123, 32, 51, 0.75) 50%,
        rgba(92, 26, 40, 0.65) 100%
    );
}

.hero-shape {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.hero-shape--tl {
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: var(--blush);
    border-radius: 50%;
    opacity: 0.12;
}

.hero-shape--br {
    bottom: -120px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: var(--burgundy);
    border-radius: 50%;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blush);
    background: rgba(250, 218, 221, 0.15);
    border: 1px solid rgba(250, 218, 221, 0.3);
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.08;
}

.hero-headline-accent {
    color: var(--blush);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 250, 248, 0.8);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 250, 248, 0.5);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(250, 218, 221, 0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 32, 51, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 250, 248, 0.4);
}

.btn--ghost:hover {
    background: rgba(255, 250, 248, 0.1);
    border-color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--blush);
    border-color: var(--blush);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn--full {
    width: 100%;
    justify-content: center;
}

.btn--lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* --- STRIPE --- */
.stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--burgundy) 0%, var(--blush) 50%, var(--burgundy) 100%);
}

/* --- SECTION COMMON --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* --- ROOMS --- */
.rooms {
    padding: 100px 0;
    background: var(--cream);
}

.rooms .section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.room-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.room-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.room-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.room-card:hover .room-card-img img {
    transform: scale(1.05);
}

.room-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--burgundy);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 100px;
}

.room-card-badge--blush {
    background: var(--blush-mid);
    color: var(--burgundy-dark);
}

.room-card-body {
    padding: 28px;
}

.room-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 20px;
}

.room-card-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.room-card-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark-soft);
}

.room-card-amenities svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

.rooms-note {
    text-align: center;
    font-size: 0.88rem;
    color: var(--gray-light);
}

@media (max-width: 900px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    .rooms {
        padding: 70px 0;
    }
}

/* --- WHY --- */
.why {
    position: relative;
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.why-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-text {
    max-width: 440px;
}

.why-desc {
    font-size: 1.05rem;
    color: var(--gray);
    line-height: 1.75;
}

.why-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-feature {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.why-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 16px;
}

.why-feature-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-feature-desc {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

.why-shape {
    position: absolute;
    pointer-events: none;
}

.why-shape--circle {
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: var(--blush);
    border-radius: 50%;
    opacity: 0.3;
}

.why-shape--rect {
    bottom: -40px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: var(--burgundy);
    border-radius: var(--radius-xl);
    opacity: 0.06;
    transform: rotate(25deg);
}

@media (max-width: 900px) {
    .why-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .why-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .why-features {
        grid-template-columns: 1fr;
    }
    .why {
        padding: 70px 0;
    }
}

/* --- AREA --- */
.area {
    position: relative;
    padding: 100px 0;
    background: var(--burgundy);
    overflow: hidden;
}

.area-bg-shape {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--blush);
    border-radius: 50%;
    opacity: 0.07;
    pointer-events: none;
}

.area-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.area-content .section-tag {
    color: var(--blush);
}

.area-content .section-title {
    color: var(--white);
}

.area-desc {
    font-size: 1.05rem;
    color: rgba(255, 250, 248, 0.75);
    line-height: 1.75;
    margin-bottom: 32px;
}

.area-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.area-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
}

.area-list-icon {
    width: 28px;
    height: 28px;
    background: rgba(250, 218, 221, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blush);
    flex-shrink: 0;
}

.area-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 420px;
}

.area-gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.area-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.area-gallery-item:hover img {
    transform: scale(1.05);
}

.area-gallery-item--lg {
    grid-row: 1 / 3;
}

@media (max-width: 900px) {
    .area-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .area-gallery {
        height: 300px;
        order: -1;
    }
    .area {
        padding: 70px 0;
    }
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 100px 0;
    background: var(--blush);
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    pointer-events: none;
}

.cta-shape--1 {
    top: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: var(--burgundy);
    border-radius: 50%;
    opacity: 0.08;
}

.cta-shape--2 {
    bottom: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: var(--burgundy);
    border-radius: var(--radius-xl);
    opacity: 0.06;
    transform: rotate(30deg);
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 36px;
    line-height: 1.7;
}

/* --- CONTACT --- */
.contact {
    padding: 100px 0;
    background: var(--cream);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    max-width: 480px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 36px 0;
}

.contact-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    background: var(--burgundy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-detail-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-light);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.6;
}

.contact-phone:hover {
    color: var(--burgundy);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-form-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: var(--radius);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success-icon {
    width: 64px;
    height: 64px;
    background: var(--burgundy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin: 0 auto 20px;
}

.form-success-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success-text {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .contact-info {
        max-width: 100%;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact {
        padding: 70px 0;
    }
}

/* --- FOOTER --- */
.footer {
    position: relative;
    background: var(--dark);
    color: var(--white);
    padding: 72px 0 32px;
    overflow: hidden;
}

.footer-shape {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--burgundy), var(--blush), var(--burgundy));
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--white);
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo-accent {
    color: var(--blush);
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 250, 248, 0.5);
    max-width: 280px;
    line-height: 1.65;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-nav a {
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 250, 248, 0.7);
    padding: 6px 0;
    border-bottom: 1px solid transparent;
    transition: color var(--transition), border-color var(--transition);
}

.footer-nav a:hover {
    color: var(--blush);
    border-color: var(--blush);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 250, 248, 0.1);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 250, 248, 0.4);
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
