/* ==========================================================================
   Enter Sigorta MTZ - Responsive Stil Dosyasi
   ========================================================================== */

/* ---------- TABLET (max 1024px) ---------- */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-form-wrapper {
        flex: none;
        width: 100%;
        max-width: 480px;
    }

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

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

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

    .steps-grid::before {
        display: none;
    }

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

    .service-intro {
        grid-template-columns: 1fr;
    }

    .service-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .service-hero-content .breadcrumb {
        justify-content: center;
    }

    .service-hero-content p {
        margin: 0 auto;
    }

    .service-hero-form {
        flex: none;
        width: 100%;
        max-width: 480px;
    }

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

    .about-img {
        height: 300px;
    }

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

    .inline-form-wrapper {
        grid-template-columns: 1fr;
    }

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

    .advantages-list {
        grid-template-columns: 1fr;
    }

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

/* ---------- MOBILE (max 768px) ---------- */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    /* Top Bar */
    .top-bar {
        padding: 5px 0;
    }

    .top-bar .container {
        flex-direction: row;
        gap: 8px;
        text-align: center;
    }

    .top-bar-left {
        justify-content: center;
        gap: 12px;
        font-size: 0.8rem;
    }

    .top-bar-left .address-item {
        display: none;
    }

    /* Header */
    .header .container {
        height: 60px;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        padding: 80px 25px 30px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 1000;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-wrapper.open {
        right: 0;
    }

    .main-nav {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .main-nav > li > a {
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .header-cta {
        margin-top: 20px;
    }

    .header-cta .btn {
        display: block;
        text-align: center;
    }

    /* Mobile Dropdown */
    .dropdown,
    .sub-dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 15px;
        background: #f8f9fa;
        border-radius: 6px;
        margin: 5px 0;
    }

    .dropdown.mobile-open,
    .sub-dropdown.mobile-open {
        display: block;
    }

    .main-nav .has-dropdown > a::after,
    .dropdown .has-sub > a::after {
        float: right;
        transition: transform 0.3s ease;
    }

    .main-nav .has-dropdown.mobile-open > a::after {
        transform: rotate(180deg);
    }

    .dropdown .has-sub.mobile-open > a::after {
        transform: rotate(90deg);
    }

    .dropdown li a {
        border-left: none;
        padding: 10px 15px;
    }

    /* Mobile Overlay */
    .mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 999;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Hero */
    .hero {
        padding: 40px 0;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 1.7rem;
    }

    .hero-form-wrapper {
        max-width: 100%;
    }

    .hero-form {
        padding: 22px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    /* Shortcuts */
    .shortcuts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .shortcut-item {
        padding: 20px 10px;
    }

    .shortcut-item .icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .shortcut-item h4 {
        font-size: 0.8rem;
    }

    /* Why Grid */
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Solutions */
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    /* Blog */
    .blog-grid,
    .blog-list-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-banner h2 {
        font-size: 1.4rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Page Hero */
    .page-hero {
        padding: 35px 0;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    /* Contact */
    .map-container {
        height: 280px;
    }

    /* Blog Detail */
    .blog-detail-img {
        height: 250px;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-item .number {
        font-size: 1.6rem;
    }

    /* Insurance Categories */
    .insurance-categories {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Partners */
    .partners-track {
        gap: 30px;
    }

    .partner-logo {
        height: 35px;
    }
}

/* ---------- SMALL MOBILE (max 480px) ---------- */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

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

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

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .cta-banner .btn-group .btn {
        width: 100%;
    }

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .scroll-top {
        bottom: 75px;
        right: 18px;
        width: 40px;
        height: 40px;
    }
}
