
/* =========================================
   SHREEMAD BHAGAVAD GITA
   MAIN DESIGN SYSTEM
========================================= */

:root {
    color-scheme: light;

    --primary: #b66b32;
    --primary-dark: #925024;
    --gold: #c49a54;

    --bg: #f8f6f1;
    --surface: #ffffff;
    --surface-soft: #f1ede5;

    --text: #253044;
    --text-secondary: #697386;

    --border: #e9e3d9;

    --header-bg: rgba(255,255,255,0.94);

    --shadow: 0 10px 35px rgba(37,48,68,0.06);

    --radius: 16px;
    --radius-lg: 24px;

    --container: 1160px;

    --font: "Noto Sans Bengali", sans-serif;
}

:root[data-theme="dark"] {
    color-scheme: dark;

    --primary: #e5a45f;
    --primary-dark: #d38d48;
    --gold: #d6b16e;

    --bg: #151a23;
    --surface: #202733;
    --surface-soft: #293240;

    --text: #edf0f5;
    --text-secondary: #aab4c2;

    --border: #374252;

    --header-bg: rgba(25,31,42,0.95);

    --shadow: 0 10px 35px rgba(0,0,0,0.18);
}


/* RESET */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    transition: background 0.25s, color 0.25s;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.section-padding {
    padding: 85px 0;
}

[hidden] {
    display: none !important;
}


/* ICONS */

i[data-lucide] {
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
    flex-shrink: 0;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: var(--header-bg);
    backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-icon {
    width: 44px;
    height: 44px;

    border-radius: 13px;

    display: grid;
    place-items: center;

    background: var(--primary);
    color: #ffffff;
}

.brand-icon i {
    width: 24px;
    height: 24px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.brand-text strong {
    font-size: 17px;
    font-weight: 700;
}

.brand-text small {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}


.desktop-nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);

    transition: color 0.2s;
}

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


.header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.icon-button {
    width: 42px;
    height: 42px;

    border: 1px solid var(--border);
    border-radius: 12px;

    display: grid;
    place-items: center;

    background: var(--surface);
    color: var(--text);

    transition: 0.2s;
}

.icon-button:hover {
    background: var(--surface-soft);
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-menu-toggle {
    display: none;
}


/* MOBILE MENU */

.mobile-menu {
    display: none;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu a {
    padding: 12px;
    border-radius: 9px;
    font-size: 14px;
}

.mobile-menu a:hover {
    background: var(--surface-soft);
    color: var(--primary);
}


/* SEARCH PANEL */

.search-panel {
    position: sticky;
    top: 78px;
    z-index: 900;

    background: var(--surface);
    border-bottom: 1px solid var(--border);

    padding: 18px 0;
    box-shadow: var(--shadow);
}

.search-box {
    display: flex;
    align-items: center;
    gap: 13px;

    background: var(--surface-soft);

    border: 1px solid var(--border);
    border-radius: 14px;

    padding: 8px 14px;
}

.search-box > i {
    color: var(--primary);
}

.search-box input {
    flex: 1;
    min-width: 0;

    border: 0;
    outline: none;

    background: transparent;
    color: var(--text);

    font-size: 14px;
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-results {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.search-result-item {
    padding: 12px 15px;
    background: var(--surface-soft);
    border-radius: 10px;
    font-size: 14px;
}

.search-result-item:hover {
    color: var(--primary);
}

.search-empty {
    padding: 12px;
    color: var(--text-secondary);
    font-size: 13px;
}


/* HERO */

.hero-section {
    padding: 100px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(196,154,84,0.12),
            transparent 35%
        ),
        var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;

    color: var(--primary);
    margin-bottom: 25px;
}

.eyebrow-line {
    width: 30px;
    height: 2px;
    background: var(--gold);
}

.hero-content h1 {
    font-size: clamp(35px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.45;
    letter-spacing: -1.2px;
}

.hero-content h1 span {
    display: block;
    color: var(--primary);
}

.hero-description {
    max-width: 550px;
    margin-top: 22px;

    color: var(--text-secondary);
    font-size: 15px;
    line-height: 2;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 32px;
}

.hero-stats div:not(.stat-divider) {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-family: "Inter", sans-serif;
    font-size: 27px;
    font-weight: 800;
    color: var(--primary);
}

.hero-stats span {
    font-size: 12px;
    color: var(--text-secondary);
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 34px;
}


/* BUTTONS */

.btn {
    min-height: 48px;
    padding: 11px 20px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}


/* HERO ARTWORK */

.hero-artwork {
    display: flex;
    justify-content: center;
    align-items: center;
}

.artwork-frame {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 440px;
    aspect-ratio: 0.9;

    border-radius: 210px 210px 25px 25px;

    background:
        radial-gradient(
            circle at 50% 35%,
            #f5d9a8,
            transparent 50%
        ),
        linear-gradient(
            145deg,
            #203750,
            #142438 65%,
            #352c2a
        );

    border: 1px solid rgba(196,154,84,0.45);

    box-shadow: 0 30px 70px rgba(30,42,58,0.2);
}

.artwork-decoration {
    position: absolute;
    border: 1px solid rgba(230,191,119,0.32);
    border-radius: 50%;
}

.decoration-one {
    inset: 35px;
}

.decoration-two {
    inset: 52px;
}

.artwork-content {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: #f9ead0;
    padding: 30px;
}

.artwork-symbol {
    width: 100px;
    height: 100px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(230,191,119,0.55);
    border-radius: 50%;

    color: #eac78b;
    margin-bottom: 28px;
}

.artwork-symbol i {
    width: 46px;
    height: 46px;
    stroke-width: 1.2;
}

.artwork-label {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #e9c88e;
}

.artwork-content h2 {
    margin-top: 20px;
    font-size: 29px;
    font-weight: 700;
}

.artwork-divider {
    width: 75px;
    height: 1px;
    background: #caa66d;
    margin: 20px 0;
}

.artwork-content p {
    font-size: 15px;
}

.artwork-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    color: #cdb58c;
    margin-top: 17px;
}

.artwork-bottom {
    position: absolute;
    bottom: 22px;
    width: 100%;
    text-align: center;

    font-family: "Inter", sans-serif;
    font-size: 8px;
    letter-spacing: 2px;
    color: #cdb58c;
}


/* DAILY SECTION */

.daily-section {
    padding: 0 0 40px;
}

.daily-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    padding: 32px 38px;
    box-shadow: var(--shadow);
}

.section-kicker {
    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
}

.daily-content h2 {
    margin: 8px 0;
    font-size: 25px;
}

.daily-content p {
    font-size: 13px;
    color: var(--text-secondary);
}

.daily-icon {
    width: 85px;
    height: 85px;

    border-radius: 50%;

    display: grid;
    place-items: center;

    background: var(--surface-soft);
    color: var(--gold);
}

.daily-icon i {
    width: 39px;
    height: 39px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 15px;

    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}


/* DHYANA */

.dhyana-section {
    padding-top: 30px;
}

.dhyana-card {
    display: flex;
    align-items: center;
    gap: 25px;

    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    padding: 30px;
}

.dhyana-icon {
    width: 65px;
    height: 65px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border-radius: 17px;

    background: var(--surface);
    color: var(--primary);
}

.dhyana-icon i {
    width: 30px;
    height: 30px;
}

.dhyana-content {
    flex: 1;
}

.dhyana-content h2 {
    font-size: 23px;
    margin: 5px 0;
}

.dhyana-content p {
    color: var(--text-secondary);
    font-size: 13px;
}


/* SECTION HEADING */

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 36px;
}

.section-heading h2 {
    margin-top: 9px;
    font-size: 32px;
    font-weight: 800;
}

.section-heading p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.chapter-total {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--primary);

    padding: 9px 14px;

    border: 1px solid var(--border);
    border-radius: 30px;
}


/* CHAPTER GRID */

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.chapter-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 230px;

    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 23px;

    overflow: hidden;

    transition: transform 0.25s, box-shadow 0.25s,
                border-color 0.25s;
}

.chapter-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: var(--shadow);
}

.chapter-number {
    position: absolute;
    top: 12px;
    right: 19px;

    font-family: "Inter", sans-serif;
    font-size: 32px;
    font-weight: 800;

    color: var(--surface-soft);
    line-height: 1;
}

.chapter-icon {
    width: 43px;
    height: 43px;

    display: grid;
    place-items: center;

    background: var(--surface-soft);
    color: var(--primary);

    border-radius: 12px;

    margin-bottom: 18px;
}

.chapter-card h3 {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.chapter-card p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 17px;
}

.chapter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 12px;

    border-top: 1px solid var(--border);

    font-size: 11px;
    color: var(--text-secondary);
}

.chapter-footer i {
    color: var(--primary);
}

.no-results {
    text-align: center;
    padding: 35px;
    color: var(--text-secondary);
}

.no-results i {
    margin: auto;
}


/* FEATURES */

.features-section {
    background: var(--surface-soft);
}

.centered {
    text-align: center;
    display: block;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
}

.feature-icon {
    width: 47px;
    height: 47px;

    display: grid;
    place-items: center;

    border-radius: 13px;
    background: var(--surface-soft);
    color: var(--primary);

    margin-bottom: 17px;
}

.feature-card h3 {
    font-size: 15px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 12px;
    line-height: 1.9;
    color: var(--text-secondary);
}


/* ABOUT */

.about-card {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    gap: 35px;

    background: #1c3048;
    color: #ffffff;

    padding: 55px;
    border-radius: var(--radius-lg);
}

.about-decoration {
    width: 110px;
    height: 110px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(220,185,126,0.4);
    border-radius: 50%;

    color: #e6c184;
}

.about-decoration i {
    width: 48px;
    height: 48px;
}

.about-content {
    max-width: 700px;
}

.about-content h2 {
    font-size: 27px;
    margin: 10px 0;
}

.about-content p {
    font-size: 13px;
    color: #d1d9e3;
    line-height: 2;
}

.about-content .text-link {
    color: #eac88e;
}


/* FOOTER */

.site-footer {
    background: #172334;
    color: #ffffff;
    padding: 65px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 45px;
}

.footer-brand p {
    max-width: 340px;
    margin-top: 18px;

    font-size: 12px;
    line-height: 2;
    color: #aeb9c8;
}

.site-footer .brand-text strong {
    color: #ffffff;
}

.site-footer .brand-text small {
    color: #b3bdcb;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-links h3 {
    font-size: 14px;
    margin-bottom: 5px;
    color: #e7c88e;
}

.footer-links a {
    font-size: 12px;
    color: #b9c2cf;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    border-top: 1px solid rgba(255,255,255,0.12);

    font-size: 11px;
    color: #aeb9c8;
}


/* BOTTOM NAVIGATION */

.bottom-navigation {
    display: none;
}


/* FOCUS ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
