/* 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: 68px;
    background: #0f0f0f;
    border-bottom: 1px solid #2a2a2a;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    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: 70px;
    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: 16px;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #a67c52;
}

/* Main */
.site-main {
    flex: 1;
    width: 100%;
}

/* Page home */
.page-home {
    width: 100%;
}

/* Hero */
.home-hero {
    padding: 48px 24px 40px;
    text-align: center;
    background: #0d0d0d;
    color: #fff;
}

.home-hero__inner {
    max-width: 560px;
    margin: 0 auto;
}

.home-hero__title {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    color: #fff;
}

.home-hero__tagline {
    margin: 0;
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
}

.home-hero__lead {
    margin: 20px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Collections – tab view */
.home-collections {
    padding: 25px;
}

.home-collections__inner {
    max-width: 100%;
    margin: 0 auto;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e2de;
    margin-bottom: 0;
    background: #fff;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e2de;
    border-bottom: none;
}

.tabs__tab {
    flex: 1;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 600;
    color: #6b6560;
    background: #faf9f8;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.tabs__tab:hover {
    color: #252320;
    background: #f5f4f2;
}

.tabs__tab--active {
    color: #252320;
    background: #fff;
    border-bottom: 4px solid #a67c52;
    font-weight: 700;
    box-shadow: 0 -2px 10px rgba(166, 124, 82, 0.2);
}

.tabs__panel {
    background: #fff;
    border: 1px solid #e5e2de;
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tabs__frame-wrap {
    position: relative;
    /* min-height: calc(100vh - 330px); */
    min-height: 100vh;
    background: #f2f1ef;
}

.tabs__iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tabs__iframe.is-ready {
    opacity: 1;
}

.tabs__loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #f2f1ef;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.tabs__loading.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.tabs__skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 80%;
    max-width: 260px;
}

.tabs__skeleton-bar {
    display: block;
    height: 64px;
    background: linear-gradient(90deg, #e5e2de 0%, #eae8e4 20%, #e5e2de 40%, #e5e2de 100%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}

.tabs__skeleton-bar--wide {
    height: 88px;
}

@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.tabs__loading-text {
    font-size: 14px;
    color: #6b6560;
}

/* Contact page */
.page-contact {
    width: 100%;
}

.contact-hero {
    padding: 40px 24px 32px;
    text-align: center;
    background: #0d0d0d;
    color: #fff;
}

.contact-hero__inner {
    max-width: 560px;
    margin: 0 auto;
}

.contact-hero__title {
    margin: 0 0 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contact-hero__tagline {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    padding: 40px 24px 48px;
}

.contact-content__inner {
    max-width: 900px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info__heading {
    margin: 0 0 16px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: #252320;
}

.contact-info__text {
    margin: 0 0 24px;
    font-size: 15px;
    color: #6b6560;
    line-height: 1.5;
}

.contact-info__block {
    margin-bottom: 16px;
}

.contact-info__label {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    color: #6b6560;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info__link {
    font-size: 15px;
    color: #a67c52;
    text-decoration: none;
}

.contact-info__link:hover {
    text-decoration: underline;
}

.contact-info__address {
    margin: 0;
    font-size: 15px;
    color: #252320;
    line-height: 1.5;
}

.contact-form-wrap {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e5e2de;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.contact-form__success,
.contact-form__error {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.contact-form__success {
    background: #e8f5e9;
    color: #2e7d32;
}

.contact-form__error {
    background: #ffebee;
    color: #c62828;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-bottom: 20px;
}

.contact-form__row {
    margin-bottom: 20px;
}

.contact-form__grid .contact-form__row {
    margin-bottom: 0;
}

.contact-form__row--submit {
    margin-bottom: 0;
    margin-top: 8px;
}

.contact-form__label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #252320;
}

.contact-form__required {
    color: #a67c52;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    color: #252320;
    background: #fff;
    border: 1px solid #e5e2de;
    border-radius: 8px;
    box-sizing: border-box;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #a67c52;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    padding: 12px 24px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #a67c52;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.contact-form__submit:hover {
    background: #8b6a42;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.site-footer {
    margin-top: auto;
    padding: 15px;
    background: #0f0f0f;
}

.footer-inner {
    margin: 0 auto;
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
}

.footer-logo-img {
    display: block;
    height: 70px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.footer-tagline {
    margin: 6px 0 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.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-copyright {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-credits {
    margin: 8px 0 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;
}

/* Responsive */
@media (max-width: 900px) {
    .tabs__frame-wrap {
        min-height: 480px;
    }

    .tabs__tab {
        font-size: 16px;
        padding: 14px 16px;
    }
}

@media (max-width: 600px) {
    .home-hero {
        padding: 32px 16px 32px;
    }

    .home-hero__title {
        font-size: 28px;
    }

    .home-collections {
        padding: 16px 16px 32px;
    }

    .tabs__frame-wrap {
        min-height: 400px;
    }

    .tabs__tab {
        font-size: 15px;
        padding: 12px 14px;
    }

    .footer-logo-img {
        height: 44px;
    }
}
