* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8db33f;
    --primary-dark: #8db33f;
    --primary-light: #8db33f;
    --gradient-start: #8db33f;
    --gradient-end: #8db33f;
    --primary-green: #8db33f;
    --accent-light: #e4e3e3;
    --accent-dark: #6a6768;
    --background-light: #F9FAFB;
    --background-dark: #0F172A;
    --text-color: #111827;
    --text-light: #6a6768;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    background: #8db33f;
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.top-bar .contact-info {
    display: flex;
    gap: 30px;
    justify-content: flex-start;
    flex: 1;
}

.top-bar span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar i {
    font-size: 12px;
}

/* Top Bar Distributor */
.top-bar-distributor {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.distributor-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.distributor-logo-small:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.distributor-logo-small img {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Modern Language Selector */
.language-selector {
    position: relative;
}

.lang-toggle {
    background: #8db33f;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 80px;
    justify-content: center;
}

.lang-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lang-toggle.active {
    background: #8db33f;
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-code {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.language-selector.open .lang-arrow {
    transform: rotate(180deg);
}

/* Language Dropdown */
.lang-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
}

.lang-dropdown-item:hover {
    background: rgba(141, 179, 63, 0.1);
}

.lang-dropdown-item.active {
    background: #8db33f;
    color: var(--white);
}

.lang-dropdown-item .lang-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-dropdown-item span:last-child {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.7;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Distributor badge */
.distributor-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(141, 179, 63, 0.12); /* gradient end rengine yakın, soft arkaplan */
    border: 1px solid rgba(141, 179, 63, 0.22);
    border-radius: 10px;
    backdrop-filter: saturate(120%);
}

.distributor-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.9;
    white-space: nowrap;
}

.distributor-logo {
    height: 18px;
    width: auto;
    display: block;
    filter: saturate(110%) contrast(105%);
}

@media (max-width: 968px) {
    .distributor-badge {
        padding: 5px 8px;
        gap: 8px;
    }
    .distributor-text {
        font-size: 11px;
    }
    .distributor-logo {
        height: 16px;
    }
}

@media (max-width: 600px) {
    .distributor-badge {
        display: none; /* çok dar ekranlarda sakla */
    }
}

.navbar {
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    max-height: 64px;
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo-img {
        max-height: 48px;
    }
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: #8db33f;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
}

.logo-text h3 {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 11px;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 6px;
}

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

/* Active nav underline to indicate current page */
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #8db33f;
    border-radius: 2px;
}

.cta-button {
    background: #8db33f;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

/* After Hero Showcase */
.after-hero-showcase {
    position: relative;
    width: 100%;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 700px;
    height: 100vh;
    max-height: 900px;
}

.showcase-left,
.showcase-right {
    position: relative;
    overflow: hidden;
}

.showcase-left-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    opacity: 0.85;
}

.showcase-left-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.65) 100%);
    z-index: 1;
}

.showcase-left-content {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
    padding: 40px;
}

.showcase-left-content h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
}

.showcase-left-content p {
    font-size: 18px;
    opacity: 0.95;
}

.showcase-bullets {
    margin-top: 10px;
    display: grid;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.showcase-bullets li::before {
    content: "✓";
    margin-right: 8px;
    color: #8db33f;
}

.showcase-right {
    background: #000;
}

.showcase-video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25); /* video üzerinde hafif saydamlık katmanı */
    z-index: 1;
    pointer-events: none;
}

.showcase-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Responsive */
@media (max-width: 968px) {
    .showcase-container {
        grid-template-columns: 1fr;
        min-height: 600px;
        max-height: 700px;
    }

    .showcase-left-content h2 {
        font-size: 34px;
    }

    .showcase-left-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        min-height: 500px;
        max-height: 600px;
    }

    .showcase-left-content h2 {
        font-size: 28px;
    }
}

/* Divider between Hero and Showcase */
.hero-showcase-divider {
    background: #ffffff;
    background-image: url('variables/images/wood1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    border-bottom: 1px solid #e4e3e3;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.hero-showcase-divider::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.divider-container {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.divider-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
}

@media (max-width: 968px) {
    .hero {
        overflow: visible;
    }
}

/* Hero Main Slide */
.hero-main-slide {
    position: relative;
    width: 100%;
    min-height: 700px;
    height: 100vh;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 1;
}

.hero-main-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.5);
    filter: blur(0px);
}

.hero-main-image.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease-in-out, transform 1.5s ease-out;
}

.hero-main-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Hero Mobile Navigation */
.hero-mobile-nav {
    display: none; /* Hidden on desktop */
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    gap: 20px;
    align-items: center;
}

.hero-mobile-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.hero-mobile-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-mobile-nav-btn:active {
    transform: scale(0.95);
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out;
    justify-self: start;
}

.hero-text-content h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-text-content h1:first-child {
    color: var(--white);
}

.hero-text-content h1:nth-child(2) {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 16px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: #8db33f;
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--background-dark);
}

/* Preview Cards Section - Inside Slider */
.preview-cards-section {
    position: absolute;
    bottom: 20px;
    left: 500px;
    right: 0;
    z-index: 10;
    pointer-events: none;
}

.preview-cards-section .container {
    pointer-events: auto;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
}

.preview-cards-section::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

.preview-cards-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    padding: 0 20px;
}

.preview-cards-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.preview-card {
    min-width: 320px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.3;
    transform: scale(0.92);
    backdrop-filter: blur(10px);
}

.preview-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(141, 179, 63, 0.3);
}

.preview-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.preview-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.preview-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.preview-card-content {
    padding: 24px;
    background: var(--white);
}

.preview-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.preview-card-content p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.preview-cards-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 24px;
}

.preview-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.preview-nav-btn:hover {
    background: #8db33f;
    border-color: transparent;
    transform: scale(1.05);
}

.preview-nav-btn:active {
    transform: scale(0.95);
}

.preview-slide-indicator {
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    min-width: 80px;
    text-align: center;
}

.current-slide {
    display: inline-block;
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for Preview Cards */
@media (max-width: 1200px) {
    .preview-card {
        min-width: 300px;
    }
}

@media (max-width: 968px) {
    .hero-main-slide {
        min-height: 600px;
        max-height: 700px;
    }

    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-text-content {
        max-width: 100%;
        justify-self: start;
    }

    .hero-text-content h1 {
        font-size: 42px;
    }

    .preview-card {
        min-width: 280px;
    }

    /* Tablet'te sadece preview cards section'ı gizle, slider görselleri görünür kalsın */
    .preview-cards-section {
        display: none;
    }

    /* Mobile Navigation - Show on tablet and mobile */
    .hero-mobile-nav {
        display: flex;
        bottom: 40px;
    }

    .hero-mobile-nav-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-main-slide {
        min-height: 500px;
        max-height: 600px;
    }
    
    /* Mobil fotoğrafları kullan */
    .hero-main-image[data-slide="0"] {
        background-image: url('variables/models/model1/model_1_1_efekt_mobil.png') !important;
    }
    
    .hero-main-image[data-slide="1"] {
        background-image: url('variables/models/model2/model2_efekt_mobil.png') !important;
    }
    
    .hero-main-image[data-slide="2"] {
        background-image: url('variables/models/model3/model3_efekt_mobil.png') !important;
    }

    .hero-content-wrapper {
        padding: 0 20px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text-content {
        max-width: 100%;
        justify-self: start;
    }

    .hero-text-content h1 {
        font-size: 36px;
    }

    .hero-text-content p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Mobilde sadece preview cards section'ı gizle, slider görselleri görünür kalsın */
    .preview-cards-section {
        display: none;
    }

    /* Mobile Navigation - Show on mobile */
    .hero-mobile-nav {
        display: flex;
    }
}

@media (max-width: 576px) {
    .hero-main-slide {
        min-height: 450px;
        max-height: 550px;
    }

    .hero-content-wrapper {
        padding: 0 16px;
        gap: 24px;
    }

    .hero-text-content {
        max-width: 100%;
    }

    .hero-text-content h1 {
        font-size: 28px;
    }

    /* Mobilde sadece preview cards section'ı gizle, slider görselleri görünür kalsın */
    .preview-cards-section {
        display: none;
    }

    /* Mobile Navigation - Show on mobile */
    .hero-mobile-nav {
        display: flex;
        bottom: 30px;
    }

    .hero-mobile-nav-btn {
        width: 44px;
        height: 44px;
        font-size: 14px;
    }

    .newsletter-content h2 {
        font-size: 28px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

    .cta-card p {
        font-size: 14px;
    }

    .distributor-logo-small {
        padding: 2px 5px;
    }

    .distributor-logo-small img {
        height: 20px;
        max-width: 80px;
    }
    
    /* Machine card mobile title - smaller font for very small screens */
    .machine-card-mobile-title {
        font-size: 16px;
        padding: 16px 12px 12px;
    }
}

/* Machine Series Section */
.machine-series {
    background: var(--background-light);
    padding: 80px 0;
}

/* Machines page - compact spacing under navbar */
.machine-series.compact {
    padding-top: 24px;
}

/* Machine Filters */
.machine-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    padding: 20px 20px;
    position: sticky;
    top: 80px; /* Navbar height'ı kadar */
    z-index: 999;
    background: var(--background-light);
    margin-left: -20px; /* Container padding'ini iptal et */
    margin-right: -20px;
    margin-top: 0;
    transition: box-shadow 0.3s ease;
}

.machine-filters.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(141, 179, 63, 0.1), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 179, 63, 0.15);
}

.filter-btn:hover i {
    transform: rotate(90deg);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(141, 179, 63, 0.3);
}

.filter-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 179, 63, 0.4);
}

.filter-btn.active i {
    transform: none;
}

/* Hidden class for filtered items */
.machine-card.hidden {
    display: none !important;
    opacity: 0;
    transform: translateY(20px);
}

.machine-series-header {
    text-align: center;
    margin-bottom: 60px;
}

.machine-series-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.machine-series-header .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.machine-series-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Machine Slider */
.machine-slider {
    position: relative;
}

/* List mode: keep existing markup, show cards stacked, hide slider controls */
.machine-slider.list-mode .machine-cards-wrapper {
    position: static;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.machine-slider.list-mode .machine-card {
    position: static;
    opacity: 1;
    transform: none;
    display: block; /* grid yerine blok */
}

.machine-slider.list-mode .machine-card-hero {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--background-light);
    overflow: hidden;
}

.machine-slider.list-mode .machine-card-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.machine-slider.list-mode .machine-card-left,
.machine-slider.list-mode .machine-card-right {
    padding: 18px 20px;
}

.machine-slider.list-mode .machine-nav,
.machine-slider.list-mode .machine-dots,
.machine-slider.list-mode .machine-nav-btn {
    display: none !important;
}

/* Mobile Link - Hidden on desktop, but show its content */
.machine-card-mobile-link {
    display: contents; /* Desktop'ta içeriği göster, link'i gizle */
    text-decoration: none;
    color: inherit;
}

/* Mobile Title - Hidden on desktop */
.machine-card-mobile-title {
    display: none;
}

@media (max-width: 968px) {
    .machine-slider.list-mode .machine-cards-wrapper {
        gap: 16px;
    }
    .machine-slider.list-mode .machine-card-hero { 
        aspect-ratio: 16 / 9;
        position: relative;
    }
    
    /* Show mobile link and title on tablet and mobile */
    .machine-card-mobile-link {
        display: block;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .machine-card-mobile-link:active {
        transform: scale(0.98);
    }
    
    .machine-card-mobile-title {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.6) 50%, transparent 100%);
        color: var(--white);
        padding: 20px 16px 16px;
        font-size: 20px;
        font-weight: 700;
        text-align: center;
        z-index: 2;
        transition: background 0.3s ease;
    }
    
    .machine-card-mobile-link:hover .machine-card-mobile-title,
    .machine-card-mobile-link:active .machine-card-mobile-title {
        background: linear-gradient(to top, rgba(141, 179, 63, 0.9) 0%, rgba(141, 179, 63, 0.7) 50%, transparent 100%);
    }
    
    .machine-card-mobile-link:hover .machine-card-hero img {
        transform: scale(1.05);
    }
    
    .machine-card-mobile-link .machine-card-hero img {
        transition: transform 0.3s ease;
    }
}

    .machine-cards-wrapper {
        position: relative;
        min-height: 600px;
    }

@media (max-width: 768px) {
    .machine-cards-wrapper {
        min-height: 400px;
    }
    
    /* Mobile title font size adjustment */
    .machine-card-mobile-title {
        font-size: 18px;
        padding: 18px 14px 14px;
    }
}

.machine-card {
    position: absolute;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: var(--white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: scale(0.95);
}

.machine-card.active {
    opacity: 1;
    transform: scale(1);
}

.machine-card-left {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.2), rgba(141, 179, 63, 0.2));
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.machine-card-left i {
    font-size: 100px;
    color: rgba(141, 179, 63, 0.4);
    margin-bottom: 30px;
}

.machine-card-left h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-weight: 700;
}

.feature-badges {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.feature-badge {
    background: var(--white);
    padding: 12px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-badge:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.feature-badge i {
    font-size: 20px;
    color: var(--primary-light);
}

.machine-card-right {
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.machine-card-right h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.machine-description {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.machine-features {
    margin-bottom: 30px;
}

.machine-features h4,
.machine-specs h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-light);
    font-size: 14px;
}

.machine-specs {
    margin-bottom: 30px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.spec-item {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.05), rgba(141, 179, 63, 0.05));
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spec-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.spec-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.machine-buttons {
    display: flex;
    gap: 15px;
}

.btn-detail {
    background: var(--primary-color);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.btn-detail:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-quote {
    background: #8db33f;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.machine-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.machine-nav-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 18px;
}

.machine-nav-btn:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.machine-dots {
    display: flex;
    gap: 12px;
}

.machine-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-light);
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s;
}

.machine-dot.active {
    opacity: 1;
    transform: scale(1.2);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    width: 90vh;
    max-width: 900px;
    height: 90vh;
    max-height: 900px;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-light);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
    height: 100%;
    overflow-y: auto;
}

.modal-machine-header {
    padding: 40px 40px 0;
    text-align: center;
}

.modal-image-container {
    width: calc(100% - 80px);
    height: 300px;
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.1), rgba(141, 179, 63, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-category {
    display: inline-block;
    background: #8db33f;
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-machine-header h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-machine-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.modal-sections {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.modal-section:first-child,
.modal-section:nth-child(2) {
    grid-column: span 1;
}

.modal-section:nth-child(3),
.modal-section:nth-child(4) {
    grid-column: span 2;
}

.modal-section h4 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    padding-bottom: 10px;
    border-bottom: 2px solid #e4e3e3;
}

.modal-features-list,
.modal-specs-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.modal-features-list li,
.modal-specs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
    padding: 12px;
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.05), rgba(141, 179, 63, 0.05));
    border-radius: 8px;
}

.modal-features-list li i {
    color: var(--primary-light);
    font-size: 18px;
}

.modal-sections {
    padding: 0 40px 40px;
}

.modal-additional-info {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.1), rgba(141, 179, 63, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.modal-additional-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-applications {
    padding: 20px 0;
}

.modal-applications h5 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-applications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.application-tag {
    background: var(--primary-light);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* Machines Page */
.machines-page {
    background: var(--white);
    padding: 40px 0;
}

.breadcrumb-link {
    margin-bottom: 24px;
    margin-top: 2px;
}

.breadcrumb-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.breadcrumb-link a:hover {
    text-decoration: underline;
}

.breadcrumb-link a i {
    font-size: 14px;
}

.machines-page-header {
    margin-bottom: 40px;
}

.machines-page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
}

.machines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.machine-card-page {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.machine-card-page:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.machine-card-image {
    height: 300px;
    overflow: hidden;
    background: var(--background-light);
}

.machine-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.machine-card-info {
    padding: 25px;
}

.machine-card-info h3 {
    font-size: 20px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.machine-card-info .machine-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 50px;
}

.machine-features-list {
    list-style: none;
    margin-bottom: 25px;
}

.machine-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.machine-features-list li i {
    color: var(--primary-light);
    font-size: 12px;
}

.btn-product-detail {
    display: block;
    text-align: center;
    background: linear-gradient(to right, #4A5568, #2D3748);
    color: var(--white);
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
}

.btn-product-detail:hover {
    background: linear-gradient(to right, #2D3748, #1A202C);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Machine Detail Page */
.machine-detail {
    background: var(--background-light);
    padding: 60px 0;
}

.breadcrumb {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.machine-detail-header {
    text-align: center;
    margin-bottom: 50px;
}

.machine-detail-header h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.machine-detail-header p {
    font-size: 20px;
    color: var(--text-light);
}

.machine-detail-image {
    margin-bottom: 40px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.machine-detail-image img {
    width: 100%;
    height: auto;
}

.machine-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.machine-detail-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.machine-detail-section.full-width {
    grid-column: 1 / -1;
}

.machine-detail-section h2 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.detail-list {
    list-style: none;
    display: grid;
    gap: 12px;
}

.detail-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-color);
}

.detail-list li i {
    color: var(--primary-light);
    font-size: 18px;
}

.detail-specs {
    display: grid;
    gap: 15px;
}

.detail-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.05), rgba(141, 179, 63, 0.05));
    border-radius: 10px;
}

.detail-spec-item .spec-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.detail-spec-item .spec-value {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
}

.machine-detail-section p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
}

.detail-applications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.machine-detail-cta {
    grid-column: 1 / -1;
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Mobile Responsive for Machine Detail Page */
@media (max-width: 768px) {
    .machine-detail {
        padding: 30px 0;
        overflow-x: hidden;
    }
    
    .machine-detail .container {
        padding: 0 16px;
        max-width: 100%;
    }
    
    .machine-detail-header {
        text-align: center;
        margin-bottom: 30px;
        padding: 0;
    }
    
    .machine-detail-header h1 {
        font-size: 28px;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .machine-detail-header p {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .machine-detail-breadcrumb {
        text-align: left;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .breadcrumb-link {
        margin-bottom: 20px;
    }
    
    .machine-detail-content {
        width: 100%;
        overflow-x: hidden;
    }
    
    .machine-detail-gallery {
        margin: 20px auto 30px auto;
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .machine-detail-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .machine-detail-section {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .machine-detail-section.full-width {
        grid-column: 1;
    }
    
    .machine-detail-section h2 {
        font-size: 20px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    .machine-detail-section p {
        font-size: 15px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .detail-list {
        gap: 10px;
    }
    
    .detail-list li {
        font-size: 14px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .detail-spec-item {
        padding: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .detail-spec-item .spec-label {
        font-size: 13px;
        word-wrap: break-word;
    }
    
    .detail-spec-item .spec-value {
        font-size: 14px;
        word-wrap: break-word;
        text-align: right;
        flex: 1;
        min-width: 0;
    }
    
    .detail-applications {
        gap: 8px;
    }
    
    .application-tag {
        font-size: 12px;
        padding: 6px 12px;
        word-wrap: break-word;
    }
    
    .machine-detail-cta {
        grid-column: 1;
        flex-direction: column;
        margin-top: 20px;
    }
    
    .machine-detail-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .btn-large {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
    }
    
    .video-wrapper {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .machine-detail {
        padding: 20px 0;
    }
    
    .machine-detail .container {
        padding: 0 12px;
    }
    
    .machine-detail-header h1 {
        font-size: 24px;
    }
    
    .machine-detail-header p {
        font-size: 14px;
    }
    
    .machine-detail-gallery {
        padding: 12px;
        margin: 15px auto 20px auto;
    }
    
    .machine-detail-section {
        padding: 16px;
    }
    
    .machine-detail-section h2 {
        font-size: 18px;
    }
    
    .detail-list li {
        font-size: 13px;
    }
    
    .detail-spec-item {
        padding: 10px;
    }
    
    .detail-spec-item .spec-label,
    .detail-spec-item .spec-value {
        font-size: 12px;
    }
}

/* About Us Section */
.about-us {
    background: var(--background-light);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 30px;
}

.about-text .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.distributor-section {
    margin: 30px 0 40px 0;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.08), rgba(141, 179, 63, 0.12));
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
}

.distributor-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
}

.distributor-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 24px;
    box-shadow: var(--shadow-lg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 240px;
}

.distributor-card img {
    width: 100%;
    height: auto;
    display: block;
}

.value-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-card i {
    font-size: 32px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.team-card {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.05), rgba(141, 179, 63, 0.1));
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.team-card i {
    font-size: 64px;
    color: rgba(141, 179, 63, 0.3);
    margin-bottom: 20px;
}

.team-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.team-card p {
    font-size: 16px;
    color: var(--text-light);
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-card.stat-orange {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.1), rgba(141, 179, 63, 0.15));
}

.stat-card.stat-orange h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-card.stat-orange p {
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
}

.stat-card.stat-dark-orange {
    background: #8db33f;
}

.stat-card.stat-dark-orange h2,
.stat-card.stat-dark-orange p {
    color: var(--white);
}

.stat-card h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 15px;
    font-weight: 600;
}

/* About Page */
.about-page {
    background: var(--background-light);
    padding: 60px 0;
}

.about-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-page-header .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-page-header p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

.about-section-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
}

.about-section-content p {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.achievement-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-item i {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.achievement-item h3 {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-item p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.about-section-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-section-image img {
    width: 100%;
    height: auto;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 60px 0;
}

.mission-vision-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mission-vision-card i {
    font-size: 56px;
    color: var(--primary-light);
    margin-bottom: 25px;
}

.mission-vision-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.mission-vision-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

.values-section {
    margin: 60px 0;
}

.values-section h2 {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-item {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-item i {
    font-size: 40px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 22px;
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.value-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Services Section */
.services {
    background: var(--background-light);
    padding: 80px 0;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.services-header .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.1), rgba(141, 179, 63, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.3s;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-icon i {
    font-size: 36px;
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.service-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-block;
}

.service-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    background: var(--white);
    padding: 80px 0;
    border-bottom: 1px solid #e4e3e3;
}

.newsletter-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-content h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
}

.newsletter-content > p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.newsletter-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.newsletter-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

.newsletter-input {
    width: 100%;
    padding: 16px 18px 16px 48px;
    border: 1px solid #e4e3e3;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(141, 179, 63, 0.1);
}

.newsletter-input::placeholder {
    color: var(--text-light);
}

.newsletter-btn {
    background: var(--background-dark);
    color: var(--white);
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: #8db33f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.newsletter-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 14px;
    flex-wrap: wrap;
}

.expert-avatars {
    display: flex;
    gap: 0;
}

.expert-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #8db33f;
    border: 2px solid var(--white);
    margin-left: -8px;
    position: relative;
}

.expert-avatar:first-child {
    margin-left: 0;
}

.expert-avatar:nth-child(2) {
    z-index: 2;
}

.expert-avatar:nth-child(3) {
    z-index: 3;
}

/* Promotional Banner Section (CTA Card) */
.promo-banner-wrapper {
    background: var(--white);
    padding: 60px 20px 0;
}

.cta-card {
    width: 90%;
    max-width: 900px;
    background: #6a6768;
    color: var(--white);
    padding: 40px;
    border-radius: 18px;
    margin: 0 auto;
    position: relative;
}

.cta-card h2 {
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

.cta-card p {
    opacity: 0.8;
    margin-bottom: 20px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-card-btn {
    display: inline-block;
    padding: 12px 26px;
    border: none;
    border-radius: 8px;
    background: #8db33f;
    color: var(--white);
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.cta-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(141, 179, 63, 0.3);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: #e0e0e0;
    padding: 120px 40px 40px;
    margin-top: -80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.footer-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #ffffff; /* logo arkası beyaz kutu */
    padding: 8px;
    border-radius: 10px;
}

.footer-logo-img {
    max-height: 72px;
    width: auto;
    display: block;
    filter: saturate(110%);
}

.footer-col h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    opacity: 0.75;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    opacity: 1;
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, color 0.3s;
}

.footer-social a:hover {
    background: #8db33f;
    color: #ffffff;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .footer-container {
        gap: 30px;
    }
    .footer-logo-img {
        max-height: 63px;
    }
}

@media (max-width: 600px) {
    .footer-logo {
        width: 100%;
        margin-bottom: 8px;
    }
    .footer-logo-img {
        max-height: 54px;
    }
}

.company-info {
    max-width: 260px;
    line-height: 1.6;
    opacity: 0.85;
}

.company-info h4 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.company-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.company-info p strong {
    color: var(--white);
    font-weight: 600;
}

.copyright {
    margin-top: 60px;
    text-align: center;
    opacity: 0.5;
    font-size: 14px;
}

.copyright p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Services Page */
.services-page {
    background: var(--background-light);
    padding: 60px 0;
}

.services-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 20px;
}

.services-page-header .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-page-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: center;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-detail-content {
    padding: 30px;
}

.service-badge {
    display: inline-block;
    background: #8db33f;
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.service-detail-content h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.service-detail-content > p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-color);
}

.service-feature-item i {
    color: var(--primary-light);
    font-size: 18px;
}

.service-description {
    background: linear-gradient(135deg, rgba(141, 179, 63, 0.05), rgba(141, 179, 63, 0.1));
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.service-description h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-description p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.service-cta {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-top: 60px;
}

.service-cta h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.service-cta p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Contact Page */
.contact-page {
    background: var(--background-light);
    padding: 60px 0;
}

.contact-page-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-page-header h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
}

.contact-page-header p {
    font-size: 18px;
    color: var(--text-light);
}

.company-image-section {
    margin-bottom: 50px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.company-image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Contact Form */
.contact-form-section h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-form-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.required {
    color: #DC2626;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e4e3e3;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(141, 179, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-block {
    width: 100%;
    margin-top: auto;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.contact-info-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    flex: 1;
}

.map-container {
    flex-shrink: 0;
}

.contact-info-card h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e4e3e3;
}

.contact-info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #8db33f;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 22px;
    color: var(--white);
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 6px;
}

.contact-details p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Statistics Section */
.statistics {
    background: var(--background-dark);
    padding: 60px 0;
}

.divider {
    height: 3px;
    background: #8db33f;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s, background 0.3s;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.stat-item i {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.stat-item h2 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-slider {
        order: -1;
    }

    .navbar {
        position: sticky;
        top: 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-links li {
        width: 100%;
        padding: 10px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        border-bottom: 1px solid #e4e3e3;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-actions {
        position: absolute;
        top: calc(100% + 280px);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        z-index: 999;
        width: 100%;
    }

    .navbar-actions.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
    }

    .machine-card {
        grid-template-columns: 1fr;
    }

    .machine-card-left {
        padding: 40px 30px;
    }

    .machine-card-right {
        padding: 40px 30px;
    }

    .machine-card-left i {
        font-size: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .machines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 36px;
    }

    .hero {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .top-bar .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .top-bar .contact-info {
        flex-direction: column;
        gap: 10px;
        flex: 1 1 100%;
        order: 1;
    }

    .top-bar-distributor {
        order: 2;
        margin-left: auto;
    }

    .distributor-logo-small {
        padding: 3px 6px;
    }

    .distributor-logo-small img {
        height: 24px;
        max-width: 100px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .slider-controls {
        flex-wrap: wrap;
    }

    .machine-series {
        padding: 50px 0;
        margin-bottom: 40px;
    }

    .machine-series-header h2 {
        font-size: 32px;
    }

    .machine-filters {
        gap: 8px;
        padding: 15px 16px;
        margin-bottom: 30px;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding-bottom: 15px;
        top: 70px; /* Mobil navbar height */
        margin-left: -16px; /* Container padding'ini iptal et */
        margin-right: -16px;
        margin-top: -15px;
    }

    .machine-filters::-webkit-scrollbar {
        height: 4px;
    }

    .machine-filters::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .machine-filters::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 12px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .filter-btn i {
        font-size: 14px;
    }

    .filter-btn span {
        display: inline;
        font-size: 11px;
    }

    .about-us {
        padding: 40px 0;
        margin-top: 60px;
    }

    .about-content {
        display: block;
        gap: 0;
    }

    .about-text {
        margin-bottom: 30px;
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .value-card {
        padding: 15px;
    }

    .value-card i {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .value-card h4 {
        font-size: 14px;
    }

    .value-card p {
        font-size: 12px;
    }

    .about-right {
        margin-top: 40px;
    }

    .team-card {
        margin-bottom: 20px;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-card h2 {
        font-size: 22px;
    }

    .stat-card p {
        font-size: 13px;
    }

    .btn.btn-primary {
        width: 100%;
        margin-top: 20px;
    }

    .machine-card {
        grid-template-columns: 1fr;
        position: relative;
        min-height: auto;
    }

    .machine-card-left {
        padding: 40px 30px;
        min-height: 300px;
    }

    .machine-card-right {
        display: none;
    }

    .machine-card-left i {
        font-size: 80px;
    }

    .machine-card-left h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .feature-badges {
        display: none;
    }

    .machine-buttons {
        flex-direction: column;
    }

    .btn-detail,
    .btn-quote {
        width: 100%;
    }

    .machine-cards-wrapper {
        min-height: 700px;
    }

    .modal-content {
        aspect-ratio: auto;
        max-width: 95%;
        height: auto;
        max-height: none;
    }

    .machines-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-body {
        padding: 40px 30px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .newsletter-section {
        padding: 60px 0;
    }

    .newsletter-content h2 {
        font-size: 32px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }

    .cta-card {
        width: 95%;
        padding: 30px;
    }

    .cta-card h2 {
        font-size: 26px;
    }

    .cta-card p {
        font-size: 14px;
    }

    .footer {
        padding-top: 160px;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .company-info {
        max-width: 100%;
    }

    .about-section {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-cta {
        padding: 30px 20px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-image-section img {
        height: 250px;
    }

    .mission-vision {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .modal-machine-header {
        padding: 30px 30px 0;
    }

    .footer-container {
        gap: 30px;
    }

    .modal-machine-header h3 {
        font-size: 26px;
    }

    .modal-image-container {
        margin: 20px 30px;
        height: 200px;
    }

    .modal-sections {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 30px 30px;
    }

    .modal-section:first-child,
    .modal-section:nth-child(2),
    .modal-section:nth-child(3),
    .modal-section:nth-child(4) {
        grid-column: span 1;
    }
}

/* Machine Detail Gallery */
body.modal-open {
    overflow: hidden;
}

.machine-detail-gallery {
    margin: 40px auto 60px auto;
    width: 100%;
    max-width: 960px;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    padding: 30px;
    position: relative;
}

.machine-detail-gallery .gallery-view {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: #e4e3e3;
    box-shadow: inset 0 0 20px rgba(141, 179, 63, 0.05);
}

.gallery-main-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    max-height: 540px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-main-image.is-changing {
    opacity: 0;
    transform: scale(0.98);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(17, 24, 39, 0.6);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.gallery-nav:hover {
    background: rgba(141, 179, 63, 0.85);
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-zoom {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(141, 179, 63, 0.9);
    color: var(--white);
    border: none;
    border-radius: 40px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(141, 179, 63, 0.25);
    transition: background 0.3s ease, transform 0.3s ease;
}

.gallery-zoom:hover {
    background: rgba(141, 179, 63, 0.95);
    transform: translateY(-2px);
}

.gallery-thumbs {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 15px;
}

.gallery-thumb {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(141, 179, 63, 0.2);
    opacity: 1;
}

.gallery-thumb.active {
    border-color: var(--primary-color);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(141, 179, 63, 0.15);
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999;
    padding: 30px;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: 1024px;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--background-light);
    box-shadow: var(--shadow-lg);
    padding: 40px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-image {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 16px;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-modal-image.is-changing {
    opacity: 0;
    transform: scale(0.98);
}

.gallery-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(15, 23, 42, 0.6);
    color: var(--white);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 3;
}

.gallery-modal-close:hover {
    background: rgba(239, 68, 68, 0.9);
    transform: rotate(90deg);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.65);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 2;
}

.gallery-modal-nav.prev {
    left: 15px;
}

.gallery-modal-nav.next {
    right: 15px;
}

.gallery-modal-nav:hover {
    background: rgba(141, 179, 63, 0.9);
    transform: translateY(-50%) scale(1.05);
}

.gallery-modal-overlay {
    position: absolute;
    inset: 0;
    cursor: zoom-out;
}

@media (max-width: 1024px) {
    .machine-detail-gallery {
        padding: 20px;
    }

    .gallery-modal-content {
        padding: 30px 50px;
    }

    .gallery-modal-nav {
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {
    .machine-detail-gallery {
        margin: 20px auto 30px auto;
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .gallery-main-image {
        max-height: 420px;
        width: 100%;
    }
    
    .gallery-view {
        width: 100%;
        overflow: hidden;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 16px;
    }
    
    .gallery-thumb {
        width: 100%;
        height: 70px;
    }

    .gallery-modal {
        padding: 20px;
    }

    .gallery-modal-content {
        padding: 20px 40px;
    }
}

@media (max-width: 576px) {
    .gallery-nav {
        width: 38px;
        height: 38px;
    }

    .gallery-zoom {
        padding: 8px 14px;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gallery-thumb {
        height: 70px;
    }

    .gallery-modal-content {
        padding: 20px;
    }

    .gallery-modal-nav {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .logo-text h3 {
        font-size: 14px;
    }

    .logo-text p {
        font-size: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slide-content i {
        font-size: 80px;
    }

    .modal-body {
        padding: 30px 20px;
    }

    .service-detail-section {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .modal-machine-header h3 {
        font-size: 22px;
    }

    .modal-section h4 {
        font-size: 18px;
    }
}

/* Machines Gallery Section */
.machines-gallery {
    background: var(--white);
    padding: 0 0 60px 0;
}

.machines-gallery-container {
    max-width: 1400px;
    padding: 0 40px;
}

.machines-gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.machines-gallery-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
}

.machines-gallery-header .accent-text {
    background: #8db33f;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.machines-gallery-header p {
    font-size: 18px;
    color: var(--text-light);
}

/* Filter Buttons */
.machines-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--background-light);
    border: 1px solid #e4e3e3;
    border-radius: 25px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.filter-btn:hover {
    background: rgba(141, 179, 63, 0.08);
    color: var(--primary-color);
    border-color: rgba(141, 179, 63, 0.2);
}

.filter-btn.active {
    background: #8db33f;
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 2px 8px rgba(141, 179, 63, 0.2);
}

/* Machines Grid - 3 columns for full width */
.machines-grid-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.machine-gallery-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out;
}

.machine-gallery-item.hidden {
    display: none;
}

.machine-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(141, 179, 63, 0.15);
}

.machine-gallery-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    background: #e4e3e3;
}

.machine-gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.machine-gallery-item:hover .machine-gallery-image img {
    transform: scale(1.05);
}

.machine-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.7) 0%, rgba(15, 23, 42, 0.3) 50%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.machine-gallery-item:hover .machine-gallery-overlay {
    opacity: 1;
}

.machine-gallery-btn {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.machine-gallery-item:hover .machine-gallery-btn {
    transform: translateY(0);
}

.machine-gallery-btn:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Hide machine info section */
.machine-gallery-info {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.machine-gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.machine-gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.machine-gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.machine-gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.machine-gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.machine-gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

.machine-gallery-item:nth-child(7) {
    animation-delay: 0.7s;
}

.machine-gallery-item:nth-child(8) {
    animation-delay: 0.8s;
}

/* Responsive Design for Machines Gallery */
@media (max-width: 968px) {
    .machines-gallery {
        padding: 50px 0;
    }
    
    .machines-gallery-container {
        padding: 0 30px;
    }
    
    .machines-gallery-header {
        margin-bottom: 35px;
    }
    
    .machines-gallery-header h2 {
        font-size: 36px;
    }
    
    .machines-filter {
        gap: 8px;
        margin-bottom: 35px;
    }
    
    .filter-btn {
        padding: 9px 18px;
        font-size: 13px;
    }
    
    .machines-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .machines-gallery {
        padding: 40px 0;
    }
    
    .machines-gallery-container {
        padding: 0 20px;
    }
    
    .machines-gallery-header h2 {
        font-size: 32px;
    }
    
    .machines-gallery-header p {
        font-size: 16px;
    }
    
    .machines-filter {
        gap: 8px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .machines-grid-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .machine-gallery-image {
        padding-bottom: 70%;
    }
    
    .machine-gallery-image img {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .machines-gallery {
        padding: 35px 0;
    }
    
    .machines-gallery-container {
        padding: 0 16px;
    }
    
    .machines-gallery-header {
        margin-bottom: 30px;
    }
    
    .machines-gallery-header h2 {
        font-size: 28px;
    }
    
    .machines-gallery-header p {
        font-size: 15px;
    }
    
    .machines-filter {
        flex-direction: row;
        justify-content: center;
        gap: 6px;
        margin-bottom: 25px;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 11px;
        border-radius: 20px;
    }
    
    .machines-grid-gallery {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .machine-gallery-image {
        padding-bottom: 75%;
    }
    
    .machine-gallery-image img {
        padding: 20px;
    }
    
    .machine-gallery-btn {
        padding: 10px 24px;
        font-size: 13px;
    }
}


