/*
Theme Name: Kobidestek Kurumsal
Theme URI: https://kobidestek.net/
Author: KobiDestek
Author URI: https://kobidestek.net/
Description: Kobidestek Kurumsal WordPress Temasi
Version: 1.0
Text Domain: kobidestek
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;700;800&display=swap');

:root {
    --primary: #e30613;
    --primary-dark: #b8050f;
    --dark: #1a1a1a;
    --dark-alt: #2a2a2a;
    --light: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #888888;
    --text: #333333;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

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

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--light);
}

/* Header & Top Bar */
.top-bar {
    background: rgba(0, 0, 0, 0.1);
    color: var(--light);
    font-size: 0.85rem;
    padding: 10px 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

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

.top-info {
    display: flex;
    gap: 20px;
}

header {
    background: #ffffff54 !important;
    position: absolute;
    top: 45px;
    left: 0;
    width: 100%;
    z-index: 2000;
    padding: 20px 0;
}

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

.logo h1 {
    font-size: 2rem;
    color: var(--light);
}

.logo span {
    color: var(--primary);
}
.disabled-image img {display:none;}
/* Logo & Marka Alan — Görüntüleme Modları */
.brand-text-link,
.brand-combined-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    line-height: 1;
}

/* Logo + Yazı: flex sarmalayıcı — logo solda, metin sağda */
.brand-combined-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-combined-wrap .custom-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.brand-combined-wrap .custom-logo-link img {
    max-height: 52px;
    width: auto;
}

.brand-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}

.brand-text-side h1,
.brand-text-side h1 span {
    /* h1 orijinal renkleri korunur (.logo h1 ve .logo span kurallarından alınır) */
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--light);
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
}

.brand-name span {
    color: var(--primary);
}

.brand-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 4px;
    display: block;
}

/* Sadece yazı modunda (text_only) — h1 benzeri ölçek */
.brand-text-link .brand-name {
    font-size: 2rem;
}


.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links>li {
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--light);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 4000;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.mobile-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* Mega Menu */
.has-mega {
    position: static !important;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(15px);
    padding: 50px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
    z-index: 2000;
}

header .mega-menu-container,
.mega-menu-container {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 30px !important;
    width: 100% !important;
    max-width: 1400px !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
}

.mega-col {
    flex: 1 1 0px !important;
    min-width: 0 !important;
}

.nav-links>li:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-col h4 {
    color: var(--primary);
    margin-bottom: 22px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(227, 6, 19, 0.25);
    text-transform: uppercase;
    white-space: nowrap;
}

.mega-col ul li {
    margin-bottom: 14px;
}

.mega-col ul li a {
    color: #d1d1d1 !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.mega-col ul li a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
}

/* Mega Menu Product specific styles */
.mega-col ul li.mega-menu-product {
    margin-bottom:3px;
}

.mega-col ul li a.mega-product-link {
    color: #ccc !important;
    display: flex !important;
    flex-direction: column;
    padding: 0 !important;
    align-items: flex-start;
    text-align: left;
}

.mega-col ul li a.mega-product-link:hover {
    transform: none !important;
}

.mega-col ul li a.mega-product-link img {
    max-height: 180px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.mega-col ul li a.mega-product-link:hover img {
    transform: scale(1.03);
}

.mega-col ul li a.mega-product-link .mega-product-title {
    color: #d1d1d1;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: 0.3s ease;
}

.mega-col ul li a.mega-product-link:hover .mega-product-title {
    color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    color: var(--light);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 7000;
    /* nav-links (6000) üstünde kalması için */
}

.mobile-close {
    display: none !important;
    /* İkon değişimi ile yönetiliyor, artık kullanılmıyor */
}

/* Hero Section */
.hero {
    height: 100vh !important;
    width: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg-desktop, url('media/hero_drill_rig.png'));
    background-size: 100% 100%;
    background-position: center right;
    /* Görsel odağını sağda tut */
    display: flex;
    align-items: center;
    color: var(--light);
    position: relative;
    text-align: left;
    /* Kesin sol hizalama */
}

.hero .container {
    max-width: 1400px;
    /* İçeriği daha sola çekmek için container'ı genişletelim */
}

.hero-content {
    max-width: 55%;
}

.hero .hero-content,
.swiper-slide .hero-content {
    width: 100%;
    text-align: left !important;
    padding-top: 120px;
}

/* Swiper Slider Styles */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-desc p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary) !important;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: var(--light) !important;
}

.swiper-pagination-bullet-active {
    background: var(--primary) !important;
}

.hero-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Inline margin-left yerine gap kullanıyoruz (front-page.php'deki inline style'ı ezer) */
.hero-btns .btn {
    margin-left: 0 !important;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 25px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Page Banner (Subpages) */
.page-banner {
    min-height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('media/hero_drill_rig.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light);
}

.page-banner h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 1rem;
    color: var(--gray);
}

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

.breadcrumb i {
    font-size: 0.8rem;
    margin: 0 10px;
    color: var(--primary);
}

/* Category Grid (Products Page) */
.products-categories {
    padding: 100px 0;
    background: var(--gray-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.category-img {
    height: 250px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.category-info {
    padding: 30px;
}

.category-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.category-info p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    height: 4.8em;
    overflow: hidden;
}

.view-btn {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.view-btn i {
    margin-left: 8px;
    transition: var(--transition);
}

.view-btn:hover i {
    transform: translateX(5px);
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--gray-light);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--primary);
}

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

.feature-card {
    background: var(--light);
    padding: 50px 40px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.feature-card i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 25px;
}

/* Products */
.products {
    padding: 120px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-card {
    position: relative;
    overflow: hidden;
    height: 450px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 40px;
    color: var(--light);
    transform: translateY(30px);
    transition: var(--transition);
}

.product-card:hover img {
    transform: scale(1.15);
}

.product-card:hover .product-overlay {
    transform: translateY(0);
}

/* CTA */
.cta {
    background: var(--primary);
    color: var(--light);
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    padding: 100px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.2fr 1.75fr;
    gap: 50px;
    margin-bottom: 80px;
}

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

.footer-col h3 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #aaa;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1100px) {
    header {
        top: 40px;
        padding: 10px 0;
        z-index: 5000;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: #111 !important;
        display: flex;
        flex-direction: column;
        padding: 100px 30px;
        gap: 0;
        z-index: 6000;
        transition: 0.4s ease;
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links>li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px 0;
    }

    .nav-links>li>a {
        font-size: 1.1rem;
        color: #fff !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-toggle,
    .mobile-close {
        display: block;
    }

    .mega-menu {
        position: static;
        width: 100%;
        background: transparent;
        border: none;
        padding: 0;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mega-menu.open {
        display: block;
        max-height: 2000px;
        padding: 20px 0;
    }

    .mega-menu .container {
        display: block !important;
        padding: 0 !important;
    }

    .mega-col {
        margin-bottom: 25px;
    }

    .mega-col h4 {
        font-size: 0.9rem;
        color: var(--primary);
        margin-bottom: 15px;
    }

    .mega-col ul li a {
        font-size: 0.85rem !important;
        padding: 8px 0;
        display: block;
    }

    .mega-col img {
        display: none;
    }

    .hero .hero-content,
    .swiper-slide .hero-content {
        padding-top: 80px;
        max-width: 90% !important;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }
}

/* Product Detail Page - Redesign */
.product-detail-hero {
    background: #111111;
    padding: 160px 0 80px;
    color: var(--light);
    position: relative;
    overflow: hidden;
}

.product-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.product-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product-hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 600;
}

.product-desc {
    font-size: 1.15rem;
    color: #999;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-action-btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.hero-btn-solid {
    background: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.hero-btn-solid:hover {
    background: #444;
}

.hero-btn-text {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-btn-text i {
    color: var(--primary);
    margin-left: 5px;
    font-size: 0.8rem;
}

.hero-btn-text:hover {
    color: var(--primary);
}

.product-hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    z-index: 2;
}

.image-wrapper img {
    width: 100%;
    border-radius: 8px;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); */
    object-fit: contain;
}

/* Product Main Content (Collapsible) */
.product-main-content {
    background: #ffffff;
    padding: 10px 0;
}

.content-wrapper {
    max-width: 99%;
    margin: 0 auto;
}

.content-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.content-scrollable {
    max-height: 366px;
    /* Yaklaşık olarak gösterilecek alan */
    overflow-y: auto;
    color: #444;
    font-size: 1.1rem;
    line-height: 1.6;
    padding-right: 15px;
    /* Scrollbar için boşluk */
}

/* Custom Scrollbar Styles for content-scrollable */
.content-scrollable::-webkit-scrollbar {
    width: 6px;
}

.content-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content-scrollable::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.content-scrollable::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Premium Content Typography */
.content-inner {
    color: #444;
    font-size: 18px;
    line-height: 1.8;
}

.content-inner p {
    margin-bottom: 25px;
    color: #555;
}

.content-inner h2,
.content-inner h3,
.content-inner h4,
.content-inner h5,
.content-inner h6 {
    color: var(--dark);
    margin: 25px 0 15px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    text-transform: none;
    /* Metni olduğu gibi bırak, çok bağırmasın */
}

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

.content-inner h3 {
    font-size: 1.4rem;
}

.content-inner h4 {
    font-size: 1.3rem;
}

.content-inner h5 {
    font-size: 1.2rem;
}

.content-inner h6 {
    font-size: 1.1rem;
}


.content-inner strong,
.content-inner b {
    color: var(--dark);
    font-weight: 700;
}

.content-inner ul,
.content-inner ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

.content-inner li {
    margin-bottom: 12px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.content-inner ul li::before {
    content: '\f058';
    /* FontAwesome check circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 0.9rem;
}

.content-inner blockquote {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-left: 5px solid var(--primary);
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
}

.content-inner img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Tabs Section */
.product-tabs-section {
    padding: 10px 0;
    background: var(--light);
}

.tabs-container {
    max-width: 99%;
    margin: 0 auto;
}

.tab-header {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 15px 30px;
    background: transparent;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gray);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--dark);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

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

/* Mobile Accordion Tabs */
@media (max-width: 768px) {
    .product-tabs-section {
        padding: 60px 0;
    }

    .tab-header {
        flex-direction: column;
        gap: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .tab-btn {
        width: 100%;
        text-align: left;
        padding: 18px 20px;
        background: #f8f8f8;
        border: none;
        border-top: 1px solid #eee;
        border-radius: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem;
        color: var(--dark);
    }

    .tab-btn::after {
        display: none;
        /* Masaüstü alt çizgiyi gizle */
    }

    /* Chevron oku */
    .tab-btn::before {
        content: '\f078';
        /* fa-chevron-down */
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 0.75rem;
        color: var(--gray);
        order: 2;
        transition: transform 0.3s ease;
        margin-left: auto;
        padding-left: 15px;
    }

    .tab-btn.active {
        background: var(--dark);
        color: var(--light);
        border-color: var(--dark);
    }

    .tab-btn.active::before {
        content: '\f077';
        /* fa-chevron-up */
        color: var(--primary);
    }

    /* Mobilde içerik tab-header'ın altına değil, butonun hemen altına ekleneceği için
       JS ile konumlandırma yapılıyor. CSS'te sadece animasyon tanımı kalır. */
    .tab-content {
        display: none;
        border-top: none;
        padding: 25px 15px;
        background: #fff;
        border: 1px solid #eee;
        border-top: 3px solid var(--primary);
        animation: none;
    }

    .tab-content.active {
        display: block;
        animation: mobileSlideDown 0.35s ease;
    }

    @keyframes mobileSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

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

/* Accordion */

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--dark);
}

.specs-table td:last-child {
    color: var(--gray);
}

/* Dynamic Specs Table (Excel/TSV) */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #fff;
}

.table-responsive::-webkit-scrollbar,
.content-inner table::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track,
.content-inner table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb,
.content-inner table::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover,
.content-inner table::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.specs-table.dynamic-specs,
.content-inner table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    text-align: left;
    margin-bottom: 30px;
}

/* Make normal tables responsive if not wrapped in table-responsive */
.content-inner table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background: #fff;
    border: 1px solid #eee;
}

/* Reset duplicate styles if the table is already wrapped inside a table-responsive container */
.table-responsive table {
    display: table !important;
    overflow-x: visible !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
}

.specs-table.dynamic-specs th,
.specs-table.dynamic-specs td,
.content-inner table th,
.content-inner table td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    white-space: nowrap;
}

.specs-table.dynamic-specs td:first-child,
.content-inner table td:first-child {
    width: auto;
}

.specs-table.dynamic-specs th,
.content-inner table th {
    background: #f8f9fa;
    color: var(--dark);
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table.dynamic-specs tbody tr:hover td,
.content-inner table tbody tr:hover td {
    background-color: #fcfcfc;
}

/* Sticky First Column */
.specs-table.dynamic-specs th:first-child,
.specs-table.dynamic-specs td:first-child,
.content-inner table th:first-child,
.content-inner table td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #fff;
    border-right: 1px solid #eee;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.03);
}

.specs-table.dynamic-specs th:first-child,
.content-inner table th:first-child {
    background: #f8f9fa;
    z-index: 3;
}


.fade-in {
    animation: fadeIn 0.8s ease-in forwards;
}

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

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


/* Gallery & Docs */
.product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.docs-list {
    display: grid;
    gap: 20px;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 25px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.doc-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 25px;
}

.doc-info {
    flex-grow: 1;
}

.doc-info h4 {
    margin-bottom: 5px;
}

.doc-info p {
    font-size: 0.9rem;
    color: var(--gray);
}

.download-link {
    background: var(--dark);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Quote Section */
.quote-section {
    padding: 120px 0;
    background: var(--dark);
    color: var(--light);
    border-bottom: solid 2px #e30613;
}

.quote-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.quote-info h2 {
    font-size: 3rem;
    margin-bottom: 30px;
}

.quote-info p {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.8;
}

.quote-form {
    background: var(--light);
    padding: 50px;
    border-radius: 12px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.w-100 {
    width: 100%;
}

@media (max-width: 992px) {

    .product-hero-grid,
    .quote-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .product-hero-content h1 {
        font-size: 3rem;
    }

    .product-hero-image {
        order: -1;
    }

    .product-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   MOBİL UX İYİLEŞTİRMELERİ — Tasarım değişmez,
   deneyim düzelir. (max-width: 768px)
   ===================================================== */
@media (max-width: 768px) {

    /* --- Genel Container --- */
    .container {
        padding: 0 16px;
    }

    /* --- Top Bar: Gizle (mobilde yer kaplar) --- */
    .top-bar {
        display: none;
    }

    /* --- Header: Top Bar gizlenince konum düzelt --- */
    header {
        top: 0;
    }

    /* --- Hero (Ana Sayfa): Yükseklik + Yazı Taşması --- */
    .hero {
        min-height: 100svh;
        /* Safe area destekli */
        height: auto !important;
        padding: 120px 0 60px;
        align-items: flex-end;
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--bg-mobile, var(--bg-desktop, url('media/hero_drill_rig.png')));
    }

    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Mobilde içerik tam genişlik (55% kısıtı kaldır) */
    .hero .hero-content,
    .swiper-slide .hero-content {
        max-width: 100% !important;
        text-align: center !important;
        /* Mobilde ortalı daha şık durabilir */
    }

    /* Mobilde slider oklarını gizle, sadece noktalar kalsın */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .hero-slider {
        height: auto !important;
        min-height: 500px;
    }

    /* Butonlar alt alta, tam genişlik, kolay dokunma */
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --- Page Banner (Alt Sayfalar) --- */
    .page-banner {
        height: 220px;
    }

    .page-banner h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    /* --- Bölüm Padding Küçültme --- */
    .products-categories,
    .features,
    .products,
    .product-tabs-section {
        padding: 60px 0;
    }

    .cta {
        padding: 60px 0;
    }

    .cta h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    footer {
        padding: 60px 0 20px;
    }

    .footer-grid {
        gap: 30px;
        margin-bottom: 40px;
    }

    /* --- Section Title --- */
    .section-title {
        margin-bottom: 40px;
    }

    .section-title h2 {
        font-size: 1.9rem;
    }

    /* --- Ürün Grid: Küçük ekranda taşmayı önle --- */
    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-card {
        height: 300px;
    }

    /* Product overlay: mobilde her zaman görünür olsun (hover yok) */
    .product-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    }

    /* --- Ürün Detay Hero --- */
    .product-detail-hero {
        padding: 100px 0 50px;
    }

    .product-hero-grid {
        gap: 30px;
    }

    .product-hero-content h1 {
        font-size: 1.9rem;
    }

    .product-desc {
        font-size: 1rem;
    }

    .hero-action-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Butonlara dokunma alanı (44px minimum) */
    .hero-btn-solid,
    .hero-btn-text,
    .btn,
    .tab-btn,
    .download-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* --- Ürün İçerik (Temel Özellikler) --- */
    .product-main-content {
        padding: 50px 0;
    }

    .content-wrapper {
        max-width: 100%;
    }

    /* --- Teknik Tablo: Scroll ipucu göster --- */
    .table-responsive {
        position: relative;
    }

    .table-responsive::after {
        content: '← Kaydırın →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: var(--gray);
        padding: 8px 0 4px;
        letter-spacing: 1px;
    }

    .specs-table.dynamic-specs th,
    .specs-table.dynamic-specs td,
    .content-inner table th,
    .content-inner table td {
        padding: 12px 14px;
        font-size: 0.85rem;
    }

    /* --- Quote (Teklif) Formu --- */
    .quote-section {
        padding: 60px 0;
    }

    .quote-wrapper {
        gap: 40px;
    }

    .quote-info h2 {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .quote-info p {
        font-size: 1rem;
    }

    .quote-form {
        padding: 25px 20px;
        border-radius: 8px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
        /* iOS zoom'unu önler */
    }

    /* --- Doküman Item: Dikey Layout --- */
    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
    }

    .doc-item i {
        margin-right: 0;
    }

    .download-link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* --- Feature Card --- */
    .feature-card {
        padding: 35px 25px;
    }

    /* --- Tabs Bölümü --- */
    .tabs-container {
        max-width: 100%;
    }
}

/* --- Çok Küçük Mobil (max-width: 480px) --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .page-banner h1 {
        font-size: 1.5rem;
    }

    .product-hero-content h1 {
        font-size: 1.7rem;
    }

    .cta h2,
    .quote-info h2 {
        font-size: 1.7rem;
    }

    .category-img {
        height: 200px;
    }

    .gallery-item img {
        height: 200px;
    }

    .specs-table.dynamic-specs th,
    .specs-table.dynamic-specs td,
    .content-inner table th,
    .content-inner table td {
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    /* Sticky sütun mobilde çok yer kaplıyor:
       max-width ile daralt, taşan metni ... ile kısalt */
    .specs-table.dynamic-specs th:first-child,
    .specs-table.dynamic-specs td:first-child,
    .content-inner table th:first-child,
    .content-inner table td:first-child {
        max-width: 110px;
        min-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* =========================================
   Contact Page Layout & Styling
========================================= */
.contact-page-wrapper {
    padding: 100px 0;
    background: var(--gray-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.section-title-left h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
    color: var(--dark);
}

.section-title-left h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
}

.section-title-left p {
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-item:hover .icon-box {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-5px);
}

.info-text h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 5px;
}

.info-text p,
.info-text a {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.5;
    transition: var(--transition);
}

.info-text a:hover {
    color: var(--primary);
}

.contact-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-5px);
}

/* Contact Form Column */
.contact-form-col {
    background: var(--light);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.form-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark);
}

.custom-contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.custom-contact-form input,
.custom-contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    outline: none;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus {
    background: var(--light);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

.custom-contact-form label {
    position: absolute;
    left: 20px;
    top: 15px;
    color: #999;
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
}

.custom-contact-form input:focus~label,
.custom-contact-form input:not(:placeholder-shown)~label,
.custom-contact-form textarea:focus~label,
.custom-contact-form textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 15px;
    font-size: 0.85rem;
    background: var(--light);
    padding: 0 5px;
    color: var(--primary);
    font-weight: 600;
}

.submit-btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
    padding: 15px;
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    width: 100%;
    background: var(--gray-light);
    padding-bottom: 100px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.map-container iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    filter: grayscale(100%) contrast(1.1) brightness(1.1);
    /* Elegant map look */
    transition: var(--transition);
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1) brightness(1);
    /* Reveal full color on hover */
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .contact-page-wrapper {
        padding: 60px 0;
    }

    .contact-form-col {
        padding: 30px 20px;
    }

    .map-container {
        height: 350px;
    }

    .map-section {
        padding-bottom: 60px;
    }
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    background-color: #000000;
    color: var(--primary) !important;
    font-size: 26px;
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: var(--primary);
    color: #ffffff !important;
}

.float-wa {}

.float-phone {}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
    }

    .float-phone {
        font-size: 20px;
    }
}