/* Responsive Styles */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .navbar-brand img {
        height: 35px;
    }
    
    #mainNav .nav-link {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

/* Services Section Responsive */
@media (max-width: 991.98px) {
    .services-grid {
        min-height: 500px;
    }
    
    .service-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin-bottom: 20px;
        max-width: 100%;
        width: 100%;
    }
    
    .service-card:nth-child(odd) {
        margin-right: 0;
    }
    
    .service-card:nth-child(even) {
        margin-left: 0;
    }
}

/* Portfolio Section Responsive */
@media (max-width: 767.98px) {
    .portfolio-item {
        margin-bottom: 30px;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-buttons .btn {
        margin-bottom: 10px;
        width: 200px;
    }
}

/* Counter Section Responsive */
@media (max-width: 767.98px) {
    .counter-section {
        padding: 40px 0;
    }
    
    .counter-item {
        margin-bottom: 30px;
    }
    
    .counter-number {
        font-size: 2rem;
    }
    
    .counter-title {
        font-size: 1rem;
    }
}

/* Testimonial Section Responsive */
@media (max-width: 767.98px) {
    .testimonial-item {
        padding: 20px;
    }
    
    .testimonial-content {
        font-size: 0.9rem;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
}

/* Blog Section Responsive */
@media (max-width: 767.98px) {
    .blog-item {
        margin-bottom: 30px;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-content p {
        font-size: 0.9rem;
    }
    
    /* Blog kategori etiketleri mobil düzenlemesi */
    .blog-category-badges {
        margin-bottom: 12px !important;
    }
    
    .blog-category-badges .badge {
        font-size: 0.7rem !important;
        padding: 3px 8px !important;
    }
    
    .blog-meta {
        margin-top: 8px !important;
    }
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        margin-top: 10px;
        border-radius: 5px;
        padding: 15px;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
    
    .dropdown-submenu .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 5px;
        margin-left: 20px;
    }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
}
