﻿/* ==========================================================================
   PAGE STRUCTURE
   ========================================================================== */

.layout-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.container {
    flex: 1;
}

/* ==========================================================================
   GLOBAL
   ========================================================================== */

:root {
    --frame-width: 75%;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #fdf7f2;
    color: #444;
}

/* ==========================================================================
   HEADER + NAV (SUPER SLIM — OPTION B)
   ========================================================================== */

.site-header {
    text-align: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin: 0 !important;
}

/* ✅ Header frame should be centered and match global width */
header.site-header .frame {
    width: var(--frame-width) !important; /* ✅ match global frame width */
    margin: 0 auto !important; /* ✅ center block */
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box;
}

.site-title {
    font-family: 'Inter', sans-serif;
    font-size: 30px;
    letter-spacing: 1px;
    color: #333;
    margin: 2px 0 4px 0 !important;
    padding: 0 !important;
    line-height: 1.1;
}

.main-nav {
    text-align: center;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
}

    .main-nav a {
        display: inline-block;
        margin: 0 10px;
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        text-decoration: none;
        color: #5a4f4a;
        letter-spacing: 0.5px;
        padding: 2px 4px !important;
        transition: color 0.3s ease, opacity 0.3s ease;
    }

        .main-nav a:hover {
            color: #a67c52;
            opacity: 0.75;
        }

        .main-nav a:active {
            opacity: 0.5;
        }

/* ==========================================================================
   FRAME BLOCK
   ========================================================================== */

.frame {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    background: #ffffff;
    width: var(--frame-width);
    box-sizing: border-box;
}

/* Center text only (opt-in) */
.frame-center {
    text-align: center !important;
}

/* ==========================================================================
   FRAME TITLE (page headers only)
   ========================================================================== */

.frame-title {
    text-align: center;
}

    .frame-title > h1,
    .frame-title > h2,
    .frame-title > h3 {
        margin: 0;
    }

/* ==========================================================================
   HERO BANNER
   ========================================================================== */

.home-banner {
    width: 100%;
    margin-top: 20px !important;
    margin-bottom: 24px;
}

    .home-banner img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 0;
    }

/* ==========================================================================
   IMAGE FRAME
   ========================================================================== */

.image-frame {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 20px auto;
    border-radius: 8px;
    background: #ffffff;
    text-align: center;
    width: var(--frame-width);
    box-sizing: border-box;
}

    .image-frame img {
        max-width: 100%;
        border-radius: 6px;
    }

.caption {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
}

/* ==========================================================================
   CARD GRID
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    /* ✅ Make card “frames” match the global frame width */
    width: var(--frame-width);
    margin: 20px auto;
    box-sizing: border-box;
}

.card {
    padding: 20px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

    .card h3 {
        margin-top: 0;
    }

/* ==========================================================================
   IMAGE CARD (Option B)
   ========================================================================== */

.image-card {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

    .image-card img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 6px; /* optional – matches aesthetic */
    }


/* ==========================================================================
   IMAGE CENTERING — circle stays centered
   ========================================================================== */

.image-center {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

    .image-center img {
        width: 100%;
        max-width: 520px; /* cap size on large screens */
        aspect-ratio: 1 / 1; /* keep it square */
        height: auto; /* let aspect-ratio drive height */
        border-radius: 50%;
        object-fit: cover;
        display: block;
    }


/* ==========================================================================
   TITLE CENTERING
   ========================================================================== */

.card-title-block,
.card-title {
    text-align: center;
}

.card-align {
    text-align: left !important;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
    padding: 80px 20px;
    background: linear-gradient(135deg, #4a90e2, #50c9ce);
    color: white;
    text-align: center;
    border-radius: 12px;
    margin: 20px 0;
}

    .hero h1 {
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 1.2rem;
    }

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

    .gallery img {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 6px;
    }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .site-footer .frame {
        width: 100%;
        max-width: 960px;
        margin: 0 auto 30px auto;
        padding: 30px;
        border-radius: 12px;
        background: #ffffff;
        border: 1px solid #eaeaea;
        box-sizing: border-box;
    }

    .site-footer p {
        margin: 6px 0;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
    }

.footer-center {
    text-align: center;
}

/* ==========================================================================
   UNIFIED CONTENT WIDTH
   ========================================================================== */

.layout-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ==========================================================================
   FLASH MESSAGE
   ========================================================================== */

.flash-message {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-align: center;
    animation: fadeIn 0.4s ease-out;
}

    .flash-message.success {
        background-color: #e6f7eb;
        border: 1px solid #7bcf99;
        color: #2e7d32;
    }

    .flash-message.error {
        background-color: #fdecea;
        border: 1px solid #f5a4a1;
        color: #c62828;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form-frame {
    padding: 25px;
    width: var(--frame-width);
    margin: 20px auto;
    box-sizing: border-box;
}

.contact-form {
    width: var(--frame-width);
    margin: 20px auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #ffffff;
    padding: 25px;
    box-sizing: border-box;
}

    .contact-form .form-group {
        margin-bottom: 1.4rem;
        display: flex;
        flex-direction: column;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        border: 1px solid #e2dfdb;
        background: #fff;
        border-radius: 6px;
        font-family: 'Inter', sans-serif !important;
        font-size: 0.92rem !important;
        font-weight: 300 !important;
        color: #444 !important;
        letter-spacing: 0.3px !important;
        box-sizing: border-box;
    }

        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: #b8b3ae;
        }

    .contact-form label {
        margin-bottom: 6px;
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        font-weight: 400;
        color: #555;
        text-align: left;
    }

.form-row {
    display: flex;
    gap: 20px;
    width: 100%;
    margin-top: 10px;
}

    .form-row .form-group {
        flex: 1;
    }

.contact-form textarea {
    min-height: 160px;
    resize: vertical;
    border: 1px solid #dcd7d2;
}

.send-button {
    padding: 14px 20px;
    background: #e5d9c8;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #444;
    border-radius: 4px;
    transition: background 0.2s ease;
}

    .send-button:hover {
        background: #d6c7b3;
    }

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */

@media (max-width: 900px) {
    :root {
        --frame-width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .image-center img {
        width: 200px;
        height: 200px;
    }

    .card {
        padding: 16px;
    }

    .card-grid {
        gap: 16px;
    }

    .booking-row-fixed,
    .booking-cell {
        display: block;
        margin-bottom: 10px;
    }
}

/* ==========================================================================
   ACCORDION
   ========================================================================== */

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-size: 1.2rem;
    font-weight: normal;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

    .accordion-header::before,
    .accordion-header::after {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(0,0,0,0.25);
    }

    .accordion-header::before {
        top: 0;
    }

    .accordion-header::after {
        bottom: 0;
    }

    .accordion-header .icon {
        font-size: 1.3rem;
        margin-left: 12px;
        position: relative;
        top: 1px;
    }

.accordion-content {
    display: none;
    padding: 20px 0;
}

    .accordion-content.open {
        display: block;
    }
