/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #343A40;
    --secondary-color: #B5CC40;
    --accent-color: #5a7a4a;
    --text-color: #333;
    --light-text: #666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: rgba(52, 58, 64, 0.1);
    --transition: all 0.3s ease;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
}

html {
    scroll-behavior: smooth;
}

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

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

/* Header Styles */
.header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Image logo styling (replaces text logo) */
.logo-link {
    display: inline-block;
}

.site-logo {
    display: block;
    height: 55px;
    width: auto;
    object-fit: contain;
}

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

/* Dropdown styles for Ürünler */
.has-dropdown {
    position: relative;
}

.has-dropdown .dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background-color: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    list-style: none;
    padding: 0.5rem 0;
    z-index: 1500;
    /* Animated show/hide */
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top left;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 220ms cubic-bezier(.2,.9,.2,1), transform 220ms cubic-bezier(.2,.9,.2,1), visibility 0s linear 350ms;
}

.has-dropdown .dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.has-dropdown .dropdown li a:hover {
    background-color: rgba(181,204,64,0.08);
    color: var(--secondary-color);
}

/* Show on hover (desktop) with smooth animation */
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.show-dropdown > .dropdown {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

/* Mobile: dropdown becomes static inside the mobile nav */
@media (max-width: 768px) {
    .has-dropdown .dropdown {
        position: static;
        display: none; /* hidden until user opens the submenu */
        padding-left: 1rem;
        opacity: 1;
        transform: none;
        visibility: visible;
        pointer-events: auto;
    }

    /* Show when user toggles the dropdown (.open) in mobile view */
    .has-dropdown.open .dropdown {
        display: block;
    }
}

.lang-toggle {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-weight: 600;
}

.lang-btn.active,
.lang-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Modern language dropdown */
.lang-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 1000;
}

.lang-current {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.lang-current:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

.lang-current .fi,
.lang-btn .fi {
    font-size: 1.2em;
    line-height: 1;
    vertical-align: middle;
}

/* Ensure consistent sizing for flag icons */
.fi {
    width: 1.2em;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: cover;
    margin-right: 6px;
}

.lang-current .lang-label {
    font-size: 0.95rem;
    color: var(--white);
}

.lang-current .caret {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.9);
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.lang-current[aria-expanded="true"] .caret {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--white);
    min-width: 140px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    list-style: none;
    padding: 0.5rem 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    pointer-events: none;
    transition: visibility 0s linear 0.25s, 
                opacity 0.25s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1);
    z-index: 2000;
}

.lang-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
}

.lang-menu li {
    padding: 0;
}

.lang-menu .lang-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.75rem 1.2rem;
    background: transparent;
    border: none;
    text-align: left;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.15s ease;
    cursor: pointer;
}

.lang-menu .lang-btn:hover {
    background: rgba(181,204,64,0.08);
    color: var(--secondary-color);
}

.lang-menu .lang-btn .flag { 
    font-size: 1.05rem; 
    font-family: 'Segoe UI Emoji', 'Noto Color Emoji', 'Apple Color Emoji', 'Segoe UI Symbol', sans-serif;
    line-height: 1;
}

.lang-menu .lang-btn.active {
    background-color: rgba(181,204,64,0.08);
    color: var(--secondary-color);
}

/* Mobile: make sure dropdown is positioned properly inside header flow */
@media (max-width: 768px) {
    .lang-menu { right: 10px; }
    .lang-current { border-color: var(--secondary-color); color: var(--secondary-color); }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
    margin: -8px;
    z-index: 1100; /* ensure toggle sits above language toggle */
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: transform 0.28s ease, opacity 0.28s ease;
    display: block;
}

/* Toggle animation when expanded */
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    animation: fadeIn 0.5s ease forwards;
    /* prevent sticky header from covering the top of the page */
    /* reduced top padding to tighten space below header */
    padding-top: 0rem;
}

/* If header grows on smaller screens (mobile menu), increase the top padding so content isn't overlapped */
@media (max-width: 768px) {
    .main-content { padding-top: 0rem; }
}

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

/* Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    /* Fluid, responsive height: never too small/big across devices */
    height: clamp(340px, 60vh, 680px);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Background image for slides (fills the slide without distortion) */
.slide .slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Keep full image visible without distortion; center it */
    object-fit: contain;
    object-position: center center;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 1;
    display: block;
}

/* When image must always be fully visible, there will be letterbox bars; reduce slideshow height on small screens */
@media (max-width: 768px) {
    /* Slightly smaller stage on tablets/phones while keeping aspect */
    .slideshow-container { height: clamp(280px, 48vh, 480px); }
    .slide-content h2 { font-size: 1.8rem; }
    .slide-content p { font-size: 1rem; }
}

.slide:not(.active) {
    /* keep non-active slides out of the accessibility tree and prevent them
       from intercepting pointer events while still allowing CSS transitions */
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-prev,
.slide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(181, 204, 64, 0.8);
    color: var(--primary-color);
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-prev {
    left: 20px;
}

.slide-next {
    right: 20px;
}

.slide-prev:hover,
.slide-next:hover {
    background-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.3);
}

/* Sections */
.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Sectors Section */
.sectors-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

/* Products showcase: small product cards with depth/hover effect */
.products-showcase {
    padding: 3rem 0;
    background-color: var(--white);
}

.products-carousel {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    overflow-x: auto;
    padding: 1rem 0 0.5rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.product-item {
    flex: 0 0 calc(25% - 0.75rem);
    background-color: var(--white);
    border-radius: 10px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), box-shadow 320ms ease, opacity 220ms ease;
    scroll-snap-align: center;
    cursor: pointer;
}

.product-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.product-item h4 {
    margin-top: 0.6rem;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Global carousel hover: slightly reduce scale of all items, highlight hovered one */
.products-carousel:hover .product-item {
    transform: scale(0.98);
    opacity: 0.95;
}

.product-item:hover {
    transform: translateY(-10px) scale(1.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    z-index: 30;
    opacity: 1;
}

/* Responsive: show fewer cards on smaller screens */
@media (max-width: 900px) {
    .product-item { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 480px) {
    .product-item { flex: 0 0 80%; }
    .products-showcase { padding: 2rem 0; }
}

/* Small square product slider */
.product-slider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 0 3rem 0;
}

.product-slider .slider-track {
    width: 420px; /* square-ish slider */
    height: 420px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.06));
}

/* Arrow buttons for the small slider - visible on white backgrounds */
.slider-arrow {
    background: var(--primary-color); /* dark color for contrast on white */
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: transform 180ms ease, background 180ms ease;
}

.slider-prev { margin-right: 18px; }
.slider-next { margin-left: 18px; }

.slider-arrow:hover { transform: scale(1.05); background: #222; }

.product-slider .slider-track .slider-item {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 420ms ease, transform 420ms cubic-bezier(.2,.9,.2,1);
    opacity: 0;
    transform: scale(0.92) translateY(8px);
}

.product-slider .slider-track .slider-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-slider .item-title {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 1rem 1.25rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.6));
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: left;
}

.product-slider .slider-item.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    z-index: 20;
}

.slider-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}

.slider-dots button.active { background: var(--secondary-color); box-shadow: 0 6px 14px rgba(0,0,0,0.25); }

@media (max-width: 900px) {
    .product-slider .slider-track { width: 320px; height: 320px; }
}

@media (max-width: 480px) {
    .product-slider .slider-track { width: 92vw; height: 92vw; }
}

/* Layout when info panel is present: place track left and info right on wide screens */
@media (min-width: 992px) {
    .product-slider {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }
    .product-slider .slider-inner { display: block; }
    .product-slider .slider-track { margin: 0; }
    .slider-info {
        max-width: 360px;
        margin-left: 1.5rem;
        color: var(--primary-color);
    }
    .slider-info .info-title { font-size: 1.25rem; margin: 0 0 0.5rem 0; }
    .slider-info .info-desc { margin: 0; color: var(--light-text); line-height: 1.6; }
    .slider-arrow { align-self: center; }
}

/* Modal for service details */
.modal { display: none; position: fixed; inset: 0; z-index: 3000; }
.modal[aria-hidden="false"] { display: block; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(2px); }
.modal-body {
    position: relative;
    max-width: 1000px;
    margin: 6vh auto;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-shadow: 0 40px 90px rgba(0,0,0,0.5);
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 320ms cubic-bezier(.2,.9,.2,1), opacity 320ms ease;
}
.modal[aria-hidden="false"] .modal-body { transform: translateY(0) scale(1); opacity: 1; }
.modal-close, .modal-close-secondary { position: absolute; right: 12px; top: 12px; background: transparent; border: none; font-size: 1.1rem; cursor: pointer; }
.modal-close-secondary { right: auto; left: 12px; top: auto; bottom: 12px; }
.modal-media { background: #f6f6f6; display:flex; align-items:center; justify-content:center; min-height:320px; }
.modal-media .modal-image { width:100%; height:100%; object-fit:cover; display:block; }
.modal-content { padding: 1.6rem; display:flex; flex-direction:column; gap:1rem; }
.modal-content h3 { margin:0; color:var(--primary-color); }
.modal-desc { color:var(--light-text); line-height:1.7; }
.modal-actions { margin-top:auto; display:flex; gap:0.8rem; }

@media (max-width: 991px) {
    .modal-body { grid-template-columns: 1fr; margin: 4vh 1rem; }
    .modal-media { min-height: 240px; }
}

@media (max-width: 991px) {
    /* On smaller screens stack vertically; arrows stay beside track */
    .slider-info { display: none; }
}

/* Mobile: place arrows left/right over the slider instead of above/below */
@media (max-width: 767px) {
    .product-slider { position: relative; }
    .slider-inner { position: relative; }
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        padding: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
    .slider-prev { left: 10px; margin-right: 0; }
    .slider-next { right: 10px; margin-left: 0; }
    /* Ensure arrows are above slider images */
    .slider-arrow { z-index: 60; }
}

/* Centered stage layout with arrows and depth effect */
.products-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.ps-arrow {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.8rem;
    z-index: 50;
    transition: transform 220ms ease, background 220ms ease;
}

.ps-arrow:hover { transform: scale(1.06); background: rgba(255,255,255,0.12); }

.ps-prev { margin-right: -20px; }
.ps-next { margin-left: -20px; }

.products-carousel {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    overflow: hidden; /* we'll control visibility with transforms */
    width: 100%;
}

/* Mobile: stack items vertically, remove depth and hide arrows */
@media (max-width: 767px) {
    .products-stage { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 1rem; }
    .products-stage .ps-arrow { display: none; }
    .products-carousel { flex-direction: column; align-items: stretch; gap: 1rem; overflow: visible; }
    .products-carousel .product-item { max-width: 100%; width: 100%; transform: none !important; opacity: 1 !important; filter: none !important; }
    .products-carousel .product-item img { height: 260px; }
}

.product-item {
    flex: 0 0 32%;
    max-width: 420px;
    min-width: 280px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
    border-radius: 8px;
    padding: 0;
    text-align: left;
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    transition: transform 420ms cubic-bezier(.2,.9,.2,1), box-shadow 420ms ease, opacity 320ms ease;
    overflow: hidden;
    position: relative;
}

.product-item img { height: 400px; object-fit: cover; width: 100%; display: block; }

.product-item h4 {
    color: var(--white);
    background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.6));
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 1rem 1.25rem;
    font-size: 1.25rem;
}

/* State classes controlled by JS */
.product-item { transform: scale(0.84); opacity: 0.7; }
.product-item.prev, .product-item.next { transform: translateY(14px) scale(0.88); opacity: 0.8; filter: blur(0.6px); }
.product-item.active { transform: translateY(-14px) scale(1.12); opacity: 1; box-shadow: 0 40px 80px rgba(0,0,0,0.5); z-index: 40; }

@media (max-width: 900px) {
    .product-item { flex: 0 0 70%; min-width: 240px; }
    .product-item img { height: 300px; }
    .ps-arrow { width: 48px; height: 48px; font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .product-item { flex: 0 0 85%; }
    .product-item img { height: 220px; }
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sector-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.sector-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.sector-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sector-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.sector-card p {
    color: var(--light-text);
}

/* Services Section */
.services-section {
    padding: 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

/* Keep cards clearly clickable: pointer cursor and prevent text selection while interacting */
.service-card {
    position: relative; /* kept for future micro-interactions */
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

/* Ensure inner elements also show pointer so the I-beam (text) cursor doesn't appear */
.service-card .service-icon,
.service-card h3,
.service-card p {
    cursor: pointer;
}




.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}



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



/* Products Section */
#products {
    padding: 4rem 0;
}

.page-title {
    font-size: 3rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.product-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.product-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-placeholder {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.product-card h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
}

/* Service request page layout (two-column image + form card) */
.service-request { 
    padding: 3.5rem 0 5rem 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 8%);
}
.service-row {
    display: grid;
    grid-template-columns: 48% 1fr;
    gap: 2.5rem;
    align-items: start;
}
.service-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.service-card {
    background: var(--white);
    border-radius: 6px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* For the service request page we don't want the generic .service-card hover effect
   (which darkens cards site-wide). Override here so the form card stays white */
.service-request .service-card {
    background: var(--white) !important;
    color: inherit !important;
    cursor: default !important;
    transform: none !important;
}
.service-request .service-card:hover {
    background: var(--white) !important;
    color: inherit !important;
    transform: none !important;
}
.service-request .service-card .service-icon,
.service-request .service-card h3,
.service-request .service-card p {
    cursor: auto !important;
}
.service-card .lead {
    color: var(--light-text);
    margin-bottom: 0.6rem;
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}
.form-group { margin-bottom: 0.75rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { display: block; margin-bottom: 0.45rem; color: var(--primary-color); font-weight:600; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.9rem 0.85rem;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 0.98rem;
}
.form-group select { appearance: none; }
.recaptcha-wrap { margin: 0.75rem 0; }
.recaptcha-placeholder {
    background: #fff0f0;
    border: 1px solid #e45b5b;
    color: #b00000;
    padding: 12px 14px;
    border-radius: 4px;
    width: 220px;
}
.submit-bar { margin-top: 0.6rem; }
.submit-bar .submit-btn {
    background: #f3f3f3; /* light grey bar like the screenshot */
    color: var(--primary-color);
    padding: 1rem 1.25rem;
    font-weight: 700;
    border-radius: 3px;
    box-shadow: none;
}
.submit-bar .submit-btn:hover { background: #ffffff; color: var(--primary-color); transform: none; box-shadow: none; }

@media (max-width: 992px) {
    .service-row { grid-template-columns: 1fr; }
    .service-image img { height: 320px; }
}

@media (max-width: 600px) {
    .service-image img { height: 220px; }
    .form-grid { grid-template-columns: 1fr; }
}

/* Support section cards for servis-destek */
.support-section { margin-top: 2.2rem; }
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-top: 1rem;
}
.support-card {
    background: linear-gradient(180deg, #fff 0%, #fbfbfb 100%);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 30px rgba(23,35,50,0.06);
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.support-card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(23,35,50,0.12); }
.support-card .card-media { height: 160px; overflow: hidden; }
.support-card .card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.support-card .card-body { padding: 1.1rem 1.25rem 1.5rem; display:flex; flex-direction:column; gap:0.6rem; }
.support-card h3 { margin:0; color:var(--primary-color); font-size:1.15rem; }
.support-card p { color:var(--light-text); font-size:0.96rem; line-height:1.5; margin:0; }
.btn-cta { display:inline-block; margin-top:0.6rem; padding:0.55rem 0.9rem; background:var(--secondary-color); color:var(--primary-color); border-radius:6px; text-decoration:none; font-weight:700; font-size:0.95rem; }
.btn-cta:hover { background:#d6df36; }

@media (max-width: 992px) {
    .support-grid { grid-template-columns: 1fr; }
}

.product-card > p {
    color: var(--light-text);
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.product-specs {
    display: flex;
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
    flex-wrap: wrap;
}

.product-specs span {
    background-color: var(--bg-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
}

/* Corporate Section */
#corporate {
    padding: 4rem 0;
}

.corporate-section {
    margin-bottom: 4rem;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.vm-card {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 3rem;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
}

.vm-card .section-title {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.vm-card .section-title::after {
    background-color: var(--white);
}

.vm-card p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.positions-list {
    display: grid;
    gap: 1.5rem;
}

.position-card {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--secondary-color);
    transition: var(--transition);
}

.position-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px var(--shadow);
}

.position-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.position-card p {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.position-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.fairs-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.fair-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.fair-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.fair-date {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.fair-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.fair-card p {
    color: var(--light-text);
}

/* Contact Section */
#contact {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.company-placeholder {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-details {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item span {
    color: var(--light-text);
}

.map-container {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.map-placeholder {
    width: 100%;
}

.map-placeholder iframe {
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

/* Contact page: remove underline for contact links but keep them visibly interactive */
.contact-details a,
.contact-item a {
    text-decoration: none;
    color: inherit;
    transition: color 0.18s ease;
}
.contact-details a:hover,
.contact-item a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Social Media */
.social-media {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
}

.stats-section .section-title {
    color: var(--white);
}

.stats-section .section-title::after {
    background-color: var(--secondary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Why Us Section */
.why-us-section {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.why-us-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.why-us-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.why-us-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.why-us-card p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Category Cards */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.category-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(181, 204, 64, 0.1), transparent);
    transition: var(--transition);
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
    border-color: var(--secondary-color);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* Category image (used instead of icon) */
.category-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: inline-block;
}

.category-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.category-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-arrow {
    font-size: 2rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    transform: translateX(10px);
}

/* News Section */
.news-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.news-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.news-featured {
    background-color: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

/* Make featured card clickable without changing look */
.news-section a.news-featured { display: block; color: inherit; text-decoration: none; }

.news-featured:hover {
    box-shadow: 0 10px 25px var(--shadow);
}

.news-featured-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.news-featured-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.news-image-placeholder {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
}

.news-featured-content {
    padding: 2rem;
}

.news-featured-content .news-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.news-featured-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.news-featured-content p {
    color: var(--light-text);
    line-height: 1.6;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.news-item .news-date {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    display: block;
}

.news-item h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.news-item p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    padding: 1rem 0;
}

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

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span {
    color: var(--light-text);
    margin: 0 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-color);
        visibility: hidden;
        opacity: 0;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        transform: translateY(-10px);
        transition: visibility 0s linear 0.18s, opacity 0.24s ease, transform 0.24s ease;
        pointer-events: none;
        z-index: 1200; /* ensure nav sits above most content */
    }

    .nav.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0s;
        pointer-events: auto;
        z-index: 1400; /* ensure active menu overlays header siblings */
    }

    .nav-list {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link {
        display: block;
        padding: 1rem;
    }

    .lang-toggle {
        position: absolute;
        right: 60px;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .sectors-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .fairs-list {
        grid-template-columns: 1fr;
    }

    .slide-prev,
    .slide-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .slide-prev {
        left: 10px;
    }

    .slide-next {
        right: 10px;
    }

    .features-grid,
    .stats-grid,
    .why-us-grid,
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .news-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2rem;
    }

    .slideshow-container {
        height: clamp(240px, 46vh, 380px);
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* --- Modern polish for product detail (DTB-300) --- */
/* core layout */
.product-hero { 
    display: grid; 
    grid-template-columns: 1.2fr 1fr; 
    gap: 2.2rem; 
    margin-bottom: 2.5rem; 
    background-color: var(--white); 
    border-radius: 16px; 
    padding: 2rem; 
    box-shadow: 0 16px 40px var(--shadow); 
}
.product-hero-media .product-main-image { 
    width: 100%; 
    height: 460px; 
    background-color: var(--bg-light); 
    border-radius: 12px; 
    box-shadow: 0 8px 22px var(--shadow); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative; 
    overflow: hidden; 
    border: 1px solid #eef0f3; 
}

/* Simple product gallery for DTB-300 details: two replaceable images */
.product-gallery {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    justify-content: center;
    padding: 0.5rem;
}
.product-detail-img {
    width: calc(50% - 0.5rem);
    max-width: 520px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    object-fit: contain;
    background: var(--bg-light);
}

@media (max-width: 900px) {
    .product-hero { grid-template-columns: 1fr; }
    .product-gallery { flex-direction: column; }
    .product-detail-img { width: 100%; }
}

/* Gallery carousel */
.gallery-carousel { position: relative; width: 100%; }
.gallery-track { position: relative; overflow: hidden; display: block; }
.gallery-slide { display: none; width: 100%; height: 460px; object-fit: contain; border-radius: 12px; background: var(--bg-light); box-shadow: 0 8px 22px var(--shadow); }
.gallery-slide.active { display: block; }
.gallery-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.9); border: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,0.12); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-thumbs { display: flex; gap: 0.6rem; margin-top: 0.9rem; justify-content: center; }
.gallery-thumbs .thumb { width: 84px; height: 64px; padding: 4px; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--white); cursor: pointer; }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumbs .thumb.active { border-color: var(--secondary-color); box-shadow: 0 8px 18px rgba(0,0,0,0.08); }

/* Lightbox styles */
.lightbox { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 4000; }
.lightbox[aria-hidden="false"] { display: flex; }
.lightbox-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.lightbox-content { position: relative; max-width: 1000px; width: calc(100% - 40px); margin: 0 20px; display: flex; align-items: center; justify-content: center; }
.lightbox-image { max-width: 100%; max-height: 80vh; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,0.5); display: block; }
.lightbox-close { position: absolute; top: -10px; right: -10px; background: var(--white); border: none; width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,0.12); cursor: pointer; z-index: 2; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: none; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 6px 18px rgba(0,0,0,0.12); cursor: pointer; z-index: 2; display:flex; align-items:center; justify-content:center; font-size:1.6rem; }
.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 900px) {
    .gallery-slide { height: 320px; }
    .gallery-thumbs .thumb { width: 64px; height: 48px; }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}
.product-hero-media .product-main-image::after { 
    content: ''; 
    position: absolute; inset: 0; pointer-events: none; 
    background: radial-gradient( circle at 20% 20%, rgba(181,204,64,0.18), transparent 40% ), radial-gradient( circle at 80% 80%, rgba(181,204,64,0.12), transparent 40% ); 
}
.product-image-placeholder { color: var(--light-text); font-size: 1.1rem; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin-top: 0.9rem; }
.product-thumbs .thumb { background-color: var(--white); height: 76px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--light-text); box-shadow: 0 4px 12px var(--shadow); border: 1px solid #eaeef3; cursor: pointer; transition: var(--transition); }
.product-thumbs .thumb:hover { transform: translateY(-2px); box-shadow: 0 10px 22px var(--shadow); }
.product-thumbs .thumb.active { outline: 2px solid var(--secondary-color); outline-offset: 2px; }
.product-hero-content .product-short { color: var(--light-text); margin: 0.6rem 0 1.2rem; line-height: 1.7; }
.product-spec-highlights { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1.3rem; }
.spec-chip { background-color: var(--bg-light); border-left: 4px solid var(--secondary-color); padding: 0.55rem 0.85rem; border-radius: 10px; box-shadow: 0 2px 8px var(--shadow); }
.product-cta { display: flex; gap: 0.9rem; }
.btn { display: inline-block; padding: 0.9rem 1.2rem; border-radius: 10px; text-decoration: none; transition: var(--transition); box-shadow: 0 6px 14px var(--shadow); }
.btn-primary { background-color: var(--secondary-color); color: var(--primary-color); }
.btn-outline { border: 1px solid var(--secondary-color); color: var(--secondary-color); }
.btn:hover { transform: translateY(-2px); }
.product-section { margin: 3rem 0; }
/* features list */
.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem 1.2rem; list-style: none; padding-left: 0; }
.feature-list li { background-color: var(--white); border: 1px solid #eef0f3; border-radius: 12px; padding: 0.85rem 1rem 0.85rem 2.4rem; position: relative; box-shadow: 0 6px 14px var(--shadow); color: var(--text-color); }
.feature-list li::before { content: '✓'; position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); background: var(--secondary-color); color: var(--primary-color); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; }
/* specs */
.specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.spec-item { background-color: var(--white); border: 1px solid #eef0f3; border-radius: 12px; padding: 1rem 1.2rem; box-shadow: 0 8px 18px var(--shadow); display: flex; flex-direction: column; gap: 0.45rem; transition: var(--transition); }
.spec-item span { color: var(--light-text); }
.spec-item strong { color: var(--primary-color); }
.spec-item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px var(--shadow); }
/* tooth forms */
.tooth-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.tooth-card { background-color: var(--white); border-radius: 12px; box-shadow: 0 10px 22px var(--shadow); text-align: center; padding: 1.1rem; border: 1px solid #eef0f3; transition: var(--transition); }
.tooth-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px var(--shadow); }
.tooth-image { height: 130px; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 10px; margin-bottom: 0.6rem; font-weight: 700; letter-spacing: 0.3px; }
/* downloads */
.downloads-list { display: flex; gap: 1rem; }

/* Tooth groups: Sırt / İç with images */
.tooth-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.tooth-group .group-title { font-size: 1.1rem; color: var(--primary-color); margin-bottom: 0.8rem; }
.tooth-group .group-images { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.tooth-group .group-images img { width: calc(50% - 0.4rem); border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.06); border: 1px solid #eef0f3; background: var(--white); object-fit: cover; display: block; }
.tooth-group .group-images img:last-child { width: calc(50% - 0.4rem); }

@media (max-width: 900px) {
    .tooth-groups { grid-template-columns: 1fr; }
    .tooth-group .group-images img { width: 100%; }
}
.download-item { display: inline-flex; align-items: center; gap: 0.6rem; background-color: var(--white); padding: 0.9rem 1.1rem; border-radius: 10px; text-decoration: none; color: var(--primary-color); box-shadow: 0 8px 18px var(--shadow); border: 1px solid #eef0f3; transition: var(--transition); }
.download-item:hover { background-color: rgba(181,204,64,0.08); transform: translateY(-2px); }

/* Document badge placed over product images (bottom-left) */
.doc-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 80;
}
.doc-badge .download-item { padding: 8px 12px; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.doc-badge .download-item span { font-weight:700; color:#666; font-size:0.85rem; }
.doc-badge .doc-cta .btn { padding: 10px 14px; border-radius: 8px; box-shadow: 0 10px 22px rgba(52,58,64,0.08); }

@media (max-width: 900px) {
    .doc-badge { left: 12px; bottom: 12px; }
    .doc-badge .download-item { padding: 8px 10px; }
}

/* --- Modern Service Page Styles --- */
.service-hero {
    background: #fff;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.service-hero .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-hero .hero-subtitle {
    color: black;
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Service Options Grid */
.service-options {
    padding: 4rem 0;
    background: var(--bg-light);
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-option-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 30px var(--shadow);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.option-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-option-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
}

.option-features {
    margin: 1.5rem 0;
}

.option-features ul {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.option-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
}

.option-features li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: bold;
}

.option-desc {
    color: var(--light-text);
    line-height: 1.6;
    margin: 1rem 0;
    flex-grow: 1;
}

/* Process Steps */
.service-process {
    padding: 5rem 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--light-text);
    font-size: 0.95rem;
}

/* CTA Section */
.service-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn svg {
    transition: transform 0.2s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

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

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

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* Service Page Responsive Adjustments */
@media (max-width: 768px) {
    .service-hero {
        padding: 3rem 0;
    }

    .service-hero .page-title {
        font-size: 2rem;
    }

    .service-option-card {
        padding: 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .service-hero .page-title {
        font-size: 1.75rem;
    }

    .service-hero .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Footer logo sizing (keeps footer logo responsive and smaller than header) */
.footer-section.footer-logo .footer-logo-img {
    height: 48px; /* slightly smaller than header logo */
    width: auto;
    max-width: 100%;
    display: block;
}

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