/* ========================================
   SOLANO INN — Editorial Hotel Website
   Palette: Deep Navy (#0f1c3f) + Warm Gold (#c8a45a)
   Fonts: Playfair Display + Inter
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0f1c3f;
    --navy-light: #1a2d56;
    --navy-dark: #091228;
    --gold: #c8a45a;
    --gold-light: #d4b76e;
    --gold-dark: #b08d3f;
    --cream: #faf8f4;
    --cream-dark: #f2ede4;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #5a5a5a;
    --text-light: #8a8a8a;
    --radius: 4px;
    --radius-lg: 8px;
    --shadow-sm: 0 1px 3px rgba(15, 28, 63, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 28, 63, 0.1);
    --shadow-lg: 0 8px 40px rgba(15, 28, 63, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

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

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    color: var(--navy);
    margin-bottom: 24px;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
    padding: 0;
}

.site-header.scrolled {
    background: rgba(15, 28, 63, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

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

.logo-icon {
    color: var(--gold);
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition);
    position: relative;
}

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

.nav-menu a:hover {
    color: var(--white);
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    transition: var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--gold-light) !important;
    transform: translateY(-1px);
}

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

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ========================================
   HERO — Split Layout
   ======================================== */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-content {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: var(--white);
    line-height: 1.0;
    margin-bottom: 28px;
    font-weight: 800;
}

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

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.04em;
}

.hero-feature svg {
    color: var(--gold);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
}

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

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

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-header .section-headline {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.room-card-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.room-card-image 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-image img {
    transform: scale(1.04);
}

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

.room-card-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

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

.room-card-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.room-card-amenities li {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy);
    background: var(--cream);
    padding: 6px 12px;
    border-radius: 20px;
}

.rooms-cta {
    text-align: center;
    padding: 40px;
    background: var(--navy);
    border-radius: var(--radius-lg);
}

.rooms-cta p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin-bottom: 20px;
}

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

.rooms-cta .btn:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience {
    padding: 120px 0;
    background: var(--navy);
}

.experience-header {
    text-align: center;
    margin-bottom: 72px;
}

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

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.experience-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition);
}

.experience-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(200, 164, 90, 0.3);
    transform: translateY(-2px);
}

.experience-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-item h3 {
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* ========================================
   LOCATION SECTION
   ======================================== */
.location {
    padding: 120px 0;
    background: var(--cream);
}

.location-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.location-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 28px;
}

.location-address svg {
    color: var(--gold);
    flex-shrink: 0;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.location-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: var(--text-muted);
}

.location-detail svg {
    color: var(--gold);
    flex-shrink: 0;
}

.location-detail a {
    color: var(--navy);
    font-weight: 500;
    transition: color var(--transition);
}

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

.location-image {
    position: relative;
}

.location-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.location-image-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.location-image-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream);
}

.location-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

.contact-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact-method:hover {
    background: var(--cream-dark);
}

.contact-method a {
    color: inherit;
}

.contact-method a:hover {
    color: var(--gold-dark);
}

.contact-method-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}

.contact-method-value {
    font-size: 1rem;
    color: var(--navy);
    font-weight: 500;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-wrap {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.form-title {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 32px;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--white);
    border: 1.5px solid rgba(15, 28, 63, 0.12);
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

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

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

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

.form-success {
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--gold);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 12px;
}

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

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--navy-dark);
    padding: 80px 0 0;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

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

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ========================================
   SCROLL REVEAL (below fold only)
   ======================================== */
.reveal {
    opacity: 1;
    transform: none;
    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: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-split {
        gap: 40px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-split {
        gap: 60px;
    }
    
    .contact-wrapper {
        gap: 60px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-top > *:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right var(--transition);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.8);
    }
    
    .nav-toggle {
        display: block;
    }
    
    /* Hero mobile */
    .hero {
        padding-top: 72px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-headline {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        justify-content: center;
    }
    
    .hero-image-frame {
        max-width: 500px;
        width: 100%;
    }
    
    .hero-image-accent {
        display: none;
    }
    
    /* Rooms mobile */
    .rooms {
        padding: 80px 0;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Experience mobile */
    .experience {
        padding: 80px 0;
    }
    
    .experience-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Location mobile */
    .location {
        padding: 80px 0;
    }
    
    .location-split {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .location-image {
        order: -1;
    }
    
    .location-image-secondary {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 16px;
        border-color: var(--cream);
    }
    
    /* Contact mobile */
    .contact {
        padding: 80px 0;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer mobile */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-top > *:nth-child(3) {
        grid-column: auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .section-headline {
        font-size: 2rem;
    }
}

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