/* ──────────────────────────────────────────
   Davis Cottages — Classic & Elegant Theme
   Plum + Amber palette, serif headings
   ────────────────────────────────────────── */

/* ── CSS Custom Properties ── */
:root {
    --plum-50:  #faf5f7;
    --plum-100: #f3e8ed;
    --plum-200: #e8d0d9;
    --plum-300: #d4a8b8;
    --plum-400: #b87a91;
    --plum-500: #96526b;
    --plum-600: #7B3F5B;
    --plum-700: #63324d;
    --plum-800: #4e283c;
    --plum-900: #3a1f2e;
    --plum-950: #231219;

    --amber-50:  #fffcf5;
    --amber-100: #fff8e6;
    --amber-200: #ffefc2;
    --amber-300: #ffe18a;
    --amber-400: #ffd14f;
    --amber-500: #f5b820;
    --amber-600: #d49a12;
    --amber-700: #a8770e;
    --amber-800: #7a540c;
    --amber-900: #52380a;

    --neutral-50:  #faf9f8;
    --neutral-100: #f5f4f2;
    --neutral-200: #e8e6e2;
    --neutral-300: #d4d0ca;
    --neutral-400: #a8a29a;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --neutral-950: #0c0a09;

    --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
    --font-sans:  'Raleway', 'Segoe UI', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(62, 31, 46, 0.06), 0 1px 2px rgba(62, 31, 46, 0.04);
    --shadow-md: 0 4px 16px rgba(62, 31, 46, 0.08), 0 2px 6px rgba(62, 31, 46, 0.05);
    --shadow-lg: 0 12px 40px rgba(62, 31, 46, 0.12), 0 4px 12px rgba(62, 31, 46, 0.07);
    --shadow-xl: 0 24px 60px rgba(62, 31, 46, 0.16), 0 8px 20px rgba(62, 31, 46, 0.09);

    --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;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
    color: var(--plum-600);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--plum-700); }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.25;
    color: var(--neutral-900);
}

p { color: var(--neutral-700); }
address { font-style: normal; }

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

/* ── Utility ── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--plum-500);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
    color: var(--neutral-900);
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
}

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn--primary {
    background: var(--plum-600);
    color: #fff;
    border-color: var(--plum-600);
}
.btn--primary:hover {
    background: var(--plum-700);
    border-color: var(--plum-700);
    color: #fff;
    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.12);
    border-color: #fff;
    color: #fff;
}

.btn--large {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ── NAVIGATION ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
    padding: 20px 0;
}
.nav.scrolled {
    background: rgba(255, 252, 245, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: color var(--transition);
}
.nav.scrolled .nav__logo { color: var(--plum-700); }
.nav__logo-icon { width: 24px; height: 24px; }

.nav__links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav__link {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--amber-400);
    transition: width var(--transition);
}
.nav__link:hover::after { width: 100%; }
.nav__link:hover { color: #fff; }

.nav.scrolled .nav__link { color: var(--neutral-700); }
.nav.scrolled .nav__link:hover { color: var(--plum-600); }
.nav.scrolled .nav__link::after { background: var(--plum-600); }

.nav__link--cta {
    background: var(--amber-500);
    color: var(--neutral-900) !important;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
    background: var(--amber-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    color: var(--neutral-900) !important;
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}
.nav.scrolled .nav__toggle-bar { background: var(--neutral-700); }

.nav__toggle.active .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav__toggle.active .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ── */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    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(
        160deg,
        rgba(62, 31, 46, 0.82) 0%,
        rgba(45, 22, 34, 0.72) 50%,
        rgba(74, 40, 58, 0.65) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    padding-top: 80px;
}

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

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 24px;
}

.hero__title-accent {
    color: var(--amber-300);
    font-style: italic;
    font-weight: 500;
}

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

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

.hero__scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.6);
    animation: bounce 2s ease-in-out infinite;
}
.hero__scroll svg { width: 28px; height: 28px; }

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

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

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

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

.intro__text p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.8;
}

.intro__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.intro__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── ROOMS ── */
.rooms {
    padding: 120px 0;
    background: var(--plum-50);
}

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

.room {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), box-shadow var(--transition);
}
.room:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.room__img-wrap {
    overflow: hidden;
    height: 240px;
}
.room__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.room:hover .room__img-wrap img {
    transform: scale(1.05);
}

.room__body {
    padding: 28px;
}

.room__name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 12px;
}

.room__desc {
    font-size: 0.95rem;
    color: var(--neutral-600);
    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.8rem;
    font-weight: 500;
    color: var(--plum-700);
    background: var(--plum-100);
    padding: 6px 14px;
    border-radius: 20px;
}

.rooms__note {
    text-align: center;
    font-size: 0.95rem;
    color: var(--neutral-500);
}
.rooms__note a {
    color: var(--plum-600);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--plum-200);
    text-underline-offset: 4px;
}
.rooms__note a:hover { text-decoration-color: var(--plum-600); }

/* ── AMENITIES ── */
.amenities {
    padding: 120px 0;
    background: var(--neutral-50);
}

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

.amenity {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--radius-md);
    transition: background var(--transition), box-shadow var(--transition);
}
.amenity:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
}

.amenity__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--plum-600);
}
.amenity__icon svg {
    width: 100%;
    height: 100%;
}

.amenity__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.amenity__desc {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* ── LOCATION ── */
.location {
    padding: 120px 0;
    background: var(--plum-900);
}

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

.location__text .section-eyebrow { color: var(--amber-400); }
.location__text .section-title { color: #fff; margin-bottom: 24px; }
.location__text > p {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.location__address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    margin-bottom: 28px;
}
.location__address svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--amber-400);
}

.location__contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location__phone,
.location__email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}
.location__phone:hover,
.location__email:hover {
    color: var(--amber-300);
    gap: 14px;
}
.location__phone svg,
.location__email svg {
    width: 20px;
    height: 20px;
    color: var(--amber-400);
    flex-shrink: 0;
}

.location__map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
}

/* ── GUEST EXPERIENCE ── */
.experience {
    padding: 120px 0;
    background: var(--neutral-50);
}

.experience__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
}

.experience__feature {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.experience__number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--plum-200);
    line-height: 1;
    flex-shrink: 0;
    min-width: 60px;
}

.experience__title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 10px;
}

.experience__feature p {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.75;
}

/* ── CTA / CONTACT ── */
.cta {
    padding: 120px 0;
    background: linear-gradient(160deg, var(--plum-800) 0%, var(--plum-950) 100%);
}

.cta__inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.cta__text { margin-bottom: 48px; }
.cta__text .section-eyebrow { color: var(--amber-400); }
.cta__text .section-title { margin-bottom: 16px; }
.cta__desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.75;
}

.cta__contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.cta__phone,
.cta__email {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}
.cta__phone:hover,
.cta__email:hover {
    color: var(--amber-300);
    gap: 14px;
}
.cta__phone svg,
.cta__email svg {
    width: 20px;
    height: 20px;
    color: var(--amber-400);
}

/* Form */
.cta__form {
    text-align: left;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.cta__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

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

.form-input,
.form-textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: #fff;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255,255,255,0.35);
}
.form-input:focus,
.form-textarea:focus {
    border-color: var(--amber-400);
    background: rgba(255,255,255,0.1);
}

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

.cta__form .btn {
    width: 100%;
    margin-top: 8px;
}

.form-success {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(74, 144, 80, 0.15);
    border: 1px solid rgba(74, 144, 80, 0.3);
    border-radius: var(--radius-sm);
    color: var(--amber-200);
    font-size: 0.95rem;
    text-align: center;
}
.form-success.visible {
    display: block;
}

/* ── FOOTER ── */
.footer {
    background: var(--neutral-950);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 12px;
}
.footer__logo-icon { width: 22px; height: 22px; }

.footer__tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
}

.footer__info address {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 12px;
}
.footer__info p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
}
.footer__info a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color var(--transition);
}
.footer__info a:hover { color: var(--amber-400); }

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__nav a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    text-decoration: none;
    transition: color var(--transition), padding-left var(--transition);
}
.footer__nav a:hover {
    color: var(--amber-400);
    padding-left: 6px;
}

.footer__bottom {
    padding: 24px 0;
    text-align: center;
}
.footer__bottom p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Default state: hidden only when JS runs */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .intro__grid,
    .location__grid {
        gap: 48px;
    }

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

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

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

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--plum-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0,0,0,0.3);
    }
    .nav__links.open { transform: translateX(0); }

    .nav__link {
        color: rgba(255,255,255,0.8) !important;
        font-size: 1rem;
    }
    .nav__link:hover { color: var(--amber-300) !important; }
    .nav__link::after { display: none; }

    .nav__link--cta {
        background: var(--amber-500) !important;
        color: var(--neutral-900) !important;
        padding: 14px 28px;
        text-align: center;
        width: 100%;
    }

    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    .nav__overlay.active { display: block; }

    .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }

    .intro__grid,
    .location__grid {
        grid-template-columns: 1fr;
    }

    .intro__image { order: -1; max-height: 360px; }

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

    .amenities__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

    .experience__features { grid-template-columns: 1fr; gap: 36px; }

    .cta__form-row { grid-template-columns: 1fr; }
    .cta__form { padding: 28px 20px; }

    .cta__contact { flex-direction: column; gap: 16px; align-items: center; }

    .footer__inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
    .hero__actions { flex-direction: column; align-items: center; }
    .hero__actions .btn { width: 100%; max-width: 280px; }

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