/********** Template CSS **********/
:root {
    --primary: #348E38;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Back to top mobile responsive */
@media (max-width: 767.98px) {
    .back-to-top {
        right: 20px;
        bottom: 20px;
        width: 45px !important;
        height: 45px !important;
        font-size: 20px !important;
    }
}

@media (max-width: 575.98px) {
    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px !important;
        height: 40px !important;
        font-size: 18px !important;
    }
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Logo sizing: make sure image logo matches navbar height and is responsive */
.navbar-brand img {
    height: 200px;
    max-height: 200px;
    width: auto;
    display: block;
}

@media (max-width: 991.98px) {
    /* Slightly smaller logo on tablets/phones */
    .navbar-brand img {
        height: 180px;
        max-height: 180px;
    }
}

@media (max-width: 576px) {
    /* Mobile - Logo büyütüldü */
    .navbar-brand img {
        height: 200px;
        max-height: 200px;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(15, 66, 41, .6);
    z-index: 1;
    padding: 15px;
}

.carousel-caption h1 {
    line-height: 1.2;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

/* Mobile Carousel Responsive */
@media (max-width: 575.98px) {
    .carousel-caption h1,
    .carousel-caption .display-1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        border-width: 5px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .carousel-caption h1,
    .carousel-caption .display-1 {
        font-size: 2.25rem !important;
        line-height: 1.3;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
        background-color: #0f4229;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

@media (min-width: 769px) {
    /* Desktop: limit carousel height so slides aren't too tall */
    #header-carousel .carousel-item {
        position: relative;
        /* Set explicit height so parent keeps space even if image is absolutely positioned */
        height: 580px;
        overflow: hidden;
        background-color: #0f4229;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/* Top Feature Mobile Responsive */
@media (max-width: 991.98px) {
    .top-feature {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

@media (max-width: 767.98px) {
    .top-feature .bg-white {
        padding: 25px 20px !important;
        min-height: auto !important;
        margin-bottom: 15px;
    }
    
    .top-feature h4 {
        font-size: 1.1rem !important;
        margin-bottom: 5px;
    }
    
    .top-feature span {
        font-size: 0.9rem;
    }
    
    .top-feature .btn-lg-square {
        width: 50px !important;
        height: 50px !important;
    }
    
    .top-feature .fa-leaf,
    .top-feature .fa-flask,
    .top-feature .fa-recycle {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 575.98px) {
    .top-feature .bg-white {
        padding: 20px 15px !important;
    }
    
    .top-feature h4 {
        font-size: 1rem !important;
    }
    
    .top-feature span {
        font-size: 0.85rem;
    }
    
    .top-feature .btn-lg-square {
        width: 45px !important;
        height: 45px !important;
    }
}


/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}

/* Quote section mobile optimization */
@media (max-width: 767.98px) {
    .quote {
        padding: 40px 0 !important;
        background-attachment: scroll !important;
    }
    
    .quote .container {
        padding: 0 !important;
    }
}

@media (max-width: 575.98px) {
    .quote {
        padding: 30px 0 !important;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;

}

.service-item:hover .service-text .btn {
    width: 122px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

/* Footer Mobile Responsive Styles */
.footer-logo {
    max-width: 180px;
    width: 100%;
    height: auto;
}

.footer-heading {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-link {
    padding: 2px 0 !important;
    display: block !important;
}

.footer-info {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact-link:hover {
    color: var(--primary) !important;
}

.footer-social .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tablet Responsive (max-width: 991px) */
@media (max-width: 991px) {
    .footer [class*="col-"] {
        text-align: center;
        margin-bottom: 25px;
    }
    
    .footer .d-flex.pt-2 {
        justify-content: center;
    }
}

/* Mobile Phone Responsive (max-width: 767px) */
@media (max-width: 767px) {
    .footer {
        padding: 30px 0 0 0 !important;
    }
    
    .footer [class*="col-"] {
        text-align: center !important;
        margin-bottom: 30px;
    }
    
    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 20px !important;
        text-align: center !important;
    }
    
    .footer p {
        font-size: 0.9rem;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer .btn.btn-link {
        font-size: 0.9rem;
        text-align: center !important;
        display: block !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer .d-flex.pt-2 {
        justify-content: center !important;
    }
    
    .footer .btn-square {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* Small Mobile Phone Responsive (max-width: 575px) */
@media (max-width: 575px) {
    .footer {
        padding: 25px 0 0 0 !important;
    }
    
    .footer h4 {
        font-size: 1rem;
        margin-bottom: 15px !important;
        text-align: center !important;
    }
    
    .footer p {
        font-size: 0.85rem;
        text-align: center !important;
    }
    
    .footer .btn.btn-link {
        font-size: 0.85rem;
        text-align: center !important;
        display: block !important;
    }
    
    .footer .btn-square {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}

/* Extra Small Mobile (max-width: 375px) */
@media (max-width: 375px) {
    .footer {
        padding: 20px 0 0 0 !important;
    }
    
    .footer h4 {
        font-size: 0.95rem;
        text-align: center !important;
    }
    
    .footer p {
        font-size: 0.8rem;
        text-align: center !important;
    }
    
    .footer .btn.btn-link {
        font-size: 0.8rem;
        text-align: center !important;
        display: block !important;
    }
    
    .footer .btn-square {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

.copyright {
    color: var(--light);
    background: #072A19;
    padding: 20px 0;
}

.copyright a {
    color: #FFFFFF;
}

.copyright a:hover {
    color: var(--primary);
}

/* Copyright Mobile Responsive */
@media (max-width: 767.98px) {
    .copyright {
        padding: 15px 0;
        text-align: center !important;
    }
    
    .copyright .container {
        padding: 0 15px;
    }
    
    .copyright .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
    
    .copyright .row > div:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 575.98px) {
    .copyright {
        padding: 12px 0;
        font-size: 0.85rem;
    }
}


/*** Mobile Responsive Fixes ***/
/* Prevent horizontal scrolling on mobile */
html, body {
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    position: relative;
}

/* Add padding for fixed navbar on mobile */
@media (max-width: 767.98px) {
    body {
        padding-top: 70px;
    }
}

@media (max-width: 575.98px) {
    body {
        padding-top: 65px;
    }
}

/* Fix container overflows on mobile */
@media (max-width: 767.98px) {
    /* Fix images overflowing */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Fix page header */
    .page-header {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Fix navbar brand on mobile */
    .navbar-brand {
        padding-left: 15px !important;
        padding-right: 10px !important;
        max-width: 75%;
        display: flex;
        align-items: center;
    }

    .navbar-brand img {
        height: 160px !important;
        max-height: 160px !important;
        width: auto;
    }

    /* Fix navbar toggler positioning */
    .navbar-toggler {
        margin-right: 15px !important;
        border: 2px solid rgba(0,0,0,.1);
        padding: 8px 10px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(52, 142, 56, 0.25);
    }

    /* Navbar fixed positioning on mobile */
    .navbar.sticky-top {
        position: fixed !important;
        width: 100%;
        z-index: 1000;
        top: 0 !important;
    }

    /* Prevent navbar overflow */
    .navbar {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow-x: hidden;
        min-height: 70px;
    }
    
    /* Navbar menu items on mobile */
    .navbar-nav {
        padding: 15px 0;
        background: #fff;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid #f0f0f0;
        font-size: 16px !important;
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mobile menu button */
    .navbar .btn-primary {
        display: none !important;
    }

    /* Fix filter form on mobile */
    .col-md-5,
    .col-md-2 {
        margin-bottom: 10px;
    }

    /* Fix buttons width on mobile */
    .btn-primary.w-100 {
        width: 100% !important;
    }

    /* Adjust font sizes for mobile */
    .display-3 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.5rem !important;
    }

    /* Fix breadcrumb on mobile */
    .breadcrumb {
        font-size: 14px;
        flex-wrap: wrap;
        padding-left: 0;
        padding-right: 0;
    }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Further reduce spacing on very small screens */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .mb-5 {
        margin-bottom: 2rem !important;
    }

    /* Navbar brand - Logo büyütüldü */
    .navbar-brand {
        max-width: 70% !important;
        padding-left: 10px !important;
    }
    
    .navbar-brand img {
        height: 140px !important;
        max-height: 140px !important;
    }
    
    .navbar-toggler {
        margin-right: 10px !important;
        padding: 6px 8px;
    }

    /* Stack filter form completely on tiny screens */
    form.row.g-3 > div {
        width: 100% !important;
        margin-bottom: 10px;
    }
}

/* Extra extra small devices (phones, less than 400px) */
@media (max-width: 399.98px) {
    .navbar-brand {
        max-width: 65% !important;
        padding-left: 8px !important;
    }
    
    .navbar-brand img {
        height: 120px !important;
        max-height: 120px !important;
    }
    
    .navbar-toggler {
        margin-right: 8px !important;
        padding: 5px 7px;
    }
    
    .carousel-caption h1,
    .carousel-caption .display-1 {
        font-size: 1.5rem !important;
    }
    
    body {
        font-size: 13px;
    }
}

/* Landscape phones and smaller tablets */
@media (max-width: 991.98px) {
    /* Adjust navbar for tablets */
    .navbar .navbar-brand {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    /* Fix navbar collapse menu */
    .navbar-collapse {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Ensure navbar items don't overflow */
    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 10px 0 !important;
    }
}

/* Fix Bootstrap grid system on mobile */
@media (max-width: 767.98px) {
    /* Fix pagination on mobile */
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .page-item {
        margin: 2px;
    }

    /* Additional container fixes for xxl containers */
    .container-xxl {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Fix text center alignment */
    .text-center.mx-auto {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* Fix WOW animation elements */
    .wow {
        animation: none !important;
    }
}

/*** COMPREHENSIVE MOBILE RESPONSIVE IMPROVEMENTS ***/

/* Mobile Typography & Spacing */
@media (max-width: 767.98px) {
    /* Heading Adjustments */
    .display-1 {
        font-size: 2rem !important;
    }
    
    .display-3 {
        font-size: 1.75rem !important;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
    }
    
    h1 {
        font-size: 1.75rem !important;
    }
    
    h2 {
        font-size: 1.5rem !important;
    }
    
    h3 {
        font-size: 1.25rem !important;
    }
    
    h4 {
        font-size: 1.1rem !important;
    }
    
    /* Section Padding */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .container-xxl.py-5,
    .container.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Margin Adjustments */
    .mb-4 {
        margin-bottom: 1rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
}

/* About Section Mobile */
@media (max-width: 767.98px) {
    .container-xxl.py-5 p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .container-xxl.py-5 ul {
        padding-left: 20px;
    }
    
    .container-xxl.py-5 ul li {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.5;
    }
}

@media (max-width: 575.98px) {
    .container-xxl.py-5 p {
        font-size: 0.9rem;
    }
    
    .container-xxl.py-5 ul li {
        font-size: 0.9rem;
    }
}

/* Features Section (Vision/Mission) Mobile */
@media (max-width: 767.98px) {
    .row.g-4.align-items-stretch > [class*="col-"] {
        margin-bottom: 20px !important;
    }
    
    .row.g-4 .text-center.rounded {
        padding: 25px 20px !important;
    }
    
    .row.g-4 .btn-square {
        width: 70px !important;
        height: 70px !important;
        margin-bottom: 15px !important;
    }
    
    .row.g-4 .fa-3x {
        font-size: 2rem !important;
    }
    
    .row.g-4 h4 {
        font-size: 1.15rem !important;
        margin-bottom: 15px !important;
    }
    
    .row.g-4 p {
        font-size: 0.9rem !important;
        line-height: 1.6;
        text-align: justify;
    }
}

@media (max-width: 575.98px) {
    .row.g-4 .text-center.rounded {
        padding: 20px 15px !important;
    }
    
    .row.g-4 .btn-square {
        width: 60px !important;
        height: 60px !important;
    }
    
    .row.g-4 .fa-3x {
        font-size: 1.75rem !important;
    }
    
    .row.g-4 h4 {
        font-size: 1.05rem !important;
    }
    
    .row.g-4 p {
        font-size: 0.85rem !important;
    }
}

/* Service/Products Section Mobile - SADECE KÜÇÜK AYARLAMALAR */
@media (max-width: 767.98px) {
    .service-item .service-text h4 {
        font-size: 1.15rem;
    }
    
    .service-item .service-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .service-item .service-text .btn {
        font-size: 0.95rem;
        padding: 10px 25px;
        width: auto !important;
        min-width: 140px;
    }
    
    .service-item:hover .service-text .btn {
        width: auto !important;
    }
}

@media (max-width: 575.98px) {
    .service-item .service-text h4 {
        font-size: 1.05rem;
    }
    
    .service-item .service-text p {
        font-size: 0.85rem;
    }
    
    .service-item .service-text .btn {
        font-size: 0.9rem;
        padding: 10px 22px;
        min-width: 130px;
    }
}

/* Quote Form Mobile */
@media (max-width: 767.98px) {
    .quote .bg-white.rounded {
        padding: 30px 25px !important;
    }
    
    .quote h1,
    .quote .display-5 {
        font-size: 1.6rem !important;
        margin-bottom: 25px !important;
    }
    
    .quote .form-floating label {
        font-size: 0.9rem;
    }
    
    .quote .form-control {
        font-size: 0.95rem;
        padding: 12px;
    }
    
    .quote .btn-primary {
        padding: 12px 30px !important;
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .quote .bg-white.rounded {
        padding: 25px 20px !important;
    }
    
    .quote h1,
    .quote .display-5 {
        font-size: 1.4rem !important;
        margin-bottom: 20px !important;
    }
    
    .quote .form-floating label {
        font-size: 0.85rem;
    }
    
    .quote .form-control {
        font-size: 0.9rem;
        padding: 10px;
    }
    
    .quote .btn-primary {
        padding: 10px 25px !important;
        font-size: 0.95rem;
    }
}

/* Topbar Mobile Hidden - Already has d-none d-lg-flex */
/* No changes needed for topbar */

/* Additional Mobile Improvements */
@media (max-width: 575.98px) {
    /* Reduce button sizes */
    .btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 12px 25px;
    }
    
    /* Icon sizes */
    .fa,
    .fas,
    .far,
    .fab {
        font-size: inherit;
    }
    
    /* Container improvements */
    body {
        font-size: 14px;
    }
    
    /* Prevent text overflow */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* Universal Mobile Fixes - Apply to all screen sizes */
@media (max-width: 991.98px) {
    /* Ensure no horizontal scroll */
    .container,
    .container-fluid,
    .container-xxl {
        max-width: 100vw;
        overflow-x: hidden;
    }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 767.98px) {
    /* Better form inputs */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Smooth scrolling */
    html {
        scroll-behavior: smooth;
    }
}

/* Landscape orientation fixes */
@media (max-width: 991.98px) and (orientation: landscape) {
    .carousel-item {
        min-height: 350px !important;
    }
    
    .carousel-caption h1,
    .carousel-caption .display-1 {
        font-size: 2rem !important;
    }
    
    body {
        padding-top: 65px;
    }
}

/* Print styles - hide unnecessary elements */
@media print {
    .navbar,
    .topbar,
    .back-to-top,
    .btn,
    button {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
}

/* Footer Copyright - Ana Stiller */
.footer-copyright {
    position: relative;
    z-index: 1;
    margin: 40px 0 0 0;
    padding: 20px 15px 15px 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-copyright p {
    font-family: 'Bahnschrift SemiCondensed', 'Arial Narrow', Arial, sans-serif;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-copyright a {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

/* Logo Stili - Varsayılan olarak beyaz (dark background için) */
.footer-copyright a img {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/* Hover Efektleri */
.footer-copyright a:hover img {
    filter: brightness(1) invert(0);
    transform: scale(1.1) translateY(-2px);
}

/* Alt Çizgi Animasyonu */
.footer-copyright a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.footer-copyright a:hover::after {
    width: 100%;
}

/* ============================================
   RESPONSIVE DESIGN - FOOTER COPYRIGHT
   ============================================ */

/* Tablet (1024px ve altı) */
@media screen and (max-width: 1024px) {
    .footer-copyright {
        margin-top: 35px;
        padding: 18px 12px 12px 12px;
    }

    .footer-copyright p {
        font-size: 15px;
        gap: 8px;
    }

    .footer-copyright a img {
        height: 22px;
    }
}

/* Mobile (768px ve altı) */
@media screen and (max-width: 768px) {
    .footer-copyright {
        margin-top: 30px;
        padding: 15px 10px 10px 10px;
    }

    .footer-copyright p {
        font-size: 14px;
        gap: 8px;
    }

    .footer-copyright a img {
        height: 20px;
    }
}

/* Small Mobile (575px ve altı) */
@media screen and (max-width: 575px) {
    .footer-copyright {
        margin-top: 25px;
        padding: 12px 8px 10px 8px;
    }

    .footer-copyright p {
        font-size: 13px;
        gap: 6px;
    }

    .footer-copyright a img {
        height: 18px;
    }
}

/* Extra Small Mobile (375px ve altı) */
@media screen and (max-width: 375px) {
    .footer-copyright {
        margin-top: 20px;
        padding: 10px 5px 8px 5px;
    }

    .footer-copyright p {
        font-size: 12px;
        gap: 5px;
    }

    .footer-copyright a img {
        height: 16px;
    }
    
    .footer-copyright a::after {
        height: 1px;
    }
}

/* ============================================
   ÖZELLEŞTIRME SEÇENEKLERİ
   ============================================
   
   Açık (Light) Footer için:
   .footer-copyright {
       border-top: 1px solid rgba(0, 0, 0, 0.1);
   }
   .footer-copyright p {
       color: #333333;
   }
   .footer-copyright a img {
       filter: none; (Logoyu olduğu gibi göster)
   }
   .footer-copyright a:hover img {
       filter: brightness(0.8);
   }
   
   Farklı Hover Rengi için:
   .footer-copyright a::after {
       background-color: #YOUR_COLOR;
   }
   
   ============================================ */

/* ============================================
   WHATSAPP STICKY BUTTON
   ============================================ */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: scale(1.1);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
}

.whatsapp-float i {
    margin-top: 0;
}

/* Tooltip için */
.whatsapp-float::before {
    content: "WhatsApp'tan yazın";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #25D366;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 14px;
    font-family: Arial, sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover::before {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Animasyon */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* Tablet Responsive (max-width: 991px) */
@media (max-width: 991.98px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 30px;
        right: 30px;
        font-size: 28px;
    }
    
    .whatsapp-float::before {
        font-size: 13px;
        padding: 7px 12px;
    }
}

/* Mobile Responsive (max-width: 767px) */
@media (max-width: 767.98px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    
    /* Tooltip'i mobilde gizle */
    .whatsapp-float::before {
        display: none;
    }
}

/* Small Mobile Responsive (max-width: 575px) */
@media (max-width: 575.98px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 24px;
    }
}

/* Extra Small Mobile (max-width: 400px) */
@media (max-width: 400px) {
    .whatsapp-float {
        width: 42px;
        height: 42px;
        bottom: 12px;
        right: 12px;
        font-size: 22px;
    }
}

