/* ---------------------------------------------------------
   SnokuInk Unified Client Stylesheet
   Applies to: Booking App + Client Portal
--------------------------------------------------------- */

:root {
    --gold-soft: #e8c96f;
    --gold-deep: #d4af37;
    --white-soft: rgba(255,255,255,0.85);
    --white: #ffffff;
    --black: #0f0f0f;
    --glass-dark: rgba(25,25,25,0.65);
}

/* GLOBAL TEXT */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--white-soft);
    background: #000;
    margin: 0;
    padding: 0;
}

/* TITLES */
.section-title {
    font-size: 34px;
    font-weight: 800;
    color: var(--gold-soft);
    text-align: center;
    margin-bottom: 6px;
}

.section-subtitle {
    text-align: center;
    color: var(--white-soft);
    margin-bottom: 30px;
    font-size: 16px;
}

/* BUTTONS */
.snoku-btn {
    background: var(--gold-soft);
    color: #000;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    width: 100%;
    text-decoration: none;
    transition: 0.25s ease;
}

.snoku-btn:hover {
    background: #fff;
}

/* FORM FIELDS */
.snoku-input {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white-soft);
    font-size: 15px;
    box-sizing: border-box;
    backdrop-filter: blur(8px);
}

.snoku-input:focus {
    border-color: var(--gold-soft);
    outline: none;
}

/* CARDS (MATCH CLIENT PORTAL) */
.snoku-card {
    background: var(--glass-dark);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    transition: 0.25s ease;
}

.snoku-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0,0,0,0.55);
    border-color: rgba(255,215,0,0.35);
}

/* GRID */
.snoku-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

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

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

/* PAGINATION */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 10px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: 0.25s ease;
}

.pagination a:hover {
    background: rgba(255,255,255,0.18);
}

.pagination .active {
    background: var(--gold-soft);
    color: #000;
    font-weight: 700;
}

/* ---------------------------------------------------------
   OS SHELL FIXES (SIDEBAR + HEADER)
--------------------------------------------------------- */

.snoku-os-logo {
    height: 28px !important;
    width: auto !important;
    object-fit: contain;
}

/* SIDEBAR */
.snoku-os-sidebar {
    width: 260px;
    background: rgba(15,15,15,0.85);
    backdrop-filter: blur(12px);
    border-right: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    overflow-y: auto;
    transition: 0.3s ease;
}

body.snoku-sidebar-open .snoku-os-sidebar {
    transform: translateX(0);
}

@media (max-width: 900px) {
    .snoku-os-sidebar {
        transform: translateX(-100%);
    }
}

.snoku-os-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    color: var(--white-soft);
    text-decoration: none;
    font-size: 15px;
    transition: 0.25s ease;
}

.snoku-os-nav-link:hover {
    background: rgba(255,255,255,0.08);
}

/* MAIN CONTENT */
.snoku-os-main {
    margin-left: 260px;
    padding: 30px;
}

@media (max-width: 900px) {
    .snoku-os-main {
        margin-left: 0;
    }
}

/* OVERLAY */
.snoku-os-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

body.snoku-sidebar-open .snoku-os-overlay {
    opacity: 1;
    pointer-events: auto;
}

.snoku-select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    color: rgba(255,255,255,0.55); /* matches your gray text */
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.snoku-select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.35);
}

.snoku-select option {
    background: #111; /* dropdown background */
    color: rgba(255,255,255,0.85); /* option text color */
}

.logo {
    width: 90px;          /* perfect cinematic size */
    height: auto;
    display: block;
    margin: 0 auto 24px;
    opacity: 0.92;
}

.logo-wrap {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    width: 85px;          /* perfect cinematic size */
    max-width: 85px;      /* prevents oversized rendering */
    height: auto;
    display: inline-block;
    opacity: 0.92;
}

/* ============================
   PUBLIC SITE BUTTONS
   ============================ */
.btn-primary {
    display: inline-block;
    padding: 12px 22px;
    background: var(--gold-deep);
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s ease;
}

.btn-primary:hover {
    background: var(--gold-soft);
    transform: translateY(-2px);
}

/* ============================
   MOBILE HEADER FIX
   ============================ */
@media (max-width: 640px) {

    .snoku-os-header-left {
        display: flex;
        align-items: center;
        gap: 12px; /* space between hamburger + logo */
    }

    .snoku-os-hamburger {
        flex-shrink: 0;
        margin-right: 4px;
        font-size: 24px;
    }

    .snoku-os-logo {
        height: 40px;
        width: auto;
        flex-shrink: 0; /* prevents logo from collapsing */
    }

    .snoku-os-header-text {
        display: none; /* hides subtitle on mobile to prevent crowding */
    }
}

/* ============================
   PUBLIC SITE HEADER FIX
   ============================ */

body.snoku-os-body:not(.admin-os):not(.client-os) .snoku-os-header {
    margin-left: 0 !important;
}

body.snoku-os-body:not(.admin-os):not(.client-os) .snoku-os-header-left {
    gap: 14px !important;
}

body.snoku-os-body:not(.admin-os):not(.client-os) .snoku-os-logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.public-site .snoku-os-header {
    margin-left: 0 !important;
}

.public-site .snoku-os-header-left {
    gap: 14px;
}

.public-site .snoku-os-logo {
    height: 48px;
}

/* ============================
   HOMEPAGE CARD SIZE FIX
   ============================ */

.snoku-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.snoku-card {
    padding: 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    height: 100%;
}

.snoku-card-img {
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 12px;
}

.snoku-card-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.snoku-card-text {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: 12px;
}

.snoku-card-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

/* ============================
   HOMEPAGE SPACING FIX
   ============================ */

.snoku-highlight {
    margin-top: 120px;   /* pushes it down */
    padding-bottom: 120px;
    text-align: center;
}

.snoku-highlight-title {
    font-size: 2rem;
    margin-bottom: 12px;
}

.snoku-highlight-text {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.85;
    font-size: 1rem;
}

/* ============================
   HOMEPAGE LINK FIX
   ============================ */

.snoku-link {
    color: var(--gold-deep);
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease;
}

.snoku-link:hover {
    color: var(--gold-soft);
    text-decoration: underline;
}

/* ============================
   HOMEPAGE HERO FIX
   ============================ */

.snoku-hero-overhead {
    min-height: 50vh; /* taller hero */
    height: auto;     /* allow hero to grow with text */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 20px 140px; /* cinematic breathing room */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.snoku-hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.snoku-hero-title {
    font-size: 3rem;
    margin-bottom: 12px;
}

.snoku-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.snoku-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;

    width: 100%;
    padding: 0;              /* remove side padding */
    margin: 0;               /* remove auto-centering */
}

.snoku-card {
    display: flex;
    flex-direction: column;
    align-items: center;     /* center all content */
    text-align: center;      /* center text */
    padding: 18px;
}

.snoku-card-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.session-cards {
    margin-top: 60px;
    padding: 0 20px; /* small breathing room on mobile */
}

.snoku-os-header-sticky {
    position: sticky;
    top: 0;
    z-index: 999;
}

@media (max-width: 640px) {
    .snoku-os-header-left {
        gap: 12px;
    }

    .snoku-os-logo {
        height: 40px;
        flex-shrink: 0;
    }

    .snoku-os-hamburger {
        font-size: 26px;
        flex-shrink: 0;
    }
}

/* PUBLIC BOOKING FOOTER — CENTERED */
.booking-footer {
    width: 100%;
    text-align: center;
    padding: 25px 0;
    font-size: 14px;
    color: #bbb;
    letter-spacing: 0.4px;
}

.booking-footer a {
    color: #d4af37; /* gold accent */
    text-decoration: none;
    font-weight: 500;
}

.booking-footer a:hover {
    opacity: 0.8;
}

/* FORCE CENTER FOOTER TEXT ON BOOKING PAGE */
.booking-footer,
.booking-footer * {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* BOOKING TIME SLOTS — OPEN, SPACED, BOLD */
.time-slot {
    display: block;
    padding: 14px 18px;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px;
    background: #f8f8f8;
    color: #222;
    letter-spacing: 0.4px;
}

/* Selected state (if you have one) */
.time-slot.selected {
    background: #d4af37;
    color: #fff;
}

/* Hover effect */
.time-slot:hover {
    background: #ececec;
    cursor: pointer;
}

/* BOOKING TIME SLOTS — FIX WIDTH + SPACING + READABILITY */
.time-slot {
    display: block;                 /* forces full width */
    width: 100%;                    /* ensures text fits */
    padding: 16px 20px;             /* breathing room */
    margin: 12px 0;                 /* space between slots */
    font-size: 18px;
    font-weight: 700;
    border-radius: 10px;
    background: #f8f8f8;
    color: #222;
    letter-spacing: 0.5px;
    box-sizing: border-box;         /* prevents overflow */
}

/* Hover */
.time-slot:hover {
    background: #ececec;
    cursor: pointer;
}

/* Selected */
.time-slot.selected {
    background: #d4af37;
    color: #fff;
}

/* FORCE CLIENT INFO LABELS + HEADERS TO ALIGN LEFT */
.client-info-form label,
.client-info-form .field-label,
.client-info-form h2,
.client-info-form h3,
.client-info-form p {
    text-align: left !important;
    justify-content: flex-start !important;
}
