/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    /* Color Palette derived from Logo Analysis */
    --primary-color: #6F4E37;
    /* Coffee/Nut Brown */
    --secondary-color: #C19A6B;
    /* Camel/Earth */
    --dark-color: #3E2723;
    /* Dark Roast */
    --text-color: #333333;
    --light-bg: #F9F9F7;
    /* Very light cream for backgrounds */
    --white: #ffffff;
    --accent-color: #DAA520;
    /* Golden touch */

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 8px;

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   2. UTILITY CLASSES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(111, 78, 55, 0.3);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
}

.btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.full-width {
    width: 100%;
}

/* =========================================
   3. HEADER & NAVIGATION
   ========================================= */
/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1002;
    /* Higher than header if needed, but header stays sticky below it */
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-right {
    display: flex;
    gap: 20px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    /* Make icons white if they aren't already */
}

.header {
    height: var(--header-height);
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 50px;
    /* Adjust based on logo aspect ratio */
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    padding: 10px 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-list {
    display: flex;
    gap: 10px;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--dark-color);
}

/* =========================================
   6.5 PRODUCT SLIDER SECTION
   ========================================= */
.products {
    position: relative;
    overflow: hidden;
    padding-bottom: 60px;
}

.slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

.slider-track-container {
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.product-slide {
    min-width: calc(25% - 15px);
    /* 4 items visible on desktop */
    box-sizing: border-box;
    position: relative;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 280px;
    /* Reduced from 350px */
    position: relative;
    cursor: pointer;
}

.product-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 20px;
    /* Add padding to prevent full bleed if preferred */
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to show full product */
    transition: transform 0.5s ease;
}

/* Hover Effects */
.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(62, 39, 35, 0.7);
    /* Primary color with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease-out;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.product-card:hover .product-overlay h3 {
    transform: translateY(0);
}

/* Navigation Buttons (Glassmorphism) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    outline: none;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.slider-btn img {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* Progress Bar */
.slider-progress-container {
    width: 100%;
    height: 4px;
    background-color: #ddd;
    margin-top: 30px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slider-progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .product-slide {
        min-width: calc(50% - 10px);
        /* 2 items visible on tablet */
    }
}

@media (max-width: 576px) {
    .product-slide {
        min-width: calc(66.66% - 10px);
        /* 1.5 items visible on mobile */
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn img {
        width: 20px;
        height: 20px;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    flex-direction: column;
    /* Ensure vertical layout */
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--dark-color);
}

.mobile-nav-list {
    text-align: center;
    margin-bottom: 30px;
}

.mobile-nav-link {
    display: block;
    font-size: 1.5rem;
    margin: 20px 0;
    color: var(--dark-color);
    font-weight: 600;
}

/* Mobile Contact Info */
.mobile-contact-info {
    border-top: 1px solid #eee;
    padding-top: 20px;
    width: 80%;
    margin: 0 auto;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center align for mobile menu look */
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.mobile-contact-item img {
    width: 20px;
    height: 20px;
    /* Maintain original color or tint? Let's tint to primary for consistency on white bg */
    /* filter: brightness(0) saturate(100%) ... complex filters to match hex is hard, 
       but if SVGs are black/colored, let's leave them or filter to dark brown */
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
    height: 90vh;
    /* Pretty tall hero */
    min-height: 500px;
    background: url('assets/banner.png') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax Effect */
    /* Generic high quality nut image for demo */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(62, 39, 35, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* =========================================
   5. FEATURES
   ========================================= */
.features {
    padding: 60px 0;
    margin-top: 60px;
    /* Overlap hero */
    position: relative;
    z-index: 2;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* =========================================
   6. ABOUT SECTION
   ========================================= */
.about {
    overflow: hidden;
}

.about-image {
    position: relative;
}

.img-wrapper {
    width: 100%;
    height: 400px;
    background-color: #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #888;
    background: url('https://images.unsplash.com/photo-1596919248491-d2f3c7e3e4a9?q=80&w=800&auto=format&fit=crop') center/cover;
}

/* =========================================
   7. DEALERS SECTION
   ========================================= */
/* =========================================
   7. DEALERS SECTION
   ========================================= */
.dealer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Responsive grid for 4 items */
    gap: 30px;
}

.dealer-card {
    background: var(--white);
    padding: 10px;
    /* Reduced padding for image focus */
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    transition: var(--transition);
    overflow: hidden;
}

.dealer-card img {
    width: 100%;
    height: 250px;
    /* Fixed height for uniformity */
    object-fit: cover;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: var(--transition);
}

.dealer-card:hover {
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dealer-card:hover img {
    filter: grayscale(0%);
}

/* =========================================
   8. GALLERY SECTION (Bento Grid)
   ========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Bento Variations */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 2;
}

.bento-tall {
    grid-row: span 2;
}

/* Hover Effects */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Mobile Responsive for Bento */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    .bento-large,
    .bento-wide,
    .bento-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* Optional: Keep some spans if desired on mobile, but specific 1x1 is safer */
    .bento-large {
        grid-column: span 2;
        grid-row: span 2;
    }
}

/* =========================================
   9. CONTACT SECTION
   ========================================= */
.contact-info {
    padding-right: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

/* =========================================
   10. FOOTER
   ========================================= */
.footer {
    background-color: var(--dark-color);
    color: #bbb;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: var(--white);
    background-color: #ffffff;
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    filter: none;
}

.social-icons a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1003;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    /* filter: brightness(0) invert(1); Removed to keep original colors */
}


.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
   11. MEDIA QUERIES
   ========================================= */
@media (max-width: 992px) {
    .top-bar-container {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .top-bar-right {
        gap: 15px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
        /* Hide top bar on mobile, show in menu bottom instead */
    }

    .hamburger {
        display: block;
    }

    .nav-list {
        display: none;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding-right: 0;
    }

    .features {
        margin-top: 0;
        padding-bottom: 40px;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .hero {
        height: auto;
        padding: 100px 0;
        background-attachment: scroll;
        /* Disable parallax on mobile for performance */
    }

    .title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }
}

/* =========================================
   12. LIGHTBOX (Pop-up)
   ========================================= */
.lightbox {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    border-radius: 5px;
    animation-name: zoom;
    animation-duration: 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px) {
    .lightbox-content {
        width: 100%;
    }
}

/* Footer Designer Credit */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.designer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    /* Gap azaltıldı */
    font-size: 0.8rem;
    /* Font biraz küçültüldü */
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    /* Link alt çizgisini kaldır */
    transition: var(--transition);
}

.designer-credit:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.designer-credit img {
    height: 25px;
    /* 18px'den 25px'e yükseltildi */
    width: auto;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.designer-credit:hover img {
    opacity: 1;
    transform: scale(1.1);
}

/* =========================================
   RESPONSIVE FIXES
   ========================================= */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-wrapper {
        padding: 0;
    }

    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .map-container iframe {
        height: 300px;
        /* Mobilde harita yüksekliği */
    }

    .designer-credit {
        flex-direction: column;
        gap: 5px;
    }
}

/* =========================================
   13. SLIDER STYLES (Products & Dealers)
   ========================================= */
.slider-container {
    position: relative;
    width: 100%;
    margin-top: 30px;
    padding: 0 50px;
    /* Space for buttons */
}

.slider-track-container {
    overflow: hidden;
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 20px;
}

.product-slide,
.dealer-slide {
    flex: 0 0 calc(25% - 15px);
    /* 4 items layout by default */
    min-width: calc(25% - 15px);
    box-sizing: border-box;
    list-style: none;
    /* Remove bullets */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(111, 78, 55, 0.8);
    /* Primary semi-transparent */
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn img {
    width: 24px;
    height: 24px;
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.slider-progress-container {
    width: 100%;
    height: 4px;
    background: #eee;
    margin-top: 30px;
    border-radius: 2px;
    overflow: hidden;
}

.slider-progress-bar {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
}

/* Responsive Slider */
@media (max-width: 992px) {

    .product-slide,
    .dealer-slide {
        min-width: calc(50% - 10px);
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 576px) {

    .product-slide,
    .dealer-slide {
        min-width: calc(100% / 1.5 - 10px);
        /* 1.5 items visible */
        flex: 0 0 calc(100% / 1.5 - 10px);
    }

    .slider-container {
        padding: 0 10px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .prev-btn {
        left: -10px;
    }
}

/* =========================================
   14. CRITICAL MOBILE OVERFLOW FIXES
   ========================================= */
html {
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Evrensel taşma önleyici - 100vw yerine 100% kullanıyoruz */
* {
    max-width: 100%;
    /* 100vw bazen scrollbar'ı da kapsadığı için taşırır */
    box-sizing: border-box;
}

/* Flex ve Grid kapsayıcılarında taşmayı önle */
.container,
.section,
main,
header,
footer {
    overflow-x: clip;
    /* Modern tarayıcılar için */
    width: 100%;
}

/* AOS Kütüphanesi Animasyon Taşması Düzeltmesi */
[data-aos] {
    overflow-x: hidden;
    /* Animasyon sırasında taşmayı engelle */
    pointer-events: none;
    /* Animasyon sırasında tıklamayı engelle (opsiyonel) */
}

[data-aos].aos-animate {
    pointer-events: auto;
    overflow-x: visible;
    /* Animasyon bitince görünür yap */
}

/* Mobilde padding kaynaklı taşmaları önle */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100%;
    }

    .row,
    .grid-2,
    .grid-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }

    /* WhatsApp butonunu iyice içeri çek ve boyutunu küçült */
    .whatsapp-float {
        right: 25px !important;
        bottom: 25px !important;
        width: 50px;
        height: 50px;
        max-width: 50px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }

    /* Body ve HTML'de overflow'u zorla */
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}