:root {
  --primary: #b40000;
  --bg-dark: #0f0f0f;
  --bg-light: #1b1b1b;
  --text: #ffffff;
  --transition: all 0.3s ease;
  --header-height: 75px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f8f8f8;
}

/* HEADER */
header {
  width: 100%;
  height: var(--header-height);
  background: var(--bg-dark);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px; /* Sabit yükseklik — header yüksekliğiyle orantılı */
  width: auto; /* Genişlik oranı korur */
  object-fit: contain; /* Görsel taşmadan oturur */
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05); /* Hafif büyüme efekti */
}

@media (max-width: 768px) {
  .logo img {
    height: 50px; /* Mobilde biraz daha küçük */
  }
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 35px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

nav a:hover {
  color: var(--primary);
}

/* --- DROPDOWN --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 225%;
  left: 0;
  background: var(--bg-light);
  border-radius: 0px;
  min-width: 230px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* --- WHATSAPP BUTON --- */
.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-btn img {
  width: 18px;
  height: 18px;
}

.whatsapp-btn:hover {
  background: #700000;
  transform: scale(1.03);
}

/* --- HAMBURGER --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* --- MOBILE NAV --- */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transform: translateY(-100%);
  transition: var(--transition);
  z-index: 1000;
  padding-top: 100px;
}

.mobile-nav.active {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 500;
  width: 80%;
  text-align: left;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav .submenu {
  display: none;
  flex-direction: column;
  width: 75%;
  margin-left: 20px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav .submenu a {
  font-size: 1rem;
  padding: 10px 0;
  border: none;
}

.mobile-nav .submenu.active {
  display: flex;
}

.plus-btn {
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.plus-btn.rotate {
  transform: rotate(45deg);
  color: var(--primary);
}

.mobile-whatsapp {
  margin-top: 40px;
  background-color: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.mobile-whatsapp img {
  width: 20px;
  height: 20px;
}

.mobile-whatsapp:hover {
  background: #700000;
}

.mobile-whatsapp {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: 80%;
}

.mobile-whatsapp button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  width: 90%;
  transition: background 0.3s;
}

.mobile-whatsapp button:hover {
  background: #700000;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  nav,
  .whatsapp-btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo {
    margin: 0 auto;
  }
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover; /* görsel kırpma azalsın */
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 3s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Arka plan karartması */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* İçerik */
.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: #fff;
  opacity: 0;
  animation: fadeUp 1.2s ease forwards;
}

.slide.active .content {
  opacity: 1;
}

.content h2 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  margin-bottom: 15px;
}

.content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;
  background: #ffcc00;
  color: #111;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: #fff;
  color: #000;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate(-50%, -30%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Kontroller */
.controls span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  padding: 10px;
  transition: 0.3s;
  z-index: 10;
}

.controls .prev {
  left: 25px;
}
.controls .next {
  right: 25px;
}

.controls span:hover {
  color: #ffcc00;
}

/* Noktalar */
.dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.3s;
}

.dots span.active {
  background: #ffcc00;
  transform: scale(1.2);
}

/* Mobil uyum */
@media (max-width: 768px) {
  .hero-slider {
    height: 70vh;
  }
  .content h2 {
    font-size: 2rem;
  }
  .content p {
    font-size: 1rem;
  }
  .btn {
    padding: 10px 22px;
  }
}

.categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding: 80px 6%;
  background: #f9f9f9;
  
}

.category {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.category:hover {
  transform: translateY(-5px);
}

.category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
  border-radius: 18px;
}

.category:hover img {
  transform: scale(1.1);
  filter: blur(2px) brightness(0.9);
}

.category .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: 0.4s ease;
  border-radius: 18px;
}

.category:hover .overlay {
  opacity: 1;
}

.category .overlay span {
  color: #fff;
  font-size: 1.0rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .categories {
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 5%;
  }

  .category .overlay span {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .categories {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .category {
    border-radius: 12px;
  }
}

.page-hero {
  position: relative;
  width: 100%;
  height: 437px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 3.5%;
}

.page-hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 40%, rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: center;
}

.page-hero .container {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  padding: 0 20px;
}

.page-hero h1 {
  font-size: 4.0rem;
  font-weight: 1000;
  margin-bottom: 10px;
}

.page-hero h1 span {
  color: #ffffff; /* turuncumsu vurgu */
}

.page-hero p {
  font-size: 1.50rem;
  letter-spacing: 0.5px;
}

.page-hero p a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-hero p a:hover {
  color: #ff4500;
}

@media (max-width: 768px) {
  .page-hero {
    height: 220px;
    margin-top: 15%;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero p {
    font-size: 0.85rem;
  }
}

/* ===== Footer (Gelişmiş Hizalama & Mobil Ortalı) ===== */
.site-footer {
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
  color: #ddd;
  padding: 60px 0 0;
  position: relative;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.2fr;
  gap: 36px;
  align-items: start;
}

/* Brand column */
.footer-col.brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.3px;
}

.footer-col.brand p {
  color: #b8b8b8;
  line-height: 1.7;
  margin: 0;
  font-size: 15px;
}

/* Sosyal medya butonları - modern glassmorphism */
.social {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary, #b40000), #ff4d4d);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.social a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(180, 0, 0, 0.35);
  border-color: transparent;
}

.social a:hover::before {
  opacity: 1;
}

/* Diğer sütunlar */
.footer-col h4 {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary, #b40000);
  border-radius: 2px;
}

/* Links */
.footer-col.links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col.links a {
  color: #c8c8c8;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-col.links a:hover {
  color: #fff;
  padding-left: 6px;
}

/* Contact */
.footer-col.contact ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col.contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #c8c8c8;
  font-size: 15px;
}

.footer-col.contact i {
  color: var(--primary, #b40000);
  font-size: 16px;
  margin-top: 3px;
  min-width: 18px;
}

.footer-col.contact a {
  color: #c8c8c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col.contact a:hover {
  color: #fff;
}

/* Map */
.footer-col.map {
  display: flex;
  flex-direction: column;
}

.footer-map {
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.map-link:hover {
  opacity: 1;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #999;
  font-size: 14px;
}

.footer-bottom a {
  color: #c8c8c8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-bottom .mini-links {
  display: flex;
  gap: 16px;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-col.brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }

  .social {
    justify-content: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col.links,
  .footer-col.contact {
    text-align: center;
    align-items: center;
  }

  .footer-col.links ul,
  .footer-col.contact ul {
    align-items: center;
  }

  .footer-col.contact li {
    justify-content: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 576px) {
  .site-footer {
    padding: 48px 0 0;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-col.brand p {
    font-size: 14px;
  }

  .social {
    justify-content: center;
  }

  .footer-col h4 {
    text-align: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col.links ul,
  .footer-col.contact ul {
    align-items: center;
  }

  .footer-col.contact li {
    justify-content: center;
  }

  .footer-col.links a:hover {
    padding-left: 0;
  }

  .footer-map {
    height: 180px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 20px;
  }

  .footer-bottom .mini-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}
.social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  text-decoration: none; /* Alt çizgiyi kaldırır */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

/* Footer bottom hizalama düzeltmesi */
.footer-bottom {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #999;
  font-size: 14px;

  /* sayfa ile aynı genişlikte ortala */
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom .mini-links { display: flex; gap: 16px; }
.footer-bottom a { color: #c8c8c8; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* Mobilde ortaya hizala */
@media (max-width: 576px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 16px 20px;
  }
}
