/* ============================================
   Spectacular Views — Hotel & Lodging Website
   Bold Editorial Style | Forest Green + Off-White
   ============================================ */

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

:root {
    --color-green-900: #0B1F18;
    --color-green-800: #1A3C34;
    --color-green-700: #234D42;
    --color-green-600: #2D6052;
    --color-green-500: #3A7D6A;
    --color-green-100: #D4E8DF;
    --color-green-50:  #EAF3EE;
    --color-cream:     #FAF8F5;
    --color-warm:      #F5F0E8;
    --color-white:     #FFFFFF;
    --color-text:      #1A1A18;
    --color-text-muted:#5C5C54;
    --color-text-light:#8A8A80;
    --color-border:    #E5E0D8;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-cream);
    -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 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---------- NAVIGATION ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(11, 31, 24, 0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-green-800);
    letter-spacing: -0.01em;
}

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

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
    letter-spacing: 0.01em;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-green-800);
    color: var(--color-white);
    padding: 0.75rem 1.75rem;
}

.btn-primary:hover {
    background: var(--color-green-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 60, 52, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--color-green-800);
    padding: 0.75rem 1.75rem;
    border: 1.5px solid var(--color-green-800);
}

.btn-outline:hover {
    background: var(--color-green-800);
    color: var(--color-white);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    padding: 1rem;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--color-green-900);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: var(--space-2xl);
    padding-bottom: var(--space-2xl);
}

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

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-green-500);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--color-white);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-lg);
}

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

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

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

.hero-actions .btn-primary {
    background: var(--color-white);
    color: var(--color-green-900);
}

.hero-actions .btn-primary:hover {
    background: var(--color-green-100);
}

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

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

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 70vh;
    height: 70dvh;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.hero-image-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--color-green-500);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
}

/* ---------- INTRO ---------- */
.intro {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.intro-content {
    max-width: 820px;
}

.intro-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-green-600);
    margin-bottom: var(--space-md);
}

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

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    max-width: 640px;
}

/* ---------- SECTION HEADERS ---------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-xl);
}

.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-green-600);
    margin-bottom: var(--space-sm);
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-green-900);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ---------- ROOMS ---------- */
.rooms {
    padding: var(--space-3xl) 0;
    background: var(--color-warm);
}

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

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 31, 24, 0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}

.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(11, 31, 24, 0.12);
}

.room-image {
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

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

.room-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-green-900);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.room-info p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.room-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.375rem 1rem;
}

.room-features li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-green-700);
    padding-left: 1.25rem;
    position: relative;
}

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

/* ---------- AMENITIES ---------- */
.amenities {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

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

.amenity-card {
    padding: var(--space-xl);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.amenity-card:hover {
    border-color: var(--color-green-200, #B8D8C8);
    box-shadow: 0 8px 24px rgba(11, 31, 24, 0.08);
}

.amenity-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green-50);
    border-radius: var(--radius-md);
    color: var(--color-green-700);
    margin-bottom: var(--space-md);
}

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

.amenity-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* ---------- LOCATION ---------- */
.location {
    padding: var(--space-3xl) 0;
    background: var(--color-green-900);
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: var(--space-xl);
    align-items: center;
}

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

.location-content .section-eyebrow {
    color: var(--color-green-500);
}

.location-content .section-headline {
    color: var(--color-white);
    text-align: left;
}

.location-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: var(--space-lg);
}

.location-highlights {
    list-style: none;
    margin-bottom: var(--space-xl);
}

.location-highlights li {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.625rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.location-highlights li:last-child {
    border-bottom: none;
}

.location-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-green-500);
    border-radius: 50%;
}

.location-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

/* ---------- CONTACT ---------- */
.contact {
    padding: var(--space-3xl) 0;
    background: var(--color-warm);
}

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

.contact-info .section-headline {
    text-align: left;
}

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

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

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

.contact-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-green-50);
    border-radius: var(--radius-md);
    color: var(--color-green-700);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-green-800);
    margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--color-green-700);
    text-decoration: underline;
}

/* ---------- FORM ---------- */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 2px 16px rgba(11, 31, 24, 0.06);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-cream);
    color: var(--color-text);
    transition: border-color var(--transition), background var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-green-500);
    background: var(--color-white);
}

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

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

.form-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--color-green-50);
    border: 1px solid var(--color-green-100);
    border-radius: var(--radius-sm);
    color: var(--color-green-800);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: var(--space-sm);
}

.form-success svg {
    color: var(--color-green-600);
    flex-shrink: 0;
}

/* ---------- FOOTER ---------- */
.footer {
    background: var(--color-green-900);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    color: var(--color-white);
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 320px;
}

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

.footer-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-address p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}

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

/* ---------- MOBILE NAV TOGGLE ---------- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-green-800);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

/* ---------- 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 {
        grid-template-columns: 1fr 0.6fr;
        gap: var(--space-lg);
    }

    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-container {
        grid-template-columns: 1fr 0.7fr;
    }

    .location-image img {
        height: 450px;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-lg) var(--space-xl);
        gap: var(--space-md);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        transition: right var(--transition);
    }

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

    .nav-menu a {
        font-size: 1.0625rem;
    }

    .btn-nav {
        margin-top: var(--space-sm);
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-2xl);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-content {
        padding-right: 0;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-image img {
        height: 45vh;
        height: 45dvh;
    }

    .hero-image-accent {
        display: none;
    }

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

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

    .location-container {
        grid-template-columns: 1fr;
    }

    .location-content {
        padding-right: 0;
    }

    .location-image img {
        height: 350px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        gap: var(--space-md);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2.125rem;
    }

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

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

    .room-features {
        grid-template-columns: 1fr;
    }
}
