/* Rimax MMC - Premium Design System */
:root {
  --gold: #D4AF37;
  --dark-slate: #1A1A1A;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.4);
  --topbar-h: 84px;
}

/* Arka Plan Sabitliği */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("./BG ag.jpg") center/cover no-repeat;
  z-index: -1;
}

* {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* --- Header & Nav --- */
.topbar {
  position: fixed;
  top: 0; width: 100%; height: var(--topbar-h);
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.topbar__inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.brand__logo { height: 48px; width: auto; }

.topbar__right {
  display: flex; align-items: center; gap: 25px;
}

.nav { display: flex; gap: 30px; }
.nav__link {
  color: #fff; text-decoration: none; font-size: 15px;
  font-weight: 400; transition: 0.3s;
}
.nav__link:hover { color: var(--gold); }

/* --- Language Switcher (Hizalama Düzeltildi) --- */
.lang-switcher { 
  position: relative; 
  display: inline-flex; /* Butonla dropdown'ı paketledik */
}

.lang-btn {
  background: transparent; color: #fff; border: 1px solid var(--gold);
  padding: 6px 15px; border-radius: 4px; cursor: pointer; font-size: 14px;
  white-space: nowrap;
}

.lang-dropdown {
  display: none; 
  position: absolute; 
  top: calc(100% + 10px); /* Butonun tam altına, 10px boşlukla */
  right: 0; /* Butonun sağ kenarına hizalı */
  background: #000; 
  border-radius: 6px; 
  min-width: 100px; 
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.lang-dropdown a {
  display: block; color: #fff; padding: 12px; text-decoration: none;
  font-size: 13px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.lang-dropdown a:hover { background: var(--gold); }

/* --- Sections & Glass Panels --- */
section { padding: 100px 0; }
.section-title { font-size: 38px; font-weight: 700; text-align: center; margin-bottom: 50px; }
.section-title::after { content: ""; display: block; width: 60px; height: 4px; background: var(--gold); margin: 15px auto; }

.hero { min-height: 85vh; display: flex; align-items: center; }
.hero__title { font-size: clamp(34px, 6vw, 68px); font-weight: 800; color: #000; line-height: 1.1; max-width: 900px; }
.accent { color: var(--gold); }

.glass-panel, .service-card, .contact-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.glass-panel { padding: 50px; text-align: center; font-size: 20px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 50px 35px; text-align: center; transition: 0.4s; }
.service-card:hover { transform: translateY(-10px); border-color: var(--gold); }
.service-icon { font-size: 45px; margin-bottom: 25px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.contact-card { padding: 40px; display: flex; flex-direction: column; gap: 25px; }
.contact-item .label { display: block; font-size: 12px; color: var(--gold); text-transform: uppercase; font-weight: 700; }
.contact-item .value { font-size: 17px; color: #111; text-decoration: none; font-weight: 500; }

.mapbox { border-radius: 20px; overflow: hidden; height: 450px; border: 1px solid var(--glass-border); }
.mapbox iframe { width: 100%; height: 100%; border: none; }

.footer { background: #000; color: rgba(255,255,255,0.5); padding: 40px 0; text-align: center; font-size: 14px; }

/* Mobile Menu */
.nav__toggle { display: none; background: none; border: none; cursor: pointer; }
.nav__toggle span { display: block; width: 28px; height: 2px; background: #fff; margin: 6px 0; }

@media (max-width: 768px) {
  .nav {
    display: none; position: absolute; top: var(--topbar-h); left: 0; width: 100%;
    background: #000; flex-direction: column; padding: 40px; text-align: center;
  }
  .nav.is-open { display: flex; }
  .nav__toggle { display: block; }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  body::before { background-attachment: scroll; }
}

/* Animations */
.reveal-on-load { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.scroll-reveal { opacity: 0; transform: translateY(40px); transition: 0.8s ease; }
.is-visible { opacity: 1; transform: translateY(0); }