/* ============================================
   Rockwood Inn — Styles
   Forest Green + Off-White | Clean Minimalist
   ============================================ */

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

:root {
    --forest: #1a3a2a;
    --forest-light: #2a5a42;
    --forest-dark: #0f2419;
    --off-white: #f5f2eb;
    --off-white-light: #faf8f4;
    --cream: #ece6d8;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #7a7a7a;
    --line: rgba(26, 58, 42, 0.12);
    --line-strong: rgba(26, 58, 42, 0.25);
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text-primary);
    background: var(--off-white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

.btn-outline-light {
    background: transparent;
    color: var(--off-white);
    border-color: rgba(245, 242, 235, 0.5);
}

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

.btn-dark {
    background: var(--forest);
    color: var(--off-white);
    border-color: var(--forest);
}

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(245, 242, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--off-white);
    transition: var(--transition);
}

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

.nav-logo-icon {
    color: inherit;
}

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

.nav-links a:not(.nav-phone) {
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(245, 242, 235, 0.8);
    transition: var(--transition);
    position: relative;
}

.nav.scrolled .nav-links a:not(.nav-phone) {
    color: var(--text-secondary);
}

.nav-links a:not(.nav-phone):hover {
    color: var(--off-white);
}

.nav.scrolled .nav-links a:not(.nav-phone):hover {
    color: var(--forest);
}

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

.nav-links a:not(.nav-phone):hover::after {
    width: 100%;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(245, 242, 235, 0.8);
    transition: var(--transition) !important;
    border: 1px solid rgba(245, 242, 235, 0.3);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
}

.nav.scrolled .nav-phone {
    color: var(--forest);
    border-color: var(--line-strong);
}

.nav-phone:hover {
    background: var(--off-white);
    color: var(--forest) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--off-white);
    transition: var(--transition);
    transform-origin: center;
}

.nav.scrolled .nav-toggle span {
    background: var(--forest);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--forest-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--off-white);
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--cream);
}

.mobile-menu-phone {
    font-size: 0.9rem;
    color: rgba(245, 242, 235, 0.6);
    letter-spacing: 0.06em;
    margin-top: 16px;
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 36, 25, 0.55) 0%,
        rgba(26, 58, 42, 0.45) 50%,
        rgba(15, 36, 25, 0.65) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(245, 242, 235, 0.7);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--off-white);
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    font-weight: 300;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: rgba(245, 242, 235, 0.8);
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 36px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 242, 235, 0.5);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Intro Strip --- */
.intro-strip {
    padding: 64px 0;
    border-bottom: 1px solid var(--line);
}

.intro-strip-inner {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.intro-divider {
    flex-shrink: 0;
    width: 1px;
    height: 48px;
    background: var(--forest);
    margin-top: 6px;
}

.intro-text {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 780px;
}

.intro-text strong {
    color: var(--forest);
    font-weight: 500;
}

/* --- Rooms --- */
.rooms {
    padding: 100px 0;
}

.rooms .container {
    max-width: 1200px;
}

.rooms-header {
    text-align: center;
    margin-bottom: 64px;
}

.rooms-header .section-subtitle {
    margin: 0 auto;
}

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

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

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

.room-card-img {
    overflow: hidden;
    aspect-ratio: 3/2;
}

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

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

.room-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.room-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.room-features li {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 6px 12px;
    background: var(--off-white);
    border-radius: 100px;
    color: var(--text-secondary);
}

/* --- Location --- */
.location {
    padding: 100px 0;
    background: var(--white);
}

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

.location-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 32px;
}

.location-list {
    list-style: none;
    margin-bottom: 36px;
}

.location-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9rem;
}

.location-list-label {
    color: var(--text-primary);
    font-weight: 400;
}

.location-list-value {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.location-map {
    position: relative;
}

.location-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    min-height: 500px;
}

.location-address-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.location-address-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.location-address-card span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- Amenities --- */
.amenities {
    padding: 100px 0;
}

.amenities-header {
    text-align: center;
    margin-bottom: 64px;
}

.amenities-header .section-subtitle {
    margin: 0 auto;
}

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

.amenity-card {
    padding: 36px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
    transition: var(--transition);
}

.amenity-card:hover {
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.amenity-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--forest);
    margin-bottom: 20px;
}

.amenity-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.amenity-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(15, 36, 25, 0.88) 0%,
        rgba(26, 58, 42, 0.78) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.cta-eyebrow {
    color: rgba(245, 242, 235, 0.6);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 300;
    line-height: 1.25;
    color: var(--off-white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1rem;
    color: rgba(245, 242, 235, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

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

.contact-detail {
    display: flex;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--forest);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-detail a:hover {
    color: var(--forest);
}

/* Form */
.contact-form-wrapper {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 300;
    padding: 12px 16px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    box-shadow: 0 0 0 3px rgba(26, 58, 42, 0.08);
}

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

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--forest);
    color: var(--off-white);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-top: 4px;
}

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

.form-success svg {
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--forest-dark);
    color: var(--off-white);
    padding: 64px 0 0;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--off-white);
    margin-bottom: 12px;
}

.footer-logo svg {
    color: var(--off-white);
}

.footer-tagline {
    font-size: 0.88rem;
    color: rgba(245, 242, 235, 0.5);
    line-height: 1.6;
}

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

.footer-links a {
    font-size: 0.88rem;
    color: rgba(245, 242, 235, 0.6);
    transition: var(--transition);
}

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

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

.footer-contact a {
    font-size: 0.88rem;
    color: rgba(245, 242, 235, 0.6);
    transition: var(--transition);
}

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

.footer-contact span {
    font-size: 0.85rem;
    color: rgba(245, 242, 235, 0.4);
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 242, 235, 0.1);
    padding: 24px 0;
}

.footer-bottom span {
    font-size: 0.78rem;
    color: rgba(245, 242, 235, 0.35);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .intro-strip-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .intro-divider {
        width: 48px;
        height: 1px;
        margin-top: 0;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .location-map {
        order: -1;
    }
    
    .location-map img {
        min-height: 300px;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
