﻿/* ===== MODERN MEGA MENU STYLES ===== */
#menu {
  display: flex;
  align-items: center;
}

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 5px;
}

/* Desktop Normal Mode - Tıklanabilir Accordion */
@media (min-width: 1101px) {
  /* Normal modda (scroll yapmadan) hamburger gizli */
  .site-header:not(.scrolled) .hamburger {
    display: none;
  }
  
  .main-menu {
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
  
  .mega-category-item {
    position: relative;
    list-style: none;
  }
  
  .category-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    color: var(--navy, #0a1d3b);
    font-weight: 700;
    font-size: 14px;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
  }
  
  .category-title i {
    color: #d8aa3c;
    font-size: 16px;
    transition: transform 0.3s ease;
  }
  
  .category-title::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 11px;
    transition: transform 0.3s ease;
    opacity: 0.7;
  }
  
  .mega-category-item.active .category-title::after {
    transform: rotate(180deg);
  }
  
  .category-title:hover {
    background: rgba(255, 212, 0, 0.1);
    color: #d8aa3c;
  }
  
  .category-title:hover i {
    transform: scale(1.1) rotate(5deg);
  }
  
  /* Alt Menü - Desktop Dropdown (Hover ile açılır) */
  .category-submenu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 240, 0.96) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 212, 0, 0.2);
    padding: 0;
    min-width: 240px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, visibility 0.2s ease, padding 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
  }
  
  /* Hover ile açılma - hem tıklama hem hover */
  .mega-category-item:hover .category-submenu,
  .mega-category-item.active .category-submenu {
    max-height: 500px;
    padding: 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }
  
  /* Hover alanını genişlet - menüye giderken kapanmasın */
  .mega-category-item::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    z-index: 999;
  }
  
  .category-submenu li {
    margin: 0;
    list-style: none;
  }
  
  .category-submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
  }
  
  .category-submenu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ffd400, #d8aa3c);
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .category-submenu li a i {
    color: #d8aa3c;
    font-size: 14px;
    transition: transform 0.25s ease;
  }
  
  .category-submenu li a:hover {
    background: rgba(255, 212, 0, 0.15);
    padding-left: 18px;
    color: var(--navy, #0a1d3b);
    transform: translateX(3px);
  }
  
  .category-submenu li a:hover::before {
    transform: translateX(0);
  }
  
  .category-submenu li a:hover i {
    transform: scale(1.15) rotate(5deg);
  }
}

/* Tablet - Hamburger Menü */
@media (max-width: 1100px) {
  .hamburger {
    display: inline-flex !important;
  }
  
  .site-header:not(.scrolled) #menu {
    position: fixed;
    top: var(--header-h, 70px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,252,240,0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 10px 40px rgba(0,0,0,.15), 0 0 0 1px rgba(255,212,0,0.2);
    display: flex !important;
    flex-direction: column;
    padding: 0;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
    z-index: 900;
    opacity: 0;
  }
  
  .site-header:not(.scrolled) #menu.open {
    max-height: 80vh;
    opacity: 1;
    padding: 20px;
  }
}

/* ===== MODERN ANIMATED HAMBURGER MENU ===== */
.hamburger{display:none;align-items:center;justify-content:center;background:none;border:0;cursor:pointer;width:44px;height:44px;position:relative;transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);border-radius:12px;margin-left:auto}
.hamburger:hover{background:rgba(10,29,59,0.1);transform:scale(1.05)}

.hamburger span{display:block;position:absolute;height:3px;width:26px;background:var(--navy);border-radius:3px;opacity:1;left:9px;transform:rotate(0deg);transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1)}

.hamburger span:nth-child(1){top:12px;transform-origin:left center}
.hamburger span:nth-child(2){top:21px;transform-origin:left center}
.hamburger span:nth-child(3){top:30px;transform-origin:left center}

.hamburger.open span:nth-child(1){transform:rotate(45deg);top:11px;left:12px}
.hamburger.open span:nth-child(2){width:0%;opacity:0}
.hamburger.open span:nth-child(3){transform:rotate(-45deg);top:31px;left:12px}

.site-header.inverted .hamburger span{background:#fff}
.site-header.inverted .hamburger:hover{background:rgba(255,255,255,0.2)}

@keyframes dropDown{
0%{transform:translateY(-100%) rotateX(-90deg);opacity:0}
50%{transform:translateY(0) rotateX(0deg);opacity:1}
65%{transform:translateY(5px) rotateX(2deg)}
80%{transform:translateY(-3px) rotateX(-1deg)}
100%{transform:translateY(0) rotateX(0deg);opacity:1}
}

@keyframes swing{
0%, 100%{transform:translateX(0) rotate(0deg)}
25%{transform:translateX(-2px) rotate(-0.5deg)}
75%{transform:translateX(2px) rotate(0.5deg)}
}

@keyframes fadeInStagger{
0%{opacity:0;transform:translateY(-20px) scale(0.95)}
100%{opacity:1;transform:translateY(0) scale(1)}
}

@media (max-width: 1100px){
.hamburger{display:inline-flex !important;align-items:center;justify-content:center;align-self:center;margin-left:auto}
.site-header .logo{margin:0}
.site-header .nav{justify-content:space-between;padding:16px max(20px,3vw)}

#menu {
  position: fixed;
  top: var(--header-h, 70px);
  left: 0;
  right: 0;
  width: 100%;
  max-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,252,240,0.95) 100%);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  box-shadow: 0 10px 40px rgba(0,0,0,.15), 0 0 0 1px rgba(255,212,0,0.2);
  display: flex !important;
  flex-direction: column;
  padding: 0;
  transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  z-index: 900;
  opacity: 0;
}

/* Mobil scrollbar */
#menu::-webkit-scrollbar {
  width: 6px;
}

#menu::-webkit-scrollbar-track {
  background: rgba(255, 212, 0, 0.05);
}

#menu::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffd400, #d8aa3c);
  border-radius: 10px;
}

#menu::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d8aa3c, #ffd400);
}

#menu {
  scrollbar-width: thin;
  scrollbar-color: #ffd400 rgba(255, 212, 0, 0.05);
}

#menu.open {
  max-height: 80vh;
  opacity: 1;
  animation: dropDown 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  padding: 20px;
}

.main-menu {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  gap: 16px;
}

.mega-category-item {
  opacity: 0;
  transform: translateY(-20px);
  width: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 212, 0, 0.2);
}

#menu.open .mega-category-item {
  animation: fadeInStagger 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

#menu.open .mega-category-item:nth-child(1){animation-delay:0.1s}
#menu.open .mega-category-item:nth-child(2){animation-delay:0.2s}
#menu.open .mega-category-item:nth-child(3){animation-delay:0.3s}
#menu.open .mega-category-item:nth-child(4){animation-delay:0.4s}
#menu.open .mega-category-item:nth-child(5){animation-delay:0.5s}
#menu.open .mega-category-item:nth-child(6){animation-delay:0.6s}
#menu.open .mega-category-item:nth-child(7){animation-delay:0.7s}
#menu.open .mega-category-item:nth-child(8){animation-delay:0.8s}

/* Kategori Başlığı - Mobil (Accordion Yok) */
.category-title {
  color: var(--navy);
  border-radius: 0;
  padding: 0 0 12px 0;
  border-bottom: 2px solid rgba(255,212,0,0.3);
  font-size: 16px;
  font-weight: 800;
  width: 100%;
  justify-content: flex-start;
  position: relative;
  cursor: default;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ok ikonunu kaldır */
.category-title::after {
  display: none;
}

.category-title::before {
  display: none;
}

.category-title i {
  color: #d8aa3c;
  font-size: 20px;
}

/* Alt Menü - Her zaman görünür */
.category-submenu {
  position: static;
  transform: none;
  min-width: auto;
  width: 100%;
  max-height: none !important;
  overflow: visible;
  padding: 0;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: all;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-submenu li a {
  padding: 10px 12px;
  font-size: 14px;
  border-bottom: none;
  border-radius: 8px;
  border-left: 3px solid transparent;
}

.category-submenu li a:hover {
  padding-left: 15px;
  background: rgba(255, 212, 0, 0.15);
  border-left-color: #ffd400;
  transform: translateX(3px);
}

.mega-category-item:last-child .category-title {
  border-bottom: 2px solid rgba(255,212,0,0.3);
}
}

.mega-category h3 {
  font-size: 13px;
  margin-bottom: 10px;
  padding-bottom: 8px;
}

.mega-category ul li a {
.mega-category-item:last-child .category-title {
  border-bottom: none;
}
}

/* ===== MODERN FOOTER STYLES ===== */
.site-footer {
  background: linear-gradient(135deg, #0a1d3b 0%, #132f54 100%);
  color: #ffffff;
  padding: 60px 20px 20px;
  margin-top: 80px;
  flex-shrink: 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ffd400;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section h3 i {
  font-size: 22px;
}

/* İletişim Bilgileri */
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-item:hover {
  background: rgba(255, 212, 0, 0.1);
  border-color: #ffd400;
  transform: translateX(5px);
}

.contact-item i {
  font-size: 24px;
  color: #ffd400;
  flex-shrink: 0;
}

.contact-item.whatsapp i {
  color: #25D366;
}

.contact-item.whatsapp:hover {
  border-color: #25D366;
  background: rgba(37, 211, 102, 0.1);
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-size: 14px;
  font-weight: 600;
  color: #ffd400;
}

.contact-item span {
  font-size: 15px;
  color: #e0e0e0;
}

/* Adres Bilgileri */
.address-text {
  font-size: 15px;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.address-text strong {
  color: #ffd400;
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
}

.work-hours {
  font-size: 14px;
  line-height: 1.8;
  color: #e0e0e0;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #ffd400;
}

.work-hours i {
  color: #ffd400;
  margin-right: 8px;
}

.work-hours strong {
  color: #ffd400;
  display: block;
  margin-bottom: 8px;
}

/* Sosyal Medya Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.social-btn i {
  font-size: 28px;
  transition: transform 0.3s ease;
}

.social-btn span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-btn.instagram {
  color: #E4405F;
}

.social-btn.instagram:hover {
  background: linear-gradient(135deg, #833AB4 0%, #E4405F 50%, #FCAF45 100%);
  color: white;
  border-color: #E4405F;
  transform: translateY(-3px);
}

.social-btn.facebook {
  color: #1877F2;
}

.social-btn.facebook:hover {
  background: #1877F2;
  color: white;
  border-color: #1877F2;
  transform: translateY(-3px);
}

.social-btn.twitter {
  color: white;
}

.social-btn.twitter svg {
  fill: white;
}

.social-btn.twitter:hover {
  background: #000000;
  color: white;
  border-color: #000000;
  transform: translateY(-3px);
}

.social-btn.twitter:hover svg {
  fill: white;
}

.social-btn.linkedin {
  color: #0A66C2;
}

.social-btn.linkedin:hover {
  background: #0A66C2;
  color: white;
  border-color: #0A66C2;
  transform: translateY(-3px);
}

.social-btn.youtube {
  color: #FF0000;
}

.social-btn.youtube:hover {
  background: #FF0000;
  color: white;
  border-color: #FF0000;
  transform: translateY(-3px);
}

.social-btn.pinterest {
  color: #E60023;
}

.social-btn.pinterest:hover {
  background: #E60023;
  color: white;
  border-color: #E60023;
  transform: translateY(-3px);
}

.social-btn:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Hızlı Linkler */
.quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-links ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  color: #e0e0e0;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.quick-links ul li a i {
  color: #ffd400;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.quick-links ul li a:hover {
  background: rgba(255, 212, 0, 0.1);
  color: #ffd400;
  padding-left: 20px;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #b0b0b0;
}

.designed-by {
  color: #e0e0e0;
}

.designed-by strong {
  color: #ffd400;
  font-weight: 700;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 20px;
    margin-top: 50px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

