/* ============================================
   MODERN MOBİL MENÜ - SIFIRDAN TASARIM
   ============================================ */

/* Drawer (yan panel) */
.mm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  box-shadow: -8px 0 30px rgba(0,0,0,0.15);
  z-index: 10001;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mm-drawer.mm-open {
  transform: translateX(0);
}

/* Overlay */
.mm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.mm-overlay.mm-open {
  opacity: 1;
  visibility: visible;
}

/* Menü başlığı */
.mm-header {
  position: relative;
  padding: 24px 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  text-align: center;
  border-bottom: 3px solid #8cc63f;
}

.mm-header .mm-logo {
  display: block;
  max-height: 48px;
  width: auto;
  margin: 0 auto 12px;
}

.mm-header .mm-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

/* Kapat butonu */
.mm-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mm-close:hover {
  background: rgba(255,255,255,0.2);
}

/* Menü listesi */
.mm-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-item {
  border-bottom: 1px solid #eee;
}

.mm-item:last-child {
  border-bottom: none;
}

/* Ana link satırı */
.mm-row {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 20px;
  background: #fff;
  transition: background 0.2s;
}

.mm-row:hover {
  background: #fafafa;
}

.mm-row a {
  flex: 1;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mm-row a:active {
  color: #8cc63f;
}

/* Dropdown toggle butonu */
.mm-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  margin: 0 -20px 0 0;
  border: none;
  background: transparent;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.mm-btn:hover,
.mm-btn.mm-active {
  color: #8cc63f;
}

.mm-btn i {
  transition: transform 0.3s ease;
}

.mm-btn.mm-active i {
  transform: rotate(180deg);
}

/* Alt menü */
.mm-sub {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #f5f7fa;
  border-top: 1px solid #eee;
  display: none;
}

.mm-sub.mm-show {
  display: block;
}

.mm-sub li {
  border-bottom: 1px solid #e8e8e8;
}

.mm-sub li:last-child {
  border-bottom: none;
}

.mm-sub a {
  display: block;
  padding: 14px 20px 14px 40px;
  font-size: 14px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.mm-sub a:hover {
  color: #8cc63f;
  background: #fff;
}

/* İletişim alanı */
.mm-footer {
  padding: 24px 20px;
  background: #1a1a1a;
  color: #fff;
  margin-top: 20px;
}

.mm-footer h4 {
  color: #8fbf4f;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #8fbf4f;
}

.mm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mm-footer li {
  margin-bottom: 10px;
  font-size: 14px;
}

.mm-footer a {
  color: #aaa;
  text-decoration: none;
}

.mm-footer a:hover {
  color: #8cc63f;
}

.mm-footer i {
  color: #8cc63f;
  margin-right: 10px;
  width: 18px;
  text-align: center;
}
