/* ========================================
   BULLWINKLE INN — Classic & Elegant
   Forest Green + Off-White Palette
======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --forest-deep: #1a3a2a;
    --forest: #2d5a3f;
    --forest-light: #3d7a56;
    --forest-muted: #4a8c64;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --warm-white: #fefdfb;
    --charcoal: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-medium: #3a3a3a;
    --text-light: #6a6a6a;
    --gold: #b8935a;
    --gold-light: #d4af70;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(26, 58, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 58, 42, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 58, 42, 0.12);
    --shadow-xl: 0 16px 60px rgba(26, 58, 42, 0.15);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --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: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    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;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ---------- Section Base ---------- */
.section {
    padding: 7rem 0;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

.section-lead {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--forest);
    color: var(--warm-white);
    border: 2px solid var(--forest);
}

.btn-primary:hover {
    background: var(--forest-deep);
    border-color: var(--forest-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--warm-white);
    border: 2px solid rgba(255, 253, 251, 0.6);
}

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

.btn-outline-dark {
    background: transparent;
    color: var(--forest);
    border: 2px solid var(--forest);
}

.btn-outline-dark:hover {
    background: var(--forest);
    color: var(--warm-white);
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 90, 63, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest-deep);
}

.logo-icon {
    color: var(--forest);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
    transition: color var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    color: var(--forest-deep);
    padding: 0.5rem;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--forest-deep);
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 58, 42, 0.88) 0%,
        rgba(26, 58, 42, 0.72) 50%,
        rgba(26, 58, 42, 0.55) 100%
    );
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 6rem;
}

.hero-content {
    max-width: 640px;
    margin-bottom: 4rem;
}

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

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
}

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

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(254, 253, 251, 0.8);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 2.5rem;
}

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

/* Floating Stat Cards */
.hero-stats {
    position: absolute;
    right: 2rem;
    bottom: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 3;
}

.stat-card {
    background: rgba(254, 253, 251, 0.95);
    backdrop-filter: blur(8px);
    padding: 1.25rem 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--forest-deep);
    line-height: 1.2;
}

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

.stat-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest);
    transition: color var(--transition);
}

.stat-phone:hover {
    color: var(--forest-deep);
}

/* ---------- About Section ---------- */
.about {
    background: var(--cream-light);
}

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

.about-images {
    position: relative;
    height: 700px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 6px solid var(--cream-light);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 1rem 0;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--forest);
}

.about-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* ---------- Rooms Section ---------- */
.rooms {
    background: var(--warm-white);
}

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

.room-card {
    background: var(--cream-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}

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

.room-img {
    height: 260px;
    overflow: hidden;
}

.room-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.room-info {
    padding: 2rem;
}

.room-name {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--forest-deep);
}

.room-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
}

.room-amenities li {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-muted);
    background: rgba(45, 90, 63, 0.08);
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* ---------- Amenities Section ---------- */
.amenities {
    background: var(--forest-deep);
    color: var(--warm-white);
}

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

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

.amenities .section-lead {
    color: rgba(254, 253, 251, 0.75);
}

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

.amenities-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.amenity-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.amenity-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(254, 253, 251, 0.1);
    border-radius: var(--radius-md);
    color: var(--gold-light);
}

.amenity-item h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--warm-white);
    margin-bottom: 0.35rem;
}

.amenity-item p {
    font-size: 0.95rem;
    color: rgba(254, 253, 251, 0.65);
    line-height: 1.6;
}

.amenities-visual {
    position: relative;
}

.amenity-visual-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.amenity-visual-card img {
    width: 100%;
    height: 650px;
    object-fit: cover;
}

.amenity-visual-quote {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(26, 58, 42, 0.95), transparent);
}

.amenity-visual-quote p {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--warm-white);
    line-height: 1.5;
}

/* ---------- Location Section ---------- */
.location {
    background: var(--cream-light);
}

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

.location-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.location-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.location-item svg {
    flex-shrink: 0;
    color: var(--forest);
    margin-top: 3px;
}

.location-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.location-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.location-item a {
    color: var(--forest);
    transition: color var(--transition);
}

.location-item a:hover {
    color: var(--forest-deep);
}

.location-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

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

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

/* ---------- CTA Section ---------- */
.cta {
    background: var(--forest);
    padding: 6rem 0;
}

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

.cta-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(254, 253, 251, 0.75);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--charcoal);
    color: rgba(254, 253, 251, 0.7);
    padding: 5rem 0 2rem;
}

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

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

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-contact p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-contact a {
    color: rgba(254, 253, 251, 0.8);
    transition: color var(--transition);
}

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

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

.footer-links a {
    font-size: 0.95rem;
    color: rgba(254, 253, 251, 0.6);
    transition: color var(--transition);
}

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

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

/* ---------- Mobile Menu ---------- */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(26, 58, 42, 0.5);
    backdrop-filter: blur(4px);
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--cream-light);
    z-index: 1001;
    padding: 6rem 2rem 2rem;
    transition: right var(--transition);
    box-shadow: var(--shadow-xl);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--forest-deep);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(45, 90, 63, 0.1);
    transition: color var(--transition);
}

.mobile-nav a:hover {
    color: var(--forest);
}

.mobile-nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: var(--forest-deep);
    padding: 0.5rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-stats {
        position: relative;
        right: auto;
        bottom: auto;
        flex-direction: row;
        margin-top: 2rem;
    }

    .stat-card {
        flex: 1;
    }

    .about-grid,
    .amenities-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-images {
        height: 500px;
        order: -1;
    }

    .amenities-visual {
        order: -1;
    }

    .amenity-visual-card img {
        height: 450px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 80px 0 4rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .stat-card {
        min-width: auto;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .location-map {
        min-height: 300px;
    }

    .location-map iframe {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .location-cta {
        flex-direction: column;
    }

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

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

@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;
    }
}
