/* --- DESIGN SYSTEM: MODERN MINIMALIST (LIGHT - T1 THEME) --- */
:root {
    --t1-bg-main: #f8fafc;
    --t1-bg-card: #ffffff;
    --t1-bg-subtle: #f1f5f9;
    --t1-bg-tertiary: #e2e8f0;
    --t1-text-dark: #0f172a;
    --t1-text-muted: #64748b;
    --t1-text-light: #ffffff;
    --t1-primary: #2563eb;
    --t1-primary-hover: #1d4ed8;
    --t1-primary-soft: rgba(37, 99, 235, 0.08);
    --t1-border: #e2e8f0;
    --t1-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --t1-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    --t1-shadow-hover: 0 10px 25px -5px rgba(15, 23, 42, 0.1);
    --t1-radius: 12px;
    --t1-radius-pill: 9999px;
    --t1-transition: all 0.2s ease;
}



#calendar .fc-today .fc-day-number {
   background: var(--t1-primary);
  color: white;
}



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body,
.t1-body {
    background-color: var(--t1-bg-main);
    color: var(--t1-text-dark);
    font-family: var(--t1-font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.t1-body a {
    color: inherit;
    text-decoration: none;
    transition: var(--t1-transition);
}

.t1-body ul {
    list-style: none;
}

img,
video {
    display: block;
    max-width: 100%;
}



/*
.t1-body img {
    max-width: 100%;
    display: block;
}*/

/* --- RESPONSIVE NAVIGATION --- */
.t1-body .t1-header.nav-mobile { position: sticky !important; top: 0 !important; height: auto; z-index: 1000; background: white; border-bottom: 1px solid var(--t1-border); }
.t1-container.t1-nav { display: flex; flex-wrap: nowrap; align-items: center; gap: 24px; min-height: 76px; padding: 14px 20px; }
.t1-brand-link { display: flex; align-items: center; gap: 12px; min-width: 0; margin-right: auto; max-width: 36%; font-weight: 700; font-size: 1.1rem; line-height: 1.3; overflow-wrap: anywhere; }
.t1-brand-link img { width: 40px; height: 40px; flex-shrink: 0; object-fit: contain; }
.t1-desktop-nav { display: flex; align-items: center; gap: 24px; font-size: .9rem; font-weight: 500; }
.t1-desktop-nav a:hover { color: var(--t1-primary); }
.t1-btn-primary { display: inline-block; border: 0; background: var(--t1-primary); color: white !important; padding: 12px 24px; font-weight: 600; font-size: .9rem; border-radius: var(--t1-radius-pill); text-align: center; cursor: pointer; }
.t1-btn-primary:hover { background: var(--t1-primary-hover); }
.t1-mobile-toggle { display: flex; align-items: center; justify-content: center; gap: 12px; flex-shrink: 0; min-width: 44px; min-height: 44px; padding: 10px; border: 1px solid var(--t1-border); border-radius: 8px; background: white; color: var(--t1-text-dark); font: inherit; font-size: .85rem; cursor: pointer; }
.t1-hamburger-icon, .t1-hamburger-icon::before, .t1-hamburger-icon::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: transform .2s; }
.t1-hamburger-icon::before, .t1-hamburger-icon::after { content: ''; position: absolute; left: 0; }
.t1-hamburger-icon::before { top: -6px; }.t1-hamburger-icon::after { top: 6px; }
.is-active .t1-hamburger-icon { background: transparent; }.is-active .t1-hamburger-icon::before { transform: translateY(6px) rotate(45deg); }.is-active .t1-hamburger-icon::after { transform: translateY(-6px) rotate(-45deg); }
.t1-nav-element { position: absolute; top: 100%; left: 0; right: 0; background: white; box-shadow: var(--t1-shadow-hover); border-bottom: 1px solid var(--t1-border); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
.t1-nav-element.is-open { opacity: 1; visibility: visible; transform: none; }
.t1-nav-menu { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 20px; padding: 24px 20px; max-width: 1140px; margin: auto; max-height: calc(100dvh - 100px); overflow-y: auto; }
.t1-nav-link { display: block; padding: 10px 16px; border-radius: 8px; color: var(--t1-text-muted); font-size: .95rem; }
.t1-nav-link:hover { background: var(--t1-primary-soft); color: var(--t1-primary); }
.t1-drawer-overlay { display: none; position: fixed; inset: 0; z-index: 998; background: rgba(15,23,42,.3); }.t1-drawer-overlay.is-active { display: block; }
.t1-menu-open { overflow: hidden; }
.t1-body :focus-visible { outline: 3px solid var(--t1-primary); outline-offset: 4px; }
.t1-skip-link { position: fixed; top: -100px; left: 16px; z-index: 1002; padding: 12px 20px; background: white; border-radius: 8px; }.t1-skip-link:focus { top: 12px; }
.t1-body section[id], #default-main { scroll-margin-top: 100px; }
@media (max-width: 900px) { .t1-desktop-nav { display: none; }.t1-brand-link { max-width: calc(100% - 68px); }.t1-menu-label { display: none; }.t1-nav-menu { grid-template-columns: 1fr; gap: 2px; padding: 16px; }.t1-container.t1-nav { gap: 16px; min-height: 72px; } }

/* ==========================================================================
   FOOTER & WHATSAPP WIDGET (DEFAULT T1 THEME)
   ========================================================================== */
.t1-footer {
    background-color: var(--t1-bg-card);
    border-top: 1px solid var(--t1-border);
    color: var(--t1-text-muted);
    padding: 48px 24px 32px;
    font-size: 0.9rem;
    margin-top: 40px;
}

.t1-footer-grid {
    max-width: 1140px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.t1-footer-brand h3 {
    font-size: 1.25rem;
    color: var(--t1-text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.t1-footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--t1-text-dark);
    margin-bottom: 14px;
    font-weight: 600;
}

.t1-footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t1-footer-links a {
    color: var(--t1-text-muted);
    text-decoration: none;
    transition: var(--t1-transition);
}

.t1-footer-links a:hover {
    color: var(--t1-primary);
}

.t1-social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.t1-footer-bottom {
    max-width: 1140px;
    margin: 0 auto;
    border-top: 1px solid var(--t1-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
}

.t1-footer-bottom a {
    color: var(--t1-primary);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .t1-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .t1-footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}

/* WhatsApp Floating Button */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--t1-primary);
    border-radius: var(--t1-radius-pill);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: var(--t1-shadow-hover);
    transition: var(--t1-transition);
}

.wa-widget:hover {
    transform: scale(1.08);
    background: var(--t1-primary-hover);
}

.wa-widget svg {
    width: 26px;
    height: 26px;
    fill: var(--t1-text-light);
}






/* --- HERO SECTION --- */
.t1-hero {
    min-height: 60vh;
    padding: 80px 20px;
    background-color: #0f172a;
    border-bottom: 1px solid var(--t1-border);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden; /* Crucial: stops the zoomed video from spilling out */
    color: #ffffff;
}

.t1-hero-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.t1-hero-media img,
.t1-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
    transform: scale(1.04);
    animation: siennaHeroZoom 12s ease-out forwards;
}

.t1-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 1;
}

.t1-hero .t1-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.t1-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 16px;
}

.t1-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
    margin: 0 auto 28px;
    font-weight: 400;
}


/* --- SECTION STRUCTURES & SPACING --- */
.t1-section {
    padding: 64px 20px;
    width: 100%;
}

.t1-bg-alt {
    background-color: var(--t1-bg-subtle);
}

.t1-container {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}

.t1-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

/* --- TYPOGRAPHY & HEADINGS --- */
.t1-heading-block,
.t1-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 36px;
}

.t1-heading-block .t1-tag,
.t1-section-header > span,
.t1-about-content > span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--t1-primary);
    background-color: var(--t1-primary-soft);
    padding: 4px 12px;
    border-radius: var(--t1-radius-pill);
    display: inline-block;
    margin-bottom: 10px;
}

.t1-heading-block h2,
.t1-section-header h2,
.t1-about-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--t1-text-dark);
    margin-top: 4px;
}

/* --- ANNOUNCEMENTS & UPDATE BANNERS --- */
.t1-announcement-banner {
    background: linear-gradient(135deg, var(--t1-primary, #2563eb), #1d4ed8);
    color: #ffffff;
    padding: 14px 20px;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.t1-announcement-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.t1-announcement-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.t1-announcement-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 400;
}


.t1-updates-section {
    background-color: var(--t1-bg-alt);
    padding: 60px 0;
}

.t1-updates-container {
    max-width: 800px;
    margin: 0 auto;
}

.t1-update-card {
    border: 1px solid var(--t1-border);
    border-left: 4px solid var(--t1-primary);
    background: var(--t1-bg-card);
    border-radius: var(--t1-radius);
    padding: 36px 28px;
    box-shadow: var(--t1-shadow);
    text-align: center;
}

.t1-update-badge {
    background: var(--t1-primary);
    color: var(--t1-text-light);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--t1-radius-pill, 50px);
    display: inline-block;
    margin-bottom: 14px;
}

.t1-update-card h2 {
    color: var(--t1-text-dark);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.t1-update-card p {
    color: var(--t1-text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

.t1-update-banner p {
    display: inline-block;
    font-size: 0.95rem;
    color: #1e40af;
}


/*
----------------------------------------
        LIMIT REACHED MESSAGE
----------------------------------------
*/

.Avlyy-limit-banner {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--t1-radius);
    padding: 16px;
    transition: var(--t1-transition);
}

.limit-banner-content p {
    color: #dc2626;
    font-size: 0.95rem;
}

.limit-banner-content p strong {
    color: #991b1b;
    font-weight: 600;
}

/* --- SERVICES GRID --- */
.t1-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 24px;
}

.t1-service-card {
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    border-radius: var(--t1-radius);
    padding: 24px;
    box-shadow: var(--t1-shadow);
    transition: var(--t1-transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.t1-service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--t1-shadow-hover);
    border-color: var(--t1-primary);
}

.t1-service-img {
    width: 100%;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--t1-bg-subtle);
}

.t1-service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t1-service-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--t1-text-dark);
    margin-bottom: 6px;
}

.t1-service-desc {
    font-size: 0.875rem;
    color: var(--t1-text-muted);
    line-height: 1.5;
}

.t1-service-price {
    color: var(--t1-primary);
    font-weight: 700;
}

/* --- FULLCALENDAR INTEGRATION (FIXED ARROWS & COLOR SCHEME) --- */
.t1-booking-wrapper {
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    border-radius: var(--t1-radius);
    padding: 32px;
    box-shadow: var(--t1-shadow);
}

#calendar .fc-toolbar .fc-center h2,
.t1-calendar-month {
    color: var(--t1-text-dark) !important;
    font-size: 1.25rem;
    font-weight: 700;
}

#calendar .fc-prev-button,
#calendar .fc-next-button {
    background: var(--t1-bg-subtle) !important;
    border: 1px solid var(--t1-border) !important;
    border-radius: 8px !important;
    color: var(--t1-text-dark) !important;
    padding: 6px 14px !important;
    font-size: 1rem !important;
    transition: var(--t1-transition) !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

#calendar .fc-prev-button::before,
#calendar .fc-prev-button .fc-icon::before,
#calendar .fc-next-button::before,
#calendar .fc-next-button .fc-icon::before {
    color: var(--t1-text-dark) !important;
}

#calendar .fc-prev-button:hover,
#calendar .fc-next-button:hover {
    background: var(--t1-primary) !important;
    border-color: var(--t1-primary) !important;
    color: var(--t1-text-light) !important;
}

#calendar .fc-prev-button:hover::before,
#calendar .fc-prev-button:hover .fc-icon::before,
#calendar .fc-next-button:hover::before,
#calendar .fc-next-button:hover .fc-icon::before {
    color: var(--t1-text-light) !important;
}

#calendar .fc-prev-button:disabled,
#calendar .fc-next-button:disabled,
#calendar .fc-prev-button.fc-state-disabled,
#calendar .fc-next-button.fc-state-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

#calendar .fc-button,
#calendar .fc-today-button {
    color: var(--t1-text-muted) !important;
}

/* --- CARDS, HOURS & PAYMENT --- */
.t1-card {
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    padding: 28px;
    border-radius: var(--t1-radius);
    box-shadow: var(--t1-shadow);
}

.t1-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--t1-text-dark);
    border-bottom: 1px solid var(--t1-border);
    padding-bottom: 10px;
}

.t1-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.925rem;
    padding: 12px 0;
    border-bottom: 1px dashed var(--t1-border);
}

.t1-hours-row:last-child {
    border-bottom: none;
}

/* --- INPUTS, FORMS & CUSTOM UPLOADS --- */
.t1-input,
.t1-lookup-input,
.t1-form-control,
.form-group input,
.form-group select,
.form-group textarea,
.ai-input-area-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--t1-border);
    background-color: var(--t1-bg-main);
    color: var(--t1-text-dark);
    border-radius: 8px;
    margin-bottom: 14px;
    font-family: var(--t1-font-sans);
    font-size: 0.925rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.t1-input:focus,
.t1-lookup-input:focus,
.t1-form-control:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.ai-input-area-wrapper textarea:focus {
    border-color: var(--t1-primary);
    box-shadow: 0 0 0 3px var(--t1-primary-soft);
}

.form-group label,
.t1-form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--t1-text-dark);
    margin-bottom: 6px;
}

.custom-file-upload {
    background: var(--t1-bg-subtle);
    border: 2px dashed var(--t1-border);
    border-radius: var(--t1-radius);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--t1-transition);
}

.custom-file-upload:hover {
    border-color: var(--t1-primary);
    background-color: var(--t1-bg-card);
}

.upload-icon-wrapper {
    background: var(--t1-bg-card);
    box-shadow: var(--t1-shadow);
    display: inline-flex;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 8px;
}

.upload-icon-wrapper svg {
    color: var(--t1-primary) !important;
}

.upload-text-main { color: var(--t1-text-dark); font-weight: 600; }
.upload-text-sub { color: var(--t1-text-muted); font-size: 0.85rem; }

.blue-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.privacy-notice a {
    color: var(--t1-primary);
    text-decoration: underline;
}

.preview-img {
    border: 2px solid var(--t1-primary) !important;
    border-radius: 8px;
}

.t1-contact-bg {
    background-color: var(--t1-bg-main);
}

.t1-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

.t1-contact-details h3 {
    font-size: 1.75rem;
    color: var(--t1-text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.t1-contact-details p {
    color: var(--t1-text-muted);
    margin-bottom: 24px;
}

.t1-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.t1-contact-item-icon {
    color: var(--t1-primary);
    font-size: 1.25rem;
}

.t1-contact-form {
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    border-radius: var(--t1-radius);
    padding: 32px;
    box-shadow: var(--t1-shadow);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.t1-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.t1-btn-submit-override {
    align-self: flex-start;
}

/* --- BOOKING LOOKUP & BADGES --- */
.t1-btn-gold {
    background-color: var(--t1-primary);
    color: var(--t1-text-light);
    border: none;
    border-radius: var(--t1-radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--t1-transition);
}

.t1-btn-gold:hover {
    background-color: var(--t1-primary-hover);
}

.t1-result-card {
    background: var(--t1-bg-subtle);
    border: 1px solid var(--t1-border);
    border-radius: 8px;
    padding: 18px;
}

.t1-result-title {
    color: var(--t1-text-dark);
    font-weight: 700;
}

.t1-detail-label {
    color: var(--t1-text-muted);
}

.t1-detail-value {
    color: var(--t1-text-dark);
    font-weight: 600;
}

.status-accepted {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-pending {
    background: #fef9c3;
    color: #854d0e;
    border: 1px solid #fef08a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-canceled, 
.status-rejected {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- WHATSAPP WIDGET & SOCIAL --- */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}

.wa-widget:hover { transform: scale(1.08); }
.wa-widget svg { width: 30px; height: 30px; fill: #ffffff; }
.social-icon { color: var(--t1-primary) !important; }



/* TIME SLOTS */


.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.time-slot-item {
    background: var(--t1-bg-subtle);
    border: 1px solid var(--t1-border);
    color: var(--t1-text-dark);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    transition: var(--t1-transition);
}

.time-slot-item:hover {
    border-color: var(--t1-primary);
    color: var(--t1-primary);
    background: var(--t1-primary-soft);
}

/* --- GALLERY --- */
.t1-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    justify-content: center;
}

.t1-gallery-item {
    background-color: var(--t1-bg-subtle);
    border-radius: var(--t1-radius);
    overflow: hidden;
    border: 1px solid var(--t1-border);
    box-shadow: var(--t1-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure wrapper fills card correctly */
.t1-gallery-img-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Force both images AND videos to respect frame bounds and maintain ratio */
.t1-gallery-item img,
.t1-gallery-item video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Prevents horizontal/vertical stretching */
    display: block;
    transition: transform 0.3s ease;
}

.t1-gallery-item:hover img,
.t1-gallery-item:hover video {
    transform: scale(1.05);
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .t1-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .t1-gallery-item img,
    .t1-gallery-item video {
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .t1-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .t1-gallery-item img,
    .t1-gallery-item video {
        max-height: 180px;
    }
}


/* --- STAFF GRID --- */
.t1-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.t1-staff-card {
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    padding: 20px;
    border-radius: var(--t1-radius);
    text-align: center;
    box-shadow: var(--t1-shadow);
}

.t1-staff-img {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: var(--t1-bg-subtle);
}

.t1-staff-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.t1-staff-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--t1-text-dark);
}

.t1-staff-card p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--t1-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* Modal Branding */
#globalModal {
    background: var(--t1-bg-card);
    border: 2px solid var(--t1-primary);
    color: var(--t1-text-dark);
}

.select-modal h2 {
    color: var(--t1-text-dark);
}

.select-modal {
    background: var(--t1-bg-card); /* Same as booking modal */
    border: 2px solid var(--t1-primary); /* Same as booking modal */
}

#globalModalOverlay {
    background: rgba(15, 23, 42, 0.6);
}

/* Modal Options Styling */
.modal-option {
    background: var(--t1-bg-subtle);
    color: var(--t1-text-dark);
}

.modal-option:hover {
    background: var(--t1-primary);
    color: var(--t1-text-light);
}

.modal-option-disabled {
    color: #ef4444 !important;
    background-color: #fef2f2 !important; /* Soft red tint for light theme */
    border: 1px dashed #ef4444;
}

/* --- Timeslot modal --- */

/* --- Theme.css --- */
.modal-content {
    position: relative;
    background-color: var(--t1-bg-card);
    border: 1px solid var(--t1-border);
    box-shadow: var(--t1-shadow-hover);
    /* Ensure padding is consistent */
    padding: 20px; 
}

/* Update these in Theme.css */
/* --- Theme.css --- */
.popup-header {
    border-bottom: 1px solid var(--t1-border);
      color: var(--t1-text-dark);
}

.popup-header h2 {
    color: var(--t1-text-dark);
    font-family: var(--t1-font-sans);
}

.close-x {
    color: var(--t1-text-muted);
}

.close-x:hover {
    color: var(--t1-primary);
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

.time-slot-item {
    background: var(--t1-bg-subtle);
    border: 1px solid var(--t1-border);
    color: var(--t1-text-dark);
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    font-family: var(--t1-font-sans);
    transition: var(--t1-transition);
}

.time-slot-item:hover {
    border-color: var(--t1-primary);
    color: var(--t1-primary);
}

/* ==========================================
   CANCEL APPOINTMENT MODAL COLORS
======================================== */

.media-safety-layer {
    background: rgba(15, 23, 42, 0.5) !important;
}

.action-prompt-card {
    background: var(--t1-bg-card) !important;
    border: 1px solid var(--t1-border) !important;
    color: var(--t1-text-dark) !important;
}

.prompt-text {
    color: var(--t1-text-dark) !important;
    font-family: var(--t1-font-sans) !important;
}

.btn-dismiss {
    background: var(--t1-bg-subtle) !important;
    color: var(--t1-text-dark) !important;
}

.btn-execute {
    background: var(--t1-primary) !important;
    color: var(--t1-text-light) !important;
}



.no-slots-container {
    background: #fff5f5;
    border: 1px solid #ffe3e3;
    border-radius: 12px;
    padding: 24px 16px !important;
    margin: 15px 0;
}


/* --- NO SLOTS  --- */


/* ==========================================
   DEFAULT TEMPLATE - NO SLOTS / CLOSED
   ========================================== */
.no-slots-container {
    background-color: var(--t1-bg-subtle);
    border: 1px solid var(--t1-border);
    border-radius: var(--t1-radius);
    padding: 24px 16px;
    margin: 15px 0;
    text-align: center;
    box-shadow: var(--t1-shadow);
    transition: var(--t1-transition);
}

.no-slots-title {
    font-family: var(--t1-font-sans);
    color: var(--t1-text-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.no-slots-sub {
    font-family: var(--t1-font-sans);
    color: var(--t1-text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}



/* --- ABOUT SECTION --- */
.t1-about-image-wrapper {
    border-radius: var(--t1-radius);
    overflow: hidden;
    border: 1px solid var(--t1-border);
    box-shadow: var(--t1-shadow);
}

.t1-about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- AI ASSISTANT SHELL --- */
.assistant-fab {
    background: var(--t1-primary);
    border: none;
    box-shadow: var(--t1-shadow-hover);
    border-radius: 50%;
    transition: var(--t1-transition);
}

.assistant-fab:hover {
    transform: scale(1.05);
}

.assistant-fab img {
    color: #ffffff;
}

aside.assistant,
.ai-content-wrapper {
    background-color: var(--t1-bg-card) !important;
    border: 1px solid var(--t1-border);
    border-radius: var(--t1-radius);
    box-shadow: var(--t1-shadow-hover);
    font-family: var(--t1-font-sans);
}

.ai-header {
    background-color: var(--t1-bg-card);
    border-bottom: 1px solid var(--t1-border);
/*  background: pink!important;*/
  height: 25px;
}

.ai-header-content .role-title { color: var(--t1-text-dark); font-weight: 600; }
.ai-header-content .brand-tag, .ai-input-area-wrapper .hint { color: var(--t1-text-muted); }

.ai-header-content #Avlyy-ai-close {
    background-color: var(--t1-bg-subtle) !important;
    color: var(--t1-text-dark) !important;
    border: 1px solid var(--t1-border) !important;
    border-radius: 50%;
}

.ai-header-content #Avlyy-ai-close:hover {
    background-color: var(--t1-border) !important;
    color: var(--t1-primary) !important;
}

.ai-public-chat-bubble {
    background-color: var(--t1-bg-subtle) !important;
    border: 1px solid var(--t1-border);
    color: var(--t1-text-dark);
    border-radius: 8px;
    padding: 12px;
}

.ai-public-chat-bubble strong { color: var(--t1-primary); }

.ai-input-area-wrapper textarea::placeholder {
    color: var(--t1-text-muted);
    opacity: 0.6;
}

@media (max-width: 992px) {
    .t1-grid-2 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .t1-hero {
        padding: 80px 20px;          /* Generous padding so the text and video have breathing room on mobile */
        min-height: 520px;           /* Gives the background video plenty of height on smaller screens */
    }

    .t1-section {
        padding: 48px 16px;
    }

    .t1-booking-wrapper,
    .t1-card {
        padding: 20px;
    }


}



/* --- EMPTY HERO & BOOKING CLEANUP --- */
.t1-hero-no-media { min-height: 380px; background: radial-gradient(ellipse at 50% 0%, #dbeafe 0%, #eff6ff 45%, #f8fafc 100%); color: var(--t1-text-dark); }
.t1-hero-no-media .t1-hero-media, .t1-hero-no-media .t1-hero-overlay { display: none; }
.t1-hero-no-media .t1-hero-title { color: var(--t1-text-dark); }
.t1-hero-no-media .t1-hero-subtitle { color: #475569; }
.t1-hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 24px; }
.t1-hero-services { font-size: .9rem; font-weight: 600; text-decoration: underline !important; text-underline-offset: 4px; }
.t1-booking-panel { max-width: 900px; margin: auto; background: white; border: 1px solid var(--t1-border); border-radius: var(--t1-radius); padding: 28px; box-shadow: var(--t1-shadow); }
.t1-service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }
.t1-service-card p { font-size: .875rem; color: var(--t1-text-muted); margin-bottom: 16px; }
.t1-service-card.selected { border-color: var(--t1-primary); box-shadow: 0 0 0 2px var(--t1-primary); }
.t1-body h1, .t1-body h2, .t1-body h3, .t1-body p { overflow-wrap: anywhere; }
#booking #calendar { --cal-primary: var(--t1-primary); --cal-text: var(--t1-text-dark); }
#booking #calendar .fc-row { position: relative; }
#booking #calendar .fc-bg { position: absolute; inset: 0; }
#booking #calendar .fc-bg table { height: 100%; }
#booking #calendar .fc-content-skeleton { position: relative; z-index: 4; }
#booking #calendar table { width: 100%; border-collapse: collapse; table-layout: fixed; }
#booking #calendar .fc-icon { display: none; }
#booking #calendar .fc-prev-button::before { content: '‹'; }
#booking #calendar .fc-next-button::before { content: '›'; }
#booking #calendar .fc-prev-button::before, #booking #calendar .fc-next-button::before { font-size: 26px; line-height: 1; }
@media (max-width: 600px) { .t1-hero { padding: 60px 20px; }.t1-hero-no-media { min-height: 320px; }.t1-section { padding: 44px 16px; }.t1-booking-panel { padding: 16px 10px; }.t1-heading-block, .t1-section-header { margin-bottom: 28px; }.wa-widget { right: 16px; bottom: 16px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; }.t1-body *, .t1-body *::before, .t1-body *::after { animation: none !important; transition: none !important; } }
#booking #calendar { --cal-accent-color: var(--t1-primary); --cal-accent-subtle: var(--t1-primary-soft); }
#booking #calendar .fc-day.day-closed { background: #f1f5f9 !important; }
#booking #calendar .fc-content-skeleton td.day-closed .fc-day-number { color: #94a3b8 !important; }

/* Mobile navigation stays in the page flow and scrolls away. */
@media (max-width: 900px) {
    .t1-body .t1-header.nav-mobile { position: relative !important; top: auto !important; }
    .t1-body section[id], #default-main { scroll-margin-top: 20px; }
}
