/* ===================================================
   AYUSH TV — Shared CSS (used on ALL pages)
   Header, Footer, Sidebar, Scroll-top, Live TV float
   =================================================== */

/* Fonts loaded via HTML <link> tag - Lato + Inter */

:root {
    --primary: #1B4332;
    --primary-mid: #2D6A4F;
    --primary-light: #40916C;
    --accent: #D4A017;
    --accent-light: #F4C842;
    --cream: #FDF6E3;
    --cream-dark: #F2E8C9;
    --text-dark: #1A1A2E;
    --text-body: #3D4A3E;
    --text-muted: #7A8A7B;
    --white: #FFFFFF;
    --sidebar-bg: #0D2B1D;
    --font-display: 'Lato', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-elegant: 'Lato', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --shadow-soft: 0 8px 32px rgba(27,67,50,0.12);
    --shadow-card: 0 4px 20px rgba(27,67,50,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text-body); overflow-x: hidden; line-height: 1.7; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ===== SIDEBAR ===== */
.sidebar-overlay { position: fixed; inset: 0; background: rgba(13,43,29,0.55); backdrop-filter: blur(4px); z-index: 1100; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.sidebar-overlay.active { opacity: 1; pointer-events: all; }
.sidebar-panel { position: fixed; top: 0; right: -380px; width: 360px; height: 100vh; background: var(--sidebar-bg); z-index: 1200; transition: right 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94); overflow-y: auto; }
.sidebar-panel.open { right: 0; }
.sidebar-header { background: var(--primary); padding: 28px 32px 20px; border-bottom: 1px solid rgba(212,160,23,0.3); display: flex; align-items: center; justify-content: space-between; }
.sidebar-header img { height: 42px; }
.sidebar-close { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 18px; transition: var(--transition); }
.sidebar-close:hover { background: var(--accent); }
.sidebar-label { padding: 20px 32px 10px; font-family: var(--font-elegant); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.sidebar-nav-item { display: flex; align-items: center; gap: 16px; padding: 18px 32px; color: rgba(255,255,255,0.85); font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.06); transition: var(--transition); position: relative; overflow: hidden; }
.sidebar-nav-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform 0.3s ease; }
.sidebar-nav-item:hover { color: var(--accent-light); background: rgba(255,255,255,0.05); padding-left: 40px; }
.sidebar-nav-item:hover::before { transform: scaleY(1); }
.sidebar-nav-item .icon { width: 42px; height: 42px; background: rgba(212,160,23,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.sidebar-desc { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }
.sidebar-social { padding: 24px 32px; border-top: 1px solid rgba(255,255,255,0.08); }
.sidebar-social p { font-size: 11px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.sidebar-social-links { display: flex; gap: 10px; }
.sidebar-social-links a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.7); font-size: 14px; }
.sidebar-social-links a:hover { background: var(--accent); color: var(--white); }

/* ===== HEADER ===== */
.header-top-bar { background: var(--primary); padding: 9px 0; font-size: 13px; }
.header-top-bar .container { display: flex; align-items: center; justify-content: space-between; }
.top-social a { color: rgba(255,255,255,0.75); margin-right: 12px; font-size: 13px; }
.top-social a:hover { color: var(--accent-light); }
.top-social span { color: rgba(255,255,255,0.5); font-size: 12px; margin-right: 8px; }
.top-contact-links a { color: rgba(255,255,255,0.75); margin-left: 20px; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.top-contact-links a:hover { color: var(--accent-light); }
.top-contact-links i { color: var(--accent); }
.main-header { background: var(--white); box-shadow: 0 2px 20px rgba(27,67,50,0.08); position: sticky; top: 0; z-index: 999; }
.main-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.nav-logo img { height: 52px; }
.main-nav { display: flex; align-items: center; gap: 6px; flex: 1; justify-content: center; }
.nav-link-item { display: inline-flex; align-items: center; color: var(--text-dark); font-size: 14.5px; font-weight: 500; padding: 8px 14px; border-radius: 8px; position: relative; transition: var(--transition); text-decoration: none; }
.nav-link-item:hover, .nav-link-item.active { color: var(--primary); background: rgba(27,67,50,0.07); }
.nav-link-item::after { content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%) scaleX(0); width: 20px; height: 2px; background: var(--accent); border-radius: 2px; transition: transform 0.3s ease; }
.nav-link-item:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-dropdown { position: relative; }
.nav-dropdown-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 200px; background: var(--white); border-radius: 12px; box-shadow: 0 12px 40px rgba(27,67,50,0.15); border: 1px solid rgba(27,67,50,0.08); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.3s ease; z-index: 1000; }
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 10px 16px; color: var(--text-body); font-size: 14px; border-radius: 8px; transition: var(--transition); }
.nav-dropdown-menu a:hover { background: rgba(27,67,50,0.07); color: var(--primary); padding-left: 22px; }
.nav-dropdown-toggle.nav-link-item::after { content: '\f107' !important; font-family: 'Font Awesome 6 Pro' !important; font-weight: 900 !important; position: static !important; transform: none !important; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; margin-left: 5px; font-size: 11px; bottom: auto !important; left: auto !important; transition: none !important; }
.nav-dropdown-toggle.nav-link-item:hover::after { transform: none !important; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.btn-sidebar-toggle { display: flex; align-items: center; gap: 8px; background: var(--primary); color: var(--white); border: none; padding: 10px 18px; border-radius: 10px; font-size: 13.5px; font-weight: 500; font-family: var(--font-body); cursor: pointer; transition: var(--transition); }
.btn-sidebar-toggle:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn-contact { display: flex; align-items: center; gap: 8px; background: var(--accent); color: var(--white); border: none; padding: 10px 20px; border-radius: 10px; font-size: 13.5px; font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: var(--transition); text-decoration: none; }
.btn-contact:hover { background: #b8860b; color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(212,160,23,0.35); }
.mobile-toggle { display: none; background: none; border: 1.5px solid rgba(27,67,50,0.2); color: var(--primary); width: 40px; height: 40px; border-radius: 8px; cursor: pointer; align-items: center; justify-content: center; font-size: 18px; }
.mobile-nav-menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 30px rgba(27,67,50,0.12); z-index: 998; padding: 16px 0; }
.mobile-nav-menu.open { display: block; }
.mobile-nav-menu a { display: block; padding: 12px 24px; color: var(--text-dark); font-size: 15px; border-bottom: 1px solid rgba(27,67,50,0.06); }
.mobile-nav-menu a:hover { color: var(--primary); background: rgba(27,67,50,0.04); padding-left: 32px; }

/* ===== PAGE BREADCRUMB ===== */
.page-breadcrumb { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%); padding: 60px 0 50px; position: relative; overflow: hidden; }
.page-breadcrumb::before { content: ''; position: absolute; inset: 0;  background-size: cover; background-position: center; opacity: 0.18; }
.page-breadcrumb .container { position: relative; z-index: 2; }
.breadcrumb-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px); color: var(--white); font-weight: 700; margin-bottom: 12px; }
.breadcrumb-nav { display: flex; align-items: center; gap: 10px; }
.breadcrumb-nav a { color: rgba(255,255,255,0.7); font-size: 14px; }
.breadcrumb-nav a:hover { color: var(--accent-light); }
.breadcrumb-nav span { color: rgba(255,255,255,0.4); font-size: 12px; }
.breadcrumb-nav .current { color: var(--accent-light); font-size: 14px; }

/* ===== FOOTER ===== */
.footer-heading { font-family: var(--font-display); font-size: 17px; color: var(--white); margin-bottom: 22px; padding-bottom: 14px; position: relative; }
.footer-heading::after { content: ''; position: absolute; bottom: 0; left: 0; width: 36px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); border-radius: 2px; }
.footer-heading::before { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,0.08); }
.footer-main { background: var(--sidebar-bg); color: rgba(255,255,255,0.75); padding: 80px 0 40px; }
.footer-logo img { height: 48px; margin-bottom: 20px; }
.footer-about-text { font-size: 14px; line-height: 1.85; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 14px; display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-links a i { color: var(--accent); font-size: 10px; }
.footer-links a:hover { color: var(--accent-light); padding-left: 6px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.footer-contact-icon { width: 38px; height: 38px; background: rgba(212,160,23,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-bottom { background: rgb(13 43 29); padding: 20px 0; border-top: 5px solid rgba(255,255,255,0.06); }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.copyright-text { font-size: 13px; color: rgba(255,255,255,0.5); }
.copyright-text a { color: var(--accent); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 14px; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }

/* ===== SCROLL TO TOP ===== */
#scroll-top { position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px; background: var(--primary); color: var(--white); border-radius: 12px; display: none; align-items: center; justify-content: center; font-size: 16px; z-index: 999; box-shadow: 0 6px 20px rgba(27,67,50,0.3); transition: var(--transition); }
#scroll-top:hover { background: var(--accent); color: var(--white); }
#scroll-top.visible { display: flex; }

/* ===== LIVE TV FLOAT ===== */
.live-tv-float { position: fixed; right: -86px; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; align-items: center; transition: right 0.45s cubic-bezier(0.25, 0.8, 0.25, 1); }
.live-tv-float:hover { right: 0; }
.live-tv-tab { background: var(--primary); color: var(--accent-light); width: 28px; height: 72px; border-radius: 12px 0 0 12px; display: flex; align-items: center; justify-content: center; box-shadow: -4px 0 20px rgba(27,67,50,0.35); flex-shrink: 0; }
.live-tv-tab i { font-size: 13px; }
.live-tv-float-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--primary); color: var(--white); width: 86px; padding: 16px 10px; border-radius: 0; box-shadow: -6px 0 28px rgba(27,67,50,0.3); cursor: pointer; text-decoration: none; position: relative; overflow: hidden; border-left: 1px solid rgba(212,160,23,0.25); }
.live-tv-float-btn::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }
.live-tv-float-btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, transparent 60%); pointer-events: none; }
.live-tv-pulse { width: 9px; height: 9px; background: var(--accent-light); border-radius: 50%; position: relative; flex-shrink: 0; }
.live-tv-pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(244,200,66,0.5); animation: livePulse 1.5s ease-out infinite; }
@keyframes livePulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
.live-tv-float-icon { font-size: 20px; color: var(--accent-light); line-height: 1; }
.live-tv-float-label { font-size: 10.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--white); line-height: 1; }
.live-tv-float-sub { font-size: 9px; color: rgba(244,200,66,0.85); letter-spacing: 0.5px; font-family: var(--font-elegant); font-style: italic; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) { .main-nav { display: none; } .mobile-toggle { display: flex; } }
@media (max-width: 767px) { .sidebar-panel { width: 300px; } }
