/* ==========================
   GENEL
========================== */
* {margin:0; padding:0; box-sizing:border-box;}
html, body {
  width:100%; height:100%;
  font-family:"Times New Roman", Times, serif;
  color:#333;
  background:#f8f6f3;
  overflow-x:hidden;
}

/* ==========================
   ANA SAYFA
========================== */
body.index {
  background:#000;
  overflow:hidden;
}
.hero {
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}
.hero video {
  position:absolute;
  top:0; left:0;
  width:100%; height:100%;
  object-fit:cover;
}

/* ==========================
   SOL MENÜ (TÜM CİHAZLARDA)
========================== */
.sidebar {
  position:fixed;
  top:0; left:0;
  width:240px;
  height:100%;
  background:rgba(0,0,0,0.9);
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:40px 20px;
  z-index:1000;
}
body.index .sidebar {
  background:transparent;
}

/* Logo */
.logo img {
  width:140px;
  display:block;
  margin:0 auto 30px;
}

/* Menü */
.menu ul {
  list-style:none;
}
.menu li {
  margin-bottom:14px;
}
.menu a {
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:color 0.3s;
}
.menu a:hover,
.menu a.active {
  color:#d1b280;
}
.submenu {
  display:none;
  margin-left:15px;
  margin-top:6px;
}
.dropdown.open .submenu {
  display:block;
}
.submenu a {
  color:#ccc;
  font-size:14px;
  display:block;
  margin-bottom:6px;
}

/* ==========================
   ALT BÖLÜM (FOOTER)
========================== */
.footer {
  text-align:center;
  font-size:12px;
}
.social a {
  margin:0 6px;
  color:#fff;
  text-decoration:none;
}
.social a:hover {
  color:#d1b280;
}
.langs {
  margin:10px 0;
}
.langs a {
  color:#aaa;
  margin:0 3px;
  font-size:12px;
  text-decoration:none;
}
.langs a:hover {
  color:#fff;
}
.north-link {
  color:#fff;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
}
.north-link:hover {
  color:#d1b280;
}

/* ==========================
   SAYFA İÇERİKLERİ
========================== */
.content-page {
  margin-left:240px;
  padding:80px 60px;
  background:#f8f6f3;
  min-height:100vh;
  overflow:hidden;
}
.content-page h2 {
  font-size:32px;
  font-weight:700;
  color:#222;
  margin-bottom:15px;
}
.content-page h2::after {
  content:"";
  display:block;
  width:80px;
  height:2px;
  background:#d1b280;
  margin-top:10px;
}
.content-page p {
  font-size:15px;
  line-height:1.8;
  margin-bottom:50px;
  color:#555;
}

/* ==========================
   KOLEKSİYON GRID
========================== */
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:50px 40px;
  justify-items:center;
}
.grid-item {
  background:#fff;
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.06);
  transition:transform 0.3s ease, box-shadow 0.3s ease;
  max-width:320px;
  width:100%;
  text-align:center;
}
.grid-item:hover {
  transform:translateY(-5px);
  box-shadow:0 6px 18px rgba(0,0,0,0.1);
}
.grid-item img {
  width:100%;
  height:420px;
  object-fit:cover;
}
.grid-item h3 {
  font-size:15px;
  font-weight:700;
  margin:14px 0 18px;
  color:#111;
}

/* ==========================
   HAKKIMIZDA SAYFASI
========================== */
.about-container {
  max-width:900px;
  margin:0 auto;
  background:#fff;
  padding:50px 60px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
.about-container h2 {
  font-size:32px;
  font-weight:700;
  color:#222;
  margin-bottom:20px;
}
.about-container p {
  font-size:16px;
  line-height:1.8;
  color:#555;
  margin-bottom:20px;
}
.about-container strong {
  color:#b89c5d;
}
.about-image {
  margin-top:40px;
  text-align:center;
}
.about-image img {
  width:100%;
  border-radius:8px;
  box-shadow:0 3px 12px rgba(0,0,0,0.1);
}

/* ==========================
   ANASAYFA FOOTER (SOL ALT)
========================== */
body.index .footer {
  position:absolute;
  bottom:30px;
  left:20px;
  text-align:left;
}
body.index .footer .social a {
  display:inline-block;
  margin-right:8px;
  font-size:13px;
  color:#fff;
  text-decoration:none;
}
body.index .footer .langs {
  margin:8px 0;
}
body.index .footer .langs a {
  color:#ccc;
  margin-right:6px;
  font-size:12px;
}
body.index .footer .north-link {
  color:#fff;
  font-weight:600;
  font-size:13px;
  text-decoration:none;
}
body.index .footer .north-link:hover {
  color:#d1b280;
}

/* ==========================
   RESPONSIVE DÜZEN
========================== */
@media(max-width:900px){
  .sidebar {
    width:180px;
    padding:30px 15px;
  }
  .logo img {
    width:100px;
  }
  .content-page {
    margin-left:180px;
    padding:40px 20px;
  }
  .grid {
    grid-template-columns:repeat(2,1fr);
    gap:25px;
  }
}
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  min-width: 280px;
}

.contact-info {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}

.contact-info .info-item {
  display: flex;
  flex-direction: column;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.contact-right {
  flex: 1.2;
  min-width: 350px;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form button {
  grid-column: 1 / -1;
  padding: 10px 20px;
  background: #222;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #444;
}

@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}
/* ANA SAYFA DIŞI SAYFALARDA FOOTER SOL ALTA SABİT */
body.subpage .footer {
  position: fixed;
  bottom: 30px;
  left: 20px;
  text-align: left;
}
body.subpage .footer .social a {
  display: inline-block;
  margin-right: 8px;
  font-size: 13px;
  color: #fff;
}
body.subpage .footer .langs a {
  color: #ccc;
  margin-right: 6px;
  font-size: 12px;
}
body.subpage .footer .north-link {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
body.subpage .footer .north-link:hover {
  color: #d1b280;
}
/* ==========================
   MOBİL ÜST BAR
========================== */
.mobile-header {
  display:none;
  position:fixed;
  top:0; left:0;
  width:100%;
  height:65px;
  background:#000;
  z-index:2000;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.mobile-header img {
  height:40px;
}

/* Hamburger buton */
.mobile-menu-toggle {
  width:30px;
  height:22px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  cursor:pointer;
}
.mobile-menu-toggle span {
  display:block;
  width:100%;
  height:3px;
  background:#fff;
  border-radius:3px;
}

/* Menü açıldığında animasyon */
.mobile-menu-toggle.open span:nth-child(1){
  transform:rotate(45deg) translateY(7px);
}
.mobile-menu-toggle.open span:nth-child(2){
  opacity:0;
}
.mobile-menu-toggle.open span:nth-child(3){
  transform:rotate(-45deg) translateY(-7px);
}

/* ==========================
   MOBİLDE SIDEBAR
========================== */
@media(max-width:900px){
  .sidebar {
    transform:translateX(-100%);
    transition:0.3s;
    width:250px;
    background:#000;
    padding-top:120px; /* logo ile çakışmasın */
  }
  .sidebar.active {
    transform:translateX(0);
  }

  /* İçerik sola kaymasın */
  .content-page, .hero {
    margin-left:0 !important;
  }

  /* Mobil header aktif */
  .mobile-header {
    display:flex;
  }

  /* Footer da sidebar içine gözüksün */
  .footer {
    margin-top:40px;
  }
}
/* Masaüstünde hamburger gizli */
.mobile-header {
  display: none;
}
@media(max-width:900px){
  .mobile-header {
    display:flex;  /* sadece mobilde görünür */
  }
}
/* ===== MOBİL MENÜ AŞAĞI AÇILAN ===== */
@media(max-width:900px){

  /* Sidebar artık solda sabit değil, header'ın altında */
  .sidebar {
    position:relative;
    width:100%;
    height:auto;
    padding:20px;
    background:#000;
    display:none; /* kapalı başlar */
    margin-top:65px; /* header yüksekliği kadar boşluk */
  }

  .sidebar.active {
    display:block; /* hamburger tıklayınca açılır */
  }

  /* İçerik menü açılınca aşağı kaymasın */
  .content-page, .hero {
    margin-left:0 !important;
  }

  /* Logo üst menüde olduğu için sidebar logosunu gizle */
  .sidebar .logo {
    display:none;
  }

  /* Dil, sosyal ikonlar menünün içinde kalsın */
  .footer {
    margin-top:30px;
    text-align:left;
  }

  /* Menü linkleri mobilde tam genişlik */
  .menu a {
    display:block;
    padding:8px 0;
  }
}
/* MOBİL FOOTER DÜZENİ */
@media(max-width:900px){

  /* Sosyal medya linklerini gizle */
  .footer .social {
    display:none;
  }

  /* Dil seçenekleri */
  .footer .langs {
    display:block;
    margin:25px 0 100px 0;
    font-size:14px;
    color:#fff;
  }
  .footer .langs a {
    color:#fff !important;
    margin-right:6px;
    font-size:14px;
  }

  /* NORTH MEDIA */
  .footer .badge {
    margin-top:10px;
  }
  .footer .badge .north-link {
    color:#fff;
    font-weight:200;
    font-size:14px;
    display:block;
    margin-bottom:15px;
  }

  /* Menü ile footer arasında boşluk */
  .menu ul {
    margin-bottom:40px;
  }

  /* Menü yazıları hizalı */
  .menu a {
    font-size:18px;
    font-weight:600;
    letter-spacing:0.5px;
    padding:8px 0;
    display:block;
  }
}
/* ===== MOBİL DÜZELTME: DİL SEÇENEKLERİ İLE MENÜ ARASINI AÇ ===== */
@media(max-width:900px){

  /* Menü ile footer arasında net boşluk */
  .sidebar .menu {
    margin-bottom: 80px;  /* Burası asıl çözüm */
  }

  /* Dil seçeneklerini öne çıkar ve aşağı al */
  .footer .langs {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size:14px;
    display:block;
  }

  .footer .badge {
    margin-top: 10px;
  }
}
