/* ====================================
   Mega Menu & Navigation Styles
   ==================================== */

/* Subheader */
.subheader {
  background: linear-gradient(135deg, var(--text-dark) 0%, #334155 100%);
  color: white;
  padding: 5px 0 15px 0;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.subheader.hidden {
  transform: translateY(-100%);
}

.subheader-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subheader-left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.subheader-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.subheader-item:hover {
  color: white;
  transform: translateY(-1px);
}

.subheader-item i,
.subheader-item .heroicon {
  color: var(--primary-color);
  font-size: 14px;
}

.subheader-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-header {
  display: flex;
  gap: 10px;
}

.social-header a {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 12px;
  transition: all 0.3s ease;
}

.social-header a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

/* Language Selector */
.language-selector {
  position: relative;
  z-index: 1300;
}

.language-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Language Modal */
.language-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.language-modal.show {
  display: flex;
  opacity: 1;
}

.language-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.language-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow: hidden;
  animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.9) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.language-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #283044 0%, #0066cc 100%);
}

.language-modal-header h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-modal-header h3 i {
  font-size: 26px;
}

.language-modal-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: white;
}

.language-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.language-modal-close i {
  font-size: 20px;
}

.language-modal-body {
  padding: 20px;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

.language-option {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  text-align: left;
}

.language-option:hover {
  border-color: #0066cc;
  background: #f0f7ff;
  transform: translateX(4px);
}

.language-option.active {
  border-color: #0066cc;
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
}

.language-option-flag {
  font-size: 36px;
  line-height: 1;
}

.language-option-info {
  flex: 1;
}

.language-option-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.language-option-native {
  font-size: 13px;
  color: #64748b;
}

.language-option-check {
  color: #0066cc;
  font-size: 24px;
  opacity: 0;
  transition: all 0.3s ease;
}

.language-option.active .language-option-check {
  opacity: 1;
}

/* Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 0;
  transition: all 0.3s ease;
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 1100;
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  top: 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
  max-width: 1300px;
}

.navbar.scrolled .container {
  padding-top: 14px;
  padding-bottom: 14px;
}

.navbar-brand {
  flex-shrink: 0;
}

.navbar-brand img {
  max-height: 50px;
  width: auto;
  height: auto;
  transition: all 0.3s ease;
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.navbar.scrolled .navbar-brand img {
  max-height: 40px;
}

.navbar-collapse {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-nav {
  margin: 0 !important;
}

/* Navbar Actions */
.navbar-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

.btn-search {
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.btn-search:hover {
  background: var(--primary-color);
  color: white;
}

.btn-query {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  height: 40px;
}

.btn-query:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-appointment {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  line-height: 1;
  height: 40px;
}

.btn-appointment:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
}

/* Nav Links */
.nav-item {
  position: static;
}

.nav-item.has-megamenu {
  position: static;
}

.navbar-nav {
  position: static;
}

.navbar .container {
  position: relative;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px !important;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 3px 3px 0 0;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.dropdown-icon {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 40px;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
}

/* Desktop: Mega Menu Hover */
@media (min-width: 992px) {
  .nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 0;
  }
  
  /* Mobil dropdown'ı desktop'ta gizle */
  .mobile-dropdown {
    display: none !important;
  }
  
  /* Mobile menu actions'ı desktop'ta gizle */
  .mobile-menu-actions {
    display: none !important;
  }
}

.mega-menu-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mega-menu-column h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.mega-menu-column h5::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.mega-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.mega-menu-item:hover {
  background: var(--bg-light);
  transform: translateX(5px);
}

.mega-menu-item:hover .mega-menu-text h6 {
  color: var(--primary-color);
}

.mega-menu-text {
  position: relative;
  padding-left: 20px;
}

.mega-menu-text::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
}

.mega-menu-text h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 2px;
  transition: color 0.3s ease;
}

.mega-menu-text p {
  font-size: 12px;
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
}

/* Mega Menu Overlay */
.mega-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mega-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Search Modal */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.search-modal.show {
  display: flex;
}

.search-modal-content {
  background: white;
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.search-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--bg-light);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-close:hover {
  background: var(--primary-color);
  color: white;
  transform: rotate(90deg);
}

.search-container {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.search-input {
  flex: 1;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.search-submit {
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  border: none;
  border-radius: 12px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.search-suggestions h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.search-tag {
  padding: 8px 16px;
  background: var(--bg-light);
  border-radius: 20px;
  font-size: 14px;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-tag:hover {
  background: var(--primary-color);
  color: white;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 991px) {
  /* Subheader'ı gizle */
  .subheader {
    display: none !important;
  }
  
  /* Navbar düzenlemeleri */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    padding: 0 !important;
    background: white !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  }
  
  .navbar .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  
  /* Logo düzenlemeleri */
  .navbar-brand {
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }
  
  .navbar-brand img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
  }
  
  /* Hamburger menü butonu */
  .navbar-toggler {
    border: none;
    padding: 6px;
    position: relative;
    width: 36px;
    height: 36px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }
  
  .navbar-toggler-icon {
    background-image: none;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    display: block;
    position: relative;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: var(--text-dark);
    left: 0;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler-icon::before {
    top: -7px;
  }
  
  .navbar-toggler-icon::after {
    top: 7px;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-color: transparent;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }
  
  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
  }
  
  /* Mobil menü collapse */
  .navbar-collapse {
    position: fixed;
    top: 56px; /* Navbar yüksekliği */
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: 0;
    overflow-y: auto;
    z-index: 1020;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-collapse:not(.show) {
    display: none;
  }
  
  /* Mobile Menu Actions - Mobilde gizle */
  .mobile-menu-actions {
    display: none !important;
  }
  
  .navbar-nav {
    width: 100%;
    margin: 0;
    padding: 8px 20px 20px 20px;
  }
  
  .nav-item {
    border-bottom: 1px solid #f0f0f0;
  }
  
  .nav-item:last-child {
    border-bottom: none;
  }
  
  .nav-link {
    padding: 16px 0 !important;
    font-size: 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark) !important;
    transition: color 0.2s ease;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .nav-link:hover,
  .nav-link:active {
    color: var(--primary-color) !important;
  }
  
  /* Mega menüyü mobilde tamamen gizle */
  .mega-menu {
    display: none !important;
  }
  
  /* Mobil için accordion style dropdown menü */
  .mobile-dropdown {
    display: none;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 8px 16px;
    overflow: hidden;
  }
  
  .has-megamenu.active .mobile-dropdown {
    display: block;
    animation: slideDown 0.3s ease;
  }
  
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .has-megamenu .dropdown-icon {
    transition: transform 0.3s ease;
    font-size: 10px;
    color: var(--primary-color);
    font-weight: bold;
  }
  
  .has-megamenu.active .dropdown-icon {
    transform: rotate(180deg);
  }
  
  /* Accordion Section - Ana Kategoriler */
  .mobile-accordion-section {
    border-bottom: 1px solid #e5e7eb;
  }
  
  .mobile-accordion-section:last-child {
    border-bottom: none;
  }
  
  .mobile-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
  }
  
  .mobile-accordion-header:active {
    background: #f3f4f6;
  }
  
  .mobile-accordion-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .mobile-accordion-icon {
    color: var(--primary-color);
    font-size: 12px;
    transition: transform 0.3s ease;
  }
  
  .mobile-accordion-section.active .mobile-accordion-icon {
    transform: rotate(180deg);
  }
  
  .mobile-accordion-count {
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 10px;
  }
  
  /* Accordion Content */
  .mobile-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
  }
  
  .mobile-accordion-section.active .mobile-accordion-content {
    max-height: 500px;
  }
  
  .mobile-accordion-item {
    display: block;
    padding: 12px 16px 12px 40px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
  }
  
  .mobile-accordion-item::before {
    content: "→";
    position: absolute;
    left: 20px;
    color: #9ca3af;
    font-size: 12px;
    transition: all 0.2s ease;
  }
  
  .mobile-accordion-item:active {
    background: white;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
  }
  
  .mobile-accordion-item:active::before {
    color: var(--primary-color);
    transform: translateX(3px);
  }
  
  /* Desktop navbar-actions'ı mobilde gizle */
  .navbar-actions {
    display: none !important;
  }
  
  /* Mobilde butonlar */
  .navbar-buttons {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
  }
  
  .navbar-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  .social-header {
    display: none;
  }
  
  .language-selector {
    display: none;
  }
  
  .mega-menu {
    padding: 15px;
  }
  
  .mega-menu-item {
    padding: 10px;
  }
  
  .search-modal-content {
    padding: 30px 20px;
  }
}

/* Tablet Responsive (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .navbar-collapse {
    top: 70px;
    padding: 30px;
  }
  
  .mega-menu-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .navbar-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
  }
  
  .navbar-buttons .btn {
    width: calc(50% - 6px);
    margin-bottom: 0;
  }
  
  .navbar-actions {
    flex-wrap: nowrap;
  }
}
/* ====================================
   NEW MEGA MENU STYLES
   ==================================== */

/* Tedaviler Mega Menu - 4 Column Grid */
.mega-menu-treatments .treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.mega-menu-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

/* CTA Column */
.mega-menu-cta {
  background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-image {
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-light);
}

.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.1));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #15803d;
  margin-bottom: 12px;
}

.cta-badge i {
  font-size: 14px;
}

.cta-content h6 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.cta-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

.btn-appointment-cta {
  background: var(--primary-color);
  color: white;
}

.btn-appointment-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-primary-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
  color: white;
  font-weight: 600;
}

.btn-primary-cta:hover {
  background: linear-gradient(135deg, #0056b3 0%, var(--primary-dark) 100%);
  transform: translateY(-2px);
}

/* Kurumsal Mega Menu - 4 Column Grid */
.mega-menu-corporate .corporate-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Info Box Column */
.mega-menu-info-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
}

.info-box-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: white;
  font-size: 28px;
}

.info-box-content h6 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.info-box-content p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Şubelerimiz Mega Menu - Ultra Clean Design */
.mega-menu-branches {
  max-width: 1300px;
}

/* Campaign Banner - Only for Branches Mega Menu */
.mega-menu-branches .mega-menu-campaign-banner {
  background: linear-gradient(135deg, #316AFF 0%, #0052CC 100%);
  color: white;
  padding: 14px 30px;
  margin: -40px -40px 24px -40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.mega-menu-branches .mega-menu-campaign-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  z-index: 0;
}

.mega-menu-branches .campaign-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.mega-menu-branches .campaign-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.mega-menu-branches .campaign-text strong {
  font-weight: 700;
}

.mega-menu-branches .campaign-arrow {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: arrowSlide 1.5s ease-in-out infinite;
}

@keyframes arrowSlide {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* Treatment Campaign Banner - Green/Emerald Theme */
.mega-menu-treatments .mega-menu-campaign-banner.treatment-campaign {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: white;
  padding: 14px 30px;
  margin: -40px -40px 24px -40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.mega-menu-treatments .mega-menu-campaign-banner.treatment-campaign::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  z-index: 0;
}

.mega-menu-treatments .treatment-campaign .campaign-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: pulse 2s ease-in-out infinite;
}

.mega-menu-treatments .treatment-campaign .campaign-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.mega-menu-treatments .treatment-campaign .campaign-text strong {
  font-weight: 700;
}

.mega-menu-treatments .treatment-campaign .campaign-arrow {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  animation: arrowSlide 1.5s ease-in-out infinite;
}

/* Campaign Button Style */
.mega-menu-campaign-banner .campaign-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mega-menu-campaign-banner .campaign-btn:hover {
  background: white;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.mega-menu-campaign-banner .campaign-btn i {
  font-size: 14px;
}

.branches-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: white;
}

.branch-item {
  padding: 32px 24px;
  position: relative;
  transition: background 0.2s ease;
}

.branch-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(180deg, 
    transparent 0%, 
    #e9ecef 10%, 
    #e9ecef 90%, 
    transparent 100%
  );
}

.branch-item:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Branch Visual - Full Width */
.branch-visual {
  margin-bottom: 20px;
  position: relative;
}

/* All Branches with Images (Full Width) */
.branch-item.branch-with-image .branch-visual {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.branch-item.branch-with-image .branch-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.branch-item.branch-with-image:hover .branch-visual img {
  transform: scale(1.15);
}

/* Branch Flag Badge */
.branch-flag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 32px;
  z-index: 10;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.branch-item:hover .branch-flag {
  transform: scale(1.15);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

.branch-item.branch-with-image:hover .branch-visual img {
  transform: scale(1.05);
}

/* Branch Content */
.branch-content h6 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.branch-content p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Branch Header (for featured) */
.branch-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.branch-header h6 {
  margin: 0;
  text-decoration: none !important;
}

/* Şube linklerinde altı çizgili olmayacak */
.branch-item h6:hover,
.branch-item h6:focus {
  text-decoration: none !important;
}

/* Tags */
.tag-primary {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-success {
  display: inline-block;
  background: #28a745;
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

/* Featured Branch - Same Height as Others */
.branch-item.branch-featured .branch-visual {
  height: 180px;
}

/* Branch Features (for featured branch) */
.branch-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.branch-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
  font-weight: 500;
}

.branch-features i {
  font-size: 14px;
  color: var(--primary-color);
  width: 18px;
}

/* Responsive Adjustments */
@media (max-width: 1400px) {
  .mega-menu-treatments .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .mega-menu-corporate .corporate-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .branches-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  /* Mega menus become mobile dropdowns */
  .mega-menu {
    display: none !important;
  }
  
  .mobile-dropdown {
    display: block !important;
  }
  
  .branches-container {
    grid-template-columns: 1fr;
  }
  
  .branch-item:not(:last-child)::after {
    display: none;
  }
  
  .branch-item {
    padding: 24px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .branch-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .branch-item.branch-with-image .branch-visual {
    width: 100%;
    height: 140px;
  }
  
  .branch-item.branch-featured .branch-visual {
    height: 140px;
  }
  
  .branch-content h6 {
    font-size: 16px;
  }
  
  .branch-features span {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .cta-buttons {
    gap: 8px;
  }
  
  .btn-cta {
    padding: 10px 12px;
    font-size: 13px;
  }
  
  .branch-item {
    padding: 20px 16px;
  }
  
  .branch-item.branch-with-image .branch-visual {
    width: 100%;
    height: 120px;
  }
  
  .branch-item.branch-featured .branch-visual {
    height: 140px;
  }
}
