/* Critical Rendering Path Optimization */
* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Genel Stil Ayarları */
:root {
    --primary-blue: #007bff; /* Vurgu mavisi (Robco'ya benzer) */
    --primary-blue-dark: #0056b3;
    --primary-blue-light: #4da6ff;
    --dark-blue: #2c3e50; /* Koyu gri/mavi ton (Robco'nın koyu arka planları) */
    --light-gray: #f9f9f9; /* Açık gri arka plan */
    --text-dark: #333; /* Koyu metin rengi */
    --text-light: #f0f0f0; /* Açık metin rengi */
    --border-color: #e0e0e0; /* Genel kenarlık rengi */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-blue: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 123, 255, 0.8) 0%, rgba(0, 86, 179, 0.9) 100%);
    /* Modern gradient'ler */
    --gradient-modern: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-industrial: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --gradient-soft: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%);
    /* Performance: Reduce motion for users who prefer it */
    --transition-speed: 0.3s ease;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-speed: 0s;
    }
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; /* System fonts fallback */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.7; /* Daha rahat okunabilirlik */
    color: var(--text-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Başlıklar için Montserrat */
    color: var(--dark-blue);
    font-weight: 700;
    margin-top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px; /* Daha geniş modern spacing */
}

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

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

/* Header */
header {
    background: var(--dark-blue); /* Koyu mavi/gri header - eski renk */
    color: var(--text-light);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 8px 24px rgba(0, 0, 0, 0.12); /* Modern soft shadows korundu */
}

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

.logo a {
    font-size: 2.2rem; /* Logo boyutu */
    font-weight: 700;
    color: var(--primary-blue); /* Parlak mavi logo metni */
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}
.logo a:hover {
    color: #fff; /* Hover'da beyaza dönsün */
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
    padding-bottom: 8px;
    white-space: nowrap; /* Prevent text wrapping */
}

nav ul li a:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

nav ul li a::after { /* Alt çizgi animasyonu */
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}
.menu-toggle:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    /* background-image her sayfada inline style ile tanımlı (path farklılıkları için) */
    color: #fff;
    text-align: center;
    padding: 150px 0; /* Daha fazla boşluk */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden; /* Overlay'in taşmasını engeller */
    animation: heroFadeIn 1.2s ease-out;
}

/* Mobilde background-attachment: fixed performans sorunu yaratır */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-overlay { /* Görsel üzerine bindirme - mavi tonları kaldırıldı */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Sadece hafif siyah overlay */
    z-index: 1;
    animation: overlayFadeIn 1.5s ease-out;
}

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

/* Animated background particles effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 123, 255, 0.15) 0%, transparent 50%);
    z-index: 1;
    animation: particlesMove 20s ease-in-out infinite;
}

@keyframes particlesMove {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.1);
    }
}

.hero .container {
    position: relative;
    z-index: 2; /* İçerik overlay'in üzerinde kalsın */
}

.hero h1 {
    font-size: 5.5rem; /* Daha büyük ve modern */
    margin-bottom: 20px;
    color: #fff; /* Beyaz slogan */
    letter-spacing: -1px; /* Modern negative letter-spacing */
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    animation: slideUpFadeIn 1s ease-out 0.3s both;
    position: relative;
    line-height: 1.1; /* Daha sıkı satır aralığı */
}

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

.hero p {
    font-size: 1.6rem;
    margin-bottom: 50px;
    color: #eee;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    animation: slideUpFadeIn 1s ease-out 0.6s both;
}

.hero .btn {
    animation: slideUpFadeIn 1s ease-out 0.9s both;
}

.btn {
    display: inline-block;
    background: var(--gradient-blue);
    color: #fff;
    padding: 16px 40px;
    border-radius: 16px; /* Modern büyük border-radius */
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 
        0 4px 16px rgba(0, 123, 255, 0.3),
        0 0 0 0 rgba(0, 123, 255, 0.7); /* Soft shadow */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    background: var(--gradient-blue);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 24px rgba(0, 123, 255, 0.4),
        0 0 0 1px rgba(0, 123, 255, 0.1),
        0 16px 48px rgba(0, 123, 255, 0.3); /* Modern soft hover shadow */
}

.btn:active {
    transform: translateY(-2px) scale(0.98);
}

/* Section Styling - Generic */
section {
    padding: 120px 0; /* Daha geniş modern spacing */
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

/* Tüm section'ların görünür olmasını garanti et */
section,
section.visible,
section:not(.hero),
section.product-category-detail,
section.company-info-section,
section.products,
section.faq-section {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    transform: none !important;
}

/* İlk bölüm olan products, Hero'dan sonra tek sıra olduğu için light-gray */
section:nth-of-type(odd) { 
    background: var(--light-gray);
}

/* İkinci bölüm olan company-info, Hero'dan sonra çift sıra olduğu için white */
section:nth-of-type(even) { 
    background: #ffffff;
}

h2 {
    text-align: center;
    font-size: 3.5rem; /* Daha büyük font */
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out;
    letter-spacing: -0.5px; /* Modern negative letter-spacing */
    line-height: 1.2;
}

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

/* Modern başlık dekorasyonu - Sadece alt çizgi */
h2 {
    padding-bottom: 20px;
    position: relative;
}

/* Alt çizgi - gradient ve animasyonlu */
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: var(--gradient-blue);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s forwards;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.4);
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

/* Products Section */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 20px; /* Modern büyük border-radius */
    overflow: hidden;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 16px 48px rgba(0, 0, 0, 0.08); /* Soft layered shadows */
    text-align: center;
    padding-bottom: 25px;
    transition: var(--transition-smooth);
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }
.product-item:nth-child(7) { animation-delay: 0.7s; }
.product-item:nth-child(8) { animation-delay: 0.8s; }

/* Enhanced hover overlay with gradient */
.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.08) 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.product-item::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.product-item:hover::before {
    opacity: 1;
}

.product-item:hover::after {
    opacity: 1;
}

.product-item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 12px 40px rgba(0, 123, 255, 0.15),
        0 0 0 1px rgba(0, 123, 255, 0.1),
        0 24px 64px rgba(0, 123, 255, 0.2); /* Modern soft hover shadow */
    border-color: var(--primary-blue-light);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
    position: relative;
    z-index: 0;
}

.product-item:hover img {
    transform: scale(1.15) rotate(1deg);
    filter: brightness(1.15) contrast(1.1);
}

.product-item h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--dark-blue);
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
}

.product-item:hover h3 {
    color: var(--primary-blue);
}

.product-item p {
    font-size: 1.05rem;
    color: #666;
    padding: 0 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.product-item:hover p {
    color: #555;
}

.btn-small {
    display: inline-block;
    background: var(--gradient-blue);
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px; /* Modern border-radius */
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    box-shadow: 
        0 2px 8px rgba(0, 123, 255, 0.25),
        0 4px 16px rgba(0, 123, 255, 0.15); /* Soft shadow */
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.btn-small::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn-small:hover {
    background: var(--gradient-blue);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 6px 20px rgba(0, 123, 255, 0.4),
        0 0 0 1px rgba(0, 123, 255, 0.1),
        0 12px 32px rgba(0, 123, 255, 0.3); /* Modern soft hover shadow */
}


/* Firmamız Hakkında Kısa Bilgi Bölümü (Ana Sayfa için) */
.company-info-section .info-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    text-align: center; /* Metinleri ortala */
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto; /* Ortala */
}

.company-info-section .info-content p {
    margin-bottom: 0; /* Paragraflar arasında boşluk bırakmak için gap kullandık */
}

.company-info-section .btn-small {
    margin-top: 30px; /* Butonun üstüne boşluk */
}


/* Yeni Oluşturulan Hakkımızda Sayfası İçin Stiller */
.full-about-section {
    padding: 90px 0;
    background: var(--light-gray); /* Arka plan açık gri */
    color: var(--text-dark);
}

.full-about-section h2 {
    color: var(--dark-blue); /* Başlık koyu mavi */
}

.full-about-section .about-content-full {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.8;
    text-align: justify; /* Metinleri hizala */
}

.full-about-section .about-content-full p {
    margin-bottom: 25px;
}

.full-about-section .about-content-full h3 {
    font-size: 1.6rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--dark-blue);
    text-align: left; /* Başlıkları sola hizala */
}

.full-about-section .about-content-full ul {
    list-style: disc;
    padding-left: 30px;
    margin-bottom: 25px;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.6;
}

.full-about-section .about-content-full ul li {
    margin-bottom: 8px;
}


/* Kategori Detay Sayfası Stilleri (örn: bukum_makinalari.html) */
.product-category-detail {
    padding: 90px 0;
    background: var(--light-gray); /* Arka plan rengi */
}

.product-category-detail h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.product-category-detail h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--primary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.product-detail-grid { /* Kategori içindeki ürünlerin gridi */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-item-detail { /* Kategori içindeki tek bir ürün kutusu */
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item-detail:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.product-item-detail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-color);
}

.product-item-detail h3 {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: var(--dark-blue);
}

.product-item-detail p {
    font-size: 1.05rem;
    color: #666;
    padding: 0 20px;
    margin-bottom: 30px;
}

/* Tekil Ürün Detay Sayfası Stilleri (örn: ym530e.html) */
.product-single-detail {
    padding: 90px 0;
    background: #ffffff; /* Beyaz arka plan */
}

.product-single-detail h2 {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    text-transform: uppercase;
}

.product-single-detail h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background: var(--primary-blue);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.detail-content-wrapper {
    display: flex;
    flex-wrap: wrap; /* Küçük ekranlarda alt alta düşsün */
    gap: 50px; /* Görsel ve metin arası boşluk */
    max-width: 1000px; /* İçeriği ortala */
    margin: 0 auto;
    align-items: flex-start; /* Üstten hizala */
}

.detail-image {
    flex: 1; /* Esnek boyutlandırma */
    min-width: 300px; /* Minimum genişlik */
    text-align: center;
}

.detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.detail-text {
    flex: 2; /* Esnek boyutlandırma */
    min-width: 350px; /* Minimum genişlik */
    line-height: 1.8;
}

.detail-text h3 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 25px;
    text-align: left;
}

.detail-text ul {
    list-style: disc; /* Liste işaretleri */
    padding-left: 25px;
    margin-bottom: 30px;
    font-size: 1.05rem;
    color: #555;
}

.detail-text ul li {
    margin-bottom: 10px;
}

.specs-table {
    margin-top: 30px;
    margin-bottom: 40px;
    overflow-x: auto; /* Küçük ekranlarda tablo taşarsa kaydırma çubuğu çıksın */
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fefefe;
    border-radius: 8px;
    overflow: hidden; /* Köşelerin yuvarlak görünmesi için */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.specs-table th,
.specs-table td {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    text-align: left;
    font-size: 1.05rem;
}

.specs-table th {
    background-color: var(--dark-blue);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.specs-table tr:nth-child(even) {
    background-color: #f0f4f8; /* Her iki satırda bir arka plan rengi */
}

.contact-for-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-top: 30px;
    text-align: center;
}

.contact-for-quote a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
}
.contact-for-quote a:hover {
    color: #0056b3;
}


/* Contact Section */
.contact {
    background: #ffffff; /* BEYAZ ARKA PLAN YAPILDI */
    color: var(--text-dark); /* Metinler koyu olacak */
}

.contact h2 {
    color: var(--dark-blue); /* Başlık rengi koyu mavi/gri olacak */
}

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

.contact-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark); /* Genel iletişim metinleri koyu olacak */
}

.contact-content i {
    margin-right: 15px;
    color: var(--primary-blue); /* İkonlar mavi kalabilir */
    font-size: 1.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
    padding: 16px;
    border: 1px solid var(--border-color); /* Kenarlık rengi açık gri */
    border-radius: 8px;
    font-size: 1.1rem;
    background-color: #fff; /* Input arka planı beyaz */
    color: var(--text-dark); /* Inputa yazılan metin rengi koyu */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999; /* Placeholder rengi koyu gri */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue); /* Focuslandığında kenarlık mavi olsun */
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.contact-form button {
    padding: 18px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.contact-form button:hover {
    background: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--text-light);
    text-align: center;
    padding: 30px 0;
    font-size: 0.95rem;
    border-top: 1px solid #3a4f65;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.8rem;
    margin: 0 10px;
    transition: var(--transition-smooth);
    display: inline-block;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.social-links a:hover::before {
    width: 50px;
    height: 50px;
}

.social-links a:hover {
    color: var(--primary-blue);
    transform: translateY(-5px) scale(1.2);
}


/* Duyarlı Tasarım (Responsive Design) */
@media (max-width: 992px) {
    .detail-content-wrapper {
        flex-direction: column;
        align-items: center;
    }
    .detail-image,
    .detail-text {
        min-width: unset;
        width: 100%;
    }
    .detail-text h3 {
        text-align: center;
    }
}


@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 70px; /* Header yüksekliğine göre ayarla */
        left: 0;
        width: 100%;
        background: var(--dark-blue);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 999;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 0;
        border-bottom: 1px solid #4a627d;
    }

    nav ul li:last-child {
        border-bottom: none;
    }

    nav ul li a {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        min-height: 44px; /* Touch target için */
    }

    .menu-toggle {
        display: block;
        min-width: 44px;
        min-height: 44px;
    }

    /* JavaScript ile açıldığında navigasyon */
    nav.active {
        display: flex;
    }

    /* Hero Section Mobil İyileştirmeleri */
    .hero {
        padding: 100px 0;
        min-height: 500px;
        background-attachment: scroll; /* Mobilde fixed performans sorunu yaratır */
    }

    .hero h1 {
        font-size: 2.5rem;
        padding: 0 15px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1.1rem;
        padding: 0 15px;
    }

    h2 {
        font-size: 2.2rem;
        padding: 0 15px;
    }

    .logo a {
        font-size: 1.8rem;
    }

    .product-grid,
    .product-detail-grid { /* Hem ana sayfa ürün gridi hem de kategori sayfası gridi için */
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-item {
        margin-bottom: 0;
    }

    .info-content, .about-content-full { /* Firmamız ve Hakkımızda sayfaları için */
        font-size: 1rem;
        padding: 0 15px;
    }

    .contact-content { /* İletişim bölümü için */
        font-size: 1rem;
        padding: 0 15px;
    }

    .btn {
        padding: 14px 30px;
        font-size: 1rem;
        min-height: 44px; /* Touch target için */
        min-width: 44px;
    }

    .btn-small {
        min-height: 44px;
        min-width: 44px;
    }

    /* FAQ Mobil İyileştirmeleri */
    .faq-section {
        padding: 60px 0;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 1rem;
        min-height: 44px; /* Touch target için */
    }

    .faq-answer {
        padding: 0 20px 18px 20px;
        font-size: 0.95rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 18px 20px;
    }

    /* Solutions Grid Mobil */
    .solutions-grid {
        flex-direction: column;
        gap: 15px;
    }

    .solutions-column {
        max-width: 100%;
    }

    /* Section Padding Mobil */
    section {
        padding: 60px 0;
    }

    /* Video Container Mobil */
    .video-wrapper {
        margin: 0 15px;
    }

    /* Listeler için responsive ayarlama (sadece about.html'de kalacak) */
    .full-about-section .about-content-full ul {
        padding-left: 15px; /* Daha az girinti */
    }
    .detail-text ul {
        font-size: 1rem;
    }
    .specs-table th, .specs-table td {
        font-size: 0.95rem;
        padding: 10px 15px;
    }

    /* Container Padding Mobil */
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    /* Çok küçük ekranlar için ekstra optimizasyonlar */
    .hero {
        padding: 80px 0;
        min-height: 400px;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 10px;
        letter-spacing: 1px;
    }
    
    .hero p {
        font-size: 1rem;
        padding: 0 10px;
    }
    
    h2 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .logo a {
        font-size: 1.5rem;
    }

    .logo img {
        max-height: 40px;
    }

    .product-item img,
    .product-item-detail img,
    .detail-image img { /* Tüm ürün görselleri için */
        height: 180px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }

    .btn-small {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 15px 18px;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 18px 15px 18px;
        font-size: 0.9rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 18px 15px 18px;
    }

    section {
        padding: 50px 0;
    }

    .container {
        padding: 0 10px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* iOS zoom önleme */
    }

    /* Header mobil */
    header {
        padding: 0.8rem 0;
    }

    header .container {
        padding: 0 10px;
    }
}

/* Logo Resminin Boyutunu Ayarlamak İçin Eklendi */
.logo img {
    max-height: 50px; /* Header yüksekliğine göre ayarlandı. */
    width: auto;      /* Resmin en-boy oranının bozulmasını engeller. */
    vertical-align: middle; /* Logonun menü yazılarına göre dikeyde ortalanmasını sağlar. */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Icon Animations */
.fas, .fab {
    transition: var(--transition-smooth);
}

.fas:hover, .fab:hover {
    transform: scale(1.2) rotate(5deg);
}

/* Section Background Gradients */
section:nth-of-type(odd) {
    position: relative;
    overflow: hidden;
}

section:nth-of-type(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.02) 0%, rgba(102, 126, 234, 0.02) 100%);
    pointer-events: none;
    z-index: 0;
}

section:nth-of-type(odd) > .container {
    position: relative;
    z-index: 1;
}

/* Enhanced Header with subtle animation */
header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Smooth scroll reveal animations */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    animation: reveal 0.8s ease-out;
}

/* Enhanced Product Grid with stagger animation */
.product-grid {
    animation: fadeInUp 0.8s ease-out;
}

/* Modern Card Hover Effects */
.product-item-detail {
    position: relative;
    overflow: hidden;
}

.product-item-detail::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.product-item-detail:hover::after {
    opacity: 1;
}

/* Enhanced Button Glow Effect */
.btn, .btn-small {
    position: relative;
}

.btn::after, .btn-small::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after, .btn-small:hover::after {
    width: 300px;
    height: 300px;
}

/* Modern Checkmark Icons with Enhanced Animations */
.fa-check {
    color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.1);
    padding: 8px;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition-smooth);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.fa-check::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.solutions-column li:hover .fa-check::before {
    width: 40px;
    height: 40px;
}

.solutions-column li:hover .fa-check {
    background: var(--primary-blue);
    color: #fff;
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
}

/* Pulse animation for check icons */
@keyframes checkPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(0, 123, 255, 0);
    }
}

.solutions-column li .fa-check {
    animation: checkPulse 2s ease-in-out infinite;
}

.solutions-column li:hover .fa-check {
    animation: none;
}

/* Enhanced Solutions Grid */
.solutions-grid {
    animation: fadeInUp 0.8s ease-out;
}

/* Modern Engineering Approach Cards */
.approach-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.approach-card {
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px; /* Modern büyük border-radius */
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06); /* Soft layered shadows */
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 123, 255, 0.1);
}

.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.approach-card:hover::before {
    transform: scaleX(1);
}

.approach-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 123, 255, 0.15),
        0 0 0 1px rgba(0, 123, 255, 0.1),
        0 24px 64px rgba(0, 123, 255, 0.2); /* Modern soft hover shadow */
    border-color: var(--primary-blue-light);
}

.approach-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    transition: var(--transition-smooth);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.approach-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.approach-card:hover .approach-icon::before {
    width: 100px;
    height: 100px;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.5);
}

.approach-card h3 {
    color: var(--dark-blue);
    margin-bottom: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.approach-card:hover h3 {
    color: var(--primary-blue);
}

.approach-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.solutions-column li {
    transition: var(--transition-smooth);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
}

.solutions-column li i {
    flex-shrink: 0;
    margin-right: 12px;
    margin-top: 5px;
}

.solutions-column li .solution-text {
    flex: 1;
    min-width: 0;
}

.solutions-column li strong {
    display: block;
    margin-bottom: 3px;
    word-break: normal;
    line-height: 1.4;
}

.solutions-column li .solution-text span {
    display: block;
    line-height: 1.5;
}

.solutions-column li:hover {
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(10px);
    padding-left: 15px;
}

/* Video Container Enhancement */
.video-wrapper {
    transition: var(--transition-smooth);
    border: 3px solid transparent;
}

.video-wrapper:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 123, 255, 0.3);
    border-color: var(--primary-blue);
}

/* Contact Form Enhancements */
.contact-form input:focus,
.contact-form textarea:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

/* Loading Animation for Images */
.product-item img,
.product-item-detail img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Remove loading animation when image loads */
.product-item img[loading="lazy"]:not([src=""]),
.product-item-detail img[loading="lazy"]:not([src=""]) {
    animation: none;
    background: transparent;
}

/* Scroll Progress Indicator */
@keyframes scrollProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* Enhanced Footer */
footer {
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-smooth);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--gradient-blue);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.6);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

.scroll-to-top i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive scroll to top */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.3rem;
        min-width: 44px; /* Touch target için */
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.2rem;
    }
}

/* FAQ Accordion Styles */
.faq-section {
    padding: 90px 0;
    background: #ffffff;
}

.faq-section h2 {
    margin-bottom: 50px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
    transition: var(--transition-smooth);
    position: relative;
}

.faq-question:hover {
    color: var(--primary-blue);
    background: rgba(0, 123, 255, 0.02);
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.1);
}

.faq-item.active .faq-question::after {
    content: '−';
    transform: rotate(180deg);
    background: var(--primary-blue);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
    color: #666;
    line-height: 1.8;
    font-size: 1.05rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px 25px;
}

.faq-answer p {
    margin: 0;
    padding-top: 10px;
}
}