/* Neva Basım Design System - Light Theme */
:root {
  --primary-color: #00b4f1;
  /* Light Blue */
  --primary-color-dark: #0093c4;
  --text-main: #58585a;
  /* Dark Gray */
  --text-light: #888888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #eaeaea;

  --font-family: 'Inter', sans-serif;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.2;
}

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

a:hover {
  color: var(--primary-color-dark);
}

img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  /* Sharpens scaled down images in webkit browsers */
  image-rendering: high-quality;
  -ms-interpolation-mode: bicubic;
  /* IE interpolation */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.divider {
  height: 3px;
  width: 60px;
  background-color: var(--primary-color);
  margin: 20px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 180, 241, 0.3);
}

.btn-light {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-light:hover {
  background-color: #fff;
  color: var(--text-main);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: padding var(--transition-speed);
  padding: 15px 0;
}

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

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

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-links {
  white-space: nowrap;
}

.nav-links a {
  margin-left: 15px;
  font-weight: 500;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding-top: 80px;
  /* offset navbar */
}

/* Gradient background instead of relying on image, using our brand colors */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.5s ease-in-out;
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 40px;
}

.hero-title {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: space-around;
  padding: 30px 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.stat-item {
  text-align: center;
  padding: 0 20px;
}

.stat-item h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-main);
  font-weight: 600;
  letter-spacing: 1px;
}

/* About Section */
.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
}

.list-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.feature-list {
  list-style: none;
  margin-top: 20px;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  font-weight: 500;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.about-image {
  flex: 1;
}

.rounded-img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.shadow {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.shadow:hover {
  transform: scale(1.02);
}

/* Services Grid */
.section-desc {
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-light);
  font-size: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--bg-white);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--primary-color);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 180, 241, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 20px;
  transition: all var(--transition-speed);
}

.service-card:hover .icon {
  background-color: var(--primary-color);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.service-card p {
  color: var(--text-light);
  font-size: 15px;
}

/* Media Grid */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.media-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.media-item:hover .media-img {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(88, 88, 90, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.media-item:hover .media-overlay {
  opacity: 1;
}

.media-overlay span {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.media-item:hover .media-overlay span {
  transform: translateY(0);
}

.video-placeholder {
  background: linear-gradient(135deg, var(--text-main), #2c2c2e);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  cursor: pointer;
}

.play-btn {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: relative;
  margin-bottom: 20px;
  transition: transform var(--transition-speed);
}

.play-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid #fff;
}

.video-placeholder:hover .play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 180, 241, 0.6);
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 20px;
}

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

.footer-col h3 {
  color: #fff;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* Animations */
.fade-in-anim {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in-anim.visible {
  opacity: 1;
}

.slide-up-anim {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-up-anim.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation Delays */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero {
    height: 70vh;
    min-height: 450px;
  }

  .hero-stats {
    flex-wrap: wrap;
    position: relative;
    background-color: var(--bg-white);
  }

  .stat-item {
    width: 33.33%;
    margin-bottom: 20px;
  }

  .about-container,
  .contact-container,
  .neler-container {
    flex-direction: column;
    gap: 30px;
  }

  .section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar .btn-primary {
    display: none;
    /* Hide teklif iste on mobile to save space */
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    height: 60vh;
    min-height: 350px;
    padding-top: 80px;
  }

  .hero-title {
    font-size: 34px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .stat-item {
    width: 50%;
  }

  .modern-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* Smooth horizontal scroll on iOS */
  }

  /* Force grids down to 1 column on smaller devices */
  .services-grid,
  .media-grid,
  .product-list,
  .machine-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  /* Explicit max widths for form and text wrappers to avoid overflow */
  .contact-info,
  .contact-form,
  .neler-text,
  .neler-image {
    width: 100%;
    min-width: unset;
  }

  .section {
    padding: 40px 0;
  }

  .parkur-banner {
    margin: 20px auto;
  }
}

@media (max-width: 480px) {
  .stat-item {
    width: 100%;
  }

  .hero-title {
    font-size: 28px;
  }

  /* Scale down generic headers so they don't break outside padding */
  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 26px !important;
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 30px;
    height: 30px;
  }
}