/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Section Labels ── */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #D4A017;
    background: linear-gradient(135deg, rgba(212,160,23,0.12), rgba(212,160,23,0.05));
    padding: 0.4em 1em;
    border-radius: 100px;
    border: 1px solid rgba(212,160,23,0.25);
}
.section-label-light {
    color: #fcd34d;
    background: rgba(252,211,77,0.12);
    border-color: rgba(252,211,77,0.25);
}
.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 600;
    color: #3a1a32;
    line-height: 1.15;
}
.section-title-light { color: #ffffff; }
.section-desc {
    font-size: 1.05rem;
    color: #7B3F66;
    line-height: 1.7;
}
.section-desc-light { color: rgba(255,255,255,0.75); }

/* ── Hero ── */
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,26,50,0.55) 0%, rgba(58,26,50,0.35) 50%, rgba(58,26,50,0.7) 100%); }
.hero-pattern { position: absolute; inset: 0; }
.hero-content { padding-top: 80px; }
.hero-title { text-shadow: 0 2px 40px rgba(0,0,0,0.3); }
.hero-subtitle { text-shadow: 0 1px 8px rgba(0,0,0,0.2); }
.hero-buttons { gap: 1rem; }
.hero-scroll { animation: fadeInUp 1s 1.5s both; }
.scroll-indicator { opacity: 0.7; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ── Buttons ── */
.btn-primary {
    box-shadow: 0 4px 20px rgba(212,160,23,0.3);
}
.btn-primary:hover {
    box-shadow: 0 8px 32px rgba(212,160,23,0.4);
}
.btn-secondary {
    backdrop-filter: blur(8px);
}

/* ── Navbar ── */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
    background: rgba(254,252,243,0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 1px 20px rgba(123,63,102,0.08);
}
.nav-logo-text { transition: color 0.4s ease; }
#navbar.scrolled .nav-logo-text { color: #3a1a32; }
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A017;
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
#navbar.scrolled .nav-link { color: #7B3F66; }
#navbar.scrolled .nav-link:hover { color: #D4A017; }

/* ── Mobile Menu ── */
.mobile-link { position: relative; padding-left: 0; }
.mobile-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: #D4A017;
    border-radius: 2px;
    transition: height 0.2s ease;
}
.mobile-link:hover::before { height: 80%; }

/* ── Room Cards ── */
.room-card {
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.room-card:hover {
    transform: translateY(-6px);
}
.room-img-wrapper { position: relative; }
.room-img { transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }

/* ── Experience Cards ── */
.experience-card {
    padding: 1.5rem;
    border-radius: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}
.experience-card:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-4px);
}

/* ── Map Container ── */
.map-container {
    box-shadow: 0 20px 60px rgba(123,63,102,0.15);
}
.map-container iframe {
    filter: saturate(0.8) contrast(1.05);
    transition: filter 0.3s ease;
}
.map-container:hover iframe {
    filter: saturate(1) contrast(1);
}

/* ── Form ── */
#contact-form input,
#contact-form textarea {
    background: #fefcf3;
}
#contact-form input:focus,
#contact-form textarea:focus {
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

/* ── Utility ── */
@media (max-width: 767px) {
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .scroll-reveal { opacity: 1; transform: none; }
}
