
/* ==========================================
   LINA OPTİK - RESPONSIVE CSS
   Tablet, Mobil ve Küçük Ekran Uyumluluğu
========================================== */

/* ---------- LARGE TABLET / SMALL DESKTOP ---------- */

@media (max-width: 1100px) {

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

    .primary-nav {
        gap: 14px;
    }

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

    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero-visual {
        height: 450px;
    }

    .hero-points {
        gap: 12px;
    }

    .technology-wrap {
        gap: 25px;
    }

    .about-grid {
        gap: 50px;
    }

    .process-wrap {
        gap: 45px;
    }

    .footer-main {
        gap: 30px;
    }
}


/* ---------- TABLET ---------- */

@media (max-width: 820px) {

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

    /* HEADER */

    .site-header {
        height: 72px;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .nav-actions {
        margin-left: auto;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        height: auto;
        padding: 20px;
        background: #fbfaff;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        box-shadow: 0 15px 30px rgba(20, 20, 60, .10);
    }

    .primary-nav.open {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 13px 5px;
        font-size: 13px;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-dropdown {
        height: auto;
        display: block;
    }

    .dropdown-trigger {
        display: flex;
        justify-content: space-between;
    }

    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        background: #f2efff;
        margin-top: 5px;
    }

    .nav-dropdown.open .dropdown-menu {
        display: grid;
    }

    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 55px;
    }

    .hero-content {
        max-width: 650px;
    }

    .hero h1 {
        font-size: clamp(45px, 8vw, 65px);
    }

    .hero-description {
        max-width: 550px;
    }

    .hero-visual {
        height: 400px;
        margin-top: 25px;
    }

    .hero-image-frame {
        inset: 0 7%;
    }

    .hero-points {
        flex-wrap: wrap;
        margin-top: 30px;
    }

    /* SECTION */

    .section {
        padding: 75px 0;
    }

    .heading-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    /* PRODUCTS */

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

    .category-card-large,
    .category-card-wide {
        grid-column: span 1;
    }

    .category-image {
        height: 180px;
    }

    /* TECHNOLOGY */

    .technology-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .technology-art {
        height: 280px;
    }

    .technology-features {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-feature {
        flex-direction: column;
        align-items: flex-start;
    }

    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .about-visual {
        height: 350px;
    }

    /* BENEFITS */

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

    /* PROCESS */

    .process-wrap {
        gap: 35px;
    }

    .process-image {
        min-height: 350px;
    }

    .process-content h2 {
        font-size: 34px;
    }

    /* BLOG */

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

    .blog-card:last-child {
        display: none;
    }

    /* FOOTER */

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}


/* ---------- MOBILE ---------- */

@media (max-width: 560px) {

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

    /* ANNOUNCEMENT */

    .announcement {
        height: 32px;
        font-size: 9px;
        gap: 8px;
    }

    .announcement p {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    /* HEADER */

    .brand {
        font-size: 19px;
    }

    .brand-mark {
        width: 32px;
        height: 32px;
    }

    .nav-actions .button {
        display: none;
    }

    /* HERO */

    .hero-inner {
        padding-top: 42px;
        padding-bottom: 15px;
    }

    .hero-kicker {
        font-size: 11px;
        margin-top: 22px;
    }

    .hero h1 {
        font-size: clamp(38px, 10.5vw, 50px);
        letter-spacing: -2px;
    }

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

    .hero-buttons {
        gap: 9px;
    }

    .hero-buttons .button {
        padding: 13px 15px;
        font-size: 10px;
    }

    .hero-points {
        gap: 15px 10px;
    }

    .hero-points > div {
        min-width: 46%;
    }

    .hero-visual {
        height: 300px;
        margin-top: 25px;
    }

    .hero-image-frame {
        inset: 0 4%;
    }

    .floating-card {
        padding: 9px 11px;
    }

    .floating-card b {
        font-size: 9px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .floating-card-top {
        top: 15px;
    }

    .floating-card-bottom {
        bottom: 15px;
    }

    /* GENERAL SECTIONS */

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 34px;
        letter-spacing: -1.7px;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    /* PRODUCTS */

    .category-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .category-image {
        height: 185px;
    }

    .category-info {
        padding: 16px;
    }

    .category-info h3 {
        font-size: 14px;
    }

    /* TECHNOLOGY */

    .technology-wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .technology-copy h2 {
        font-size: 35px;
    }

    .technology-art {
        height: 240px;
    }

    .technology-features {
        grid-template-columns: 1fr;
    }

    .tech-feature {
        flex-direction: row;
        align-items: center;
    }

    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-visual {
        height: 310px;
        width: 100%;
    }

    .about-photo {
        right: 35px;
    }

    .about-stamp {
        width: 78px;
        height: 78px;
    }

    .about-note {
        padding: 14px 17px;
    }

    .about-copy .lead {
        font-size: 15px;
    }

    /* BENEFITS */

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

    .benefit-card {
        padding: 17px 13px;
    }

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

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

    /* PROCESS */

    .process-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-image {
        min-height: 280px;
    }

    .process-content h2 {
        font-size: 32px;
    }

    /* BLOG */

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

    .blog-card:last-child {
        display: block;
    }

    .blog-thumb {
        height: 190px;
    }

    /* CONTACT */

    .contact-cta {
        padding: 48px 0;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .contact-cta h2 {
        font-size: 31px;
    }

    .cta-inner > .button {
        margin: 0;
    }

    /* FOOTER */

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 18px;
    }

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

    .footer-bottom {
        padding: 18px 0;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom > div {
        width: 100%;
        order: 3;
        gap: 15px;
    }
}


/* ---------- SMALL MOBILE ---------- */

@media (max-width: 380px) {

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

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-points > div {
        min-width: 100%;
    }

    .hero-visual {
        height: 260px;
    }

    .section h2 {
        font-size: 30px;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand-col {
        grid-column: auto;
    }
}


/* ---------- LANDSCAPE MOBILE ---------- */

@media (max-height: 500px) and (orientation: landscape) {

    .hero-inner {
        padding-top: 30px;
    }

    .hero-visual {
        height: 280px;
    }

    .primary-nav.open {
        max-height: 70vh;
        overflow-y: auto;
    }
}


/* ---------- ACCESSIBILITY ---------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
