/*--------------------------------------------------------------
# General Responsive Styles
--------------------------------------------------------------*/

/* Small devices (phones, 576px and up) */
@media (min-width: 576px) {
    /* Add small device styles here */
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /* Add medium device styles here */
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Add large device styles here */
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Add x-large device styles here */
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    /* Add xx-large device styles here */
}

/*--------------------------------------------------------------
# Header - Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    #header .container {
        position: relative;
    }

    #header {
        height: 80px;
        /* Mobil için daha uygun bir yükseklik */
    }

    #header .logo {
        flex: none;
        /* Flex büyümesini durdur */
        max-height: 60px;
    }

    #header .logo img {
        max-height: 35px;
        /* Logo boyutunu mobili için küçült */
    }

    #header .navbar {
        flex: 1;
        /* Navbar'ı sola yasla veya alan kaplamasını sağla ama toggler'ı sıkıştırma */
        display: block;
        /* Flex'i devredışı bırak */
        justify-content: flex-end;
    }

    #header .navbar-toggler {
        margin-left: auto;
        /* Toggler'ı sağa yasla */
    }

    #header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        /* Tam genişlik kaplaması için */
        background: #fff;
        padding: 12px 16px 16px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    #header .navbar-collapse>.container {
        padding: 10px 10px;
    }

    #header .navbar-nav {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    #header .navbar-nav .nav-item {
        text-align: left;
        padding: 0;
        width: 100%;
    }

    #header .navbar-nav .nav-link {
        padding: 14px 12px;
        display: block;
        border-bottom: 1px solid #eee;
        font-size: 16px;
        line-height: 1.4;
        white-space: normal;
        word-break: break-word;
    }

    #header .navbar-nav .nav-item::after {
        display: none;
    }

    #header .navbar .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        border: none;
        box-shadow: none;
    }

    #header .navbar .dropdown-item {
        padding: 12px 20px;
        line-height: 1.4;
        white-space: normal;
    }

    #header .header-buttons {
        width: 100%;
        margin-top: 0 !important;
        padding: 12px 0 0 !important;
    }

    #header .header-buttons .btn {
        display: block;
        width: 100%;
        padding: 12px 14px;
        font-size: 15px;
        line-height: 1.35;
        white-space: normal;
        text-align: center;
    }

    #header .logo-right {
        display: none;
    }
}

/*--------------------------------------------------------------
# Top Bar - Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
    #topbar {
        height: auto;
        padding: 5px 0;
    }

    #topbar .topbar-inner {
        flex-direction: column;
        padding: 5px 0;
    }

    #topbar .topbar-left,
    #topbar .topbar-right {
        width: 100%;
        justify-content: center;
        padding: 5px 0;
    }

    #topbar .contact-info {
        font-size: 13px;
    }

    .topbar-divider {
        display: none;
    }
}

/*--------------------------------------------------------------
# Services Section - Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .service-box {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {
    .section-title h2 {
        font-size: 28px;
    }

    .services .row {
        margin-left: -5px;
        margin-right: -5px;
    }

    .services .col-lg-3.col-md-6 {
        padding-left: 5px;
        padding-right: 5px;
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 10px;
    }

    .service-box {
        padding: 15px 10px 15px 80px;
        min-height: 100px;
    }

    .service-box::before {
        width: 70px;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        left: 10px;
    }

    .service-icon i.material-icons-round {
        font-size: 1.8rem;
        padding-top: 35px;
    }

    .service-box h3 {
        font-size: 18px;
        margin-bottom: 5px;
        line-height: 1.2;
    }

    .service-link {
        right: 5px;
        bottom: 5px;
    }

    .service-link i {
        font-size: 16px;
    }
}

/*--------------------------------------------------------------
# Events & Video Section - Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {

    .events-container,
    .video-container {
        margin-bottom: 30px;
    }

    .event-item {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .event-image {
        height: 180px;
    }

    .video-container iframe {
        height: 300px;
    }
}

/*--------------------------------------------------------------
# News Section - Responsive
--------------------------------------------------------------*/
@media (max-width: 1199.98px) {
    .news-item {
        margin-bottom: 30px;
    }
}

/*--------------------------------------------------------------
# Mekanlar Section - Responsive
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .mekan-item {
        margin-bottom: 20px;
    }

    .mekan-image {
        height: 180px;
    }
}

/*--------------------------------------------------------------
# Footer - Responsive
--------------------------------------------------------------*/
@media (max-width: 991.98px) {
    .footer-newsletter form input[type="email"] {
        margin-bottom: 10px;
    }

    .footer-newsletter form button[type="submit"] {
        width: 100%;
    }

    .footer-links {
        margin-bottom: 30px;
    }
}

/*--------------------------------------------------------------
# Hero Slider - Responsive
--------------------------------------------------------------*/
@media (max-width: 767.98px) {
    .hero-slider .slide-content {
        padding: 30px 20px;
    }

    .hero-slider .slide-title {
        font-size: 28px;
    }

    .hero-slider .slide-text {
        font-size: 16px;
        margin-bottom: 20px;
    }
}

/*--------------------------------------------------------------
# General Mobile Styles (max-width: 575.98px)
--------------------------------------------------------------*/
@media (max-width: 575.98px) {
    .section-title h2 {
        font-size: 24px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .container,
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
}