/* ========================================
   MILE CREEK CABINS — Brand Styles
   Palette: Midnight Blue (#0A1628) + Mint (#3ECDA8)
   Fonts: Cinzel (headlines) + Manrope (body)
======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #0A1628;
    background-color: #F7F5F0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ---------- UTILITIES ---------- */
.text-mint {
    color: #3ECDA8;
}

/* ---------- NAVIGATION ---------- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background-color: rgba(10, 22, 40, 0.95);
    padding: 0.75rem 0;
    box-shadow: 0 1px 0 rgba(62, 205, 168, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F7F5F0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
}

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

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: rgba(247, 245, 240, 0.75);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #3ECDA8;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #F7F5F0;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link--accent {
    color: #3ECDA8;
}

.nav__link--accent::after {
    background-color: #3ECDA8;
}

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

.nav__bar {
    width: 24px;
    height: 1.5px;
    background-color: #F7F5F0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

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

.nav__toggle[aria-expanded="true"] .nav__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1.5px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--light {
    background-color: #F7F5F0;
    color: #0A1628;
    border-color: #F7F5F0;
}

.btn--light:hover {
    background-color: transparent;
    color: #F7F5F0;
    border-color: #F7F5F0;
}

.btn--ghost-light {
    background-color: transparent;
    color: #F7F5F0;
    border-color: rgba(247, 245, 240, 0.4);
}

.btn--ghost-light:hover {
    border-color: #F7F5F0;
}

.btn--mint {
    background-color: #3ECDA8;
    color: #0A1628;
    border-color: #3ECDA8;
}

.btn--mint:hover {
    background-color: transparent;
    color: #3ECDA8;
    border-color: #3ECDA8;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #0A1628;
}

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

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.55;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(10, 22, 40, 0.75) 45%,
        rgba(10, 22, 40, 0.3) 100%
    );
}

.hero__container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero__content {
    max-width: 640px;
}

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.75rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
    color: #F7F5F0;
    margin-bottom: 1.75rem;
    letter-spacing: -0.01em;
}

.hero__subheadline {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.7);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

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

/* Hero aside cards */
.hero__aside {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero__info-card {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(62, 205, 168, 0.2);
}

.hero__info-card:first-child {
    border-top: 1px solid rgba(62, 205, 168, 0.2);
}

.hero__info-icon {
    color: #3ECDA8;
    margin-bottom: 0.75rem;
}

.hero__info-title {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F7F5F0;
    margin-bottom: 0.375rem;
}

.hero__info-text {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.6;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.hero__scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(247, 245, 240, 0.4);
}

.hero__scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(62, 205, 168, 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); }
}

/* ---------- CABIN SECTION ---------- */
.cabin {
    padding: 8rem 0;
    background-color: #F7F5F0;
}

.cabin__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.cabin__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 1.25rem;
}

.cabin__headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: #0A1628;
    max-width: 700px;
}

.cabin__grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.cabin__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.cabin__text {
    padding-top: 2rem;
}

.cabin__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #0A1628;
    margin-bottom: 1.5rem;
    opacity: 0.78;
}

.cabin__quote {
    font-family: 'Cinzel', serif;
    font-size: 1.375rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    color: #0A1628;
    border-left: 2px solid #3ECDA8;
    padding-left: 1.5rem;
    margin-top: 2.5rem;
}

.cabin__image-row {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cabin__image-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/2;
}

/* ---------- LOCATION SECTION ---------- */
.location {
    padding: 8rem 0;
    background-color: #0A1628;
}

.location__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.location__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 1.25rem;
}

.location__headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: #F7F5F0;
    margin-bottom: 4rem;
    max-width: 600px;
}

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

.location__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(247, 245, 240, 0.7);
    margin-bottom: 1.5rem;
}

.location__details {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

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

.location__detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #3ECDA8;
}

.location__detail-value {
    font-size: 1rem;
    color: #F7F5F0;
    line-height: 1.6;
}

.location__phone {
    color: #F7F5F0;
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.location__phone:hover {
    color: #3ECDA8;
}

.location__map {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 1px solid rgba(62, 205, 168, 0.2);
}

.location__map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.6) contrast(1.1) brightness(0.8);
    transition: filter 0.4s ease;
}

.location__map:hover iframe {
    filter: grayscale(0) contrast(1) brightness(1);
}

/* ---------- AMENITIES SECTION ---------- */
.amenities {
    padding: 8rem 0;
    background-color: #F7F5F0;
}

.amenities__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.amenities__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 1.25rem;
}

.amenities__headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.25rem, 4.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    color: #0A1628;
    margin-bottom: 4rem;
    max-width: 600px;
}

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

.amenity-card {
    padding: 2.5rem 2rem;
    border: 1px solid rgba(10, 22, 40, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.amenity-card:hover {
    background-color: #0A1628;
    border-color: #0A1628;
}

.amenity-card:hover .amenity-card__icon {
    color: #3ECDA8;
}

.amenity-card:hover .amenity-card__title {
    color: #F7F5F0;
}

.amenity-card:hover .amenity-card__text {
    color: rgba(247, 245, 240, 0.6);
}

.amenity-card__icon {
    color: #0A1628;
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
}

.amenity-card__title {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0A1628;
    margin-bottom: 0.625rem;
    transition: color 0.3s ease;
}

.amenity-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #0A1628;
    opacity: 0.65;
    transition: color 0.3s ease;
}

/* ---------- CTA SECTION ---------- */
.cta {
    padding: 8rem 0;
    background-color: #0A1628;
    position: relative;
    overflow: hidden;
}

.cta__container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.cta__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 1.25rem;
}

.cta__headline {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.08;
    color: #F7F5F0;
    margin-bottom: 1.5rem;
}

.cta__subheadline {
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(247, 245, 240, 0.6);
    margin-bottom: 3rem;
}

.cta__contact {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.cta__phone,
.cta__email {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1rem;
    font-weight: 500;
    color: #F7F5F0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cta__phone:hover,
.cta__email:hover {
    color: #3ECDA8;
}

.cta__phone svg,
.cta__email svg {
    color: #3ECDA8;
}

/* Form */
.cta__form {
    text-align: left;
}

.cta__form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.cta__form-group {
    margin-bottom: 1.25rem;
}

.cta__label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #3ECDA8;
    margin-bottom: 0.5rem;
}

.cta__input,
.cta__textarea {
    width: 100%;
    padding: 0.875rem 0;
    font-size: 1rem;
    color: #F7F5F0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(247, 245, 240, 0.2);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
    -webkit-appearance: none;
}

.cta__input::placeholder,
.cta__textarea::placeholder {
    color: rgba(247, 245, 240, 0.3);
}

.cta__input:focus,
.cta__textarea:focus {
    border-color: #3ECDA8;
}

.cta__input[type="date"] {
    color-scheme: dark;
}

.cta__textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.cta__form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.cta__form-note {
    font-size: 0.8125rem;
    color: rgba(247, 245, 240, 0.35);
    margin-top: 1rem;
    text-align: center;
}

/* Success state */
.cta__success {
    text-align: center;
    padding: 3rem 1rem;
}

.cta__success svg {
    color: #3ECDA8;
    margin: 0 auto 1.25rem;
}

.cta__success h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #F7F5F0;
    margin-bottom: 0.75rem;
}

.cta__success p {
    font-size: 1rem;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.7;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 4rem 0 2rem;
    background-color: #060F1A;
}

.footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(247, 245, 240, 0.08);
}

.footer__logo {
    font-family: 'Cinzel', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #F7F5F0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(247, 245, 240, 0.4);
}

.footer__info p {
    font-size: 0.9375rem;
    color: rgba(247, 245, 240, 0.6);
    line-height: 1.7;
    margin-bottom: 0.375rem;
}

.footer__phone {
    font-size: 1rem;
    font-weight: 500;
    color: #3ECDA8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__phone:hover {
    color: #F7F5F0;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer__bottom p {
    font-size: 0.8125rem;
    color: rgba(247, 245, 240, 0.3);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__aside {
        flex-direction: row;
        gap: 0;
    }

    .hero__info-card {
        flex: 1;
        padding: 1.25rem 1.5rem;
        border-bottom: none;
        border: 1px solid rgba(62, 205, 168, 0.2);
    }

    .hero__info-card:first-child {
        border-top: none;
        border-right: none;
    }

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

    .cabin__image img {
        aspect-ratio: 16/10;
    }

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

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

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

    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background-color: #0A1628;
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav__menu.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: 1rem;
    }

    .hero__container {
        padding: 7rem 1.5rem 3rem;
    }

    .hero__aside {
        flex-direction: column;
    }

    .hero__info-card {
        border: none !important;
        border-bottom: 1px solid rgba(62, 205, 168, 0.2) !important;
        padding: 1.25rem 0 !important;
    }

    .hero__info-card:first-child {
        border-top: 1px solid rgba(62, 205, 168, 0.2) !important;
    }

    .hero__scroll {
        display: none;
    }

    .cabin,
    .location,
    .amenities,
    .cta {
        padding: 5rem 0;
    }

    .cabin__image-row {
        grid-template-columns: 1fr;
    }

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

    .cta__form-row {
        grid-template-columns: 1fr;
    }

    .cta__contact {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .footer__top {
        flex-direction: column;
    }

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

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

    .hero__actions .btn {
        width: 100%;
        text-align: center;
    }

    .cabin__quote {
        font-size: 1.125rem;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: no-preference) {
    .amenity-card {
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero__scroll-line {
        animation: none;
    }
}
