@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --secondary: #333;
  --text-color: #333;
  --text-secondary: #555;
  --border-color: #eee;
  --light-bg: #f8f9fa;
  --button-text: #fff;
  --footer-bg: #f9f9f9;
  --footer-text: #777;

  /* Layout */
  --max-width: 1200px;
  --spacing: 20px;
}

/* ========== GLOBAL LAYOUT ========== */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}
main {
  padding-top: var(--spacing);
}

/* ========== TYPOGRAPHY ========== */
.section-title {
  text-align: center;
  color: var(--primary);
  font-size: 2rem;
  margin: 60px 0 40px;
}
.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* ========== BUTTON ========== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--button-text);
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.btn:hover {
  background: var(--primary-dark);
}

/* ========== HEADER & NAV ========== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  padding: var(--spacing) 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-toggle {
  display: none;
  cursor: pointer;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background: var(--secondary);
  margin: 5px 0;
  transition: 0.3s;
}
nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing);
}
nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  transition: color 0.2s;
}
nav a.active,
nav a:hover {
  color: var(--primary);
}

/* Logo sizing */
.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* ========== HERO SECTION (VIDEO) ========== */
.hero {
  position: relative;
  overflow: hidden;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  padding: 0 1rem;
}
.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: var(--spacing);
}
.hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: var(--spacing);
}

/* ========== ABOUT IMAGE STYLES ========= */
.about-text img,
.about-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: var(--spacing) auto;
  border-radius: 8px;
}

/* ========== FEATURE BOX ========= */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing);
  margin: 0 auto var(--spacing);
}
.feature-box {
  text-align: center;
  padding: var(--spacing);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform .3s, box-shadow .3s;
}
.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.feature-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 15px;
}
.feature-box h3 {
  margin-bottom: 10px;
  color: var(--secondary);
}
.feature-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ========== SEVKİYATLAR ========= */
.shipments {
  text-align: center;
  margin: 2rem 0 4rem;
}
.shipments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.shipment-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* ========== ÜRÜNLER SAYFASI – GÖRSELLERİ EŞİT BOYUTTA GÖSTER ========= */
.products .product {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.products .product .image {
  height: 200px;
  overflow: hidden;
}
.products .product .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== SEKTÖRLER SAYFASI – GRID & EŞİT GÖRSEL BOYUTLARI ========= */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing);
  margin: var(--spacing) 0 4rem;
}
.sector {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sector img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.sector h3 {
  margin: 1rem;
  color: var(--primary-dark);
  font-size: 1.2rem;
}
.sector p {
  flex: 1;
  margin: 0 1rem 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ========== TEKLİF AL SAYFASI – FORM STYLER ========= */
.teklif-section {
  padding: 40px 20px;
}
.teklif-section .section-title {
  margin-bottom: 30px;
}
.teklif-form {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
  column-gap: 20px;
}
@media (min-width: 600px) {
  .teklif-form {
    grid-template-columns: 1fr 1fr;
  }
}
/* Açıklama ve buton tam genişlik */
@media (min-width: 600px) {
  .teklif-form textarea,
  .teklif-form button {
    grid-column: 1 / -1;
  }
}
.teklif-form label {
  display: block;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 5px;
}
.teklif-form input[type="text"],
.teklif-form input[type="email"],
.teklif-form input[type="file"],
.teklif-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  color: var(--text-color);
  background: #fff;
  box-sizing: border-box;
}
.teklif-form input[type="file"] {
  padding: 6px 10px;
}
.teklif-form button {
  padding: 12px 24px;
  background: var(--primary);
  color: var(--button-text);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  justify-self: start;
}
.teklif-form button:hover {
  background: var(--primary-dark);
}

/* ========== CTA ========= */
.cta .cta-box {
  text-align: center;
}
.cta .cta-box .btn {
  margin: 0 auto;
}
.cta .btn:hover {
  background: var(--primary) !important;
  color: var(--button-text);
}

/* ========== RESPONSIVE ========= */
@media (max-width: 992px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: var(--spacing);
  }
  .menu-toggle {
    display: block;
  }
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    transform: translateX(100%);
    box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
  }
  nav.open {
    transform: translateX(0);
  }
  .hero {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .hero-video { display: none; }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 0.9rem; }
  .section-title { font-size: 1.6rem; }
  .feature-box { padding: 10px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .hero-content p { font-size: 0.8rem; }
  .section-title { font-size: 1.4rem; }
  .btn { padding: 6px 12px; font-size: 0.8rem; }
  .footer-content { font-size: 0.8rem; }
}

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