/* ============================================
   VITROTECH - Ana Stil Dosyası
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --orange: #E8833A;
  --orange-dark: #C56825;
  --orange-light: #F4A968;
  --peach: #F5C9A0;
  --teal: #2C5F6F;
  --teal-dark: #1E4550;
  --teal-light: #5A8B9A;
  --mint: #B8D4D1;
  --cream: #FAF3E8;
  --ink: #1A2D33;
  --white: #FFFFFF;

  --container: 1200px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 45, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(26, 45, 51, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 45, 51, 0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

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

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to right, var(--peach), var(--cream), var(--peach));
  border-bottom: 1px solid rgba(232, 131, 58, 0.1);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  transition: transform 0.3s;
}

.logo:hover .logo-mark { transform: rotate(12deg); }

.logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.nav { display: none; align-items: center; gap: 32px; }
@media (min-width: 900px) { .nav { display: flex; } }

.nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(26, 45, 51, 0.7);
  transition: color 0.2s;
}
.nav a:hover, .nav a.active { color: var(--orange); }
.nav a.active { color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 12px rgba(232, 131, 58, 0.25);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 131, 58, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.6);
  color: var(--teal);
  border: 1px solid rgba(44, 95, 111, 0.2);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: white; }

.btn-large { padding: 14px 28px; font-size: 15px; }

/* Mobile menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
}
@media (min-width: 900px) { .menu-toggle { display: none; } }
.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--teal);
  transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(184, 212, 209, 0.4), var(--cream) 50%, rgba(245, 201, 160, 0.3));
  padding: 80px 0 120px;
}

.pattern-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(44, 95, 111, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(44, 95, 111, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.cell-decoration {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(232, 131, 58, 0.25), rgba(232, 131, 58, 0.05));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  color: var(--teal);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
}

.hero-desc {
  margin-top: 24px;
  font-size: 18px;
  color: rgba(26, 45, 51, 0.7);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 131, 58, 0.2), rgba(44, 95, 111, 0.1));
  border-radius: 50%;
  filter: blur(60px);
}

/* ============================================
   KATEGORİ KARTLARI (3'lü)
   ============================================ */
.categories {
  position: relative;
  margin-top: -80px;
  z-index: 10;
}

.categories-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(3, 1fr); } }

.category-card {
  position: relative;
  display: block;
  padding: 32px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: white;
  transition: all 0.5s;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}
.category-card:hover::before { opacity: 1; }

.category-icon {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-title {
  position: relative;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.category-desc {
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 24px;
  min-height: 66px;
}

.category-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s;
}
.category-card:hover .category-link { border-bottom-color: white; }
.category-link svg { transition: transform 0.3s; }
.category-card:hover .category-link svg { transform: translateX(4px); }

/* ============================================
   NEDEN VITROTECH
   ============================================ */
.why {
  padding: 96px 0;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.why::before, .why::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(80px);
}
.why::before { top: 80px; right: -100px; background: rgba(232, 131, 58, 0.05); }
.why::after { bottom: 80px; left: -100px; background: rgba(44, 95, 111, 0.05); }

.section-head {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.section-title .accent { color: var(--orange); }

.section-divider {
  display: inline-block;
  width: 80px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin-top: 16px;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--orange);
  margin-bottom: 12px;
}

.features-grid {
  display: grid;
  gap: 32px;
  position: relative;
}
@media (min-width: 600px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature {
  text-align: center;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  color: var(--orange);
  transition: all 0.3s;
}
.feature:hover .feature-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: rgba(26, 45, 51, 0.65);
  line-height: 1.6;
}

/* ============================================
   ÜRÜN BÖLÜMLERİ (Sarf/Cihaz/Servis)
   ============================================ */
.section {
  padding: 80px 0;
}
.section-white { background: white; }
.section-cream { background: var(--cream); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: var(--teal);
  letter-spacing: -0.02em;
}

.see-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s;
}
.see-all:hover { color: var(--orange-dark); }

.product-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 600px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  background: var(--cream);
  border: 1px solid rgba(44, 95, 111, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s;
}
.section-cream .product-card { background: white; }
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 131, 58, 0.2);
}

.product-card-num {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(232, 131, 58, 0.1);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 16px;
  transition: all 0.3s;
}
.product-card:hover .product-card-num {
  background: var(--orange);
  color: white;
  transform: rotate(6deg);
}

.product-brand {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(44, 95, 111, 0.7);
  background: rgba(44, 95, 111, 0.06);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.product-list {
  font-size: 14px;
  color: rgba(26, 45, 51, 0.75);
}
.product-list li {
  position: relative;
  padding-left: 18px;
  padding-bottom: 8px;
  line-height: 1.5;
}
.product-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* Teknik servis kartları - farklı stil */
.service-card {
  background: rgba(44, 95, 111, 0.04);
  border: 1px solid rgba(44, 95, 111, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Wide card */
.product-card-wide { grid-column: 1 / -1; }
.product-card-wide .product-list {
  display: grid;
  gap: 8px;
}
@media (min-width: 600px) { .product-card-wide .product-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .product-card-wide .product-list { grid-template-columns: repeat(4, 1fr); } }

/* ============================================
   PARTNERLER
   ============================================ */
.partners {
  padding: 80px 0;
  background: linear-gradient(to bottom, var(--cream), white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 600px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .partners-grid { grid-template-columns: repeat(5, 1fr); } }

.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: white;
  border: 1px solid rgba(44, 95, 111, 0.1);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: rgba(44, 95, 111, 0.7);
  transition: all 0.3s;
}
.partner:hover {
  border-color: rgba(232, 131, 58, 0.4);
  color: var(--orange);
  box-shadow: var(--shadow-md);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 64px 0 32px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-brand .logo-text { color: white; }
.footer-brand .logo-mark { background: var(--orange); }
.footer-brand p {
  margin-top: 16px;
  color: rgba(250, 243, 232, 0.7);
  max-width: 400px;
  line-height: 1.7;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--orange-light);
  margin-bottom: 16px;
}

.footer ul li {
  padding: 6px 0;
  font-size: 14px;
  color: rgba(250, 243, 232, 0.7);
}
.footer ul li a:hover { color: white; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(250, 243, 232, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: rgba(250, 243, 232, 0.5);
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: white; }

/* ============================================
   ANIMASYONLAR
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.fade-up { opacity: 0; animation: fadeUp 0.7s ease-out forwards; }
.float { animation: float 6s ease-in-out infinite; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

::selection {
  background: rgba(232, 131, 58, 0.3);
  color: var(--ink);
}
