:root {
    --bg: #f4efe6;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: rgba(255, 255, 255, 0.95);
    --ink: #14281d;
    --muted: #5f6d63;
    --brand: #d97706;
    --brand-deep: #9a3412;
    --accent: #1f6f5f;
    --accent-deep: #123c33;
    --accent-soft: #e4f4ef;
    --shadow: 0 24px 60px rgba(43, 33, 14, 0.12);
    --button: linear-gradient(135deg, #2e5e7b 0%, #1f3744 100%);
}

html[data-theme="dark"] {
    --bg: #121622;
    --surface: rgba(255, 255, 255, 0.06);
    --surface-strong: rgba(255, 255, 255, 0.08);
    --ink: #eef2ff;
    --muted: rgba(226, 232, 240, 0.78);
}

html[data-theme="dark"] .meta-pill {
    background: rgba(255, 255, 255, 0.08);
    
}
html[data-theme="dark"] .service-card-body {
        background: rgba(255, 255, 255, 0.05);
        -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
}

.service-page {
    padding: 1.5rem 0 3rem;
}

.page-hero {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 34px;
    box-shadow: var(--shadow);
    padding: 1.6rem;
    margin-bottom: 1.5rem;
}

.hero-panel,
.overview-card,
.tabs-shell,
.service-card,
.content-card,
.hero-stat,
.empty-card,
.modal-shell {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

.hero-panel,
.tabs-shell,
.empty-card,
.modal-shell {
    border-radius: 34px;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.hero-panel::before,
.hero-panel::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-panel::before {
    width: 260px;
    height: 260px;
    top: -100px;
    right: -60px;
    background: rgba(217, 119, 6, 0.16);
}

.hero-panel::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -70px;
    background: rgba(31, 111, 95, 0.12);
}

.eyebrow,
.section-badge,
.meta-pill,
.social-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    font-weight: 800;
}

.eyebrow {
    padding: .6rem .9rem;
    background: rgba(255, 255, 255, 0.8);
    color: var(--brand-deep);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.35rem, 4.8vw, 4.3rem);
    line-height: 1.04;
    margin: 1rem 0;
    word-break: break-word;
}

.hero-copy,
.section-copy,
.service-card p,
.reservation-copy,
.muted-copy,
.review-card p,
.notice-list li {
    color: var(--muted);
}

.hero-actions,
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.5rem;
}

.btn-brand,
.btn-soft {
    border-radius: 999px;
    padding: .92rem 1.3rem;
    font-weight: 800;
}

.btn-brand {
    color: #fff;
    border: none;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 14px 28px rgba(154, 52, 18, 0.2);
}

.btn-custom {
    color: #fff;
    border: 1px solid rgba(154, 52, 18, 0.35);
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    box-shadow: 0 12px 24px rgba(180, 83, 9, 0.22);
}

.btn-brand:hover {
    color: #fff;
}

.btn-custom:hover,
.btn-brand:hover {
    background: linear-gradient(135deg, #c56b06 0%, #9a3412 100%);
    color: #fff;
    transform: translateY(-1px);
}

.btn-soft {
    color: #6b3f07;
    background: #fff8e8;
    border: 1px solid rgba(180, 121, 31, 0.26);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 1.6rem;
}

.hero-stats .section-card {
    min-width: 150px;
    border-radius: 20px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(20, 40, 29, 0.08);
}

.hero-stats .section-card strong {
    font-size: 1.4rem;
    display: block;
    color: var(--ink);
}

.hero-stat {
    min-width: 150px;
    padding: 1rem 1.1rem;
    border-radius: 22px;
}

.hero-stat strong {
    display: block;
    font-size: 1.45rem;
    font-family: "Sora", sans-serif;
}

.social-pill {
    padding: .58rem .9rem;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    text-decoration: none;
    border: 1px solid rgba(20, 40, 29, 0.08);
}

.muted-pill {
    color: var(--muted);
}

.hero-gallery {
    display: grid;
    gap: 1rem;
}

.hero-image-main {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 28px;
}

.thumb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.hero-thumb {
    width: 100%;
    height: 92px;
    object-fit: cover;
    border-radius: 18px;
}

.gallery-trigger {
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
    transform: scale(1.02);
    box-shadow: 0 18px 40px rgba(20, 40, 29, 0.25);
    outline: none;
}

.gallery-modal-content {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.gallery-modal .carousel-item {
    text-align: center;
}

.gallery-modal-image {
    display: inline-block;
    width: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 20px;
}

.gallery-close {
    align-self: flex-end;
    margin-bottom: .75rem;
    opacity: 1;
}

.gallery-modal .carousel-control-prev,
.gallery-modal .carousel-control-next {
    width: 8%;
}

.overview-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.overview-strip .section-card {
    border-radius: 24px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(20, 40, 29, 0.08);
}

.overview-strip .section-card strong {
    display: block;
    margin: 0.25rem 0;
    word-break: break-word;
}

.overview-card {
    border-radius: 24px;
    padding: 1rem 1.1rem;
}

.overview-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .82rem;
    color: var(--muted);
    margin-bottom: .35rem;
}

.overview-card strong {
    display: block;
    font-size: 1.05rem;
}

.tabs-shell {
    padding: 1.35rem;
    color: var(--ink);
}

.marketplace-tabs {
    gap: .75rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

.marketplace-tabs .nav-link {
    border: none;
    border-radius: 999px;
    padding: .78rem 1.05rem;
    background: rgba(20, 40, 29, 0.05);
    color: var(--ink);
    font-weight: 800;
}

.marketplace-tabs .nav-link.active {
    background: linear-gradient(135deg, #124335 0%, #1f6a55 100%);
    color: #fff;
}

.marketplace-tabs .nav-link.active:hover {
    background: linear-gradient(135deg, #1a332c 0%, #154437 100%);
    color: #fff;
    transform: translateY(-2px);
} 

.marketplace-tabs .nav-item {
    flex: 0 0 auto;
}

.tab-content > .tab-pane {
    min-height: 340px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    border-radius: 28px;
    overflow: hidden;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
}

.service-card-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-card-body {
    padding: 1.2rem;
    background: var(--surface-strong);
    display: flex;
    flex-direction: column;
}

.service-card-body h3 {
    font-size: 1.18rem;
    margin: .75rem 0 .45rem;
}

.service-card-meta,
.mini-actions,
.notice-grid,
.about-layout,
.section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-card-body .btn {
    margin-top: auto;
}

.accent-pill {
    padding: .42rem .78rem;
    background: rgba(31, 111, 95, 0.08);
    color: var(--accent);
    font-size: .78rem;
}

.meta-pill {
    padding: .42rem .78rem;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    border: 1px solid rgba(20, 40, 29, 0.08);
    font-size: .78rem;
}

.calendar-shell,
.about-main,
.about-side,
.notice-grid {
    display: grid;
    gap: 1rem;
}

.calendar-shell {
    padding: 1.2rem;
}

.calendar-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.calendar-subtitle {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(20, 40, 29, 0.08);
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
}

.legend-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
}

.dot-available {
    background: #34a853;
}

.dot-reserved {
    background: #ea4335;
}

.dot-unavailable {
    background: #5f6368;
}

.dot-review {
    background: #fbbc04;
}

.calendar-frame {
    margin-top: 0.9rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid #dadce0;
    padding: 0.9rem;
    overflow: hidden;
}

#calendar {
    min-height: 460px;
}

#calendar .fc {
    font-family: "Manrope", sans-serif;
    color: #1f1f1f;
}

#calendar .fc-toolbar {
    margin-bottom: 0.95rem;
}

#calendar .fc-header-toolbar {
    row-gap: 0.6rem;
}

#calendar .fc-toolbar-title {
    font-family: "Sora", sans-serif;
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 700;
    color: #202124;
}

#calendar .fc-toolbar-chunk {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

#calendar .fc-button-group,
#calendar .fc-toolbar-chunk > div:last-child {
    flex-wrap: wrap;
}

#calendar .fc-button {
    background: #ffffff !important;
    border: 1px solid #dadce0 !important;
    color: #3c4043 !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.82rem !important;
}

#calendar .fc-prev-button,
#calendar .fc-next-button {
    min-width: 2.2rem;
}

#calendar .fc-button:hover {
    background: #f1f3f4 !important;
}

#calendar .fc-button-primary:not(:disabled).fc-button-active,
#calendar .fc-button-primary:not(:disabled):active {
    background: #e8f0fe !important;
    border-color: #d2e3fc !important;
    color: #1967d2 !important;
}

#calendar .fc-theme-standard td,
#calendar .fc-theme-standard th,
#calendar .fc-theme-standard .fc-scrollgrid {
    border-color: #eceff1;
}

#calendar .fc-daygrid-day-frame {
    min-height: 110px;
}

#calendar .fc-col-header-cell-cushion,
#calendar .fc-daygrid-day-number,
#calendar .fc-timegrid-axis-cushion,
#calendar .fc-timegrid-slot-label-cushion {
    color: #5f6368;
    font-weight: 600;
    text-decoration: none;
}

#calendar .fc-day-today {
    background: #e8f0fe !important;
}

#calendar .fc-event,
#calendar .fc-list-event {
    border-radius: 7px !important;
}

#calendar .fc-event {
    border: none !important;
    padding: 0.16rem 0.34rem;
    font-size: 0.74rem;
    line-height: 1.2;
    box-shadow: none;
}

#calendar .fc-daygrid-more-link {
    color: #1967d2;
    font-weight: 700;
}

#calendar .fc-list-day-cushion {
    background: #f8f9fa;
}

#calendar .fc-event-content-custom {
    display: grid;
    gap: 0.05rem;
}

#calendar .fc-event-time-custom {
    font-weight: 700;
    opacity: 0.95;
}

#calendar .fc-event-label-custom {
    font-weight: 700;
}

.form-select option {
    background: #fffdf7;
    color: #14281d;
}
.calendar-board,
.content-card {
    border-radius: 28px;
    padding: 1.25rem;
    background: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
}

@media (max-width: 767px) {
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .calendar-shell {
        padding: 1rem;
    }

    #calendar {
        min-height: 520px;
    }

    .modal-dialog.modal-fullscreen-sm-down {
        max-width: 100%;
        margin: 0.5rem;
    }

    .modal-content.modal-shell {
        border-radius: 1.25rem;
    }

    .reservation-copy {
        font-size: 0.98rem;
    }
}

.section-badge {
    padding: .38rem .72rem;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: .8rem;
}

.section-title {
    margin: .9rem 0 .35rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.about-layout {
    display: grid;
    grid-template-columns: 1.4fr .8fr;
    gap: 1rem;
}

.about-side {
    display: grid;
    gap: 1rem;
}

.quote-box {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(7, 14, 10, 0.05);
}

.schedule-list {
    display: grid;
    gap: .75rem;
}

.schedule-row {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem 0;
    border-bottom: 1px solid rgba(20, 40, 29, 0.08);
}

.schedule-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-stack,
.related-stack {
    display: grid;
    gap: .85rem;
}

.review-card {
    padding: .95rem;
    border-radius: 18px;
    background: rgba(20, 40, 29, 0.05);
    overflow-wrap: anywhere;
}

.review-stars {
    display: block;
    color: var(--brand);
    margin: .25rem 0;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notice-title {
    font-size: 1.1rem;
    margin: .85rem 0 .5rem;
}

.notice-list {
    margin: 0;
    padding-left: 1.1rem;
}

.related-link {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    padding: .85rem .95rem;
    border-radius: 18px;
    background: rgba(20, 40, 29, 0.05);
    color: var(--ink);
    text-decoration: none;
}

.empty-card {
    padding: 2rem;
    text-align: center;
    grid-column: 1 / -1;
}

.modal-shell {
    color: var(--ink);
}

.warm-modal {
    background: linear-gradient(180deg, #ffffff 0%, #fff8e8 100%);
    border: 1px solid rgba(180, 121, 31, 0.2);
}

html[data-theme="light"] .modal-shell .form-control,
html[data-theme="light"] .modal-shell .form-select,
html[data-theme="light"] .input-dark,
html[data-theme="light"] .custom-select {
    background: #fffdf7;
    border: 1px solid rgba(180, 121, 31, 0.24);
    color: #14281d;
}

html[data-theme="light"] .modal-shell .form-control::placeholder,
html[data-theme="light"] .input-dark::placeholder {
    color: rgba(95, 109, 99, 0.78);
}

html[data-theme="dark"] .warm-modal,
html[data-theme="dark"] .modal-shell {
    background: rgba(11, 18, 30, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .btn-soft {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #f8fafc;
}

html[data-theme="dark"] .modal-shell .form-control,
html[data-theme="dark"] .modal-shell .form-select,
html[data-theme="dark"] .input-dark,
html[data-theme="dark"] .custom-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #eef2ff;
}

html[data-theme="dark"] .modal-shell .form-control::placeholder,
html[data-theme="dark"] .input-dark::placeholder {
    color: rgba(226, 232, 240, 0.62);
}

html[data-theme="dark"] .calendar-frame {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.16);
}

html[data-theme="dark"] .legend-item {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #eef2ff;
}

html[data-theme="dark"] #calendar .fc {
    color: #e5e7eb;
}

html[data-theme="dark"] #calendar .fc-toolbar-title,
html[data-theme="dark"] #calendar .fc-col-header-cell-cushion,
html[data-theme="dark"] #calendar .fc-daygrid-day-number,
html[data-theme="dark"] #calendar .fc-timegrid-axis-cushion,
html[data-theme="dark"] #calendar .fc-timegrid-slot-label-cushion {
    color: #d1d5db;
}

html[data-theme="dark"] #calendar .fc-button {
    background: #111827 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #f3f4f6 !important;
}

html[data-theme="dark"] #calendar .fc-button:hover {
    background: #1f2937 !important;
}

html[data-theme="dark"] #calendar .fc-button-primary:not(:disabled).fc-button-active,
html[data-theme="dark"] #calendar .fc-button-primary:not(:disabled):active {
    background: rgba(59, 130, 246, 0.2) !important;
    border-color: rgba(59, 130, 246, 0.35) !important;
    color: #bfdbfe !important;
}

html[data-theme="dark"] #calendar .fc-theme-standard td,
html[data-theme="dark"] #calendar .fc-theme-standard th,
html[data-theme="dark"] #calendar .fc-theme-standard .fc-scrollgrid {
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] #calendar .fc-list-day-cushion {
    background: rgba(255, 255, 255, 0.06);
}

html[data-theme="dark"] #calendar .fc-day-today {
    background: rgba(59, 130, 246, 0.18) !important;
}

html[data-theme="dark"] .hero-stats .section-card
 {
    background: rgba(17, 24, 39, 0.52);
    border-color: rgba(255, 255, 255, 0.12);
}
html[data-theme="dark"] .overview-strip .section-card{
    background: rgba(255, 255, 255, 0.12);
}
.calendar-board {
    width: 100%;
    min-height: 750px;
}

.fc {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-image-main {
        height: 300px;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        max-width: none;
    }

    .overview-strip,
    .about-layout,
    .notice-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-gallery {
        margin-top: 0.6rem;
    }

    .hero-actions .btn {
        flex: 1 1 calc(50% - 0.5rem);
    }

    #calendar .fc-daygrid-day-frame {
        min-height: 95px;
    }
}

@media (max-width: 767.98px) {
    .service-page {
        padding-top: 1rem;
    }

    .calendar-head {
        flex-direction: column;
    }

    .calendar-frame {
        padding: 0.55rem;
        border-radius: 14px;
    }

    .hero-panel,
    .tabs-shell {
        padding: 1.2rem;
    }

    .page-hero,
    .tabs-shell {
        border-radius: 24px;
        padding: 1rem;
    }

    .hero-title {
        font-size: clamp(1.65rem, 8vw, 2.15rem);
    }

    .hero-image-main {
        height: 240px;
    }

    .hero-stats .section-card,
    .overview-strip .section-card {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .marketplace-tabs .nav-link {
        padding: 0.62rem 0.92rem;
        font-size: 0.9rem;
    }

    #calendar .fc-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    #calendar .fc-toolbar-title {
        font-size: 1.08rem;
    }

    #calendar .fc-daygrid-day-frame {
        min-height: 82px;
    }

    #calendar .fc-button {
        padding: 0.3rem 0.72rem !important;
        font-size: 0.78rem !important;
    }

    .thumb-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-thumb {
        height: 160px;
    }
}
