/* Header */
.site-header{
  position:absolute;
  top:0;
  left:0;
  right:0;
  z-index:50;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}



.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:70px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  color:#ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}


.brand-text {
  font-size: 35px;
  letter-spacing: .2px;
  font-weight: 100;
  font-family: cursive;
}

.brand-logo {
  height: 50px;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}



.site-nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav-link{
  padding:8px 10px;
  border-radius:8px;
  color:rgba(255,255,255,0.8);
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.nav-link:hover{
  color:#ffffff;
}



.nav-cta{
  margin-left:8px;
}

/* Header Actions Container */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dil Seçici */
.language-selector {
  position: relative;
}

.language-dropdown {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.language-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.language-toggle i.fa-globe {
  font-size: 16px;
}

.language-toggle i.fa-chevron-down {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.language-dropdown:hover .language-toggle i.fa-chevron-down,
.language-dropdown.active .language-toggle i.fa-chevron-down {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  list-style: none;
  padding: 8px;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.language-dropdown:hover .language-menu,
.language-dropdown.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-menu li {
  margin: 0;
  padding: 0;
}

.language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  color: #1f2937;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
}

.language-option:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.language-option.active {
  background: rgba(59, 130, 246, 0.15);
  color: #2563eb;
  font-weight: 600;
}

.language-option.active i.fa-check {
  color: #2563eb;
  font-size: 12px;
}

.language-name {
  flex: 1;
}

/* Dil kısaltması - sadece mobilde görünsün */
.language-toggle .current-language-code {
  display: none;
}

/* Responsive - Dil Seçici */
@media (max-width: 900px) {
  .language-toggle {
    padding: 6px 12px;
    font-size: 12px;
    gap: 6px;
  }
  
  .language-toggle .current-language {
    display: none;
  }
  
  .language-toggle .current-language-code {
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
  }
  
  .language-menu {
    right: 0;
    min-width: 160px;
  }
}

/* Theme Switch Wrapper */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(15px);
  padding: 4px 10px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.theme-switch-wrapper:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 
    0 6px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.theme-switch-wrapper.yacht-mode {
  cursor: pointer;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(3, 105, 161, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 
    0 4px 16px rgba(59, 130, 246, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.theme-switch-wrapper.yacht-mode:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(3, 105, 161, 0.3) 100%);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 
    0 8px 24px rgba(59, 130, 246, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.theme-switch-wrapper.yacht-mode .theme-label {
  color: rgba(255, 255, 255, 1);
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(59, 130, 246, 0.6);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

.theme-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  letter-spacing: 0.2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.theme-label-left {
  padding-right: 3px;
}

.theme-label-right {
  padding-left: 3px;
}

.theme-switch-wrapper.yacht-mode .theme-label-left {
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
}

.theme-switch-wrapper:not(.yacht-mode) .theme-label-right {
  color: rgba(255, 255, 255, 0.5);
  opacity: 0.7;
}

.theme-switch-wrapper.yacht-mode .theme-label-right {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 4px rgba(59, 130, 246, 0.6);
}

.theme-switch-wrapper:not(.yacht-mode) .theme-label-left {
  color: rgba(255, 255, 255, 1);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Theme Switch */
.theme-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 22px;
  cursor: pointer;
}

.theme-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.switch-slider i {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  transform: scale(1);
}

.switch-slider .fa-house-chimney {
  color: rgba(255, 255, 255, 1);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 50%;
  box-shadow: 
    0 4px 10px rgba(0, 0, 0, 0.3),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 3;
}

.theme-switch input:checked + .switch-slider {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.8) 0%, rgba(12, 74, 110, 0.9) 100%);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 
    0 4px 15px rgba(59, 130, 246, 0.4),
    inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.theme-switch input:checked + .switch-slider::before {
  transform: translateX(22px);
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 
    0 4px 12px rgba(59, 130, 246, 0.5),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.theme-switch input:checked + .switch-slider .fa-ship {
  color: #ffffff;
  filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.8));
  transform: scale(1.15);
  animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
  0%, 100% { transform: scale(1.15) rotate(0deg); }
  25% { transform: scale(1.15) rotate(-5deg); }
  75% { transform: scale(1.15) rotate(5deg); }
}

.theme-switch input:checked + .switch-slider .fa-house-chimney {
  color: rgba(255, 255, 255, 0.4);
  transform: scale(0.9);
  animation: none;
}

.theme-switch:hover .switch-slider {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.theme-switch input:checked:hover + .switch-slider {
  background: linear-gradient(135deg, rgba(3, 105, 161, 0.9) 0%, rgba(12, 74, 110, 1) 100%);
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 
    0 6px 20px rgba(59, 130, 246, 0.6),
    inset 0 1px 2px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.theme-switch:active .switch-slider::before {
  width: 30px;
}

.nav-toggle{
  display:none;
  position:relative;
  width:44px;
  height:44px;
  border:1px solid var(--border);
  background:var(--muted-surface);
  border-radius:10px;
  align-items:center;
  justify-content:center;
}

.nav-toggle span{
  position:absolute;
  width:20px;
  height:2px;
  background:var(--text);
  transition:transform .2s ease, opacity .2s ease;
}

.nav-toggle span:nth-child(1){
  transform:translateY(-6px);
}

.nav-toggle span:nth-child(2){
  transform:translateY(0);
}

.nav-toggle span:nth-child(3){
  transform:translateY(6px);
}

/* Header Responsive */
@media (max-width: 900px){
  /* Mobile Menu Overlay - Sadece menünün sağında görünmeli */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998 !important;
    pointer-events: none;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .site-nav{
    position:fixed;
    top:0;
    left:0;
    width:50%;
    max-width:300px;
    height:100vh;
    display:flex;
    flex-direction:column;
    gap:0;
    padding:80px 20px 20px;
    border:none;
    border-right:1px solid var(--border);
    border-radius:0;
    background:var(--surface);
    transform:translateX(-100%);
    opacity:1;
    pointer-events:none;
    transition:transform 0.3s ease;
    box-shadow:2px 0 20px rgba(0,0,0,0.1);
    z-index:9999 !important;
    overflow-y:auto;
  }
  
  .site-nav.is-open{
    transform:translateX(0);
    pointer-events:auto;
  }
  
  .site-nav .nav-link{
    width:100%;
    padding:16px 12px;
    border-radius:8px;
    margin-bottom:4px;
    text-align:left;
    color:var(--text);
    transition:background-color 0.2s ease;
  }
  
  .site-nav .nav-link:hover{
    background:var(--muted-surface);
    color:var(--text);
  }
  
  .nav-toggle{
    display:inline-flex;
    z-index:10001;
    position:relative;
  }
  
  .nav-cta{
    width:100%;
    justify-content:center;
    margin-top:16px;
  }
  
  .theme-switch-wrapper {
    padding: 3px 8px;
    gap: 6px;
  }
  
  .theme-label {
    font-size: 9px;
    letter-spacing: 0.1px;
  }
  
  .theme-switch {
    width: 40px;
    height: 20px;
  }
  
  .switch-slider i {
    font-size: 8px;
  }
  
  .switch-slider::before {
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
  }
  
  .theme-switch input:checked + .switch-slider::before {
    transform: translateX(20px);
  }
  
  .theme-switch:active .switch-slider::before {
    width: 16px;
  }
}
