/* Variables */
:root {
    --secondary-color: #2c3e50;
}

/* Global Box-Sizing for better layout control */
html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    padding: 0.5rem 1rem;
    transition: transform 0.3s ease-in-out;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background-color: white !important;
}

.navbar-hidden {
    transform: translateY(-100%);
}

/* Mobile navbar fixes */
@media (max-width: 991.98px) {
    .navbar {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        background-color: rgba(255, 255, 255, 1) !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .navbar-toggler:focus {
        box-shadow: none !important;
        outline: none !important;
    }
    
    .navbar-toggler-icon {
        filter: none !important;
        -webkit-filter: none !important;
    }
}

/* All specific display rules for toggler and collapse removed to rely entirely on Bootstrap's built-in responsive classes. */

.navbar-light .navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    padding: 1.5rem 1rem;
    position: relative;
}

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

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    margin-left: 0px !important;
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* Cards */
.card {
    border: none;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--dark-gray);
}

.footer a:hover {
    color: #fff !important;
}

.bg-darker {
    background-color: #1a1e21;
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #fff;
    transform: translateY(-3px);
    color: var(--primary-color) !important;
}

/* Page Header */
.page-header {
    background: var(--light-gray);
    border-bottom: 1px solid #dee2e6;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(240, 119, 3, 0.25);
}

/* Custom Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Components */
.feature-box {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Product Cards */
.product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card .product-description {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.newsletter-form .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Owl Carousel Custom Navigation */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7) !important;
    /* Darker navigation background */
    color: white !important;
    border-radius: 50%;
    width: 50px;
    /* Larger buttons */
    height: 50px;
    /* Larger buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    /* Larger icons */
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0.8;
    /* Slightly transparent */
}

.owl-nav button:hover {
    background: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.1);
    /* Subtle hover effect */
    opacity: 1;
}

.owl-prev {
    left: 30px;
    /* More padding from the edge */
}

.owl-next {
    right: 30px;
    /* More padding from the edge */
}

.owl-dots {
    position: absolute;
    bottom: 20px;
    /* Position dots over the slider */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    z-index: 15;
    /* Ensure dots are above other elements */
    display: flex;
    /* Use flexbox for horizontal alignment */
    justify-content: center;
    /* Center the dots horizontally */
    align-items: center;
    /* Vertically align the dots if needed */
    flex-wrap: nowrap;
    /* Prevent dots from wrapping to the next line */
    white-space: nowrap;
    /* Force content onto a single line */
}

.owl-dots button.owl-dot {
    width: 14px;
    /* Larger dots */
    height: 14px;
    /* Larger dots */
    background: rgba(255, 255, 255, 0.7);
    /* Slightly transparent white */
    border-radius: 50%;
    padding: 0;
    /* Remove default button padding */
    border: none;
    /* Remove default button border */
    cursor: pointer;
    /* Indicate it's clickable */
    margin-right: 10px;
    /* Explicit horizontal spacing */
    flex-shrink: 0;
    /* Prevent shrinking */
    flex-grow: 0;
    /* Prevent growing */
    display: inline-block !important;
    /* Force inline-block display */
    vertical-align: top !important;
    /* Ensure vertical alignment to prevent stacking */
}

.owl-dots button.owl-dot:last-child {
    margin-right: 0;
    /* Remove right margin from the last dot */
}

.owl-dots button.owl-dot span {
    display: none !important;
    /* Hide the span completely to prevent layout interference */
}

.owl-dots button.owl-dot.active {
    background: var(--primary-color);
    /* Active dot color */
    transform: scale(1.2);
    /* Subtle active dot effect */
}



@media (max-width: 768px) {

    .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        /* left: 15px; */
        /* right: 15px; */
    }

    .owl-dots {
        bottom: 10px;
    }

    .owl-dots button.owl-dot {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 576px) {
    .owl-nav button {
        display: none;
        /* Hide nav buttons on very small screens */
    }
}



/* Quality Products and Services Section */
.quality-products-services .col-lg-6 img {
    max-height: 500px;
    object-fit: cover;
}

.quality-products-services .icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.quality-products-services .icon-circle i {
    font-size: 1.5rem;
    color: #fff !important;
}

/* Ensure proper spacing for headers and paragraphs */
.quality-products-services h2 {
    margin-bottom: 1rem;
}

.quality-products-services p.lead {
    margin-bottom: 1.5rem;
}

/* Remove old video placeholder styles */
.quality-products-services .image-container {
    position: relative;
    /* Ensure parent is positioned */
    display: inline-block;
    /* To contain floated/absolutely positioned children */
    width: 100%;
}

.quality-products-services .video-placeholder,
.quality-products-services .play-button {
    display: none;
    /* Hide old elements */
}

/* Ensure the parent container has relative positioning for absolute child positioning */
.quality-products-services .col-lg-6.position-relative {
    position: relative;
}

/* Hide old elements if they were not fully removed */
.quality-products-services .video-placeholder,
.quality-products-services .play-button {
    display: none;
}

/* New Video Block Styles */
.quality-products-services .quality-video-block {
    position: absolute;
    bottom: -111px;
    right: -5px;
    width: 300px;
    /* Wider as per image */
    height: 180px;
    /* Taller as per image */
    border-radius: 15px;
    /* More rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    /* Stronger shadow */
    border: 5px solid var(--primary-color);
    /* Blue border as in the image */
    transform: translateX(0);
    /* Start with no translation */
    transition: all 0.3s ease;
    background-color: #0d212b;
    /* Dark background color from the image */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    /* Ensure it's above other elements */
}

.quality-products-services .quality-video-block:hover {
    /* No visual transform on hover; keep layout stable */
    transform: none;
}

.quality-products-services .quality-video-block .play-button-large {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.quality-products-services .quality-video-block .video-thumbnail {
    width: 120px;
    /* Larger thumbnail */
    height: 120px;
    /* Larger thumbnail */
    object-fit: contain;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    background-color: white;
    padding: 15px;
    /* More padding */
}

.quality-products-services .quality-video-block .play-icon {
    font-size: 4rem;
    /* Larger play icon */
    color: var(--primary-color);
    /* Yellow play button */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 1;
    /* Always visible */
    transition: none;
    /* No transition on play icon opacity */
}

/* Chevron Arrows */
.quality-products-services .video-arrows {
    position: absolute;
    top: 20px;
    /* Position at the top of the video block */
    left: 20px;
    /* Position at the left of the video block */
    display: flex;
    gap: 5px;
    /* Space between chevrons */
    z-index: 3;
}

.quality-products-services .video-arrows i {
    color: var(--primary-color);
    /* Yellow color */
    font-size: 1.2rem;
    /* Size of chevrons */
    opacity: 0.8;
}

/* Responsive adjustments for the video block */
@media (max-width: 991.98px) {
    .quality-products-services .col-lg-6.position-relative {
        display: block;
        margin-bottom: 70px;
        /* Add space below the image on smaller screens */
    }

    .quality-products-services .quality-video-block {
        position: relative;
        bottom: auto;
        right: auto;
        transform: translateX(0);
        margin: 0 auto;
        /* Center the block */
        width: 280px;
        /* Adjust width for tablets */
        height: 160px;
        /* Adjust height for tablets */
    }
}

@media (max-width: 767.98px) {
    .quality-products-services .quality-video-block {
        width: 250px;
        /* Adjust width for mobile */
        height: 140px;
        /* Adjust height for mobile */
        bottom: -50px;
        /* Bring it closer to the image, or adjust as needed */
        right: 0px;
    }

    .quality-products-services .quality-video-block .video-arrows {
        display: none;
        /* Hide arrows on very small screens if they look cluttered */
    }

    .quality-products-services .quality-video-block .video-thumbnail {
        width: 100px;
        height: 100px;
    }

    .quality-products-services .quality-video-block .play-icon {
        font-size: 3rem;
    }
}

/* Offcanvas Specific Styles */
.offcanvas {
    /* background-color: var(--light-gray); */
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.offcanvas .offcanvas-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: 1px solid var(--primary-dark);
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.offcanvas .offcanvas-title {
    color: white;
}

.offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas .navbar-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.offcanvas .navbar-nav .nav-link {
    padding: 1rem 1.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.2s ease;
}

.offcanvas .navbar-nav .nav-link:hover,
.offcanvas .navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.offcanvas .navbar-nav .nav-link::after {
    display: none;
    /* Hide underline in offcanvas */
}



/* Adjust main content when offcanvas is open - optional, but good for UX */
body.offcanvas-active {
    overflow: hidden;
    /* Prevent scrolling of main content */
}

/* Existing media query adjustments for nav-link padding, but now for offcanvas */
@media (max-width: 991.98px) {

    /* These styles apply to the offcanvas nav-links on smaller screens */
    .offcanvas .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }
}


/* Blog Card Styles for Nutrition Tips Slider */
.blog-posts-slider .owl-item {
    padding: 10px;
    /* Add some padding around each item in the slider */
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    /* Ensure all cards have equal height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-img {
    position: relative;
    padding-top: 60%;
    /* 16:9 aspect ratio */
    overflow: hidden;
}

.blog-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.1);
}

.blog-card-body {
    padding: 1.5rem;
    flex-grow: 1;
    /* Allow body to take remaining space */
    text-align: left;
}

.blog-card-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.blog-card-meta span {
    margin-right: 15px;
}

.blog-card-meta i {
    margin-right: 5px;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: #495057;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Owl Carousel Navigation & Dots Customization for Blog Slider */
.blog-posts-slider .owl-nav button {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.blog-posts-slider .owl-nav button:hover {
    background-color: var(--primary-dark) !important;
    opacity: 1;
}

.blog-posts-slider .owl-prev {
    left: -20px;
}

.blog-posts-slider .owl-next {
    right: -20px;
}

.blog-posts-slider .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.blog-posts-slider .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #d6d6d6 !important;
    display: block;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}

.blog-posts-slider .owl-dots .owl-dot.active span,
.blog-posts-slider .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
}

/* Responsive adjustments for blog slider navigation */
@media (max-width: 767.98px) {
    .blog-posts-slider .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        opacity: 0.7;
    }

    .blog-posts-slider .owl-prev {
        left: 0px;
    }

    .blog-posts-slider .owl-next {
        right: 0px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-detail-content {
        padding: 1.5rem !important;
    }

    .blog-featured-image {
        height: 300px;
    }
}

/* New styles for Blog Detail Page Sidebar */
.sidebar {
    background-color: var(--light-gray);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title {
    color: var(--secondary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.list-group-item-action {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.list-group-item-action:hover {
    background-color: #e9ecef;
    /* Slightly darker than light-gray */
    transform: translateX(5px);
}

.other-news-img {
    width: 80px;
    min-width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 5px;
}

.other-news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-news-title h6 {
    color: var(--secondary-color);
    font-weight: 600;
    line-height: 1.4;
}

.other-news-title a {
    text-decoration: none;
    color: inherit;
}

.other-news-title a:hover {
    color: var(--primary-color);
}

/*-----------------------------------------------------------------------------------*/
/*  14. Floating Action Buttons
/*-----------------------------------------------------------------------------------*/
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Space between buttons */
}

.floating-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.2s ease-in-out;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.scroll-up-btn {
    background-color: var(--primary-color);
    /* Use your primary color */
    display: none;
    /* Hidden by default, shown by JS */
}

.whatsapp-btn {
    background-color: #25D366;
    /* WhatsApp green */
}

.phone-btn {
    background-color: #007bff;
    /* Bootstrap info blue */
}

/* Sahibinden Button */
.sahibinden-btn-container {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 999;
    /* Slightly lower than floating-buttons if they overlap */
}

.sahibinden-btn {
    display: flex;
    flex-direction: column;
    /* Change to column for vertical layout */
    justify-content: center;
    align-items: center;
    width: 60px;
    /* Width for the vertical button */
    height: 150px;
    /* Height to accommodate vertical text */
    border-radius: 0 10% 10% 0;
    /* Rounded on the right side */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #000;
    /* Text and icon color to black */
    text-decoration: none;
    background-color: #FFD700;
    /* Sahibinden yellow */
    transition: background-color 0.2s ease-in-out;
    /* Removed conflicting box-shadow from here */
}

.sahibinden-btn:hover {
    /* Removed transform: translateX(10px) translateY(-50%) scale(1.05); */
    background-color: #e0b800;
    /* Darker yellow on hover */
}

.sahibinden-btn i {
    margin-bottom: 5px;
    /* Space between icon and text, changed from margin-right */
    margin-right: 0;
    /* Ensure no right margin */
}

.sahibinden-btn span {
    font-size: 16px;
    /* Smaller font for text */
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.sahibinden-btn .sahibinden-logo {
    width: 30px;
    /* Adjust as needed */
    height: 30px;
    /* Adjust as needed */
    object-fit: contain;
    /* Ensures the entire image is visible */
    margin-bottom: 5px;
    /* Space between logo and text */
}


.katalog-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 150px;
    border-radius: 0 10% 10% 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    text-decoration: none;
    background-color: #d32f2f; /* Katalog için kırmızımsı bir ton */
    transition: background-color 0.2s ease-in-out;
    font-weight: 500;
    margin-top: 15px;
}

.katalog-btn:hover {
    background-color: #b71c1c; /* Daha koyu kırmızı */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.katalog-btn i {
    margin-bottom: 8px;
    margin-right: 0;
    font-size: 28px;
    color: #fff;
}

.katalog-btn span {
    font-size: 15px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 500;
}
.katalog-btn {
    animation: pulse 1.8s infinite alternate;
    /* Slightly faster animation */
    transition: background-color 0.2s ease-in-out;
}



@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: scale(1.05);
        /* Increased scale even more for greater prominence */
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 0, 0, 0.2);
        /* Stronger and wider glow */
    }
}

.sahibinden-btn {
    animation: pulse 1.8s infinite alternate;
    /* Slightly faster animation */
    transition: background-color 0.2s ease-in-out;
}

/* Feature Section - Blog Posts Slider */


.feature-thumbnails {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 15px;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail-item.active {
    border: 3px solid var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


@media (max-width: 768px) {
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
}

/* Küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 576px) {
    .thumbnail-item {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }
    .thumbnail-item.active {
        transform: scale(1.05);
    }

    .feature-thumbnails {
        gap: 10px;
    }
}


@keyframes btn-pulse {
	0% {
		box-shadow: 0 0 0 0 var(--hover);
	}
}

/* .btn.btn-effect-2 {
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-radius: 8px;
    box-shadow: 0 2px 12px 0 rgba(240,119,3,0.08), 0 1.5px 4px 0 rgba(44,62,80,0.06);
    background: linear-gradient(90deg, var(--primary-color) 0%, #cfe0fd 100%);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: 
        background 0.3s cubic-bezier(.4,0,.2,1),
        color 0.2s,
        box-shadow 0.3s cubic-bezier(.4,0,.2,1),
        transform 0.12s;
}

.btn.btn-effect-2::before {
    content: "";
    position: absolute;
    left: -75%;
    top: 0;
    width: 50%;
    height: 100%;
    background: rgba(255,255,255,0.18);
    transform: skewX(-20deg);
    transition: left 0.4s cubic-bezier(.4,0,.2,1);
    z-index: 2;
    pointer-events: none;
}

.btn.btn-effect-2:hover::before,
.btn.btn-effect-2:focus-visible::before {
    left: 120%;
}

.btn.btn-effect-2:hover, 
.btn.btn-effect-2:focus-visible {
    background: linear-gradient(90deg, #cfe0fd 0%, var(--primary-color) 100%);
    color: #fff;
    box-shadow: 0 4px 24px 0 rgba(240,119,3,0.18), 0 2px 8px 0 rgba(44,62,80,0.10);
    transform: translateY(-2px) scale(1.03);
    outline: none;
}

.btn.btn-effect-2:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px 0 rgba(240,119,3,0.10);
}

.btn.btn-effect-2 strong {
    text-shadow: 0 1px 2px rgba(44,62,80,0.08);
    transition: text-shadow 0.2s;
}

.btn.btn-effect-2:hover strong,
.btn.btn-effect-2:focus-visible strong {
    text-shadow: 0 2px 8px rgba(240,119,3,0.18);
}

.btn.btn-effect-2::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180%;
    height: 180%;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 80%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
    pointer-events: none;
}

.btn.btn-effect-2:hover::after,
.btn.btn-effect-2:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.btn.btn-effect-2 .fa-arrow-right {
    transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

.btn.btn-effect-2:hover .fa-arrow-right,
.btn.btn-effect-2:focus-visible .fa-arrow-right {
    transform: translateX(6px) scale(1.12);
} */

/* Product Detail Page Styles */
.product-detail-image {
    max-height: 500px; /* Carousel image height */
    object-fit: contain;
    width: 100%;
    background-color: #f8f9fa; /* Optional: light background for images */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Make controls more visible */
    border-radius: 50%;
    padding: 15px;
}


.categories-section .row.align-items-center {
    min-height: 420px;
}
.category-card .card {
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
}
.category-card .card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 24px rgba(240, 119, 3, 0.10), 0 2px 8px 0 rgba(44, 62, 80, 0.08);
}
.category-image-wrapper {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f8f9fa;
    border-radius: 0.75rem 0.75rem 0 0;
}
.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #fff;
}
.category-card .card:hover .category-image-wrapper img {
    transform: scale(1.07) rotate(-2deg);
}
.category-card .card-body {
    padding: 1rem;
}
.category-card .card-title {
    font-size: 1.12rem;
    letter-spacing: 0.5px;
}
.categories-slider .category-slider-item {
    padding: 10px 8px;
    height: 100%;
}
.categories-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.categories-slider .owl-nav button {
    pointer-events: all;
    background: rgba(0,0,0,0.7) !important;
    color: #fff !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background 0.3s;
    opacity: 0.8;
}
.categories-slider .owl-nav button:hover {
    background: var(--primary-color) !important;
    opacity: 1;
}
.categories-slider .owl-dots {
    text-align: center;
    margin-top: 10px;
}
.categories-slider .owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd;
    display: inline-block;
    border-radius: 50%;
    margin: 0 4px;
    transition: background 0.3s;
}
.categories-slider .owl-dot.active span {
    background: var(--primary-color);
}
@media (max-width: 991.98px) {
    .categories-section .row.align-items-center {
        min-height: unset;
    }
    .category-image-wrapper {
        height: 120px;
    }
}
@media (max-width: 767.98px) {
    .categories-section .row.align-items-center {
        flex-direction: column;
    }
    .category-image-wrapper {
        height: 100px;
    }
}


/* contact card + form styles moved from home.php */


.contact-form .input-group-text {
    border-radius: 0.75rem 0 0 0.75rem;
    border-color: #eee;
}

.contact-form .form-control {
    border-radius: 0 0.75rem 0.75rem 0;
    border-color: #eee;
    box-shadow: none !important;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(240, 119, 3, 0.08);
}

.contact-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* references section  */
.references-section .references-carousel .item {
    padding: 10px; /* Add some padding around each item in the slider */
}

.references-section .reference-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure all cards have equal height */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.references-section .reference-card:hover {
    transform: translateY(-5px);
}

.references-section .reference-image {
    position: relative;
    padding-top: 60%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; /* İç boşluk ekle */
}

.references-section .reference-image .reference-logo {
    filter: grayscale(100%); /* Siyah beyaz yap */
    transition: filter 0.3s ease-in-out; /* Geçiş efekti */
    width: 100%; /* Kapsayıcı genişliğine uyum sağla */
    height: auto; /* Yüksekliği otomatik ayarla */
    max-height: 110px; /* Maksimum yükseklik */
    object-fit: contain; /* Görselin tamamını göster ve taşırmadan sığdır */
}

.references-section .reference-card:hover .reference-image .reference-logo {
    filter: grayscale(0%); /* Üzerine gelince renkli yap */
}

/* Owl Carousel Navigation & Dots Customization for References Slider */
.references-section .owl-nav button {
    background-color: var(--primary-color) !important;
    color: white !important;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.references-section .owl-nav button:hover {
    background-color: var(--primary-dark) !important;
    opacity: 1;
}

.references-section .owl-prev {
    left: -20px;
}

.references-section .owl-next {
    right: -20px;
}

.references-section .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.references-section .owl-dots .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px 7px;
    background: #d6d6d6 !important;
    display: block;
    -webkit-backface-visibility: visible;
    backface-visibility: visible;
    transition: opacity .2s ease;
    border-radius: 30px;
}

.references-section .owl-dots .owl-dot.active span,
.references-section .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
}

/* Responsive adjustments for references slider navigation */
@media (max-width: 767.98px) {
    .references-section .owl-nav button {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
        opacity: 0.7;
    }

    .references-section .owl-prev {
        left: 0px;
    }

    .references-section .owl-next {
        right: 0px;
    }
}



/* Google Translate Element CSS Hiding */
.goog-te-banner-container { display: none !important; }
        body { top: 0px !important; }
.skiptranslate { display: none !important; }
circle ~ svg,
circle ~ svg ~ div,
circle ~ svg ~ div ~ div,
body > .skiptranslate,
body > .skiptranslate > iframe,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-hint,
.goog-tooltip,
.goog-tooltip:hover,
#google_translate_element .goog-te-combo {
    display: none !important;
    visibility: hidden !important;
}

/* Adjust body top padding if GTE creates it */
body {
    top: 0px !important;
}

/* Custom styles for footer language selector */
.floating-buttons .language-selector-footer {
    /* Ensure it behaves like other floating buttons */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px; /* Slightly wider to accommodate text */
    height: 55px; /* Slightly taller to accommodate text */
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
    transition: transform 0.2s ease-in-out;
    background-color: #6c757d; /* A neutral color, e.g., Bootstrap secondary */
    font-size: 0.9rem; /* Adjusted for better fit */
    line-height: 1;
    white-space: nowrap; /* Prevent text wrapping */
}

.floating-buttons .language-selector-footer:hover {
    transform: scale(1.1);
}

.floating-buttons .language-selector-footer i {
    margin-right: 3px; /* Space between icon and text */
    font-size: 1rem; /* Adjust icon size */
}

/* Remove dropdown-specific styles as it's now a modal trigger */
.floating-buttons .language-selector-footer.dropdown-toggle {
    background: transparent !important;
    border: none !important;
    color: white !important;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem; 
    line-height: 1; 
}

.floating-buttons .language-selector-footer.dropdown-toggle::after {
    display: none; /* Hide default caret */
}

.floating-buttons .language-selector-footer .dropdown-menu {
    display: none; /* Hide dropdown menu, as we are using a modal */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .floating-buttons .language-selector-footer {
        width: 50px;
        height: 50px;
        font-size: 0.8rem; /* Smaller font for mobile */
    }
    .floating-buttons .language-selector-footer i {
        font-size: 0.9rem; /* Adjust icon size for mobile */
    }
}

/* New Header and Top Bar Styles */
.top-bar {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.875rem;
}

.top-bar-contact span {
    display: inline-flex;
    align-items: center;
}

.top-bar-contact i {
    margin-right: 0.5rem;
}

.top-bar-social a {
    color: #fff;
    margin-left: 1rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.top-bar-social a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.navbar-brand img {
    height: 70px;
    object-fit: contain;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
}

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

.offcanvas-header {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-title {
    color: white;
}

.offcanvas-body .navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
}

.offcanvas-body .navbar-nav .nav-link:hover,
.offcanvas-body .navbar-nav .nav-link.active {
    background-color: var(--primary-color);
    color: white !important;
}

.offcanvas-body .dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

.offcanvas-backdrop.show {
    opacity: 0.7;
}

.offcanvas .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.offcanvas .list-unstyled .nav-link {
    padding-left: 1.5rem;
}

.offcanvas .list-unstyled .list-unstyled .nav-link {
    padding-left: 2.5rem;
}

.offcanvas .social-links-offcanvas a {
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.offcanvas .social-links-offcanvas a:hover {
    background: var(--primary-dark);
}

.offcanvas-top {
    height: 200px;
}

.offcanvas-top .offcanvas-body {
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-top .form-control {
    border-radius: 0.5rem;
}

.offcanvas-top .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.offcanvas-top .btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Why Choose Us Section Styles */
.why-choose-us .why-choose-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-us .why-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.why-choose-us .icon-wrapper {
    margin-bottom: 1.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem; /* Icon size */
}


.why-choose-us h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.why-choose-us p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

.why-choose-us .card {
    border-radius: 1rem;
}


/* Quality Products and Services Section Styles */
.quality-products-services {
    background-color: var(--light-gray);
}

.quality-products-services .image-wrapper {
    min-height: 400px;
    position: relative;
}

.quality-products-services .image-wrapper img {
    border-radius: 1rem;
    object-fit: cover;
}

.quality-products-services .video-play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quality-products-services .video-play-button-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.quality-products-services .play-button-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--primary-color);
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.quality-products-services .play-button-modern:hover {
    transform: scale(1.1);
}

.quality-products-services .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.quality-products-services h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.quality-products-services .feature-item i {
    font-size: 1.8rem;
}

.quality-products-services .feature-item h5 {
    font-size: 1.1rem;
}

/* Video Modal Styles */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    border-radius: 1rem;
}

.modal-header {
    border-bottom: none;
}

.modal-body {
    padding: 0;
}

/* Products Section Styles (new) */
.products-section {
    background-color: var(--light-gray);
}

.products-section .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.products-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.product-card-modern {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.product-card-img-wrapper {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.product-card-img-wrapper img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .product-card-img-wrapper img {
    transform: scale(1.05);
}

.product-title-modern {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.product-title-modern a {
    color: inherit;
    transition: color 0.3s ease;
}

.product-title-modern a:hover {
    color: var(--primary-color);
}

.product-description-modern {
    font-size: 0.95rem;
    color: #6c757d;
}

.btn-primary-outline-arrow {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    border-radius: 0.5rem;
    padding: 0.6rem 1.2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-primary-outline-arrow:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary-outline-arrow i {
    transition: transform 0.3s ease;
}

.btn-primary-outline-arrow:hover i {
    transform: translateX(5px);
}

/* Categories Section Styles (new) */
.categories-section-new {
    background-color: var(--light-gray);
}

.categories-section-new .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.categories-section-new h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.categories-section-new .lead {
    font-size: 1.15rem;
}

.categories-section-new .list-unstyled li {
    font-size: 1.05rem;
    color: #555;
}

.categories-section-new .list-unstyled i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.category-card-new {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card-new:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15)) !important;
    border-radius: 1rem;
}

.category-image-wrapper-new {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    border-radius: 1rem 1rem 0 0;
}

.category-image-wrapper-new img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.category-card-new:hover .category-image-wrapper-new img {
    transform: scale(1.05);
}

.categories-slider-new .owl-nav button {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.categories-slider-new .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    opacity: 1;
}

.categories-slider-new .owl-prev {
    left: -20px;
}

.categories-slider-new .owl-next {
    right: -20px;
}

.categories-slider-new .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.categories-slider-new .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: #ddd !important;
    display: block;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.categories-slider-new .owl-dots .owl-dot.active span,
.categories-slider-new .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
}

@media (max-width: 767.98px) {
    .categories-slider-new .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    .categories-slider-new .owl-prev {
        left: 5px;
    }
    .categories-slider-new .owl-next {
        right: 5px;
    }
    .about-section-new .image-wrapper{
        min-height: unset !important;
    }
}

/* About Section Styles (new) */
.about-section-new {
    background-color: var(--white);
}

.about-section-new .image-wrapper {
    min-height: 400px;
    position: relative;
}

.about-section-new .image-wrapper img {
    border-radius: 1rem;
    object-fit: cover;
    min-height: 400px;
}

.about-section-new .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.about-section-new h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.about-section-new .lead {
    font-size: 1.15rem;
}

.about-section-new .btn-primary-outline-arrow {
    margin-top: 1.5rem;
}

/* References Section Styles (new) */
.references-section-new {
    background-color: var(--light-gray);
}

.references-section-new .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.references-section-new h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.references-section-new .lead {
    font-size: 1.15rem;
}

.reference-card-new {
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.reference-image-wrapper-new {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1rem;
}

.reference-image-wrapper-new img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%);
}

.reference-card-new:hover .reference-image-wrapper-new img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.references-carousel-new .owl-nav button {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.references-carousel-new .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    opacity: 1;
}

.references-carousel-new .owl-prev {
    left: -20px;
}

.references-carousel-new .owl-next {
    right: -20px;
}

.references-carousel-new .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.references-carousel-new .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: #ddd !important;
    display: block;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.references-carousel-new .owl-dots .owl-dot.active span,
.references-carousel-new .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
}

@media (max-width: 767.98px) {
    .references-carousel-new .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    .references-carousel-new .owl-prev {
        left: 5px;
    }
    .references-carousel-new .owl-next {
        right: 5px;
    }
}

/* Styles moved from includes/header.php */

/* Mega Menu Custom CSS */
.mega-dropdown {
    position: static !important;
}
.mega-dropdown-menu {
    padding: 20px;
    width: 100%;
    left: 0;
    box-shadow: 0 5px 25px rgba(0,0,0,.1);
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    margin-top: 5px; /* Navbar'dan biraz boşluk bırak */
}
.mega-dropdown-menu .dropdown-header {
    font-size: 1rem;
    font-weight: 700;
    color: #333; /* Daha az dikkat çekici bir renk */
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #f0f0f0; /* Daha ince bir çizgi */
    text-transform: uppercase;
}
.mega-dropdown-menu .list-unstyled li a {
    padding: 4px 0;
    display: block;
    color: #555; /* Daha yumuşak bir renk */
    transition: color 0.2s ease-in-out;
    font-size: 0.9rem;
}
.mega-dropdown-menu .list-unstyled li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}
.mega-dropdown-menu .col-md-3 {
    border-right: 1px solid #f0f0f0; /* Sütunlar arasına hafif çizgi */
    padding-right: 15px;
    padding-left: 15px;
}
.mega-dropdown-menu .col-md-3:last-child {
    border-right: none;
}
/* Ürün görsellerini ve ilgili stilleri kaldırıyoruz */
.mega-dropdown-menu .product-item, 
.mega-dropdown-menu .product-item img, 
.mega-dropdown-menu .product-item span, 
.mega-dropdown-menu .all-products-link {
    display: none; /* Ürün detaylarını gizle */
}
.mega-dropdown-menu .bottom-all-products-link {
    display: inline;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}
/* Mobil görünüm için stil düzeltmeleri */
@media (max-width: 991.98px) {
    .mega-dropdown-menu {
        padding: 10px;
    }
    .mega-dropdown-menu .col-md-3 {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }
    .mega-dropdown-menu .col-md-3:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .mega-dropdown-menu .dropdown-header {
        margin-bottom: 10px;
    }
}

/* New Services Section Styles */
.services-section-new {
    background-color: var(--light-gray);
}

.services-section-new .small-heading {
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.services-section-new h2 {
    font-size: 2.8rem;
    font-weight: 700;
}

.services-section-new .lead {
    font-size: 1.15rem;
}

.service-card-new {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-new:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15)) !important;
    border-radius: 1rem;
}

.service-image-wrapper-new {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    overflow: hidden;
    border-bottom: 1px solid #eee;
    border-radius: 1rem 1rem 0 0;
}

.service-image-wrapper-new img {
    max-height: 100%;
    width: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-new:hover .service-image-wrapper-new img {
    transform: scale(1.05);
}

.services-carousel-new .owl-nav button {
    background-color: rgba(0, 0, 0, 0.6) !important;
    color: #fff !important;
    font-size: 1.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50% !important;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.services-carousel-new .owl-nav button:hover {
    background-color: var(--primary-color) !important;
    opacity: 1;
}

.services-carousel-new .owl-prev {
    left: -20px;
}

.services-carousel-new .owl-next {
    right: -20px;
}

.services-carousel-new .owl-dots {
    text-align: center;
    margin-top: 20px;
}

.services-carousel-new .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 5px 7px;
    background: #ddd !important;
    display: block;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.services-carousel-new .owl-dots .owl-dot.active span,
.services-carousel-new .owl-dots .owl-dot:hover span {
    background: var(--primary-color) !important;
}

@media (max-width: 767.98px) {
    .services-carousel-new .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    .services-carousel-new .owl-prev {
        left: 5px;
    }
    .services-carousel-new .owl-next {
        right: 5px;
    }
}

/* Top Bar (Kurumsal Stil) */
@media (max-width: 576px) {
    .top-bar {
        font-size: 0.88rem !important;
    }
    .top-bar .fw-semibold {
        font-size: 0.97rem !important;
    }
    .top-bar .fs-5 {
        font-size: 1.1rem !important;
    }
    .top-bar .me-4 {
        margin-right: 1rem !important;
    }
}
@media (max-width: 400px) {
    .top-bar {
        font-size: 0.82rem !important;
    }
    .top-bar .fw-semibold {
        font-size: 0.92rem !important;
    }
    .top-bar .fs-5 {
        font-size: 1rem !important;
    }
}
@media (min-width: 768px) and (max-width: 1200px) {
    .navbar-brand img,
    .logo img {
        max-width: 85px !important;
        height: auto;
    }
}
@media screen and (max-width:576px) {
    .navbar-brand img,
    .logo img {
        max-width: 50px !important;
    }
    .navbar{
        padding: 0.3rem 0.5rem !important;
    }
}