/* ===================================================
   SABAHAT APAN — site.css
   Palette: Warm Ivory · Deep Walnut · Antique Gold
   Fonts: Playfair Display (headings) + DM Sans (body)
=================================================== */

:root {
    --sa-ivory: #FAF7F2;
    --sa-walnut: #2C1A0E;
    --sa-gold: #B07D3A;
    --sa-gold-lt: #D4A860;
    --sa-sand: #E8DFCF;
    --sa-muted: #6A5A4A;
    --sa-border: rgba(44,26,14,.12);
    --sa-text: #1A1008;
    --sa-text-sm: #5A4A35;
}

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

html {
    max-width: 100%;
    overflow-x: hidden;
}

img, video, iframe, embed, object {
    max-width: 100%;
    height: auto;
}

body {
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    color: var(--sa-text);
    background: #fff;
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

a {
    color: var(--sa-gold);
    text-decoration: none;
}

    a:hover {
        color: var(--sa-walnut);
    }

/* ── Top Bar ───────────────────────────────────────── */
.top-bar {
    background: var(--sa-walnut);
    padding: .4rem 0;
    font-size: 13px;
}

    .top-bar a {
        color: rgba(245,237,214,.7);
        transition: color .2s;
    }

        .top-bar a:hover {
            color: var(--sa-gold-lt);
        }

.top-bar-info a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons-top a {
    color: rgba(245,237,214,.7);
    font-size: 15px;
    transition: color .2s;
}

    .social-icons-top a:hover {
        color: var(--sa-gold-lt);
    }

/* ── Navbar ────────────────────────────────────────── */
.sa-navbar {
    background: #fff;
    border-bottom: 1px solid var(--sa-border);
    padding: .75rem 0;
}

.sa-logo {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--sa-walnut) !important;
    letter-spacing: -.3px;
}

    .sa-logo span {
        color: var(--sa-gold);
    }

.sa-navbar .nav-link {
    color: var(--sa-muted);
    font-size: 14px;
    font-weight: 400;
    padding: .5rem .75rem;
    border-radius: 4px;
    transition: all .2s;
}

    .sa-navbar .nav-link:hover,
    .sa-navbar .nav-link.active {
        color: var(--sa-walnut);
        background: var(--sa-ivory);
    }

.sa-btn-cta {
    background: var(--sa-walnut);
    color: #F5EDD6 !important;
    font-size: 13px;
    font-weight: 500;
    padding: .5rem 1.25rem;
    border-radius: 4px;
    border: none;
    transition: background .2s;
}

    .sa-btn-cta:hover {
        background: var(--sa-gold);
    }

/* ── Hero ──────────────────────────────────────────── */
.sa-hero {
    background: var(--sa-ivory);
    min-height: 520px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sa-hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sa-gold);
    margin-bottom: 1rem;
}

.sa-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sa-walnut);
    margin-bottom: 1.25rem;
}

    .sa-hero h1 em {
        color: var(--sa-gold);
        font-style: italic;
    }

.sa-hero-sub {
    font-size: 16px;
    color: var(--sa-text-sm);
    max-width: 480px;
    margin-bottom: 2rem;
}

.sa-hero-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px 0 0 8px;
}

.sa-hero-img-wrap {
    background: var(--sa-sand);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-hero-badge {
    position: absolute;
    bottom: 2rem;
    background: var(--sa-walnut);
    color: #F5EDD6;
    padding: .75rem 1.25rem;
    border-radius: 6px;
}

    .sa-hero-badge strong {
        display: block;
        font-size: 24px;
        font-weight: 700;
        line-height: 1;
    }

    .sa-hero-badge small {
        font-size: 12px;
        opacity: .7;
    }

/* ── Buttons ───────────────────────────────────────── */
.btn-sa-primary {
    background: var(--sa-walnut);
    color: #F5EDD6;
    border: none;
    padding: .65rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background .2s;
}

    .btn-sa-primary:hover {
        background: var(--sa-gold);
        color: #fff;
    }

.btn-sa-outline {
    background: transparent;
    color: var(--sa-walnut);
    border: 1px solid var(--sa-walnut);
    padding: .65rem 1.5rem;
    border-radius: 4px;
    font-weight: 400;
    font-size: 14px;
    transition: all .2s;
}

    .btn-sa-outline:hover {
        background: var(--sa-walnut);
        color: #F5EDD6;
    }

.btn-sa-gold {
    background: var(--sa-gold);
    color: #fff;
    border: none;
    padding: .65rem 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: background .2s;
}

    .btn-sa-gold:hover {
        background: var(--sa-walnut);
        color: #fff;
    }

/* ── Stats Bar ─────────────────────────────────────── */
.sa-stats {
    border-top: 1px solid var(--sa-border);
    border-bottom: 1px solid var(--sa-border);
    background: #fff;
}

.sa-stat {
    padding: 1.5rem;
    border-right: 1px solid var(--sa-border);
    text-align: center;
}

    .sa-stat:last-child {
        border-right: none;
    }

.sa-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--sa-gold);
    line-height: 1;
}

.sa-stat-label {
    font-size: 13px;
    color: var(--sa-muted);
    margin-top: 4px;
}

/* ── Section Titles ────────────────────────────────── */
.sa-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sa-walnut);
}

.sa-section-eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sa-gold);
    font-weight: 500;
    margin-bottom: .5rem;
}

.sa-link-more {
    font-size: 13px;
    color: var(--sa-gold);
    font-weight: 500;
}

    .sa-link-more:hover {
        color: var(--sa-walnut);
    }

/* ── Training Cards ────────────────────────────────── */
.training-card {
    border: 1px solid var(--sa-border);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow .25s, border-color .25s, transform .25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .training-card:hover {
        border-color: var(--sa-gold);
        box-shadow: 0 4px 24px rgba(176,125,58,.12);
        transform: translateY(-3px);
    }

.training-card-img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}

.training-card-img-placeholder {
    height: 180px;
    background: var(--sa-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--sa-gold);
}

.training-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.training-card-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sa-gold);
    margin-bottom: .4rem;
}

.training-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--sa-walnut);
    line-height: 1.4;
    margin-bottom: .5rem;
}

.training-card-meta {
    font-size: 12px;
    color: var(--sa-muted);
    margin-top: auto;
}

.training-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem 1.25rem;
    border-top: 1px solid var(--sa-border);
    background: var(--sa-ivory);
}

.training-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sa-walnut);
}

.training-type-badge {
    font-size: 11px;
    color: var(--sa-gold);
    background: rgba(176,125,58,.1);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

/* ── Blog Cards ────────────────────────────────────── */
.blog-card {
    border: 1px solid var(--sa-border);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s, transform .25s;
    height: 100%;
}

    .blog-card:hover {
        box-shadow: 0 4px 20px rgba(44,26,14,.1);
        transform: translateY(-3px);
    }

.blog-card-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.blog-card-img-placeholder {
    height: 200px;
    background: var(--sa-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--sa-gold);
}

.blog-card-body {
    padding: 1.25rem;
}

.blog-card-cat {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sa-gold);
    margin-bottom: .4rem;
}

.blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--sa-walnut);
    line-height: 1.4;
    margin-bottom: .5rem;
}

.blog-card-date {
    font-size: 12px;
    color: var(--sa-muted);
}

/* ── Category Filter Pills ─────────────────────────── */
.filter-pill {
    padding: .35rem 1rem;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 400;
    color: var(--sa-muted);
    border: 1px solid var(--sa-border);
    background: #fff;
    cursor: pointer;
    transition: all .2s;
    text-decoration: none;
    display: inline-block;
}

    .filter-pill:hover, .filter-pill.active {
        background: var(--sa-walnut);
        color: #F5EDD6;
        border-color: var(--sa-walnut);
    }

/* ── Testimonials ──────────────────────────────────── */
.testimonial-card {
    background: var(--sa-ivory);
    border: 1px solid var(--sa-border);
    border-radius: 10px;
    padding: 1.75rem;
}

.testimonial-stars {
    color: var(--sa-gold);
    font-size: 14px;
    margin-bottom: .75rem;
}

.testimonial-text {
    font-size: 15px;
    color: var(--sa-text-sm);
    line-height: 1.7;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 1.25rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sa-sand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--sa-walnut);
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--sa-walnut);
}

.testimonial-title-small {
    font-size: 12px;
    color: var(--sa-muted);
}

/* ── Contact ───────────────────────────────────────── */
.sa-form-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--sa-walnut);
    margin-bottom: .3rem;
}

.sa-form-control {
    border: 1px solid var(--sa-border);
    border-radius: 4px;
    padding: .65rem .9rem;
    font-size: 14px;
    transition: border-color .2s;
    background: #fff;
    width: 100%;
}

    .sa-form-control:focus {
        outline: none;
        border-color: var(--sa-gold);
        box-shadow: 0 0 0 3px rgba(176,125,58,.12);
    }

/* ── Footer ────────────────────────────────────────── */
.sa-footer {
    background: var(--sa-walnut);
    color: rgba(245,237,214,.8);
}

.sa-footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #F5EDD6;
}

    .sa-footer-logo span {
        color: var(--sa-gold);
    }

.sa-footer-desc {
    font-size: 13px;
    color: rgba(245,237,214,.6);
    line-height: 1.7;
}

.footer-col-title {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sa-gold);
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: .4rem;
}

.footer-links a {
    font-size: 13px;
    color: rgba(245,237,214,.65);
    transition: color .2s;
}

    .footer-links a:hover {
        color: var(--sa-gold-lt);
    }

.footer-divider {
    border-color: rgba(245,237,214,.1);
    margin: 0;
}

.footer-bottom {
    font-size: 12px;
    color: rgba(245,237,214,.4);
}

.footer-admin-link {
    color: rgba(245,237,214,.3);
}

    .footer-admin-link:hover {
        color: var(--sa-gold);
    }

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(245,237,214,.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(245,237,214,.65);
    font-size: 14px;
    transition: all .2s;
}

    .social-icon:hover {
        background: var(--sa-gold);
        border-color: var(--sa-gold);
        color: #fff;
    }

/* ── Admin Layout ──────────────────────────────────── */
.admin-sidebar {
    background: var(--sa-walnut);
    min-height: 100vh;
    width: 240px;
    position: fixed;
    left: 0;
    top: 0;
    padding: 1.5rem 0;
    z-index: 100;
}

.admin-sidebar-logo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #F5EDD6;
    padding: 0 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    margin-bottom: 1rem;
}

    .admin-sidebar-logo span {
        color: var(--sa-gold);
    }

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: .65rem 1.5rem;
    color: rgba(245,237,214,.65);
    font-size: 13px;
    font-weight: 400;
    transition: all .2s;
    border-left: 3px solid transparent;
}

    .admin-nav-link:hover, .admin-nav-link.active {
        color: #F5EDD6;
        background: rgba(255,255,255,.07);
        border-left-color: var(--sa-gold);
    }

    .admin-nav-link i {
        font-size: 16px;
        width: 20px;
    }

.admin-main {
    margin-left: 240px;
    min-height: 100vh;
    background: #F8F4EF;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--sa-border);
    padding: .75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: 2rem 1.5rem;
}

.admin-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sa-border);
    padding: 1.5rem;
}

.admin-stat-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--sa-border);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

    .admin-stat-icon.gold {
        background: rgba(176,125,58,.12);
        color: var(--sa-gold);
    }

    .admin-stat-icon.walnut {
        background: rgba(44,26,14,.1);
        color: var(--sa-walnut);
    }

.admin-stat-val {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--sa-walnut);
}

.admin-stat-label {
    font-size: 12px;
    color: var(--sa-muted);
}

/* ── Section BG ────────────────────────────────────── */
.bg-ivory {
    background: var(--sa-ivory);
}

.bg-sand {
    background: var(--sa-sand);
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
    .sa-hero h1 {
        font-size: 1.75rem;
    }

    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
    }
}

/* ── WhatsApp Floating ─────────────────────────────── */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    left: 1.5rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    z-index: 999;
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
}

    .floating-whatsapp:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 24px rgba(37,211,102,.55);
        color: #fff;
    }

/* ── Scroll To Top ─────────────────────────────────── */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sa-walnut);
    color: #F5EDD6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s, visibility .3s, transform .3s, background .2s;
    box-shadow: 0 4px 16px rgba(44,26,14,.25);
}

    .scroll-top-btn.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .scroll-top-btn:hover {
        background: var(--sa-gold);
    }
