/* Lord of the Inns – Book Your Inn */

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

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

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Outfit', -apple-system, sans-serif;
    color: #252320;
    background: #f6f5f3;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 4.25rem;
    background: #0f0f0f;
    border-bottom: 1px solid #2a2a2a;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 75px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.logo:hover .logo-img {
    opacity: 0.9;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: #a67c52;
}

/* Main */
.site-main {
    flex: 1;
    width: 100%;
}

/* Collections – tabbed layout */
.home-collections {
    padding: 1.25rem 20px 1.5rem;
}

.home-collections__inner {
    width: 100%;
    margin: 0;
    padding: 0;
}

.collection-tabs {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    border: 1px solid #e5e2de;
}

.collection-tabs__nav {
    display: flex;
    gap: 0;
    padding: 0.5rem;
    background: #f0eeeb;
    border-bottom: 1px solid #e5e2de;
}

.collection-tabs__tab {
    flex: 1;
    position: relative;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 10px;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: #8a8580;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.collection-tabs__tab:hover:not(.is-active) {
    color: #3d3a36;
    background: rgba(255, 255, 255, 0.55);
}

.collection-tabs__tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.35);
}

.collection-tabs__tab.is-active {
    background: #fff;
    color: #6b4f33;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(166, 124, 82, 0.22);
    border: 1px solid rgba(166, 124, 82, 0.45);
}

.collection-tabs__tab.is-active::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.4rem;
    height: 3px;
    border-radius: 2px;
    background: #a67c52;
}

.collection-tabs__panels {
    position: relative;
}

.collection-panel {
    min-width: 0;
}

.collection-panel[hidden] {
    display: none;
}

.collection-panel__frame {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 4.25rem - 5.5rem);
    height: calc(100vh - 4.25rem - 5.5rem);
    margin: 0;
    background: #f8f7f5;
    overflow: hidden;
}

.collection-panel__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.collection-panel__iframe.is-ready {
    opacity: 1;
}

.collection-panel__loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f1ef;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    font-size: 14px;
    color: #6b6560;
}

.collection-panel__loading.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (min-width: 768px) {
    .home-collections {
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }

    .collection-tabs__tab {
        font-size: 1rem;
        min-height: 3.25rem;
        padding: 0.85rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .collection-tabs__tab {
        font-size: 0.85rem;
        padding: 0.7rem 0.5rem;
        line-height: 1.3;
    }
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 24px 24px;
    background: #0f0f0f;
    border-top: 1px solid #2a2a2a;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14px;
}

.footer-nav a:hover {
    color: #a67c52;
}

.footer-credits {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-credits a {
    color: #a67c52;
    text-decoration: none;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Contact page */
.page-contact {
    width: 100%;
}

.contact-hero {
    position: relative;
    padding: 3rem 1.5rem 2.75rem;
    text-align: center;
    background: linear-gradient(165deg, #121212 0%, #0a0a0a 55%, #0d0d0d 100%);
    color: #fff;
    border-bottom: 1px solid rgba(166, 124, 82, 0.2);
}

.contact-hero::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(120px, 40vw);
    height: 3px;
    background: linear-gradient(90deg, transparent, #a67c52, transparent);
    border-radius: 2px;
}

.contact-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin: 0 auto;
}

.contact-hero__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #a67c52;
}

.contact-hero__title {
    margin: 0 0 0.65rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
}

.contact-hero__tagline {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
}

.contact-content {
    padding: 2.75rem 1.5rem 3.5rem;
    background: linear-gradient(180deg, #f0eeeb 0%, #f6f5f3 12%, #f6f5f3 100%);
}

.contact-content__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}

.contact-aside {
    padding: 0.25rem 0 0;
}

.contact-aside__title {
    margin: 0 0 0.75rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: #252320;
    line-height: 1.2;
}

.contact-aside__lead {
    margin: 0 0 1.75rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6b6560;
}

.contact-methods {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    /* flex-direction: column; */
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
    background: #fff;
    border: 1px solid #e5e2de;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.contact-method__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: rgba(166, 124, 82, 0.1);
    color: #8a6644;
}

.contact-method__icon svg {
    display: block;
}

.contact-method__body {
    min-width: 0;
}

.contact-method__label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a8580;
}

.contact-method__value {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #252320;
}

.contact-method__link {
    font-size: 0.95rem;
    font-weight: 500;
    color: #8a6644;
    text-decoration: none;
    word-break: break-word;
}

.contact-method__link:hover {
    color: #6b4f33;
    text-decoration: underline;
}

.contact-form-panel {
    background: #fff;
    padding: clamp(1.5rem, 3vw, 2rem);
    border-radius: 14px;
    border: 1px solid #e5e2de;
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.05),
        0 12px 40px rgba(37, 35, 32, 0.06);
}

.contact-form-panel__head {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #ebe8e4;
}

.contact-form-panel__title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #252320;
}

.contact-form-panel__hint {
    margin: 0;
    font-size: 0.875rem;
    color: #8a8580;
}

.contact-form__success,
.contact-form__error {
    padding: 1rem 1.15rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.contact-form__success {
    background: #e8f3ea;
    color: #1b5e20;
    border: 1px solid #c8e6c9;
}

.contact-form__error {
    background: #fce8e6;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

.contact-form__success p,
.contact-form__error p {
    margin: 0;
}

.contact-form__row {
    margin-bottom: 1.1rem;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.25rem;
    margin-bottom: 1.1rem;
}

.contact-form__grid .contact-form__row {
    margin-bottom: 0;
}

.contact-form__label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #3d3a36;
}

.contact-form__req {
    color: #a67c52;
    font-weight: 600;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    border: 1px solid #d4d0cb;
    border-radius: 10px;
    font-family: inherit;
    background: #fafaf9;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: #a8a39d;
}

.contact-form__input:hover,
.contact-form__textarea:hover {
    border-color: #c4bfb8;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #a67c52;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.18);
}

.contact-form__textarea {
    min-height: 9.5rem;
    resize: vertical;
    line-height: 1.5;
}

.contact-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.25rem;
    padding-top: 0.35rem;
}

.contact-form__submit {
    min-width: 11rem;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #252320;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.contact-form__submit:hover {
    background: #3d3a36;
}

.contact-form__submit:active {
    transform: translateY(1px);
}

@media (min-width: 961px) {
    .contact-aside {
        position: sticky;
        top: 5.25rem;
    }
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-aside {
        position: static;
    }
}

@media (max-width: 640px) {
    .contact-hero {
        padding: 2.25rem 1.25rem 2.25rem;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__actions {
        justify-content: stretch;
    }

    .contact-form__submit {
        width: 100%;
        min-width: 0;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .home-collections {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .collection-tabs {
        border-radius: 10px;
    }

    .collection-panel__frame {
        min-height: calc(100vh - 4.25rem - 4.75rem);
        height: calc(100vh - 4.25rem - 4.75rem);
    }
}