/* ========================================
   Riverfront Inn — Classic & Elegant
   Burgundy + Blush Palette
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --burgundy: #6B1D2A;
    --burgundy-dark: #4A1419;
    --burgundy-light: #8B2E3F;
    --blush: #F5E6E0;
    --blush-light: #FBF4F1;
    --blush-dark: #E8D0C8;
    --cream: #FDF8F5;
    --charcoal: #2C2420;
    --charcoal-light: #4A3F3A;
    --warm-gray: #7A6E68;
    --warm-gray-light: #A89A94;
    --gold: #C49A6C;
    --gold-light: #D4B08A;
    --white: #FFFFFF;
    --shadow-sm: 0 1px 3px rgba(107, 29, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(107, 29, 42, 0.1);
    --shadow-lg: 0 8px 40px rgba(107, 29, 42, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

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

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--burgundy-light);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--charcoal);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 4px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background-color: var(--burgundy-dark);
    border-color: var(--burgundy-dark);
    color: var(--white);
}

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

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

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

/* --- Section Headers --- */
.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--charcoal);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--warm-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 29, 42, 0.1);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--burgundy);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.nav-logo:hover {
    color: var(--burgundy-dark);
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--burgundy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--charcoal-light);
}

.nav-links a:hover {
    color: var(--burgundy);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--burgundy);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--burgundy);
    transition: all var(--transition);
}

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

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: 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 --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--burgundy-dark);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 20, 25, 0.85) 0%,
        rgba(107, 29, 42, 0.7) 50%,
        rgba(44, 36, 32, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-title-accent {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--blush);
    margin-top: 8px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin: 24px auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.8); }
}

/* --- Intro Section --- */
.intro {
    padding: 100px 0;
    background-color: var(--cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.intro-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.intro-text .section-title {
    margin-bottom: 24px;
}

.intro-text p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.intro-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--charcoal);
    font-weight: 400;
}

.intro-feature svg {
    color: var(--burgundy);
    flex-shrink: 0;
}

/* --- Rooms Section --- */
.rooms {
    padding: 100px 0;
    background-color: var(--blush-light);
}

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

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

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

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

.room-content {
    padding: 28px;
}

.room-name {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.room-content p {
    color: var(--warm-gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.room-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.room-features li {
    font-size: 0.8rem;
    color: var(--charcoal-light);
    background-color: var(--blush);
    padding: 4px 12px;
    border-radius: 20px;
}

/* --- Amenities Section --- */
.amenities {
    padding: 100px 0;
    background-color: var(--cream);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
}

.amenity-card {
    padding: 36px;
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(107, 29, 42, 0.08);
    transition: all var(--transition);
}

.amenity-card:hover {
    border-color: var(--burgundy);
    box-shadow: var(--shadow-md);
}

.amenity-icon {
    color: var(--burgundy);
    margin-bottom: 20px;
}

.amenity-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

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

/* --- Gallery Strip --- */
.gallery-strip {
    overflow: hidden;
    padding: 0;
    background-color: var(--burgundy-dark);
}

.gallery-scroll {
    display: flex;
    gap: 16px;
    padding: 48px 0;
    animation: galleryScroll 40s linear infinite;
}

.gallery-scroll:hover {
    animation-play-state: paused;
}

@keyframes galleryScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.gallery-item {
    flex-shrink: 0;
    width: 500px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Location Section --- */
.location {
    padding: 100px 0;
    background-color: var(--blush-light);
}

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

.location-text .section-title {
    margin-bottom: 24px;
}

.location-text p {
    color: var(--warm-gray);
    margin-bottom: 16px;
    font-size: 1.02rem;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.location-detail svg {
    color: var(--burgundy);
    flex-shrink: 0;
    margin-top: 2px;
}

.location-detail strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.location-detail span,
.location-detail a {
    color: var(--warm-gray);
    font-size: 0.95rem;
}

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

.location-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background: linear-gradient(
        135deg,
        var(--burgundy-dark) 0%,
        var(--burgundy) 50%,
        var(--burgundy-light) 100%
    );
    text-align: center;
}

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

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

.cta .section-title {
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--burgundy);
    border-color: var(--white);
}

.cta .btn-primary:hover {
    background-color: var(--blush);
    border-color: var(--blush);
    color: var(--burgundy-dark);
}

.cta-info {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
    background-color: var(--charcoal);
    padding: 64px 0 32px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

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

.footer-links h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Mobile Menu --- */
@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .intro-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rooms-grid,
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gallery-item {
        width: 300px;
        height: 210px;
    }

    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .intro,
    .rooms,
    .amenities,
    .location,
    .cta {
        padding: 64px 0;
    }

    .hero-content {
        padding: 100px 16px 60px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .gallery-scroll {
        animation: none;
    }
}
