/**
 * Bugün Nereye Discovery — Responsive Stylesheet
 *
 * Handles Breakpoints: 1400px, 1280px, 1024px, 768px, 480px, 390px
 * Zero horizontal overflow guaranteed
 */

/* 1400px - Header padding adjustment */
@media screen and (max-width: 1400px) {
    .bn-container-header {
        padding-left: 24px;
        padding-right: 24px;
    }
}

/* 1280px - Small Laptop / Desktop */
@media screen and (max-width: 1280px) {
    .bn-layout-grid {
        grid-template-columns: 1fr 340px;
        gap: 20px;
    }

    .bn-header-search {
        width: 220px;
    }

    .bn-hero-center {
        left: 460px;
        width: 520px;
    }

    .bn-hero-chips {
        width: 580px;
        margin-left: -30px;
    }
}

/* 1140px - Tablet Landscape & Medium Screens */
@media screen and (max-width: 1140px) {
    .bn-layout-grid {
        grid-template-columns: 1fr;
    }

    .bn-layout-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .bn-hero-card {
        height: auto;
        min-height: 290px;
        padding: 32px 28px;
        display: flex;
        align-items: center;
    }

    .bn-hero-card__overlay {
        width: 100%;
        background: linear-gradient(90deg, rgba(251, 249, 246, 0.96) 0%, rgba(251, 249, 246, 0.90) 55%, rgba(251, 249, 246, 0.4) 100%);
    }

    .bn-hero-inner {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 22px;
        width: 100%;
        height: auto;
    }

    .bn-hero-left {
        position: static;
        width: 100%;
        max-width: 540px;
    }

    .bn-hero-center {
        position: static;
        width: 100%;
        max-width: 620px;
        margin: 0;
        align-items: flex-start;
    }

    .bn-hero-chips {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .bn-hero-right {
        display: none;
    }

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

    .bn-categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bn-blog-grid-h {
        grid-template-columns: 1fr;
    }

    .bn-stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* 768px - Tablet Portrait & Mobile */
@media screen and (max-width: 768px) {
    .bn-nav-desktop,
    .bn-header-search,
    .bn-header-fav-btn,
    .bn-header-notify-btn {
        display: none !important;
    }

    .bn-hamburger-btn {
        display: inline-flex !important;
    }

    .bn-container,
    .bn-container-header {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bn-hero-card {
        padding: 24px 18px;
    }

    .bn-hero-card__overlay {
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #FBF9F6 0%, #FBF9F6 85%, rgba(251, 249, 246, 0.92) 100%);
    }

    .bn-hero-left {
        max-width: 100%;
    }

    .bn-hero-brand {
        font-size: 24px;
    }

    .bn-hero-heading {
        font-size: 17px;
    }

    .bn-hero-chips {
        gap: 6px;
    }

    .bn-hero-chip {
        padding: 5px 11px;
        font-size: 10.5px;
    }

    .bn-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .bn-category-card {
        height: 72px;
        padding: 8px 4px;
    }

    .bn-category-card__title {
        font-size: 10.5px;
    }

    .bn-layout-sidebar {
        grid-template-columns: 1fr;
    }

    .bn-footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .bn-footer__nav {
        justify-content: center;
    }

    .bn-footer__links {
        justify-content: center;
        gap: 14px;
    }
}

/* 480px - Small Mobile Screens */
@media screen and (max-width: 480px) {
    .bn-container,
    .bn-container-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .bn-places-grid,
    .bn-cities-grid {
        grid-template-columns: 1fr;
    }

    .bn-categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .bn-category-card {
        height: 68px;
        padding: 6px 2px;
    }

    .bn-category-card__title {
        font-size: 9.5px;
    }

    .bn-hero-search-bar {
        height: auto;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
        gap: 10px;
    }

    .bn-hero-search-bar__inputs {
        width: 100%;
    }

    .bn-hero-search-bar__btn {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
    }

    .bn-section-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 8px;
    }

    .bn-section-header__left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        min-width: 0;
    }

    .bn-section-title {
        font-size: 15px;
        line-height: 1.25;
    }

    .bn-section-subtitle {
        font-size: 11px;
        line-height: 1.3;
    }

    .bn-section-more {
        font-size: 11.5px;
        white-space: nowrap;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .bn-stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 12px 14px;
        border-radius: var(--bn-radius-lg);
    }

    .bn-stat-item {
        gap: 8px;
    }

    .bn-stat-item__icon-box {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .bn-stat-item__icon-box svg {
        width: 16px;
        height: 16px;
    }

    .bn-stat-item__val {
        font-size: 15px;
    }

    .bn-stat-item__lbl {
        font-size: 10.5px;
    }

    .bn-community-tabs {
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .bn-community-tabs::-webkit-scrollbar {
        display: none;
    }

    .bn-community-item__headline {
        flex-wrap: wrap;
    }

    .bn-count-badge--views {
        display: none;
    }
}

