@import url("https://fonts.googleapis.com/css?family=Lato:400,700&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background: #fff;
  color: #000;
}

/* === NAVBAR === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: top 0.4s ease;
  z-index: 999;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  margin-left: -60px; /* Negatif margin ile sola kaydır, istediğin kadar ayarla */
}

.logo img {
  height: 40px;
}

/* === MENU === */
ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  position: relative;
  transform: translateY(13px); /* Aşağı kaydırmak için, değeri artır/azalt */
  margin-right: 90px; /* Sola almak için sağdan margin, değeri artır/azalt */
}

ul li a {
  position: relative;
  color: black;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
  font-weight: 600;
}

ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f1c40f;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

ul li a:hover {
  color: #333;
}

ul li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* === MAP PIN BUTTON === */
.map-pin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.map-pin-btn:hover {
  color: #f1c40f;
}

.map-pin-btn svg {
  width: 18px;
  height: 22px;
}

/* === OLD ACTION BUTTON (not used) === */
.action-btn {
  padding: 10px 20px;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: linear-gradient(90deg, #000000, #f1c40f);
  transition: transform 0.2s ease;
}

.action-btn:hover {
  transform: scale(1.05);
}

/* === YELLOW LINE UNDER NAV === */
.navbar-line {
  height: 2px;
  background: #f1c40f;
  width: 100%;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: black;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* === MOBILE MENU === */
@media (max-width: 768px) {
  ul {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1000;
  }

  ul.show {
    transform: translateY(0);
    opacity: 1;
  }

  .map-pin-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* === HERO SECTION === */
.hero {
  background: url("../img/iba/Ibavalresa-Fabrika_01-scaled.jpg") center/cover no-repeat !important;
  height: 90vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-left: 100px !important;
  color: white !important;
  position: relative !important;
  margin-top: 85px !important;
}

.hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(0, 0, 0, 0.4) !important;
}

.hero-content {
  position: relative !important;
  z-index: 1 !important;
  max-width: 500px !important;
}

.hero-subtitle {
  letter-spacing: 2px !important;
  font-size: 0.9rem !important;
  opacity: 0.9 !important;
}

.hero-title {
  font-size: 5rem !important;
  margin: 10px 0 !important;
  font-weight: 700 !important;
}

.hero-text {
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
  margin-bottom: 20px !important;
}

.hero-buttons {
  display: flex !important;
  gap: 15px !important;
}

.hero-btn {
  padding: 12px 25px !important;
  border: none !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
}

.hero-btn.primary {
  background: #007bff !important;
  color: white !important;
}

.hero-btn.secondary {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
}

.hero-btn.primary:hover,
.hero-btn.secondary:hover {
  opacity: 0.85 !important;
}

/* === CONTENT === */
.content {
  margin-top: 0;
  text-align: center;
  padding: 20px;
}

html, body {
  overflow: visible !important;
  position: static !important;
  transform: none !important;
  overflow-x: hidden !important;
}

.mfp-wrap, .mfp-bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
}

.mfp-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}