* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 100vw;
}
html,
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  height: 100%;
  margin: 0;
  overflow-x: hidden;
}
main {
  flex: 1;
}
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #555;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #d32f2f;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.btn:hover {
  background: #b71c1c;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 18px;
}
.contact-form {
  max-width: 500px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 12px;
  background: #d32f2f;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.contact-form button:hover {
  background: #b71c1c;
}
/* İLETİŞİM SAYFASI ÖZEL GENİŞLİK */
.contact-page {
  max-width: 900px; /* form alanı daha ferah */
}

.form-success {
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 15px;
  border-radius: 4px;
}
.new-offer-btn {
  margin-top: 15px;
  padding: 10px 16px;
  background: #e30613;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.new-offer-btn:hover {
  background: #b7000c;
}

.top-bar {
  background: #e30613;
  color: #fff;
  font-size: 15px;
  position: sticky;
  top: 0;
  z-index: 10000;
  height: 22px;
}
.home-about {
  background: #f8f8f8;
  padding: 60px 0;
}

.home-about h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #111;
}

.home-about p {
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.home-info {
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.info-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: 0.3s ease;
}

.info-box:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.info-box h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #c40000;
}

.info-box p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
@media (max-width: 768px) {
  .home-about {
    padding: 40px 0;
  }

  .home-about h2 {
    font-size: 24px;
    text-align: center;
  }

  .home-about p {
    font-size: 15px;
    text-align: center;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-box {
    padding: 20px;
  }
}

.top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.top-left,
.top-right {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.top-left span {
  margin-right: 0px;
}

.top-right a {
  color: #fff;
  margin-left: 10px;
  text-decoration: none;
}
.icon-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon {
  width: 16px;
  height: 16px;
  fill: #fff;
}

@media (max-width: 480px) {
  .top-bar {
    font-size: 15px;
  }
}

/* MAIN HEADER */
.main-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 22px;
  z-index: 10000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 10000;
}
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #b5121746, #ff0011d8);
  min-height: 260px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* ARKA PLANDA DEV LOGO */
.hero-bg-logo {
  position: absolute;
  inset: 0;
  background-image: url("../images/ifslogo.png");
  background-repeat: no-repeat;
  background-size: 1200px;
  background-position: center;
  opacity: 0.8;
  pointer-events: none;
}

/* ÖN İÇERİK */
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 14px;
  margin-bottom: 10px;
}
/* HERO YAZILARI */
.page-hero .hero-content h1 {
  cursor: default;
}

/* Breadcrumb linkleri */
.page-hero .hero-content p a {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
  position: relative;
  transition: opacity 0.3s ease;
}

/* Hover efekti */
.page-hero .hero-content p a:hover {
  opacity: 1;
  text-decoration: underline;
}
/* ==== PROJELER ==== */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
}
.project-card {
  width: calc(33.333% - 20px);
  border: solid 1px;
  border-color: grey;
  border-radius: 4px;
}

/* Foto / Video */
.project-card img,
.project-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Başlık */
.project-card h3 {
  font-size: 16px;
  font-weight: 600;
  padding: 10px;
}

/* Hover */
.project-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

/* Mobil */
@media (max-width: 992px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card img,
  .project-card video {
    height: 200px;
  }
}
@media (max-width: 768px) {
  .project-grid {
    display: flex;
    flex-direction: column; /* alt alta */
  }

  .project-card {
    width: 100% !important; /* TAM GENİŞLİK */
  }
  .project-card video,
  .project-card img {
    height: 240px;
    object-fit: cover;
  }

  .project-card h3 {
    font-size: 17px;
    padding: 12px 14px;
  }
}

/* ==== IMAGE MODAL ==== */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.image-modal.zoomed img {
  transform: scale(1.8);
  cursor: zoom-out;
}

.image-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
}

.hero-content a {
  color: #fff;
  opacity: 0.9;
  text-decoration: none;
}

.menu-icon {
  font-size: 26px;
  cursor: pointer;
  display: none;
}
.icon-close {
  display: none;
}
.menu-icon.active .icon-bars {
  display: none;
}

.menu-icon.active .icon-close {
  display: inline;
}
.menu-icon.active {
  transform: rotate(90deg);
}

.logo img {
  height: 50px;
  width: auto;
}

/* NAV */
.main-nav {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
}

.main-nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #111;
  position: relative;
  padding: 5px 0;
  font-weight: 600;
}

/* TEKLİF AL BUTONU */
.btn-header {
  padding: 8px 15px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: #e30613;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* FORM SATIR */
.form-row {
  display: flex;
  gap: 20px;
}

.form-row input {
  width: 100%;
}

.hero-slider {
  width: 100%;
  height: 420px;
  position: relative;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

/* SLIDE */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.8s ease,
    transform 1s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* YAZI ALANI */
.slide-content {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  max-width: 500px;
}

.slide-content h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.slide-btn {
  display: inline-block;
  background: #e30613;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
}

/* OKLAR */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 3;
}

.arrow.left {
  left: 20px;
}
.arrow.right {
  right: 20px;
}

/* NOKTALAR */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 141, 141, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: #e30613;
}
.mobile-actions {
  display: none;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ANİMASYON */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 300px;
  }
  .slide-content h1 {
    font-size: 26px;
  }
  header .container {
    flex-direction: column;
    text-align: center;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;

    width: 50%; /* %80 ideal, istersen 100% */
    max-width: 320px;
    height: 100vh;

    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;

    transform: translateX(-100%);
    transition: transform 1s ease;

    z-index: 9998;
  }
  nav {
    margin-top: 0px;
  }

  nav a {
    display: inline-block;
    margin: 8px 10px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .hero p {
    font-size: 16px;
  }

  main {
    padding: 20px;
  }

  .card img {
    height: 150px;
  }
  .header-content {
    flex-direction: column;
  }
  .menu-icon {
    display: block;
    font-size: 26px;
    cursor: pointer;
  }

  .main-nav.active {
    transform: translateX(0);
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 18px 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
  }
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* HAMBURGER */
  .mobile-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 24px;
    cursor: pointer;
  }
}
/* === MOBİL: logo + hamburger aynı satır === */
@media (max-width: 991px) {
  .header-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
  }

  /* LOGO SOLDA KALSIN */
  .logo {
    flex: 0 0 auto;
  }

  .logo img {
    max-height: 42px;
    width: auto;
    display: block;
  }

  /* SAĞ TARAFI ZORLA AYNI SATIRA AL */
  .header-right {
    flex: 0 0 auto;
    display: flex !important;
    align-items: center;
    gap: 14px;
  }

  /* HAMBURGER */

  .menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 992px) {
  .menu-overlay {
    display: none !important;
  }
  .main-nav {
    position: static !important;
    display: flex !important;
    height: auto !important;
    width: auto !important;
    background: transparent !important;
    transform: none !important;
  }
}
/* ===== FOOTER ===== */
.site-footer {
  background: #242424;
  color: #ccc;
  padding: 60px 0 0;
  font-size: 14px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 15px;
}

.site-footer h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.site-footer p {
  line-height: 1.6;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
}

.site-footer a {
  color: #ccc;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e30613;
}

.footer-bottom {
  border-top: 1px solid #222;
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #888;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-size: 14px;
  line-height: 1.6;
}

.footer-icon {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-top: 3px;
  flex-shrink: 0;
}
html,
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
  margin-top: 20px;
}

.category-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.category-buttons button {
  padding: 10px 16px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  text-decoration: none;
  color: black;
  border: 1px solid #eee;
  padding: 15px;
  text-align: center;
}
.product-box {
  display: flex;
  gap: 40px;
  padding: 20px 20px 20px 20px;
  border: 1px solid rgb(255, 0, 0);
  background: rgba(255, 0, 0, 0.123);
  border-radius: 8px;
  margin: 20px 20px 20px 20px;
}

.product-title {
  color: #c40000;
  font-size: 26px;
  margin-bottom: 20px;
}

.product-left {
  flex: 1;
}

.product-left h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-left ul {
  padding-left: 18px;
}

.product-left li {
  margin-bottom: 6px;
}

.product-right {
  flex: 1;
  line-height: 1.7;
  color: #333;
}
.product-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}
/* === ÜRÜN TABLOSU === */
.product-table-wrapper {
  margin-top: 30px;
  overflow-x: auto;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: #fff;
}
@media (max-width: 768px) {
  .table-scale-wrap {
    width: 100%;
    overflow: hidden; /* yatay kaymayı tamamen kapatır */
  }

  .table-scale-wrap table {
    transform: scale(0.85); /* gerekirse 0.8 / 0.75 */
    transform-origin: top left;
    width: 118%; /* scale sonrası boşluk oluşmaması için */
  }
}

/* ÜST BAŞLIK */
.product-table thead th {
  background: #e67d2200;
  color: #000000;
  padding: 14px 12px;
  text-align: center;
  font-weight: 600;
  border: 2px solid #ff0000;
}

/* SOL BAŞLIK */
.product-table tbody td:first-child {
  font-weight: 600;
  text-align: left;
  background: #f6e1d300;
}

/* SATIRLAR */
.product-table tbody td {
  padding: 12px 12px;
  text-align: center;
  border: 2px solid #ff0000;
  background: #faefe800;
}

/* HOVER */
.product-table tbody tr:hover td {
  background: rgba(255, 0, 0, 0.123);
  transition: background 0.2s ease;
}

/* MOBİL */
@media (max-width: 768px) {
  .product-table {
    font-size: 13px;
  }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .product-box {
    flex-direction: column;
    gap: 20px;
  }
}

/* MOBİL */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 40px;
  }

  .footer-content {
    gap: 30px;
  }
}
.lang-dropdown {
  position: relative;
  font-weight: 600;
  font-size: 14px;
}

.lang-current {
  background: transparent;
  border: 1px solid #ddd;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  border-radius: 4px;
}

.lang-current:hover {
  border-color: #e30613;
}

.lang-arrow {
  width: 14px;
  height: 14px;
  fill: #333;
}

.lang-menu {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: none;
  min-width: 60px;
  z-index: 10001;
}

.lang-menu a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #111;
  font-size: 13px;
}

.lang-menu a:hover {
  background: #f5f5f5;
  color: #e30613;
}

/* AÇILMA */
.lang-dropdown.active .lang-menu {
  display: block;
}
