/* ============================================
   SIERRA MOTEL — Bold Editorial Style
   Deep Navy + Warm Gold Palette
   ============================================ */

/* CSS Custom Properties */
:root {
    --navy-950: #0a1628;
    --navy-900: #0f2140;
    --navy-800: #162d54;
    --navy-700: #1e3d6e;
    --navy-600: #2a5298;
    --gold-500: #d4a017;
    --gold-400: #e6b422;
    --gold-300: #f0c94d;
    --gold-200: #f7da80;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px rgba(10, 22, 40, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(10, 22, 40, 0.08), 0 2px 4px -2px rgba(10, 22, 40, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(10, 22, 40, 0.08), 0 4px 6px -4px rgba(10, 22, 40, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(10, 22, 40, 0.1), 0 8px 10px -6px rgba(10, 22, 40, 0.06);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-2xl);
    }
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy-950);
}

/* Eyebrow */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: var(--space-md);
}

/* Section Title */
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 560px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--gold-500);
    color: var(--navy-950);
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
    background-color: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

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

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gold-400);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 160, 23, 0.4);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background-color: rgba(212, 160, 23, 0.1);
    border-color: var(--gold-500);
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

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

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

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

@media (min-width: 1024px) {
    .nav-links {
        display: flex;
    }
    .nav-toggle {
        display: none;
    }
}

/* Mobile Nav */
@media (max-width: 1023px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: var(--navy-900);
        flex-direction: column;
        align-items: stretch;
        padding: var(--space-xl);
        gap: var(--space-md);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-links.open {
        transform: translateY(0);
    }
    
    .nav-link {
        font-size: 1rem;
        padding: var(--space-sm) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .nav-cta {
        justify-content: center;
        margin-top: var(--space-sm);
    }
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/34888194/pexels-photo-34888194.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-5xl) var(--space-xl);
    max-width: 800px;
}

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

.hero-headline {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.08;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.025em;
}

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

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

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

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

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

.room-card {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.room-info {
    padding: var(--space-2xl);
}

.room-info h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.room-info > p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.room-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.room-features li {
    font-size: 0.875rem;
    color: var(--gray-700);
    padding-left: var(--space-lg);
    position: relative;
}

.room-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 6px;
    height: 6px;
    background-color: var(--gold-500);
    border-radius: 50%;
}

@media (min-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .room-card {
        grid-template-columns: 1fr 1fr;
    }
    
    .room-image img {
        height: 100%;
        min-height: 320px;
    }
}

/* ============================================
   AMENITIES
   ============================================ */
.amenities {
    padding: var(--space-5xl) 0;
    background-color: var(--navy-950);
}

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

.amenities-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    min-height: 400px;
}

.amenities-content .section-title {
    color: #ffffff;
}

.amenities-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 480px;
}

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

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

.amenity-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: var(--radius-md);
    color: var(--gold-400);
}

.amenity-item h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-xs);
}

.amenity-item p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

@media (min-width: 1024px) {
    .amenities-split {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   LOCATION
   ============================================ */
.location {
    padding: var(--space-5xl) 0;
    background-color: var(--cream-100);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-map {
    min-height: 300px;
    background-color: var(--gray-200);
}

.location-info {
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

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

.location-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--navy-900);
    border-radius: var(--radius-md);
    color: var(--gold-400);
}

.location-detail h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-xs);
}

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

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

.location-cta {
    margin-top: var(--space-sm);
}

@media (min-width: 768px) {
    .location-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .location-map {
        min-height: 100%;
    }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: var(--space-5xl) 0;
    background-color: var(--navy-950);
}

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

.contact-content .section-title {
    color: #ffffff;
}

.contact-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 440px;
}

.contact-direct {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.contact-phone,
.contact-email {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gold-400);
    transition: color 0.2s ease;
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--gold-300);
}

.contact-divider {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-form-wrapper {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.form-group input,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: #ffffff;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-500);
    background-color: rgba(255, 255, 255, 0.08);
}

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

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl);
    text-align: center;
    color: var(--gold-400);
}

.form-success svg {
    color: var(--gold-400);
}

.form-success p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

.form-success.show {
    display: flex;
}

@media (min-width: 1024px) {
    .contact-inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-4xl);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--navy-900);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

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

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold-400);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: var(--gold-400);
    transition: color 0.2s ease;
}

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

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

/* ============================================
   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);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
}
