:root{
  --accent:#cfb997;
  --blue:#007bff;
  --dark:#333;
}
*{box-sizing:border-box}
body{
  font-family: Verdana, sans-serif;
  margin:0;
  background:#f4f4f4;
  color:var(--dark);
  -webkit-font-smoothing:antialiased;
}

/* HEADER */
.header-top{background:#fff; box-shadow:0 2px 4px rgba(0,0,0,0.08);}
.header-bottom{background:var(--accent); padding:20px 0;}
.header-bottom .header-bottom-text{color:#222; font-weight:700; text-align:center; font-size:18px;}
.header-bottom .header-bottom-text { width: 100% !important; text-align: center !important; }

/* Layout container */
.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* header-row: logo | nav | right */
.header-row{gap:10px;}

/* Logo */
.logo img{height:84px; width:auto; display:block; border-radius:6px;}

/* Nav */
.main-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:16px;
  align-items:center;
}
.main-nav a{
  display:inline-block;
  text-decoration:none;
  color:var(--dark);
  font-weight:700;
  padding:6px 10px;
  position:relative;
}
/* ayırıcı çizgiler */
.main-nav li + li a{border-left:1px solid #e0e0e0; padding-left:14px;}

/* header-right */
.header-right{display:flex; align-items:center; gap:12px;}
.header-phone{font-weight:700; color:var(--dark); text-decoration:none;}

/* SLIDER */
.section{padding:28px 15px;}
.slideshow-container{
  max-width:900px;
  margin:0 auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* nav butonlar */
.nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.45);
  border:0;
  color:#fff;
  width:44px;
  height:44px;
  border-radius:6px;
  cursor:pointer;
  font-size:22px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:10;
}
.nav.prev{left:8px}
.nav.next{right:8px}

/* her slide */
.mySlides{
  display:none;
  width:100%;
}

/* SLIDE FRAME */
.slideshow-frame{
  width:100%;
  max-width:800px;
  height:160px;
  overflow:hidden;
  border-radius:8px;
  box-shadow:0 6px 20px rgba(0,0,0,0.12);
  position:relative;
}

/* slide içindeki img */
.mySlides img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

/* Noktalar */
.dots-wrap{ text-align:center; margin-top:12px;}
.dot{
  display:inline-block;
  width:12px;
  height:12px;
  border-radius:50%;
  background:#cfcfcf;
  margin:0 6px;
  transition:background-color .25s;
}
.dot.active{ background:#666; }

/* Fade anim */
.fade{ animation:fadeIn .9s ease both;}
@keyframes fadeIn{ from{opacity:.2; transform:scale(1.01)} to{opacity:1; transform:scale(1)} }

/* ABOUT */
#about h2, #contact h2{ font-weight:700; color:var(--blue); text-align:center; margin:6px 0 18px; font-size:24px;}
.about-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1000px; margin:0 auto;}
.about-box{ background:#fff; padding:16px; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,0.06); text-align:left;}

/* VIDEO-SLIDER (HTML'de her video ayrı) */
#videos { text-align:center; margin:0 auto 20px; padding:0 15px; }
.video-slider { max-width:800px; margin:0 auto; }
.video-slide { display:none; }
.video-slide.active { display:block; }
.video-slide video {
  width:100%;
  max-height:360px;       /* burada videonun max yüksekliğini kısıtla */
  object-fit:cover;
  border-radius:8px;
  box-shadow:0 8px 22px rgba(0,0,0,0.12);
}
.video-dots { margin-top:12px; }
.v-dot { height:12px; width:12px; margin:0 6px; background:#cfcfcf; border-radius:50%; display:inline-block; cursor:pointer; }
.v-dot.active { background:#666; }

/* VIDEO + CONTACT (orjinal fallback stiller) */
.video-section{ max-width:1000px; margin:0 auto 12px; position:relative; }
.video-title{ margin:0 auto 10px; text-align:center; font-size:20px; font-weight:700; color:#222; display:block; }

/* MAP */
.map-container{ width:100%; max-width:1000px; margin:20px auto 0; height:0; padding-bottom:56.25%; position:relative; }
.map-container iframe{ position:absolute; top:0; left:0; width:100%; height:100%; border:0; border-radius:8px; }

/* FOOTER */
footer{ padding:18px 0; background:#333; color:#fff; text-align:center; }

/* responsive */
@media (max-width:900px){
  .about-grid{ grid-template-columns:repeat(2,1fr); }
  .logo img{ height:72px; }
  .slideshow-frame{ height:140px; }
  .video-slide video{ max-height:300px; }
}
@media (max-width:700px){
  .container{ flex-wrap:wrap; gap:10px; justify-content:center; }
  .main-nav ul{ gap:10px; flex-wrap:wrap; justify-content:center; }
  .about-grid{ grid-template-columns:1fr; }
  .slideshow-frame{ height:120px; }
  .logo img{ height:64px; width:auto; }
  .header-bottom{ padding:14px 0; }
  .video-slide video{ max-height:240px; }
  .video-container video{ max-width:100%; }
}
@media (max-width:400px){
  .slideshow-frame{ height:100px; }
  .video-slide video{ max-height:160px; }
}
.products {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.products h2 {
  text-align: center;
  margin-bottom: 30px;
}

.product-item {
  display:flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 30px;
}

.product-item video {
  width: 30vw ;
  max-width: 400px ;
  max-height: 200px ;
  height: 30vw ;
  min-width:230px ;
  flex-shrink:0;
}

.product-text {
  
}

.product-text h3 {
  margin-bottom: 8px;
}

/* Mobil */
@media (max-width: 768px) {
  .product-item {
    flex-direction: column;
    align-items: flex-start;
	
  }

  .product-item video {
	margin-left: 0;
    width: 100%;

	
  }

  .product-text {
    margin-left: 0;
    margin-top: 10px;
  }
}
/* inline-image override fallback (yükseklik kontrolü için) */
.slideshow-container img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 480px !important;
  object-fit: cover;
  display:block;
  margin:0 auto;
}

