/* Custom CSS Stilleri */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a202c;
    color: #e2e8f0;
}

.hero-bg {
    background-color: rgba(0,0,0,0.6); /* Fallback renk */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-image: url('../webp/hero-placeholder.webp'); /* Placeholder görsel */
    background-size: cover;
    background-position: center;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
    object-fit: cover;
    opacity: 0; /* Başlangıçta video gizli */
    transition: opacity 0.3s ease; /* Yumuşak geçiş */
}

.hero-video.loaded {
    opacity: 1; /* Video yüklendiğinde göster */
}


.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #38bdf8;
    transition: width 0.3s ease;
}

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

.lang-switcher a:hover {
    color: #38bdf8;
}

.btn-primary {
    border: 2px solid #38bdf8;
    color: #38bdf8;
    transition: all 0.3s ease;
    
}

.btn-primary:hover {
    background-color: #38bdf8;
    color: #1a202c;
}

.service-card {
    background-color: #2d3748;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.owl-carousel .item {
    background: #2d3748;
    padding: 2rem;
    border-radius: 0.5rem;
}
  .owl-dots .owl-dot.active span, .owl-dots .owl-dot:hover span {
    background: #38bdf8 !important;
}

/* Animasyonlu Gradyan Başlık */
/* Yanıp sönen animasyon (mevcut) */
.animated-gradient-text {
    background: linear-gradient(-45deg, #38bdf8, #0ea5e9, #3b82f6, #2563eb);
    background-size: 300% 300%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-animation 3s ease infinite;
    position: relative;
}

/* Soldan sağa akan animasyon */
.gradient-left-to-right {
    background: linear-gradient(to right, #38bdf8, #0ea5e9, #3b82f6, #2563eb, #38bdf8);
    background-size: 200% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-left-to-right 4s linear infinite;
    position: relative;
}

/* Sağdan sola akan animasyon */
.gradient-right-to-left {
    background: linear-gradient(to right, #38bdf8, #0ea5e9, #3b82f6, #2563eb, #38bdf8);
    background-size: 200% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-right-to-left 4s linear infinite;
    position: relative;
}

.sparkling-star {
    display: inline-block;
    animation: sparkling 1.5s ease-in-out infinite alternate;
    transform-origin: center;
}

@keyframes sparkling {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2) rotate(15deg);
        opacity: 1;
        text-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
}

/* Mevcut yanıp sönen animasyon */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Soldan sağa akan animasyon */
@keyframes gradient-left-to-right {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* Sağdan sola akan animasyon */
@keyframes gradient-right-to-left {
    0% {
        background-position: 200% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-title {
    position: relative;
    display: inline-block;
}

.gradient-text {
    background: linear-gradient(-45deg, #38bdf8, #0ea5e9, #3b82f6, #2563eb);
    background-size: 300% 300%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradient-animation 3s ease infinite;
}

/* Pervane Bul Form Stilleri */
.form-legend {
    color: #38bdf8;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
}

.form-fieldset {
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

.form-fieldset:last-of-type {
    border-bottom: none;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #e2e8f0;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(51, 65, 85, 0.5);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 0.375rem;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* iOS 12-15 için özel düzeltmeler */
.ios-old-fix {
    /* Backdrop blur desteğini kapatma */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* iOS 12-15 için flex ve grid alternatif çözümleri */
/* Removed obsolete .ios-old-fix .grid rule to restore native CSS Grid support on iOS 12-15 */

/* iOS 12-15 için border radius sorunları */
.ios-old-fix .rounded-lg, 
.ios-old-fix .rounded-xl, 
.ios-old-fix .rounded-2xl,
.ios-old-fix .rounded-full {
    overflow: hidden;
}

/* iOS 12-15 için hero video düzeltmesi */
.ios-old-fix .hero-video {
    position: fixed;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
}

/* iOS 12-15 için gradyan animasyon düzeltmeleri */
.ios-old-fix .animated-gradient-text,
.ios-old-fix .gradient-left-to-right,
.ios-old-fix .gradient-right-to-left,
.ios-old-fix .gradient-text {
    background: #38bdf8 !important; /* Animasyon yerine sabit renk */
    color: transparent !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: none !important;
}

/* iOS 15 için özel metin düzeltmeleri - başlıkların kesilme ve iç içe girme sorunları */
.ios-old-fix h1, 
.ios-old-fix h2, 
.ios-old-fix h3, 
.ios-old-fix .text-4xl,
.ios-old-fix .text-5xl,
.ios-old-fix .text-6xl {
    letter-spacing: -0.02em !important; /* Harfler arası boşluğu azalt */
    word-spacing: 0.05em !important;    /* Kelimeler arası boşluğu artır */
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    -webkit-hyphens: auto !important;
    hyphens: auto !important;
    line-height: 1.3 !important;        /* Satır yüksekliğini artır */
    max-width: 100% !important;         /* Taşmayı engelle */
    padding-right: 5px !important;      /* Sağdan küçük bir boşluk ekle */
    -webkit-text-size-adjust: 100% !important; /* iOS metin ölçeklendirmeyi kontrol et */
}

/* iOS 15 için "Kalite ve Hassasiyet" bölümü düzeltmeleri */
.ios-old-fix .aspect-w-16.aspect-h-9 .absolute.bottom-0 {
    background: rgba(0, 0, 0, 0.8) !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 16px !important;
    max-width: 100% !important;
    width: 100% !important;
    min-height: 140px !important; /* Minimum yükseklik ekleyerek kaybolmasını engeller */
    z-index: 10 !important; /* Z-index ekleyerek görünürlüğü sağlar */
}

.ios-old-fix .aspect-w-16.aspect-h-9 .absolute.bottom-0 p {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    display: block !important; /* Her zaman görünmesini sağlar */
    color: rgba(255,255,255,0.9) !important; /* Daha iyi okunabilirlik */
}

.ios-old-fix .ios-text-container h3,
.ios-old-fix .ios-section-title {
    font-size: 1.35rem !important;
    margin-bottom: 8px !important;
    font-weight: 700 !important;
    color: white !important;
    display: block !important; /* Her zaman görünmesini sağlar */
    text-align: left !important;
}

/* iOS 15'te gradient başlıklar için özel düzeltme */
.ios-old-fix .gradient-right-to-left,
.ios-old-fix .gradient-left-to-right {
    background: #38bdf8 !important;     /* Gradyanı basitleştir */
    -webkit-text-fill-color: transparent !important; /* iOS 15'te bu daha güvenilir */
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: none !important;
    display: inline-block !important;   /* Inline block olarak göster */
    max-width: 100% !important;         /* Genişliği sınırla */
    white-space: normal !important;     /* Normal metin sarma */
    text-align: center !important;      /* Merkeze hizala */
    overflow: visible !important;       /* Taşmayı göster */
    word-break: break-word !important;  /* Uzun kelimeleri kır */
    word-wrap: break-word !important;   /* Kelime kaydırma */
}

/* iOS 15 için özel başlık düzeltmesi - "PERVANE ÜRETİM SÜRECİ" ve "KALİTELİ PERVANE ÇÖZÜMLERİ" */
.ios-old-fix h1 .gradient-right-to-left,
.ios-old-fix h1 .gradient-left-to-right,
.ios-old-fix h2 .gradient-right-to-left,
.ios-old-fix h2 .gradient-left-to-right,
.ios-old-fix .ios-heading-fix .gradient-right-to-left,
.ios-old-fix .ios-heading-fix .gradient-left-to-right {
    font-size: 90% !important;          /* Başlık boyutunu biraz küçült */
    line-height: 1.2 !important;        /* Satır yüksekliğini düzelt */
    letter-spacing: -0.03em !important; /* Harfler arası boşluğu azalt */
    padding: 0 !important;              /* İç boşluğu kaldır */
    margin: 0 !important;               /* Dış boşluğu kaldır */
    display: inline !important;         /* Inline olarak göster (blok değil) */
    vertical-align: baseline !important; /* Dikey hizalamayı düzelt */
    position: relative !important;      /* Pozisyonlamayı kontrol et */
    width: auto !important;             /* Genişliği otomatik yap */
}

/* iOS 15'te büyük başlık kesilme sorunu için özel düzeltme */
.ios-old-fix .text-6xl {
    font-size: 2.5rem !important;       /* Başlık boyutunu küçült */
}

/* iOS 15'te başlık taşma sorunları için ekstra konteyner düzeltmesi */
.ios-old-fix .heading-container {
    width: 100% !important;
    overflow: hidden !important;
    padding: 0 10px !important;
}

/* iOS 15 için gradient başlık düzeltmesi */
.ios-old-fix .ios-fix-heading {
    display: inline-block !important;
    background: #38bdf8 !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    padding: 0 5px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    letter-spacing: -0.02em !important;
    color: transparent !important;
    animation: none !important;
}

/* iOS 15 için basit başlık düzeltmesi */
.ios-old-fix .gradient-right-to-left {
    background: #38bdf8 !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: none !important;
    font-size: 0.95em !important;
}

/* iOS 15 için özel düzeltme */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  _::-webkit-full-page-media, _:future, :root .gradient-right-to-left, :root .gradient-left-to-right {
    background-color: #38bdf8 !important;
    color: transparent !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    padding: 0 10px !important;
    width: auto !important;
    display: inline-block !important;
  }
  
  _::-webkit-full-page-media, _:future, :root h1.text-6xl {
    font-size: 2.5rem !important;
    line-height: 1.3 !important;
    padding: 0 10px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100vw !important;
  }
  
  /* iOS 15 için görsel açıklama metni düzeltmesi */
  _::-webkit-full-page-media, _:future, :root .aspect-w-16.aspect-h-9 .absolute.bottom-0 {
    bottom: 0 !important;
    padding: 16px !important;
    max-width: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
  }
  
  _::-webkit-full-page-media, _:future, :root .aspect-w-16.aspect-h-9 .absolute.bottom-0 p {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
  }
  
  _::-webkit-full-page-media, _:future, :root .aspect-w-16.aspect-h-9 .absolute.bottom-0 h3 {
    font-size: 1.25rem !important;
    margin-bottom: 8px !important;
  }
  
  /* Yatay modda başlıkların görünümünü düzelt */
  @media (orientation: landscape) {
    _::-webkit-full-page-media, _:future, :root h1.text-6xl {
      font-size: 2.25rem !important;
      max-width: 90vw !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
  }
}

.form-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 0.25rem;
    background-color: rgba(51, 65, 85, 0.7);
    margin-right: 0.75rem;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
}

.form-checkbox:checked {
    background-color: #38bdf8;
    border-color: #38bdf8;
}

.form-checkbox:checked::after {
    content: '✓';
    font-size: 0.875rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.form-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 33.333%;
    position: relative;
}

.step::before {
    content: '';
    position: absolute;
    top: 1rem;
    left: -50%;
    width: 100%;
    height: 3px;
    background-color: rgba(148, 163, 184, 0.3);
    z-index: 0;
}

.step:first-child::before {
    display: none;
}

.step.active .step-number {
    background-color: #38bdf8;
    border-color: #38bdf8;
}

.step.completed .step-number {
    background-color: #10b981;
    border-color: #10b981;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 2px solid rgba(148, 163, 184, 0.3);
    background-color: rgba(51, 65, 85, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: all 0.3s ease;
}

.step.active .step-title {
    color: #38bdf8;
    font-weight: 600;
}

.step.completed .step-title {
    color: #10b981;
    font-weight: 600;
}

.boat-illustration {
    max-width: 100%;
    margin: 2rem auto;
    display: block;
    position: relative;
}

.dimension-label {
    position: absolute;
    font-size: 0.75rem;
    color: #38bdf8;
    font-weight: 600;
}

/* Ürünler Sayfası Stilleri */
.product-category-btn {
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 9999px;
    background-color: rgba(30, 41, 59, 0.7);
    color: #e2e8f0;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.product-category-btn:hover {
    border-color: rgba(56, 189, 248, 0.8);
    background-color: rgba(56, 189, 248, 0.1);
}

.product-category-btn.active {
    background-color: rgba(56, 189, 248, 0.2);
    border-color: #38bdf8;
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

.product-card {
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.product-card.hidden {
    display: none;
}

.product-card.fade {
    opacity: 0;
    transform: translateY(20px);
}

.product-details-btn {
    background-color: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.product-details-btn:hover {
    background-color: rgba(56, 189, 248, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

/* Ürün Detayları Modal */
@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#product-modal {
    animation: modal-fade-in 0.3s ease-out;
}

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

.spec-item {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
}

.spec-label {
    color: #94a3b8;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.spec-value {
    color: #e2e8f0;
    font-weight: 600;
}

.calculated {
    background-color: #e0f2fe; /* light-blue-100 */
    border-color: #38bdf8; /* light-blue-400 */
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
}

.sea-condition-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 0.5rem;
    background-color: rgba(51, 65, 85, 0.5);
    color: #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sea-condition-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(56, 189, 248, 0.2);
    transform: translateX(-100%);
    transition: all 0.3s ease;
    z-index: -1;
}

.sea-condition-btn:hover::before {
    transform: translateX(0);
}

.sea-condition-btn.active {
    background-color: rgba(56, 189, 248, 0.3);
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.simulation-container {
    border-radius: 0.75rem;
    overflow: hidden;
    position: relative;
    min-height: 400px;
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
}

.wave-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(12, 74, 110, 0.6) 0%, rgba(14, 165, 233, 0.2) 70%, rgba(186, 230, 253, 0.1) 100%);
    opacity: 0.7;
    z-index: 1;
}

.calm-sea .wave-animation {
    animation: calm-waves 6s ease-in-out infinite;
}

.moderate-sea .wave-animation {
    animation: moderate-waves 4s ease-in-out infinite;
}

.rough-sea .wave-animation {
    animation: rough-waves 2.5s ease-in-out infinite;
}

@keyframes calm-waves {
    0%, 100% {
        transform: translateY(3px) rotate(0deg);
    }
    50% {
        transform: translateY(-3px) rotate(0.5deg);
    }
}

@keyframes moderate-waves {
    0%, 100% {
        transform: translateY(8px) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes rough-waves {
    0%, 100% {
        transform: translateY(15px) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.boat-model {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    transition: all 0.5s ease;
}

.boat-model img {
    width: 300px;
    height: auto;
    transition: all 0.5s ease;
}

.calm-sea .boat-model {
    animation: calm-boat 6s ease-in-out infinite;
}

.moderate-sea .boat-model {
    animation: moderate-boat 4s ease-in-out infinite;
}

.rough-sea .boat-model {
    animation: rough-boat 2.5s ease-in-out infinite;
}

@keyframes calm-boat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -51%) rotate(0.5deg);
    }
}

@keyframes moderate-boat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-1deg);
    }
    50% {
        transform: translate(-50%, -52%) rotate(1deg);
    }
}

@keyframes rough-boat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(-3deg);
    }
    50% {
        transform: translate(-50%, -55%) rotate(3deg);
    }
}

.propeller-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.propeller-option {
    border: 2px solid transparent;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(51, 65, 85, 0.5);
    width: 100px;
    text-align: center;
}

.propeller-option:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.propeller-option.selected {
    border-color: #38bdf8;
    background-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.propeller-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.5rem;
}

.propeller-name {
    font-size: 0.875rem;
    font-weight: 500;
}

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

.metric-card {
    background-color: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
    border-color: rgba(56, 189, 248, 0.5);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

.cfd-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.5;
    mix-blend-mode: screen;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all 0.3s ease;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: rgba(148, 163, 184, 0.3);
    color: #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

.tooltip-content {
    visibility: hidden;
    width: 200px;
    background-color: rgba(15, 23, 42, 0.95);
    color: #e2e8f0;
    text-align: center;
    border-radius: 0.375rem;
    padding: 0.75rem;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
}

.tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.form-section {
    display: none;
}

.form-section.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

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

#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #38bdf8;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 18px;
    transition: opacity 0.3s, visibility 0.3s;
}

#scrollToTopBtn:hover {
    background-color: #0ea5e9;
}

/* Mobil Menü Stilleri */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Gemini API Yükleme Animasyonu */
.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: #38bdf8;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Pervane Hesaplayıcı Stilleri */
.input-group {
    display: grid;
    grid-template-columns: 1.2fr 2fr 1fr;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 640px) {
    .input-group {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .input-group .unit-text {
        display: none; /* Mobilde birimleri gizle */
    }
}

.calculated {
    background-color: #e0f2fe; /* light-blue-100 */
    border-color: #38bdf8; /* light-blue-400 */
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.4);
}

/* Accordion Stilleri */
.category-accordion {
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.category-header {
    padding: 1.5rem;
    cursor: pointer;
    border-left: 4px solid #38bdf8;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-header:hover {
    background-color: rgba(56, 189, 248, 0.1);
}

.category-content {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.category-content.active {
    display: block;
}

.category-arrow {
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.category-arrow.rotated {
    transform: rotate(180deg);
}

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

.product-item {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9)), url('../assets/images/pervane.jpeg');
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.product-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.1), transparent);
    transition: left 0.5s ease;
}

.product-item:hover::before {
    left: 100%;
}

.product-item:hover {
    transform: translateY(-5px);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.3);
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.spec-item {
    background: rgba(30, 41, 59, 0.5);
    padding: 0.5rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.spec-label {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.spec-value {
    font-weight: 600;
    color: #e2e8f0;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(56, 189, 248, 0.2);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1e293b, #334155);
    margin: 3% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(59, 130, 246, 0.1));
    padding: 24px;
    border-radius: 20px 20px 0 0;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 24px;
}

.close {
    color: #94a3b8;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover {
    color: #38bdf8;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.spec-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.spec-title {
    font-weight: 600;
    color: #38bdf8;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-main {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.spec-sub {
    font-size: 14px;
    color: #94a3b8;
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    background: url('../assets/images/pervane.jpeg');
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin: 0 auto 20px;
    border: 2px solid rgba(56, 189, 248, 0.3);
}

/* İletişim Sayfası Stilleri */
.contact-card {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: 1px solid #4b5563;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: #38bdf8;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.1);
    transform: translateY(-5px);
}

.contact-icon {
    background: linear-gradient(135deg, #38bdf8, #3b82f6);
    color: white;
}

.map-container {
    background-color: #374151;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #4b5563;
}

.contact-form {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border: 1px solid #374151;
}

.form-input {
    background-color: #374151;
    border: 1px solid #4b5563;
    color: #e5e7eb;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    border-color: #38bdf8;
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.working-hours {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    border: 1px solid #059669;
}

/* ==========================================
   LIGHT MODE OVERRIDES
   ========================================== */
html:not(.dark) body {
    background-color: #f8fafc !important;
    color: #334155 !important;
}

/* Header & Navigation */
html:not(.dark) #header {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05) !important;
}
html:not(.dark) #header img {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
html:not(.dark) .nav-link {
    color: #475569 !important;
}
html:not(.dark) .nav-link:hover,
html:not(.dark) .nav-link.active {
    color: #0284c7 !important;
}
html:not(.dark) .nav-link::after {
    background-color: #0284c7 !important;
}

/* Hamburger & Icons */
html:not(.dark) #mobile-menu-button {
    color: #0f172a !important;
}
html:not(.dark) #close-mobile-menu {
    color: #0f172a !important;
}
html:not(.dark) #theme-toggle {
    color: #475569 !important;
}
html:not(.dark) #theme-toggle:hover {
    color: #0284c7 !important;
}
html:not(.dark) #theme-toggle-mobile {
    color: #475569 !important;
}
html:not(.dark) #theme-toggle-mobile:hover {
    color: #0284c7 !important;
}

/* Language Switcher */
html:not(.dark) .lang-switcher a {
    color: #64748b !important;
}
html:not(.dark) .lang-switcher a:hover,
html:not(.dark) .lang-switcher a.text-sky-400 {
    color: #0284c7 !important;
}
html:not(.dark) .lang-switcher span {
    color: #cbd5e1 !important;
}

/* Mobile Menu */
html:not(.dark) #mobile-menu {
    background-color: #ffffff !important;
    border-left: 1px solid #e2e8f0 !important;
}
html:not(.dark) #mobile-menu h2 {
    color: #0f172a !important;
}
html:not(.dark) #mobile-menu .mobile-nav-link {
    color: #475569 !important;
}
html:not(.dark) #mobile-menu .mobile-nav-link:hover {
    color: #0284c7 !important;
}

/* Generic Section Styles */
html:not(.dark) section:not(.hero-section) {
    background-color: #f8fafc !important;
}
html:not(.dark) section.bg-gray-800\/50,
html:not(.dark) section#products,
html:not(.dark) section#contact,
html:not(.dark) section#uretim-sureci,
html:not(.dark) section#uretim {
    background-color: #ffffff !important;
    background-image: none !important;
}
html:not(.dark) section.bg-gradient-to-b {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 100%) !important;
}
html:not(.dark) section.bg-gray-800\/20 {
    background-color: #f1f5f9 !important;
}

/* Card Elements (Stats, Contact, Services) */
html:not(.dark) .bg-gray-800\/50,
html:not(.dark) .bg-gray-800\/30,
html:not(.dark) .contact-card,
html:not(.dark) .contact-form,
html:not(.dark) .metric-card,
html:not(.dark) .spec-item,
html:not(.dark) .propeller-option {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}
html:not(.dark) .contact-card:hover,
html:not(.dark) .metric-card:hover,
html:not(.dark) .propeller-option:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
}

/* Accordion & Products */
html:not(.dark) .category-accordion {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: #e2e8f0 !important;
}
html:not(.dark) .category-header {
    border-left-color: #0284c7 !important;
}
html:not(.dark) .category-header:hover {
    background-color: rgba(2, 132, 199, 0.05) !important;
}
html:not(.dark) .category-header h2 span {
    background: linear-gradient(to right, #0284c7, #0369a1) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}
html:not(.dark) .category-header p {
    color: #64748b !important;
}
html:not(.dark) .product-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94)), url('../assets/images/pervane.jpeg') !important;
    background-size: cover !important;
    border-color: #e2e8f0 !important;
}
html:not(.dark) .product-item h3 {
    color: #0284c7 !important;
}
html:not(.dark) .product-item p {
    color: #475569 !important;
}
html:not(.dark) .product-item button {
    border-color: rgba(2, 132, 199, 0.3) !important;
    color: #0284c7 !important;
}
html:not(.dark) .product-item button:hover {
    background-color: rgba(2, 132, 199, 0.1) !important;
}
html:not(.dark) .category-stats {
    border-top-color: #e2e8f0 !important;
}
html:not(.dark) .category-stats span {
    color: #64748b !important;
}

/* Badges */
html:not(.dark) .bg-sky-500\/20 {
    background-color: rgba(2, 132, 199, 0.1) !important;
    color: #0284c7 !important;
}
html:not(.dark) .bg-green-500\/20 {
    background-color: rgba(21, 128, 61, 0.1) !important;
    color: #15803d !important;
}
html:not(.dark) .bg-purple-500\/20 {
    background-color: rgba(109, 40, 217, 0.1) !important;
    color: #6d28d9 !important;
}
html:not(.dark) .bg-orange-500\/20 {
    background-color: rgba(194, 65, 12, 0.1) !important;
    color: #c2410c !important;
}
html:not(.dark) .bg-blue-500\/20 {
    background-color: rgba(29, 78, 216, 0.1) !important;
    color: #1d4ed8 !important;
}
html:not(.dark) .bg-red-500\/20 {
    background-color: rgba(185, 28, 28, 0.1) !important;
    color: #b91c1c !important;
}
html:not(.dark) .bg-teal-500\/20 {
    background-color: rgba(15, 118, 110, 0.1) !important;
    color: #0f766e !important;
}

/* Form inputs globally */
html:not(.dark) input,
html:not(.dark) textarea,
html:not(.dark) select,
html:not(.dark) .form-input {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
html:not(.dark) input:focus,
html:not(.dark) textarea:focus,
html:not(.dark) select:focus,
html:not(.dark) .form-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}
html:not(.dark) input::placeholder,
html:not(.dark) textarea::placeholder {
    color: #94a3b8 !important;
}
html:not(.dark) label {
    color: #475569 !important;
}

/* Modals */
html:not(.dark) .modal {
    background-color: rgba(15, 23, 42, 0.5) !important;
}
html:not(.dark) .modal-content {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1) !important;
}
html:not(.dark) .modal-header {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), rgba(59, 130, 246, 0.05)) !important;
    border-bottom-color: #e2e8f0 !important;
}
html:not(.dark) .modal-header h2 {
    color: #0f172a !important;
}
html:not(.dark) .modal-body #modalDescription {
    color: #334155 !important;
}
html:not(.dark) .spec-card {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
html:not(.dark) .spec-title {
    color: #0284c7 !important;
}
html:not(.dark) .spec-main {
    color: #0f172a !important;
}
html:not(.dark) .spec-sub {
    color: #64748b !important;
}
html:not(.dark) .close {
    color: #64748b !important;
}
html:not(.dark) .close:hover {
    color: #0284c7 !important;
}

/* Gemini Intelligent Advisor Result */
html:not(.dark) #recommendation-result {
    background-color: #f1f5f9 !important;
    border-color: rgba(2, 132, 199, 0.2) !important;
    color: #0f172a !important;
}
html:not(.dark) #recommendation-content {
    color: #334155 !important;
}
html:not(.dark) .loader {
    border-color: #e2e8f0 !important;
    border-bottom-color: #0284c7 !important;
}

/* Propeller Calculator CTA Card - Dark Mode (Default) */
#propeller-calc-cta .max-w-4xl {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url('https://www.pervanehesabi.com/images/nightback.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}

/* Propeller Calculator CTA Card - Light Mode */
html:not(.dark) #propeller-calc-cta .max-w-4xl {
    background-image: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url('https://www.pervanehesabi.com/images/dayback.webp') !important;
    background-size: cover !important;
    background-position: center !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 20px 40px -15px rgba(14, 165, 233, 0.15) !important;
}
html:not(.dark) #propeller-calc-cta h2 span:first-child {
    color: #0369a1 !important; /* deep ocean blue */
}

/* Working Hours Card stays dark teal for design accent */
html:not(.dark) .working-hours {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%) !important;
    border-color: #14b8a6 !important;
}
html:not(.dark) .working-hours h3,
html:not(.dark) .working-hours h4,
html:not(.dark) .working-hours p {
    color: #ffffff !important;
}

/* Footer has a clean modern light theme in light mode */
html:not(.dark) footer {
    background-color: #f1f5f9 !important;
    border-top: 1px solid #cbd5e1 !important;
}
html:not(.dark) footer h5 {
    color: #0f172a !important;
}
html:not(.dark) footer p,
html:not(.dark) footer a {
    color: #475569 !important;
}
html:not(.dark) footer a:hover {
    color: #0284c7 !important;
}
html:not(.dark) footer .border-t,
html:not(.dark) footer .border-gray-800 {
    border-color: #cbd5e1 !important;
}
html:not(.dark) footer .text-gray-300 {
    color: #475569 !important;
}
html:not(.dark) footer .text-gray-300:hover {
    color: #0284c7 !important;
}

/* Text Colors conversion globally for light mode sections (excludes hero sections, headers, footers) */
html:not(.dark) section:not(.hero-section):not(header):not(footer) h1,
html:not(.dark) section:not(.hero-section):not(header):not(footer) h2,
html:not(.dark) section:not(.hero-section):not(header):not(footer) h3,
html:not(.dark) section:not(.hero-section):not(header):not(footer) h4,
html:not(.dark) section:not(.hero-section):not(header):not(footer) h5,
html:not(.dark) section:not(.hero-section):not(header):not(footer) .text-white {
    color: #0f172a !important;
}
html:not(.dark) section:not(.hero-section):not(header):not(footer) p,
html:not(.dark) section:not(.hero-section):not(header):not(footer) span:not(.gradient-text):not(.gradient-left-to-right):not(.gradient-right-to-left):not(.bg-sky-500\/20):not(.bg-green-500\/20):not(.bg-purple-500\/20):not(.bg-orange-500\/20):not(.bg-blue-500\/20):not(.bg-red-500\/20):not(.bg-teal-500\/20):not(.category-arrow),
html:not(.dark) section:not(.hero-section):not(header):not(footer) .text-gray-300,
html:not(.dark) section:not(.hero-section):not(header):not(footer) .text-gray-400 {
    color: #334155 !important;
}

/* Title text fallback */
html:not(.dark) .gradient-right-to-left,
html:not(.dark) .gradient-left-to-right,
html:not(.dark) .gradient-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Hero section light theme adjustments (completely transparent overlay, keeping text white) */
html:not(.dark) .hero-section .absolute.inset-0.bg-black\/60 {
    background-color: transparent !important;
}
html:not(.dark) .hero-section h1,
html:not(.dark) .hero-section p,
html:not(.dark) .hero-section a,
html:not(.dark) .hero-section #scroll-down-btn {
    color: #ffffff !important;
}
html:not(.dark) .hero-section .text-gray-300 {
    color: #e2e8f0 !important;
}
html:not(.dark) .hero-section .gradient-right-to-left,
html:not(.dark) .hero-section .gradient-left-to-right,
html:not(.dark) .hero-section .gradient-text {
    background: linear-gradient(to right, #38bdf8, #0ea5e9, #3b82f6, #2563eb, #38bdf8) !important;
    background-size: 200% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
}

/* Light mode overlay boxes and production text container */
html:not(.dark) .ios-text-container,
html:not(.dark) .bg-gray-900\/80 {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-color: #cbd5e1 !important;
}
html:not(.dark) .ios-text-container h3,
html:not(.dark) .ios-text-container .ios-section-title,
html:not(.dark) .bg-gray-900\/80 h2 {
    color: #0f172a !important;
}
html:not(.dark) .ios-text-container p,
html:not(.dark) .bg-gray-900\/80 p,
html:not(.dark) .bg-gray-900\/80 strong {
    color: #334155 !important;
}
html:not(.dark) .ios-text-container a,
html:not(.dark) .bg-gray-900\/80 a {
    color: #0284c7 !important;
}

/* Premium light-mode aesthetic gradients to break the "too white" look */
html:not(.dark) section#urunler {
    background: linear-gradient(180deg, #f8fafc 0%, #e0f2fe 100%) !important;
}
html:not(.dark) section#uretim {
    background: linear-gradient(180deg, #e0f2fe 0%, #f8fafc 100%) !important;
}
html:not(.dark) section#propeller-calc-cta {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

/* Premium gradient accents for cards */
html:not(.dark) .metric-card {
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%) !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
}
html:not(.dark) .contact-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-color: #e2e8f0 !important;
}

/* Colorful custom top borders for product summary cards in light mode */
html:not(.dark) #urunler .grid > div:nth-child(1) {
    border-top: 3px solid #0284c7 !important;
}
html:not(.dark) #urunler .grid > div:nth-child(2) {
    border-top: 3px solid #16a34a !important;
}
html:not(.dark) #urunler .grid > div:nth-child(3) {
    border-top: 3px solid #9333ea !important;
}
html:not(.dark) #urunler .grid > div:nth-child(4) {
    border-top: 3px solid #ea580c !important;
}

/* ==========================================
   DEVELOPMENT STEPS 1-3-4 STYLES
   ========================================== */

/* Step 1: Infinite Marquee Logo Band */
.marquee-container {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    animation: scroll 30s linear infinite;
}
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}
@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Light mode overrides for Marquee */
html:not(.dark) #klas-logos {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}
html:not(.dark) #klas-logos span.text-sky-400 {
    color: #0284c7 !important;
}
html:not(.dark) #klas-logos .marquee-content > div {
    color: #475569 !important;
}
html:not(.dark) #klas-logos .marquee-content > div:hover {
    color: #0284c7 !important;
}

/* Step 3: Repair & Maintenance Section */
html:not(.dark) section#tamir-bakim,
html:not(.dark) section#repair-maintenance {
    background-color: #f8fafc !important;
}
html:not(.dark) section#tamir-bakim .text-gray-300,
html:not(.dark) section#repair-maintenance .text-gray-300 {
    color: #334155 !important;
}
html:not(.dark) section#tamir-bakim h4,
html:not(.dark) section#repair-maintenance h4 {
    color: #0f172a !important;
}
html:not(.dark) section#tamir-bakim .bg-sky-500\/10,
html:not(.dark) section#repair-maintenance .bg-sky-500\/10 {
    background-color: rgba(2, 132, 199, 0.1) !important;
}
html:not(.dark) section#tamir-bakim .bg-emerald-500\/10,
html:not(.dark) section#repair-maintenance .bg-emerald-500\/10 {
    background-color: rgba(16, 185, 129, 0.1) !important;
}
html:not(.dark) section#tamir-bakim .bg-purple-500\/10,
html:not(.dark) section#repair-maintenance .bg-purple-500\/10 {
    background-color: rgba(139, 92, 246, 0.1) !important;
}
html:not(.dark) section#tamir-bakim .bg-amber-500\/10,
html:not(.dark) section#repair-maintenance .bg-amber-500\/10 {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

/* Step 4: FAQ Accordion Section */
.faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active {
    border-color: #38bdf8 !important;
    background-color: rgba(30, 41, 59, 0.4) !important;
    box-shadow: 0 10px 25px -5px rgba(56, 189, 248, 0.15) !important;
}
.faq-header i {
    transition: transform 0.3s ease;
}
.faq-header i.rotate-180 {
    transform: rotate(180deg);
}

/* Light mode overrides for FAQ */
html:not(.dark) section#faq {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}
html:not(.dark) .faq-item {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
}
html:not(.dark) .faq-item.active {
    border-color: #0284c7 !important;
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.15) !important;
}
html:not(.dark) .faq-header {
    color: #0f172a !important;
}
html:not(.dark) .faq-content {
    color: #334155 !important;
    border-top-color: #e2e8f0 !important;
}
html:not(.dark) section#faq span.text-sky-400 {
    color: #0284c7 !important;
}

/* Light mode icon/text color adjustments for contrast */
html:not(.dark) .text-sky-400 { color: #0284c7 !important; }
html:not(.dark) .text-emerald-400 { color: #059669 !important; }
html:not(.dark) .text-purple-400 { color: #7c3aed !important; }
html:not(.dark) .text-orange-400 { color: #ea580c !important; }
html:not(.dark) .text-amber-400 { color: #d97706 !important; }
html:not(.dark) .bg-sky-500\/10 { background-color: rgba(2, 132, 199, 0.1) !important; }
html:not(.dark) .bg-emerald-500\/10 { background-color: rgba(5, 150, 105, 0.1) !important; }
html:not(.dark) .bg-purple-500\/10 { background-color: rgba(124, 58, 237, 0.1) !important; }
html:not(.dark) .bg-orange-500\/10 { background-color: rgba(234, 88, 12, 0.1) !important; }
html:not(.dark) .bg-amber-500\/10 { background-color: rgba(217, 119, 6, 0.1) !important; }

/* Before/After Image Slider */
.before-after-slider {
    position: relative;
    overflow: hidden;
}
.before-after-slider .after-img {
    clip-path: polygon(0 0, var(--slider-pos, 50%) 0, var(--slider-pos, 50%) 100%, 0 100%);
    transition: clip-path 0.05s ease-out;
}
.before-after-slider .slider-handle {
    transition: left 0.05s ease-out;
}
.before-after-slider .slider-range {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}
.before-after-slider .slider-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 40px;
    height: 400px;
    background: transparent;
    cursor: ew-resize;
}
.before-after-slider .slider-range::-moz-range-thumb {
    width: 40px;
    height: 400px;
    background: transparent;
    cursor: ew-resize;
    border: none;
}
