/* ============================================
   ROCKY HILL B&B — Editorial Style Stylesheet
   Palette: Plum + Amber
   Fonts: Cormorant Garamond + Manrope
============================================ */

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

:root {
    --plum-50:  #fdf2f8;
    --plum-100: #fce7f3;
    --plum-200: #fbcfe8;
    --plum-300: #f9a8d4;
    --plum-400: #f472b6;
    --plum-500: #ec4899;
    --plum-600: #db2777;
    --plum-700: #be185d;
    --plum-800: #9d174d;
    --plum-900: #831843;
    --plum-950: #500724;
    
    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;
    --amber-800: #92400e;
    --amber-900: #78350f;
    
    --cream: #faf8f5;
    --warm-gray: #6b6560;
    --dark: #1a1412;
    --dark-plum: #2a1520;
    
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Manrope', -apple-system, sans-serif;
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 1px 3px rgba(26, 20, 18, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 20, 18, 0.1);
    --shadow-lg: 0 12px 40px rgba(26, 20, 18, 0.15);
}

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

body {
    font-family: var(--font-sans);
    color: var(--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: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

em {
    font-style: italic;
    font-family: var(--font-serif);
}

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

.section-eyebrow--light {
    color: var(--amber-300);
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--dark);
    margin-bottom: 24px;
}

.section-title--light {
    color: #fff;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 520px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn--amber {
    background: var(--amber-500);
    color: var(--dark);
    border-color: var(--amber-500);
}

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

.btn--light {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

.btn--light:hover {
    background: var(--amber-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn--dark {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

.btn--dark:hover {
    background: var(--plum-900);
    border-color: var(--plum-900);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn--small {
    padding: 10px 20px;
    font-size: 0.8rem;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--plum-800);
    color: var(--amber-300);
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.site-header.scrolled .logo-mark {
    background: var(--plum-800);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.site-header.scrolled .logo-text {
    color: var(--dark);
}

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

.main-nav a:not(.btn) {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

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

.main-nav a:not(.btn):hover {
    color: #fff;
}

.site-header.scrolled .main-nav a:not(.btn) {
    color: var(--warm-gray);
}

.site-header.scrolled .main-nav a:not(.btn):hover {
    color: var(--dark);
}

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

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-header.scrolled .mobile-toggle span {
    background: var(--dark);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        url('https://images.pexels.com/photos/36285704/pexels-photo-36285704.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') 
        center center / cover no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(80, 7, 36, 0.82) 0%,
        rgba(147, 51, 234, 0.55) 40%,
        rgba(180, 83, 9, 0.65) 100%
    );
    z-index: 1;
}

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

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

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    color: #fff;
    line-height: 1.05;
    margin-bottom: 28px;
    font-weight: 700;
}

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

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

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

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.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.4; transform: scaleY(0.6); }
}

/* ---------- INTRO ---------- */
.intro {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.intro-image-wrap:hover img {
    transform: scale(1.03);
}

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

.intro-text p {
    font-size: 1.05rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.feature-item svg {
    color: var(--plum-700);
    flex-shrink: 0;
    margin-top: 2px;
}

/* ---------- ROOMS ---------- */
.rooms {
    padding: 120px 0;
    background: #fff;
}

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

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

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

.room-card {
    background: var(--cream);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.room-card-image {
    overflow: hidden;
    aspect-ratio: 7/5;
}

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

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

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

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

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

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

.room-amenities li {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--plum-800);
    background: var(--plum-50);
    padding: 6px 12px;
    border-radius: 50px;
}

.rooms-cta {
    text-align: center;
    padding: 40px;
    background: var(--plum-950);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.rooms-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.rooms-cta .btn {
    margin: 0;
}

/* ---------- EXPERIENCE ---------- */
.experience {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.experience-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--plum-950) 0%,
        var(--dark-plum) 50%,
        var(--amber-900) 100%
    );
}

.experience-content {
    position: relative;
    z-index: 1;
}

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

.experience-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-top: 24px;
}

.experience-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.exp-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.exp-feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(251, 204, 192, 0.12);
    border: 1px solid rgba(251, 204, 192, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--amber-300);
}

.exp-feature-text h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.exp-feature-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

/* ---------- GALLERY ---------- */
.gallery {
    padding: 0 0 120px;
    background: var(--cream);
}

.gallery-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 auto;
    width: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    scroll-snap-align: start;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    transition: transform 0.5s ease;
}

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

/* ---------- LOCATION ---------- */
.location {
    padding: 120px 0;
    background: #fff;
}

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

.location-address {
    font-style: normal;
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
    margin: 24px 0;
}

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

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

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

.lh-label {
    color: var(--dark);
    font-weight: 500;
}

.lh-value {
    color: var(--plum-700);
    font-weight: 600;
}

.location-map {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ---------- CONTACT ---------- */
.contact {
    padding: 120px 0;
    background: linear-gradient(
        135deg,
        var(--plum-950) 0%,
        var(--dark-plum) 60%,
        var(--amber-900) 100%
    );
}

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

.contact-text .section-title {
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--amber-300);
    transition: color 0.3s ease;
}

.contact-phone:hover {
    color: var(--amber-200);
}

.contact-divider {
    color: rgba(255, 255, 255, 0.3);
}

.contact-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Contact Form */
.contact-form-wrap {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--amber-400);
    background: rgba(255, 255, 255, 0.12);
}

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

.form-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 16px;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

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

.form-success h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}

.form-success p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

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

.footer-brand .logo-text {
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    line-height: 1.6;
}

.footer-phone {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--amber-400);
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: var(--amber-300);
}

.footer-address {
    font-style: normal;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
    line-height: 1.6;
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    text-align: center;
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .intro-grid,
    .experience-grid,
    .location-grid,
    .contact-inner {
        gap: 48px;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

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

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

    .main-nav a:not(.btn) {
        color: var(--dark);
        font-size: 1.1rem;
    }

    .main-nav a:not(.btn)::after {
        background: var(--plum-700);
    }

    .intro-grid,
    .experience-grid,
    .location-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image-wrap {
        order: -1;
    }

    .rooms-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

    .contact-inner {
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .gallery-item {
        width: 300px;
    }

    .rooms-cta {
        flex-direction: column;
        text-align: center;
    }
}

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

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

    .intro,
    .rooms,
    .experience,
    .location,
    .contact {
        padding: 80px 0;
    }

    .gallery-item {
        width: 260px;
    }
}
