/* ============================================
   BEVELLA MACRAME - RESPONSIVE STYLES
   Kapsamlı responsive düzenlemeleri
   ============================================ */

/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

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

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

    h1, .section-title {
        font-size: var(--fs-2xl);
    }

    h2 {
        font-size: var(--fs-xl);
    }

    /* Hero tablet */
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero__content {
        order: 2;
        max-width: 100%;
    }

    .hero__visual {
        order: 1;
    }

    .hero__buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__stat {
        text-align: center;
    }

    .hero__badge {
        margin: 0 auto var(--space-lg);
    }

    .hero__decor {
        display: none;
    }
}

/* === MOBİL YATAY (max 768px) === */
@media (max-width: 768px) {
    :root {
        --fs-5xl: 2.5rem;
        --fs-4xl: 2rem;
        --fs-3xl: 1.75rem;
        --fs-2xl: 1.5rem;
        --fs-xl: 1.25rem;
    }

    body {
        font-size: 15px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .section-title {
        font-size: var(--fs-2xl);
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: var(--fs-sm);
    }

    /* Hero mobile */
    .hero {
        min-height: auto;
        padding: calc(70px + var(--space-xl)) 0 var(--space-2xl);
    }

    .hero__container {
        padding: var(--space-lg);
        gap: var(--space-xl);
    }

    .hero__title {
        font-size: var(--fs-2xl);
        line-height: 1.2;
    }

    .hero__slogan {
        font-size: var(--fs-base);
    }

    .hero__subtitle {
        font-size: var(--fs-sm);
        line-height: 1.6;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }

    .hero__buttons .btn {
        width: 100%;
        justify-content: center;
        padding: var(--space-md) var(--space-lg);
    }

    .hero__stats {
        flex-wrap: wrap;
        gap: var(--space-lg);
        padding-top: var(--space-lg);
    }

    .hero__stat {
        flex: 1 1 calc(50% - var(--space-md));
        min-width: 120px;
    }

    .hero__stat-number {
        font-size: 2rem;
    }

    .hero__stat-label {
        font-size: var(--fs-xs);
    }

    .hero__image-wrapper {
        max-width: 280px;
        margin: 0 auto;
    }

    .hero__scroll {
        display: none;
    }

    /* Buttons mobile */
    .btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--fs-sm);
    }

    .btn-lg {
        padding: var(--space-md) var(--space-xl);
    }

    /* Footer mobile */
    .footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-xl);
    }

    .footer__brand {
        max-width: 100%;
    }

    .footer__logo {
        justify-content: center;
    }

    .footer__logo img {
        height: 60px;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column {
        padding: var(--space-lg) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer__column:last-child {
        border-bottom: none;
    }

    .footer__links {
        align-items: center;
    }

    .footer__contact-item {
        justify-content: center;
    }

    .footer__bottom-content {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* Products mobile */
    .products__grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 100%;
    }

    /* Utility */
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block !important;
    }

    .text-center-mobile {
        text-align: center !important;
    }

    .flex-col-mobile {
        flex-direction: column !important;
    }
}

/* === MOBİL DİKEY (max 480px) === */
@media (max-width: 480px) {
    :root {
        --fs-5xl: 2rem;
        --fs-4xl: 1.75rem;
        --fs-3xl: 1.5rem;
        --fs-2xl: 1.25rem;
        --fs-xl: 1.125rem;
        --space-4xl: 3rem;
        --space-3xl: 2.5rem;
        --space-2xl: 2rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .section-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: var(--fs-xl);
    }

    /* Hero small mobile */
    .hero {
        padding: calc(60px + var(--space-lg)) 0 var(--space-xl);
    }

    .hero__container {
        padding: var(--space-md);
    }

    .hero__title {
        font-size: 1.5rem;
    }

    .hero__badge {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.65rem;
    }

    .hero__stats {
        gap: var(--space-md);
    }

    .hero__stat {
        flex: 1 1 100%;
    }

    .hero__stat-number {
        font-size: 1.75rem;
    }

    .hero__image-wrapper {
        max-width: 240px;
    }

    /* Footer small mobile */
    .footer__logo img {
        height: 50px;
    }

    .footer__social-link {
        width: 44px;
        height: 44px;
    }

    .footer__social-link svg {
        width: 20px;
        height: 20px;
    }

    /* Navbar small */
    .navbar__logo img {
        height: 45px;
    }

    /* Buttons */
    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--fs-xs);
    }
}

/* === KÜÇÜK MOBİL (max 360px) === */
@media (max-width: 360px) {
    :root {
        --fs-5xl: 1.75rem;
        --fs-4xl: 1.5rem;
        --fs-3xl: 1.25rem;
        --fs-2xl: 1.125rem;
        --fs-xl: 1rem;
    }

    .container {
        padding: 0 var(--space-xs);
    }

    .hero__title {
        font-size: 1.25rem;
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

    .navbar__logo img {
        height: 40px;
    }
}

/* === BÜYÜK EKRANLAR (min 1400px) === */
@media (min-width: 1400px) {
    .container {
        max-width: var(--container-2xl);
    }

    .hero__title {
        font-size: var(--fs-5xl);
    }
}

/* === LANDSCAPE MOBİL === */
@media (max-width: 896px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: calc(70px + var(--space-md)) 0 var(--space-lg);
    }

    .hero__container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero__content {
        order: 1;
    }

    .hero__visual {
        order: 2;
    }

    .hero__image-wrapper {
        max-width: 200px;
    }

    .hero__buttons {
        flex-direction: row;
        justify-content: flex-start;
    }
}

/* === PRİNT STİLLERİ === */
@media print {
    .navbar,
    .whatsapp-float,
    .footer {
        display: none !important;
    }

    .section {
        padding: var(--space-lg) 0;
        page-break-inside: avoid;
    }

    * {
        background: white !important;
        color: black !important;
    }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === TOUCH CİHAZLAR === */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }

    .navbar__link:hover::after {
        width: 0;
    }

    .footer__social-link:hover {
        transform: none;
    }

    /* Daha büyük dokunma alanları */
    .navbar__link {
        padding: var(--space-md) var(--space-sm);
    }

    .btn {
        min-height: 48px;
    }

    .footer__link {
        padding: var(--space-sm) 0;
    }
}
