/* Genel Ayarlar */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
body {
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}
html {
  scroll-behavior: smooth;
}

/* ÜST MENÜ */
header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
}
header .container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .logo {
  width: 250px;
  height: 80px;
  object-fit: contain;
}

/* Masaüstü Menü */
nav.desktop-menu {
  display: flex;
}
nav.desktop-menu a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
  color: #222;
  transition: 0.3s;
}
nav.desktop-menu a:hover {
  color: #e63946;
}

/* Hamburger Menü */
.hamburger-menu-icon {
    display: none;
    position: absolute;   /* absolute ile üstüne yerleştiriyoruz */
    top: 20px;            /* üstten boşluk */
    right: 20px;          /* sağdan boşluk */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-menu-icon .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #222;
  margin: 5px 0;
  transition: all 0.3s ease-in-out;
}
.hamburger-menu-icon.open .bar {
    /* İkon açıldığında, yani çarpı haline geldiğinde rengini beyaz (#fff) yapıyoruz. */
    background-color: #fff;
}
.hamburger-menu-icon.open .bar.top {
  transform: translateY(8px) rotate(45deg);
}
.hamburger-menu-icon.open .bar.middle {
  opacity: 0;
}
.hamburger-menu-icon.open .bar.bottom {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobil Menü Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 999;
}
.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-overlay a {
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  padding: 15px;
  transition: color 0.3s;
}
.mobile-menu-overlay a:hover {
  color: #e63946;
}

/* HERO BÖLÜMÜ */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}
.hero-text {
  position: relative;
  z-index: 1;
}
.hero-text h2 {
  font-size: 42px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 6px #000;
}
.hero-text p {
  font-size: 20px;
  margin-bottom: 20px;
}
.btn {
  background: #e63946;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}
.btn:hover {
  background: #b41f2c;
}

/* BÖLÜMLER */
.section {
  padding: 60px 0;
}
.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  color: #e63946;
}
.container {
  width: 90%;
  margin: auto;
}
.bg-light {
  background: #f9f9f9;
}

/* HOŞGELDİNİZ */
.welcome-text {
  text-align: center;
  max-width: 700px;
  margin: auto;
}
.welcome-text h2 {
  margin-bottom: 20px;
  color: #e63946;
  font-size: 32px;
}
.welcome-text p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* 3 KUTU */
.boxes {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.box {
  background: #fff;
  flex: 1 1 250px;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.box .icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #e63946;
}
.box h3 {
  margin-bottom: 10px;
  color: #e63946;
}
.box p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* ÜRÜNLER */
.product-grid-new {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.product-item {
  display: block;
  text-align: center;
  text-decoration: none;
  color: #222;
  background-color: #fff;
  transition: transform 0.3s, box-shadow 0.3s;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.product-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: transform 0.3s;
}
.product-item p {
  font-weight: 600;
  margin-top: 15px;
  font-size: 1.1em;
}
.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(227,0,15,0.3);
}
.product-item:hover img {
  transform: scale(1.05);
}

/* ORTAKLAR */
.partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}
.partners img {
  max-width: 120px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s;
}
.partners img:hover {
  transform: scale(1.1);
}

/* İLETİŞİM */
#iletisim {
  background-color: #222;
  color: #fff;
  padding: 50px 20px;
}

#iletisim h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-wrapper {
   /* YENİ: Tek bir blok ortalaması için Flexbox kullanıyoruz */
    display: flex;
    justify-content: center; /* İçeriği yatayda ortalar */
    align-items: flex-start; /* İçeriği üste hizalar (ortalamaya yardımcı) */
    width: 100%;
}

.contact-info {
  flex: unset; /* Flex özelliklerini devre dışı bırak */
    max-width: 500px; /* Bilgi kutusunun genişliğini sınırla (daha şık durur) */
    min-width: 300px;
    
    /* Metinleri sola yaslı bırak: */
    text-align: left;  
}

.contact-info p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #ccc;
}

.contact-info ul {
  list-style: none;
  padding-left: 0;
  
}

.contact-info li {
  margin: 12px 0;
  font-size: 17px;
}

.contact-info li strong {
  display: block;
  font-size: 19px;
  margin-bottom: 8px;
  color: #f0a500;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #f0a500;
}

.contact-map {
  flex: 1;
  min-width: 300px;
}

.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 oran */
  height: 0;
  overflow: hidden;
  border-radius: 10px; /* Köşeleri yuvarlak istersen */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* 7. FOOTER */
footer {
    background-color: #222;
    color: #888;
    text-align: center;
    padding: 20px 0;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .product-grid-new {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }
  header .logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
  }
  nav.desktop-menu {
    display: none;
  }
  .hamburger-menu-icon {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .product-grid-new {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .product-item img {
    height: 180px;
  }
  .boxes {
    flex-direction: column;
    align-items: center;
  }
  .box {
    max-width: 90%;
  }
  .partners img {
    max-width: 80px;
    margin: 10px;
  }
}

@media (max-width: 480px) {
  .product-grid-new {
    grid-template-columns: 1fr;
  }
}
