/* Zenith Corporate Design System
   ---------------------------------------------------
   Primary colors: Indigo Midnight, Cyber Emerald, Alabaster White.
   Typography: Plus Jakarta Sans for all.
   Layout: Bento grids, Hyper-Glassmorphism, Scroll-triggered motion.
*/

:root {
  --color-primary: #0f172a;
  /* Slate 900 / Midnight */
  --color-primary-light: #1e293b;
  --color-accent: #3b82f6;
  /* Blue 500 */
  --color-accent-hover: #1d4ed8;
  --color-accent-glow: rgba(59, 130, 246, 0.2);
  --bg-zenith: #ffffff;
  /* Pure White */
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-slate: #f1f5f9;
  --text-main: #1e293b;
  /* Slate 800 */
  --text-dark: #0f172a;
  --text-white: #ffffff;
  --glass-border: rgba(30, 58, 138, 0.2);
  --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --premium-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --font-main: 'Plus Jakarta Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-zenith);
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) var(--bg-slate);
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-zenith);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
}

::selection {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-primary);
}

/* --- Scrollbar (siteyle uyumlu) --- */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-slate);
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary-light);
  border-radius: 10px;
  border: 2px solid var(--bg-slate);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* --- Premium Interactions --- */
.custom-cursor {
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: normal;
}

.cursor-follower {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  opacity: 0.15;
  filter: blur(10px);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 99998;
}

.cursor-hover .cursor-follower {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  opacity: 0.1;
  filter: blur(30px);
}

/* --- Industrial Header --- */
.site-header {
  /* Tailwind handles most of the layout, but we need custom transition logic on scroll */
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 1);
  border-bottom-color: rgba(228, 228, 231, 1);
  /* border-zinc-200 */
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
}

.logo-text {
  transition: opacity 0.3s;
}

.logo-text:hover {
  opacity: 0.8;
}

/* --- Hero & Slider --- */
.hero-wrapper {
  position: relative;
  height: 100vh;
  min-height: 800px;
  overflow: hidden;
  background: #000;
}

.slider-inner {
  position: relative;
  height: 100%;
}

.slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.slide-item.active {
  opacity: 1;
  z-index: 20;
  pointer-events: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s linear;
}

.active .slide-bg {
  transform: scale(1.2);
}

.hero-slider-title {
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-slider-title {
    margin-bottom: 1.5rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(10, 10, 11, 0.8) 0%, rgba(10, 10, 11, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 30;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10%;
  color: var(--text-white);
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 1.25rem;
  max-width: 700px;
  margin-bottom: 3.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  line-height: 1.6;
}

/* --- Bento Sections --- */
.section-premium {
  padding: 8rem 0;
  background: var(--bg-zenith);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--premium-shadow);
}

.bento-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--color-accent);
}

/* --- Industrial Command Center Utilities --- */
.bg-technical-grid {
  background-image:
    linear-gradient(rgba(30, 58, 138, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 138, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.glow-blue-sm {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.glow-blue-lg {
  box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
}

.text-technical {
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 900;
}

.outline-text {
  -webkit-text-stroke: 1px #e4e4e7;
  color: transparent;
}

[x-cloak] {
  display: none !important;
}

#productShowcase::-webkit-scrollbar {
  display: none;
}

#productShowcase {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-showcase-card {
  perspective: 1000px;
}

/* --- Buttons --- */
.btn-zenith {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 2rem;
  background: var(--color-accent);
  color: #000;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.875rem;
  border-radius: 100px;
  transition: all 0.4s;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-zenith:hover {
  background: var(--color-primary);
  color: #fff;
  transform: scale(1.05);
}

/* --- Footer --- */
.cta-wholesale {
  background: #1a1a1a;
  color: #fff;
  border-radius: 0;
  padding: 2rem 0 2.5rem;
  margin-bottom: -1.5rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}

.cta-wholesale-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.cta-wholesale-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: #fff;
}

/* İletişim sayfası harita */
.contact-page-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fat-footer {
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.6);
  padding: 6rem 0 3rem;
  border-radius: 0;
}

.footer-column h4 {
  color: var(--text-white);
  font-weight: 800;
  margin-bottom: 2rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  transition: all 0.3s;
}

.fat-footer .footer-link:hover {
  color: #fff;
  transform: translateX(5px);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-zoom-in {
  animation: zoomIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* --- Responsive (mobile uyumluluk) --- */
@media (max-width: 1024px) {
  .site-header {
    top: 0;
  }

  .header-container {
    max-width: 100%;
    border-radius: 0;
    border: none;
  }

  .hero-content {
    padding: 0 5%;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .bento-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  #heroSlider {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .mobile-menu {
    padding: 1.5rem 1.25rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-menu a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 480px) {
  .fat-footer .grid,
  .cta-wholesale .container {
    gap: 2rem;
  }
}

/* --- Global Form Contrast & Visibility Fix --- */
input:not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  border: 1px solid #cbd5e1 !important;
  color: #1e293b !important;
  background-color: #ffffff !important;
  padding: 0.85rem 1.25rem !important;
  border-radius: 0.75rem !important;
  width: 100% !important;
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #3b82f6 !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1) !important;
  background-color: #f8fafc !important;
}