/* ============================================
   KA MAKANI BED AND BREAKFAST
   Clean Minimalist · Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy: #0a1628;
    --navy-light: #132240;
    --navy-mid: #1a2d4a;
    --gold: #c8a45e;
    --gold-light: #d4b76e;
    --gold-pale: #f0e2be;
    --cream: #faf8f4;
    --cream-dark: #f3efe8;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --line: rgba(10, 22, 40, 0.1);
    --line-strong: rgba(10, 22, 40, 0.2);
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Montserrat', -apple-system, sans-serif;
    
    --max-width: 1200px;
    --header-h: 80px;
    --radius: 4px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--navy);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    z-index: 1000;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 1.5rem;
}

.text-gold {
    color: var(--gold);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    max-width: 520px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-desc {
    margin: 0 auto;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--gold {
    background: var(--gold);
    color: var(--navy);
}

.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(200, 164, 94, 0.3);
}

.btn--dark {
    background: var(--navy);
    color: var(--white);
}

.btn--dark:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--large {
    padding: 1.25rem 3rem;
    font-size: 0.8rem;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(250, 248, 244, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    transition: color var(--transition);
}

.site-header.scrolled .logo {
    color: var(--navy);
}

.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--gold);
}

.logo--light {
    color: var(--white);
}

/* NAV */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.main-nav a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a:hover {
    color: var(--gold);
}

.site-header.scrolled .main-nav a {
    color: var(--text-mid);
}

.site-header.scrolled .main-nav a:hover {
    color: var(--navy);
}

/* HAMBURGER */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 110;
}

.nav-toggle .hamburger {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: all var(--transition);
}

.nav-toggle.is-active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.is-active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.site-header.scrolled .nav-toggle .hamburger {
    background: var(--navy);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 22, 40, 0.55) 0%,
        rgba(10, 22, 40, 0.45) 50%,
        rgba(10, 22, 40, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding-top: var(--header-h);
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-headline .text-gold {
    font-style: italic;
    color: var(--gold);
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll svg {
    width: 20px;
    height: 20px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- ABOUT ---------- */
.about {
    padding: 8rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 750px;
    object-fit: cover;
    border-radius: var(--radius);
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-content p {
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    font-size: 1rem;
    line-height: 1.85;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--navy);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ---------- ROOMS ---------- */
.rooms {
    padding: 8rem 0;
    background: var(--white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.room-card {
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
}

.room-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.room-info {
    padding: 2.5rem;
    background: var(--cream);
    border: 1px solid var(--line);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.room-name {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.room-desc {
    color: var(--text-mid);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    list-style: none;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

.room-features li {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-mid);
    letter-spacing: 0.05em;
}

.room-features li::before {
    content: '·';
    margin-right: 0.5rem;
    color: var(--gold);
}

/* ---------- EXPERIENCE ---------- */
.experience {
    padding: 8rem 0;
    background: var(--navy);
}

.experience .section-eyebrow {
    color: var(--gold);
}

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

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.exp-item {
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: border-color var(--transition), background var(--transition);
}

.exp-item:hover {
    border-color: rgba(200, 164, 94, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.exp-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.exp-icon svg {
    width: 100%;
    height: 100%;
}

.exp-item h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.exp-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* ---------- GALLERY STRIP ---------- */
.gallery-strip {
    overflow: hidden;
    padding: 0;
}

.gallery-scroll {
    display: flex;
    gap: 0;
}

.gallery-scroll img {
    flex: 1;
    height: 300px;
    object-fit: cover;
    transition: flex var(--transition);
    min-width: 0;
}

.gallery-scroll img:hover {
    flex: 1.5;
}

/* ---------- LOCATION ---------- */
.location {
    padding: 8rem 0;
    background: var(--white);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.location-info .section-title {
    margin-bottom: 1.5rem;
}

.location-info > p {
    color: var(--text-mid);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.location-details {
    font-style: normal;
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--line);
}

.location-details p {
    font-size: 0.95rem;
}

.location-details .phone a {
    color: var(--gold);
    font-weight: 500;
    transition: color var(--transition);
}

.location-details .phone a:hover {
    color: var(--gold-light);
}

.location-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.highlight-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.highlight-dist {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.location-map {
    border-radius: var(--radius);
    overflow: hidden;
    height: 500px;
    border: 1px solid var(--line);
}

.location-map iframe {
    width: 100%;
    height: 100%;
}

/* ---------- CTA ---------- */
.cta {
    padding: 8rem 0;
    background: var(--cream);
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.cta .section-title {
    margin-bottom: 1.25rem;
}

.cta-text {
    color: var(--text-mid);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-contacts {
    margin-bottom: 3rem;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy);
    transition: color var(--transition);
}

.cta-phone:hover {
    color: var(--gold);
}

.cta-phone svg {
    width: 22px;
    height: 22px;
    color: var(--gold);
}

/* FORM */
.cta-form {
    text-align: left;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--line);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 0.875rem 1rem;
    transition: border-color var(--transition);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

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

.cta-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.form-note {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

.form-success {
    text-align: center;
    padding: 3rem;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--line);
}

.form-success svg {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin: 0 auto 1rem;
}

.form-success p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--navy);
    padding: 5rem 0 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 2;
}

.footer-contact p {
    margin-bottom: 0.25rem;
}

.footer-contact a {
    color: var(--gold);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.35);
    transition: color var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* ---------- SCROLL REVEAL (below fold only) ---------- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid {
        gap: 3rem;
    }
    
    .experience-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image img {
        height: 450px;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .location-map {
        height: 350px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 70px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        padding: 6rem 2.5rem 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    }
    
    .main-nav.is-open {
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .main-nav a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.85rem;
    }
    
    .main-nav a:hover {
        color: var(--gold) !important;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .about-stats {
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .gallery-scroll img {
        height: 200px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .about,
    .rooms,
    .experience,
    .location,
    .cta {
        padding: 5rem 0;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .room-info {
        padding: 1.75rem;
    }
}
