/* --- Variables & Reset --- */
:root {
  --primary: hsl(359, 69%, 36%); /* Koyu Kırmızı (#9b1c1e) */
  --primary-light: hsl(359, 69%, 46%);
  --secondary: hsl(236, 45%, 22%); /* Koyu Mavi (#1f2351) */
  --secondary-light: hsl(236, 45%, 32%);
  --bg-color: #f8fafc;
  --white: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--secondary);
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Typography Utilities --- */
.text-center { text-align: center; }
.section-subtitle {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(155, 28, 30, 0.39);
}
.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 28, 30, 0.4);
}

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

.btn-light {
  background-color: var(--white);
  color: var(--primary);
}
.btn-light:hover {
  background-color: #f1f5f9;
  transform: translateY(-2px);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
}
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.8rem 0;
}

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

.logo-container {
  display: flex;
  flex-direction: column;
}
.logo-text {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--secondary);
  transition: var(--transition);
}
.navbar:not(.scrolled) .logo-text, .navbar:not(.scrolled) .logo-subtext {
  color: var(--white);
}
.logo-text span {
  color: var(--primary);
}
.navbar:not(.scrolled) .logo-text span {
  color: #ff6b6b; /* Lighter red for dark background */
}
.logo-subtext {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary);
  margin-top: -5px;
  transition: var(--transition);
}
.logo-subtext-footer {
  font-size: 0.8rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-top: -5px;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.navbar:not(.scrolled) .nav-links a {
  color: var(--white);
}
.navbar.scrolled .nav-links a {
  color: var(--secondary);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}
.navbar:not(.scrolled) .nav-links a::after {
  background-color: #ff6b6b;
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--secondary);
}
.navbar:not(.scrolled) .mobile-menu-btn {
  color: var(--white);
}

/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  background: url('https://images.unsplash.com/photo-1542838132-92c53300491e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--white);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 35, 81, 0.9) 0%, rgba(31, 35, 81, 0.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-title span {
  color: #ff6b6b;
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  color: #f1f5f9;
  max-width: 600px;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}
.hero-scroll i {
  font-size: 1.5rem;
  color: var(--white);
  opacity: 0.8;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-7px); }
}

/* --- Features Strip --- */
.features {
  padding: 4rem 0;
  background-color: var(--white);
  position: relative;
  z-index: 5;
  margin-top: -3rem;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.05);
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-card {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius);
  background-color: var(--bg-color);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.feature-card .icon {
  width: 70px;
  height: 70px;
  background-color: rgba(155, 28, 30, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}
.feature-card:hover .icon {
  background-color: var(--primary);
  color: var(--white);
}
.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.feature-card p {
  color: var(--text-muted);
}

/* --- About Section --- */
.about {
  padding: 6rem 0;
  background-color: var(--bg-color);
}
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.image-wrapper {
  position: relative;
}
.image-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--primary);
  color: var(--white);
  padding: 2rem;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 8px solid var(--bg-color);
}
.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}
.about-list {
  margin-top: 2rem;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
}
.about-list i {
  color: var(--primary);
  font-size: 1.25rem;
}

/* --- Products Section --- */
.products {
  padding: 6rem 0;
  background-color: var(--white);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  group: hover;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .card-img img {
  transform: scale(1.1);
}
.card-content {
  padding: 2rem;
}
.card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}
.card-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.read-more:hover {
  color: var(--primary-light);
  gap: 0.8rem;
}

/* --- CTA Section --- */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #111827 100%);
  color: var(--white);
  text-align: center;
}
.cta-container h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.cta-container p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  background-color: #0f172a;
  color: var(--white);
  padding-top: 4rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer .logo-text {
  color: var(--white);
  margin-bottom: 0;
}
.company-desc {
  color: #94a3b8;
  margin-top: 1rem;
  max-width: 300px;
}
.footer h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links ul a {
  color: #94a3b8;
}
.footer-links ul a:hover {
  color: var(--primary);
  padding-left: 5px;
}
.footer-contact ul li {
  display: flex;
  gap: 1rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.footer-contact i {
  color: var(--primary);
  margin-top: 5px;
}
.footer-bottom {
  padding: 1.5rem 0;
  background-color: #0b1120;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  color: #64748b;
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  width: 36px;
  height: 36px;
  background-color: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #94a3b8;
}
.social-links a:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-container { grid-template-columns: 1fr; gap: 3rem; }
  .experience-badge { right: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  .nav-links.active {
    left: 0;
  }
  .navbar:not(.scrolled) .nav-links a { color: var(--secondary); }
  .mobile-menu-btn { display: block; }
  
  .hero-title { font-size: 2.2rem; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom .container { flex-direction: column; gap: 1rem; text-align: center; }
}
