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

/* 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%);
}

.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);
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

/* 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;
}

/* Slider Styles (for Owl Carousel) */
.slider-section {
    position: relative;
    height: 600px;
    /* Enforce overall slider height */
    overflow: hidden;
    /* Hide overflowing content */
}

.slider-section .owl-carousel .item img {
    width: 100%;
    height: 600px;
    /* Make image fill the section height */
    object-fit: cover;
}

.slider-section .owl-carousel .item {
    position: relative;
}

.slider-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 90%;
    /* Adjust as needed */
    max-width: 1000px;
    /* Increase max-width for wider text */
    z-index: 10;
    padding: 20px;
    /* Add some padding */
    background-color: rgba(0, 0, 0, 0.3);
    /* Slightly darker background for better readability */
    border-radius: 10px;
}

.slider-caption h5 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.slider-caption p {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* Overlay for readability */
.slider-section .owl-carousel .item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    /* Darker overlay */
    z-index: 1;
}

.slider-caption {
    z-index: 2;
}

/* 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 */
}

/* Responsive adjustments for slider caption */
@media (max-width: 991.98px) {
    .slider-caption h5 {
        font-size: 3rem;
    }

    .slider-caption p {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .slider-caption h5 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .slider-caption p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .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) {
    .slider-caption h5 {
        font-size: 1.5rem;
    }

    .slider-caption p {
        font-size: 0.85rem;
        display: none;
        /* Hide description on very small screens */
    }

    .slider-caption .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .owl-nav button {
        display: none;
        /* Hide nav buttons on very small screens */
    }
}

/* Old Hero Section (now replaced by slider) */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

/* 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 */
}

/* Offcanvas Social Links */
.social-links-offcanvas a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

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

/* 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;
    }
}

/* Nutrition Tips Section Styles */
.nutrition-tips {
    background-color: white;
    padding: 80px 0;
    text-align: center;
}

.nutrition-tips h2 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.nutrition-tips p.lead {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nutrition-tips .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nutrition-tips .btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 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-section {
    position: relative;
    padding: 20px 0;
}

.feature-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background-color: #fff;
    transition: all 0.3s ease;
}

.feature-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.feature-image .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.feature-content {
    position: relative;
    margin-top: -30px;
    margin-left: 20px;
    margin-right: 20px;
    border-radius: 10px;
    z-index: 2;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.feature-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card:hover .main-image {
    transform: scale(1.05);
}

.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);
}

.feature-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 -10px;
    z-index: 10;
    pointer-events: none;
    /* Gezinme düğmeleri dışındaki alana tıklamayı engellemez */
}

.feature-slider .owl-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Düğmelere tıklanabilir */
}

.feature-slider .owl-nav button span {
    font-size: 30px;
    line-height: 30px;
    color: var(--primary-color);
}

.feature-slider .owl-nav button:hover {
    background-color: var(--primary-color) !important;
}

.feature-slider .owl-nav button:hover span {
    color: #fff;
}

.feature-slider .owl-prev {
    margin-left: -25px;
}

.feature-slider .owl-next {
    margin-right: -25px;
}

@media (max-width: 768px) {
    .feature-image {
        height: 220px;
    }

    .feature-content {
        margin-left: 10px;
        margin-right: 10px;
    }

    .feature-content h3 {
        font-size: 1.2rem;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .feature-slider .owl-nav {
        z-index: 100;
    }

    .feature-slider .owl-nav button {
        width: 40px;
        height: 40px;
        margin: 0 10px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }

    .feature-slider .owl-nav button span {
        font-size: 25px;
        line-height: 25px;
    }

    .feature-slider .owl-prev {
        left: 0;
        margin-left: 0;
    }

    .feature-slider .owl-next {
        right: 0;
        margin-right: 0;
    }
}

/* Küçük mobil cihazlar için ek düzenlemeler */
@media (max-width: 576px) {
    .feature-slider .owl-nav button {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }

    .feature-slider .owl-nav button span {
        font-size: 20px;
        line-height: 20px;
    }

    .thumbnail-item {
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .thumbnail-item.active {
        transform: scale(1.05);
    }

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

/* Slider yükseklik ayarları */
.sliderborder {
    height: auto;
    overflow: hidden;
}

.sliderborder .swiper {
    min-height: 500px;
    max-height: 80vh;
}

.sliderborder .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sliderborder .sliderimg {
    max-height: 400px;
    width: auto;
    object-fit: contain;
}

/* Ürün buton özelleştirmeleri */
.sliderborder .swiper-slide a.btn {
    /* margin-top: 15px; */
    transition: all 0.3s ease;
    width: 100% !important;
    /* max-width: 300px; */
    white-space: normal;
    line-height: 1.4;
}

.sliderborder .swiper-slide a.btn strong {
    font-size: 16px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

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


/* Slider görünürlüğü için 576px ile 768px arası özel düzenleme */
@media (min-width: 577px) and (max-width: 768px) {
    .sliderborder .swiper {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: 450px;
    }
    .sliderborder .swiper-slide {
        display: flex !important;
        width: 400px !important;
        margin: 0 auto;
    }
    .sliderborder .sliderimg {
        max-height: 300px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    .sliderborder .swiper-slide a.btn {
        margin-top: 10px;
    }
    .sliderborder .swiper-slide a.btn strong {
        font-size: 14px;
    }
    .swiper-slide-shadow-left,
    .swiper-slide-shadow-right {
        display: block !important;
        visibility: visible !important;
        opacity: 0.5 !important;
    }
}




/* Mobil uyumluluk için ekstra düzenlemeler */
@media (max-width: 768px) {
    .sliderborder .swiper {
        height: 450px;
    }
    .sliderborder .swiper-slide{
        width: 400px !important;
        margin: 0 auto;
    }
    
    .sliderborder .sliderimg {
        max-height: 300px;
    }
    
    .sliderborder .swiper-slide a.btn {
        margin-top: 10px;
    }
    
    .sliderborder .swiper-slide a.btn strong {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .sliderborder .swiper {
        height: 400px;
    }
    .sliderborder .swiper-slide{
        width: 350px !important;
        margin: 0 auto;
    }
    
    .sliderborder .sliderimg {
        max-height: 240px;
    }
    
    .sliderborder .swiper-slide a.btn {
        width: 95% !important;
    }
    
    .sliderborder .swiper-slide a.btn strong {
        font-size: 13px;
        padding: 6px;
    }
}

.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);
}

/* Ekstra parıltı efekti */
.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);
}

/* Ok ikonu için animasyon */
.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;
    }
}

/* ------------------------------------------------------------
   Styles moved from home.php
   (Moved here to keep component styles centralized.)
   Review for duplicates with existing rules and remove if needed.
------------------------------------------------------------ */

/* features-fullwidth (from home.php) */
.features-fullwidth {
    padding-top: 3rem;
    padding-bottom: 3rem;
    background: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow-x: hidden;
}
.feature-card-full {
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    min-height: 320px;
    background: #fff;
    box-shadow: none;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
}
.feature-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.feature-card-full:hover .feature-card-img {
    transform: scale(1.05);
}
.feature-card-title {
    position: relative;
    background: rgba(255,255,255,0.97);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    text-align: center;
    padding: 1.2rem 0 1.2rem 0;
    z-index: 2;
    border-top: 1px solid #eee;
    letter-spacing: 0.01em;
}
.feature-card-hover {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.60);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    font-size: 1.08rem;
    font-weight: 500;
    transition: opacity 0.25s;
    z-index: 3;
    text-align: center;
    padding: 0 1.5rem;
}
.feature-card-full:hover .feature-card-hover {
    opacity: 1;
}

/* Mobilde görsellerin basık durmasını engellemek için yükseklik ve oran ayarları */
@media (max-width: 991.98px) {
    .feature-card-img-wrapper { 
        height: 200px; /* Biraz daha yüksek tutalım */
        min-height: 160px;
        max-height: 250px;
    }
    .feature-card-img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        aspect-ratio: 16/9;
        /* aspect-ratio ile orantılı görünüm sağlanır */
    }
    .feature-card-title { font-size: 1.08rem; padding: 0.8rem 0; }
}
@media (max-width: 767.98px) {
    .features-fullwidth { padding-top: 2rem; padding-bottom: 2rem; }
    .feature-card-img-wrapper { 
        height: auto;
        min-height: unset;
        max-height: unset;
        aspect-ratio: 16/9;
        /* Mobilde oranı koru */
    }
    .feature-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
        /* Gerekirse yukarıdan ve aşağıdan kırp */
        display: block;
    }
    .feature-card-title { font-size: 1rem; padding: 0.7rem 0; }
    .feature-card-full { min-height: 140px; }
}

/* about section styles moved from home.php */
.about-content {
    box-shadow: 0 4px 32px 0 rgba(240, 119, 3, 0.08), 0 2px 8px 0 rgba(44, 62, 80, 0.06);
}

.about-img-wrapper {
    min-height: 340px;
}

@media (max-width: 991.98px) {
    .about-img-bg,
    .about-img-decor {
        display: none;
    }

    .about-content {
        padding: 2rem 1rem;
    }
}

/* contact card + form styles moved from home.php */
.contact-card {
    box-shadow: 0 4px 32px 0 rgba(240, 119, 3, 0.10), 0 2px 8px 0 rgba(44, 62, 80, 0.06);
    border-radius: 1.5rem;
}

.contact-icon-wrapper {
    margin-top: -35px;
    margin-bottom: 0.5rem;
}

.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;
}

@media (max-width: 991.98px) {
    .contact-card {
        padding: 2rem 1rem;
        border-radius: 1rem;
    }

    .contact-visual {
        display: none;
    }
}

/* 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;
    }
}
