
/* =========================================
   RESPONSIVE DESIGN
   SHREEMAD BHAGAVAD GITA
========================================= */


/* TABLET */

@media (max-width: 1000px) {

    .desktop-nav {
        gap: 17px;
    }

    .nav-link {
        font-size: 12px;
    }

    .hero-grid {
        gap: 35px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* SMALL TABLET */

@media (max-width: 760px) {

    .container {
        width: min(100% - 32px, var(--container));
    }

    .desktop-nav {
        display: none;
    }

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

    .header-inner {
        min-height: 68px;
    }

    .hero-section {
        padding: 65px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-content {
        text-align: center;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-artwork {
        max-width: 410px;
        margin: auto;
        width: 100%;
    }

    .daily-card {
        padding: 25px;
    }

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

    .footer-main {
        gap: 30px;
    }

}


/* MOBILE */

@media (max-width: 560px) {

    body {
        padding-bottom: calc(90px + env(safe-area-inset-bottom));
    }

    .container {
        width: calc(100% - 30px);
    }

    .brand {
        gap: 9px;
    }

    .brand-icon {
        width: 39px;
        height: 39px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .header-actions {
        gap: 6px;
    }

    .icon-button {
        width: 37px;
        height: 37px;
        border-radius: 10px;
    }

    .hero-section {
        padding: 52px 0 45px;
    }

    .hero-content h1 {
        font-size: 35px;
        letter-spacing: -0.5px;
    }

    .hero-description {
        font-size: 13px;
        line-height: 2;
    }

    .hero-stats {
        gap: 18px;
        margin-top: 25px;
    }

    .hero-stats strong {
        font-size: 23px;
    }

    .hero-stats span {
        font-size: 10px;
    }

    .hero-actions {
        gap: 9px;
    }

    .btn {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 11px;
    }

    .artwork-frame {
        max-width: 310px;
    }

    .artwork-content h2 {
        font-size: 23px;
    }

    .artwork-symbol {
        width: 75px;
        height: 75px;
    }

    .artwork-symbol i {
        width: 35px;
        height: 35px;
    }

    .daily-section {
        padding-bottom: 25px;
    }

    .daily-card {
        padding: 22px;
        gap: 10px;
    }

    .daily-content h2 {
        font-size: 21px;
    }

    .daily-content p {
        font-size: 11px;
    }

    .daily-icon {
        width: 55px;
        height: 55px;
    }

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

    .dhyana-card {
        flex-wrap: wrap;
        padding: 20px;
        gap: 15px;
    }

    .dhyana-icon {
        width: 52px;
        height: 52px;
    }

    .dhyana-content {
        flex-basis: calc(100% - 70px);
    }

    .dhyana-content h2 {
        font-size: 19px;
    }

    .dhyana-content p {
        font-size: 11px;
    }

    .dhyana-card .btn {
        width: 100%;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .chapter-total {
        font-size: 9px;
    }

    .chapter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }

    .chapter-card {
        min-height: 205px;
        padding: 14px;
        border-radius: 13px;
    }

    .chapter-number {
        top: 10px;
        right: 11px;
        font-size: 24px;
    }

    .chapter-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }

    .chapter-icon i {
        width: 17px;
        height: 17px;
    }

    .chapter-card h3 {
        font-size: 12px;
        line-height: 1.8;
    }

    .chapter-card p {
        font-size: 10px;
        line-height: 1.8;
    }

    .chapter-footer {
        font-size: 9px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .feature-card {
        padding: 17px;
    }

    .feature-card h3 {
        font-size: 12px;
    }

    .feature-card p {
        font-size: 10px;
    }

    .feature-icon {
        width: 39px;
        height: 39px;
    }

    .about-card {
        padding: 28px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .about-decoration {
        width: 65px;
        height: 65px;
    }

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

    .about-content h2 {
        font-size: 21px;
    }

    .about-content p {
        font-size: 11px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
        font-size: 10px;
        gap: 5px;
    }

    .search-panel {
        top: 68px;
    }

}


/* =========================================
   MOBILE BOTTOM NAVIGATION
========================================= */

.bottom-navigation {
    display: none;
}

@media (max-width: 768px) {

    .bottom-navigation {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        width: 100%;

        display: grid;

        /* Item সংখ্যা অনুযায়ী কলাম তৈরি হবে */
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr));

        align-items: center;
        justify-content: stretch;

        min-height: 68px;

        padding: 7px 8px;
        padding-bottom: calc(7px + env(safe-area-inset-bottom));

        background: var(--surface);

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

        box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);

        z-index: 1100;

        box-sizing: border-box;
    }

    .bottom-navigation .bottom-nav-item {

        width: 100%;
        min-width: 0;
        min-height: 52px;

        display: flex;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 4px;

        padding: 5px 2px;

        border: none;

        background: transparent;

        color: var(--text-secondary);

        text-decoration: none;

        font-family: inherit;

        font-size: 10px;
        font-weight: 600;

        line-height: 1.3;

        white-space: nowrap;

        box-sizing: border-box;

        cursor: pointer;
    }

    .bottom-navigation .bottom-nav-item i {

        width: 22px;
        height: 22px;

        flex-shrink: 0;
    }

    .bottom-navigation .bottom-nav-item span {

        display: block;

        font-size: 10px;

        line-height: 1.3;

        white-space: nowrap;
    }

    .bottom-navigation .bottom-nav-item.active {

        color: var(--primary);
    }

    .bottom-navigation .bottom-nav-item:active {

        opacity: 0.7;
    }

}


/* EXTRA SMALL MOBILE */

@media (max-width: 360px) {

    .chapter-grid {
        grid-template-columns: 1fr;
    }

    .chapter-card {
        min-height: 185px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

}


/* DESKTOP */

@media (min-width: 769px) {

    .bottom-navigation {
        display: none !important;
    }

}
