/* ============================================
   An Inn for All Seasons — Styles
   ============================================ */

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

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

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #0a2540;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    font-weight: 600;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 37, 64, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background: rgba(10, 37, 64, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

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

.nav__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    z-index: 101;
}

.nav__brand-icon {
    color: #5eead4;
}

.nav__brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.875rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #5eead4;
    color: #0a2540;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    border-radius: 8px;
    margin-left: 0.75rem;
    transition: background 0.2s, transform 0.2s;
}

.nav__cta:hover {
    background: #2dd4bf;
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 101;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

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

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

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

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

    .nav__links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 37, 64, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        padding: 2rem;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav__links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav__link {
        font-size: 1.25rem;
        padding: 0.75rem 1rem;
    }

    .nav__cta {
        margin-left: 0;
        margin-top: 1rem;
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn--primary {
    background: #5eead4;
    color: #0a2540;
}

.btn--primary:hover {
    background: #2dd4bf;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(94, 234, 212, 0.3);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #0a2540;
    border: 2px solid #0a2540;
}

.btn--outline:hover {
    background: #0a2540;
    color: #fff;
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

/* ============================================
   Container & Section
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.section__label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #14b8a6;
    margin-bottom: 0.75rem;
}

.section__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #0a2540;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section__description {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

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

.hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #040f1c 0%, #0a2540 30%, #0d3a5c 55%, #0a4f5c 75%, #0d6e6e 100%);
    z-index: 1;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(94, 234, 212, 0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(13, 106, 110, 0.2) 0%, transparent 50%);
    z-index: 2;
}

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: saturate(0.8);
}

.hero__content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 720px;
    padding: 2rem 1.5rem;
    padding-top: 5rem;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(94, 234, 212, 0.15);
    border: 1px solid rgba(94, 234, 212, 0.3);
    color: #5eead4;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero__subheadline {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero__trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero__trust-item svg {
    color: #5eead4;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.5);
    animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ============================================
   Rooms
   ============================================ */
.rooms {
    background: #f8fafc;
}

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

@media (max-width: 1023px) {
    .rooms__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 639px) {
    .rooms__grid {
        grid-template-columns: 1fr;
    }
}

.room-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06), 0 4px 16px rgba(10, 37, 64, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.12);
}

.room-card__image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

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

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

.room-card__tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #0a2540;
    color: #5eead4;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.room-card__body {
    padding: 1.75rem;
}

.room-card__title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.75rem;
}

.room-card__desc {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.room-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.room-card__amenities li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: #0a2540;
    font-weight: 500;
    background: #f0fdf9;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
}

.room-card__amenities li svg {
    color: #14b8a6;
}

.room-card__btn {
    width: 100%;
}

/* ============================================
   Experience
   ============================================ */
.experience {
    background: #fff;
}

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

@media (max-width: 991px) {
    .experience__split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.experience__images {
    position: relative;
}

.experience__img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(10, 37, 64, 0.12);
}

.experience__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience__img-stack {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.experience__img-stack img {
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(10, 37, 64, 0.15);
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 639px) {
    .experience__img-stack {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1rem;
    }
}

.experience__content .section__label {
    text-align: left;
}

.experience__content .section__title {
    text-align: left;
}

.experience__content .section__description {
    text-align: left;
    margin-bottom: 2rem;
}

.experience__features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.exp-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.exp-feature__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #f0fdf9 0%, #ccfbef 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2540;
}

.exp-feature__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0a2540;
    margin-bottom: 0.25rem;
}

.exp-feature__text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* ============================================
   Location
   ============================================ */
.location {
    background: #f8fafc;
}

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

@media (max-width: 991px) {
    .location__grid {
        grid-template-columns: 1fr;
    }
}

.location__info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.location__card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.5rem;
    border-radius: 14px;
    box-shadow: 0 1px 3px rgba(10, 37, 64, 0.06);
}

.location__card-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5eead4;
}

.location__card-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0a2540;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
}

.location__card-text {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

.location__card-text em {
    color: #718096;
    font-style: italic;
}

.location__card-link {
    font-size: 1.1rem;
    font-weight: 700;
    color: #14b8a6;
    transition: color 0.2s;
}

.location__card-link:hover {
    color: #0d9488;
}

.location__map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(10, 37, 64, 0.1);
    min-height: 400px;
}

/* ============================================
   CTA
   ============================================ */
.cta {
    background: linear-gradient(135deg, #0a2540 0%, #0d3a5c 50%, #0d6e6e 100%);
    color: #fff;
}

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

@media (max-width: 991px) {
    .cta__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.cta__title {
    color: #fff;
}

.cta__desc {
    color: rgba(255, 255, 255, 0.75);
}

.cta__phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.cta__phone svg {
    color: #5eead4;
}

.cta__phone-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5eead4;
    transition: color 0.2s;
}

.cta__phone-link:hover {
    color: #2dd4bf;
}

/* Form */
.cta__form-wrap {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.form__group {
    margin-bottom: 1.25rem;
}

.form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.form__input,
.form__textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #5eead4;
    background: rgba(255, 255, 255, 0.12);
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 1rem;
    text-align: center;
    line-height: 1.5;
}

/* Success State */
.cta__success {
    text-align: center;
    padding: 2rem;
}

.cta__success-icon {
    color: #5eead4;
    margin-bottom: 1.25rem;
}

.cta__success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.cta__success-text {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

.cta__success-text a {
    color: #5eead4;
    font-weight: 600;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #040f1c;
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

@media (max-width: 767px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.footer__logo-icon {
    color: #5eead4;
}

.footer__tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
}

.footer__heading {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.25rem;
}

.footer__address {
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer__phone {
    color: #5eead4;
    font-weight: 600;
    transition: color 0.2s;
}

.footer__phone:hover {
    color: #2dd4bf;
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__list a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer__list a:hover {
    color: #5eead4;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer__bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s;
}

.footer__bottom a:hover {
    color: #5eead4;
}

/* ============================================
   Reveal Animations (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);
    }
}

/* Ensure content is visible without JS */
.no-js .reveal {
    opacity: 1;
    transform: none;
}
