/**
 * Shri Yoga Master — Core Styling
 */

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-variant-numeric: tabular-nums lining-nums;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Unicode-range number override so Cinzel headings use Inter for digits */
@font-face {
    font-family: 'Cinzel';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: local('Inter SemiBold'), local('Inter-SemiBold'), local('Inter'), local('Plus Jakarta Sans'), local('sans-serif');
    unicode-range: U+0030-0039, U+002B, U+20B9, U+0024, U+0025, U+002C, U+002E, U+002D, U+003A, U+002F, U+002A;
}

.font-serif {
    font-family: 'Cinzel', Georgia, serif;
    letter-spacing: -0.01em;
}

/* Dedicated numeric class for easy-to-read numbers */
.font-numeric, .font-num, .stat-digit {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
    font-variant-numeric: tabular-nums lining-nums !important;
    letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
}

.bg-surface {
    background-color: var(--surface) !important;
}

.bg-card {
    background-color: var(--surface-card) !important;
}

.text-accent {
    color: var(--secondary) !important;
}

.border {
    border-color: var(--border) !important;
}

/* Kicker & Section Tags */
.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Navigation Bar */
.site-header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.navbar-brand .brand-title {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--heading);
}

.brand-om-icon {
    font-size: 1.5rem;
    color: var(--secondary);
}

.brand-tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.navbar-nav .nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    padding: 0.75rem 0.9rem;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    color: #FFFFFF;
    border: 1px solid var(--primary);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 0.375rem;
    transition: all 0.25s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-dark);
    color: #FFFFFF;
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--heading);
    border: 1px solid var(--border);
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 0.375rem;
    transition: all 0.25s ease;
}

.btn-outline-custom:hover {
    background-color: var(--surface);
    border-color: var(--heading);
    color: var(--heading);
}

.btn-whatsapp-custom, .btn-whatsapp-header {
    background-color: var(--whatsapp);
    color: #FFFFFF;
    font-weight: 600;
    border-radius: 0.375rem;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-whatsapp-custom:hover, .btn-whatsapp-header:hover {
    background-color: var(--whatsapp-dark);
    color: #FFFFFF;
}

.bg-primary-custom {
    background-color: var(--primary) !important;
}

.bg-whatsapp-gradient {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* Floating WhatsApp Widget */
.floating-whatsapp-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1040;
}

@media (max-width: 991.98px) {
    .floating-whatsapp-widget {
        bottom: 75px !important;
        right: 16px !important;
        z-index: 99998 !important;
    }
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.08);
    color: #FFFFFF;
}

/* Sticky Mobile Action Bar (Permanently Fixed & Safe Area Aware) */
.sticky-mobile-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0D1210 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.35) !important;
    z-index: 99999 !important;
    padding: 0.4rem 0.5rem !important;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px)) !important;
}

@media (min-width: 992px) {
    .sticky-mobile-bar {
        display: none !important;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

.mobile-bar-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    gap: 0.25rem;
}

.mobile-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.62rem;
    font-weight: 700;
    color: #A3B1A9;
    text-decoration: none;
    padding: 0.25rem 0.1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.mobile-bar-btn:hover,
.mobile-bar-btn:active {
    color: var(--secondary);
}

.mobile-bar-btn i {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.mobile-bar-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -1.25rem;
}

.mobile-bar-whatsapp {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    text-decoration: none;
    transition: transform 0.2s ease;
}

.mobile-bar-whatsapp:hover,
.mobile-bar-whatsapp:active {
    transform: scale(1.08);
    color: #FFFFFF;
}

.live-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 7px;
    height: 7px;
    background-color: #EF4444;
    border-radius: 50%;
    box-shadow: 0 0 6px #EF4444;
}

/* Footer Styling */
.site-footer {
    background-color: #121815;
    color: #A3B1A9;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-heading {
    color: #FFFFFF;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.footer-nav-list {
    list-style: none;
    padding-left: 0;
}

.footer-nav-list li {
    margin-bottom: 0.5rem;
}

.footer-nav-list a {
    color: #A3B1A9;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-nav-list a:hover {
    color: var(--secondary);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
}

.footer-contact-item i {
    color: var(--secondary);
    margin-top: 0.2rem;
}

.footer-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    color: #FFFFFF;
    margin-right: 0.5rem;
    transition: all 0.2s ease;
}

.footer-social-links a:hover {
    background: var(--secondary);
    color: #FFFFFF;
}

.developer-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}
