/* 1. DEĞİŞKENLER VE TEMEL AYARLAR */
:root {
  --primary: #0b1f33;
  --gold: #d4af37;
  --bg: #f4f6f9;
  --white: #fff;
  --shadow: 0 15px 40px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.6;
  background:
    radial-gradient(circle at top, #ffffff 0%, #f1f4f8 40%, #eef2f7 100%);
}

/* NAVBAR */
nav {
  background: linear-gradient(135deg, #0b1f33, #061324);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.nav-logo img {
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
  transition: .4s;
}
.nav-logo img:hover {
  transform: scale(1.05) rotate(-2deg);
}

.nav-links {
  display: flex;
  gap: 30px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: .3s;
  border-radius: 5px;
}

nav a:hover::after {
  width: 100%;
}

/* SECTION & CARD */
section {
  max-width: 1100px;
  margin: 80px auto;
  padding: 20px;
}

.card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

/* BAŞLIK */
.section-title {
  font-size: 2.2rem;
  margin-bottom: 35px;
  font-weight: 600;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: var(--gold);
  display: block;
  margin: 12px auto;
  border-radius: 5px;
}

/* ANA LOGO */
.main-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: .4s;
}
.main-logo:hover {
  transform: scale(1.08);
}

/* MARKALAR */
.markalar-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.marka-item {
  background: linear-gradient(145deg, #ffffff, #f2f5fa);
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: .35s;
  width: 160px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marka-item:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 45px rgba(11,31,51,.25);
}

.marka-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* DETAY PANELİ */
.brand-detail {
  display: none;
  background: white;
  margin-top: 50px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
  animation: fadeUp .5s ease;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.urun {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  transition: .3s;
}
#urunler .section-title {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.urun:hover {
  transform: translateY(-6px);
}
.urun:last-child {
  border-bottom: none;
}

.brand-detail img {
  max-width: 260px;
  margin: 20px auto;
  display: block;
  transition: .4s;
}
.brand-detail img:hover {
  transform: scale(1.07);
}

.close-btn {
  position: absolute;
  top: 18px;
  right: 25px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f6f9;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .3s;
}
.close-btn:hover {
  background: var(--gold);
}

/* İLETİŞİM */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.info-box {
  background: linear-gradient(145deg, #ffffff, #f4f7fb);
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #eee;
  transition: .3s;
}
.info-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

.map-btn {
  display: block;
  margin: 30px auto 0;
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: .3s;
}
.map-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(11,31,51,.5);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #061324, #0b1f33);
  color: white;
  text-align: center;
  padding: 45px 20px;
}

#qrcode {
  background: white;
  padding: 12px;
  margin-top: 20px;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
}

/* MOBİL */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .marka-item {
    width: 140px;
  }
}
