/* ============================================
   Lamplighter San Jose — Boutique Hotel Website
   Bold Editorial Style: Deep Navy + Warm Gold
   ============================================ */

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

:root {
    --navy-950: #0a0f1e;
    --navy-900: #0d1526;
    --navy-800: #111d35;
    --navy-700: #162038;
    --navy-600: #1a2744;
    --navy-500: #1e3052;
    --gold-500: #C9A962;
    --gold-400: #d4b878;
    --gold-300: #e0c990;
    --gold-600: #b8944f;
    --cream-50: #faf8f5;
    --cream-100: #f5f0e8;
    --cream-200: #ede5d8;
    --warm-gray-50: #f9f7f4;
    --warm-gray-100: #f2eeE7;
    --warm-gray-200: #e8e2d8;
    --warm-gray-600: #6b6560;
    --warm-gray-700: #4a4540;
    --warm-gray-800: #2d2a27;
    --white: #ffffff;
    --black: #0a0a0a;
    
    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(10, 15, 30, 0.08);
    --shadow-md: 0 4px 20px rgba(10, 15, 30, 0.1);
    --shadow-lg: 0 12px 40px rgba(10, 15, 30, 0.15);
    --shadow-xl: 0 24px 60px rgba(10, 15, 30, 0.2);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-body);
    color: var(--warm-gray-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.15);
    transition: var(--transition-base);
}

.navbar.scrolled {
    background: rgba(250, 248, 245, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

.nav-logo-icon {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--navy-900);
}

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

.nav-link--cta {
    background: var(--navy-900);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--navy-700);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy-900);
    transition: var(--transition-base);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.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: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO ---------- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--cream-50);
    padding-top: 72px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    flex: 1;
}

.hero-content {
    padding-right: var(--space-lg);
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

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

.hero-subtext {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 72vh;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-500);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: var(--warm-gray-600);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    letter-spacing: 0.01em;
}

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

.btn--gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 169, 98, 0.35);
}

.btn--ghost {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-900);
}

.btn--ghost:hover {
    background: var(--navy-900);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--navy-900);
    border-color: var(--navy-600);
}

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

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

.btn--white:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ---------- INTRO ---------- */
.intro {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.intro-content {
    max-width: 780px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
}

.intro-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: var(--space-md);
}

.intro-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-900);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--warm-gray-600);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-xl);
    background: var(--cream-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--cream-200);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-500);
}

.feature-icon {
    color: var(--gold-500);
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--warm-gray-600);
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: var(--space-md);
}

.section-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-900);
    letter-spacing: -0.02em;
}

/* ---------- ROOMS ---------- */
.rooms {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

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

.room-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.room-image {
    overflow: hidden;
}

.room-content {
    padding: var(--space-lg);
}

.room-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-600);
    background: rgba(201, 169, 98, 0.12);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.room-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: var(--space-sm);
}

.room-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-md);
}

.room-amenities {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.room-amenities li {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--warm-gray-700);
    background: var(--cream-50);
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--cream-200);
}

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

/* ---------- EXPERIENCE ---------- */
.experience {
    padding: var(--space-4xl) 0;
    background: var(--navy-900);
    color: var(--white);
    overflow: hidden;
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.experience .section-headline {
    color: var(--white);
    text-align: left;
    margin-bottom: var(--space-lg);
}

.experience-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.experience-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.experience-item-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-500);
    line-height: 1;
    flex-shrink: 0;
    width: 40px;
}

.experience-item h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-xs);
}

.experience-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.experience-images {
    position: relative;
}

.experience-img-main img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.experience-img-accent {
    position: absolute;
    bottom: -40px;
    left: -40px;
    border: 4px solid var(--navy-900);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.experience-img-accent img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ---------- LOCATION ---------- */
.location {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.location-text .section-eyebrow {
    text-align: left;
    margin-bottom: var(--space-md);
}

.location-text .section-headline {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.location-text-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--warm-gray-600);
    margin-bottom: var(--space-2xl);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.location-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
}

.location-icon {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    font-size: 1rem;
    color: var(--warm-gray-600);
    line-height: 1.6;
}

.location-detail a:hover {
    color: var(--gold-600);
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 480px;
}

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

/* ---------- CTA ---------- */
.cta {
    padding: var(--space-4xl) 0;
    background: var(--navy-900);
    text-align: center;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
}

.cta .section-eyebrow {
    color: var(--gold-400);
    margin-bottom: var(--space-md);
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-2xl);
}

.cta-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--navy-950);
    color: rgba(255, 255, 255, 0.6);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer-logo-icon {
    color: var(--gold-500);
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer p {
    font-size: 0.95rem;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-lg);
    text-align: center;
    font-size: 0.85rem;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-container {
        gap: var(--space-2xl);
    }
    
    .intro-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-layout {
        gap: var(--space-2xl);
    }
    
    .experience-img-main img {
        height: 480px;
    }
    
    .experience-img-accent {
        left: -20px;
        bottom: -20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 245, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid rgba(201, 169, 98, 0.15);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition-base), opacity var(--transition-base);
        pointer-events: none;
    }
    
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: var(--space-xl);
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 50vh;
    }
    
    .hero-image::before {
        top: -8px;
        right: -8px;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
    
    .experience-layout {
        grid-template-columns: 1fr;
    }
    
    .experience-images {
        order: -1;
    }
    
    .experience-img-main img {
        height: 360px;
    }
    
    .experience-img-accent {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: var(--space-md);
    }
    
    .experience-img-accent img {
        height: 220px;
    }
    
    .location-content {
        grid-template-columns: 1fr;
    }
    
    .location-map {
        min-height: 320px;
    }
    
    .location-map iframe {
        min-height: 320px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-tagline {
        margin: 0 auto;
    }
    
    .footer-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}
