/* ==================== Root Variables ==================== */
:root {
  --primary-navy: #1a3a52;
  --primary-gold: #C5B59A;
  --secondary-dark: #0d1f2d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
}

/* ==================== Base Styles ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100vw;
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

/* Mobil Responsive - Global Fixes */
* {
  max-width: 100%;
}

/* Mobile Input Fixes - Klavye kapanma sorunu çözümü */
@media (max-width: 991px) {
  input, textarea, select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0;
    font-size: 16px !important; /* iOS zoom önleme */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    /* Klavye kapanma sorununu önlemek için */
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Input focus durumunda klavye kapanma sorunu */
  input:focus, textarea:focus, select:focus {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    outline: none !important;
    box-shadow: 0 0 0 2px var(--primary-navy) !important;
    border-color: var(--primary-navy) !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    /* Focus durumunda transform ve position koruma */
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    position: relative !important;
    z-index: 1000 !important;
  }
  
  /* Input'a tıklanabilirliği garanti et */
  input:not([readonly]):not([disabled]),
  textarea:not([readonly]):not([disabled]),
  select:not([readonly]):not([disabled]) {
    cursor: text !important;
    -webkit-user-select: text !important;
    user-select: text !important;
  }
  
  /* Touch event'leri için özel düzenlemeler */
  input, textarea, select, button, a {
    touch-action: manipulation;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Search input özel düzenlemeleri */
  .mobile-search-input,
  #mobileSearchInput,
  .search-input,
  input[type="search"],
  input[placeholder*="ara"],
  input[placeholder*="search"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-touch-callout: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Search input focus durumunda klavye kapanma önleme */
  .mobile-search-input:focus,
  #mobileSearchInput:focus,
  .search-input:focus,
  input[type="search"]:focus,
  input[placeholder*="ara"]:focus,
  input[placeholder*="search"]:focus {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    pointer-events: auto !important;
    outline: none !important;
    box-shadow: 0 0 0 2px var(--primary-navy) !important;
    border-color: var(--primary-navy) !important;
    transform: translateZ(0) !important;
    -webkit-transform: translateZ(0) !important;
    position: relative !important;
    z-index: 1000 !important;
  }
  
  /* Form container'larda input focus koruma */
  form {
    position: relative;
    z-index: 1;
  }
  
  /* Input wrapper'ları için */
  .form-control:focus,
  input:focus,
  textarea:focus,
  select:focus {
    z-index: 1001 !important;
  }
}


img {
  max-width: 100%;
  height: auto;
}

.container, .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: visible !important;
}

/* Masaüstü için container max-width sınırlaması */
@media (min-width: 992px) {
  .container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    overflow-y: visible !important;
  }
  
  /* Masaüstünde body ve html scroll ayarları */
  body, html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: 100% !important;
  }
  
  /* Heydent section animasyonu masaüstünde kesinlikle çalışsın */
  .heydent-section-wrapper {
    animation: scrollImages 60s linear infinite !important;
  }
  
  /* Navbar sticky - masaüstü */
  .header-modern {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 950 !important;
  }
  
  /* ==================== MASAÜSTÜ MODAL SİSTEMİ - YENİ VE BASİT ==================== */
  
  /* Body'yi her zaman normal tut */
  body {
    overflow: auto !important;
    position: static !important;
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Modal backdrop'ı gizle */
  .modal-backdrop {
    display: none !important;
  }
  
  /* Modal stilleri - basit ve temiz */
  .modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    display: none !important;
    background: rgba(0, 0, 0, 0.5) !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
  }
  
  .modal.show {
    display: flex !important;
  }
  
  .modal-dialog {
    position: relative !important;
    margin: 0 !important;
    max-width: 800px !important;
    width: 100% !important;
    max-height: 90vh !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  
  .modal-content {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 0 !important;
  }
  
  /* Quote Modal için özel stil - beyaz arka plan */
  #quoteModal .modal-content {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    overflow: visible !important;
    position: relative !important;
    padding: 0 !important;
  }

  /* Modal header ve default Bootstrap close butonunu gizle - sadece popup modal için */
  #popupModal .modal-header { display: none !important; border: none !important; padding: 0 !important; }
  #popupModal .modal-header .btn-close { display: none !important; }
  
  /* Quote Modal header'ını göster */
  #quoteModal .modal-header {
    display: flex !important;
    border-bottom: 1px solid #dee2e6 !important;
    padding: 1rem !important;
    position: relative !important;
  }
  
  #quoteModal .modal-header .btn-close {
    display: flex !important;
    background: white !important;
    border: 2px solid #dc3545 !important;
    border-radius: 50% !important;
    font-size: 2.5rem !important;
    font-weight: bold !important;
    color: #dc3545 !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 999999 !important;
    position: absolute !important;
    top: 0.25rem !important;
    right: 0.25rem !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #quoteModal .modal-header .btn-close:hover {
    background: #dc3545 !important;
    color: white !important;
    opacity: 1 !important;
  }

  /* Modal body padding sıfır ve konumlandırma göreceli olsun ki X içeride kalsın - sadece popup modal için */
  #popupModal .modal-body { position: relative !important; padding: 0 !important; }
  
  /* Quote Modal body için normal padding */
  #quoteModal .modal-body {
    position: relative !important;
    padding: 1rem !important;
  }
  
  /* Close button - altın bej ve resmin tam köşesinde - sadece popup modal için */
  #popupModal .btn-close,
  #popupModal .popup-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
    background: #D4AF37 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
    cursor: pointer !important;
    z-index: 1000002 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }
  
  .btn-close::before { content: '×' !important; font-size: 24px !important; line-height: 1 !important; }
  /* popup-close için pseudo içerik kaldırıldı; X yalnızca innerHTML ile gelecek */
  .popup-close::before { content: '' !important; }
  
  /* Popup resmi */
  .popup-image {
    width: 100% !important;
    height: auto !important;
    max-height: 600px !important;
    object-fit: contain !important;
    display: block !important;
    border-radius: 15px !important;
  }
}

/* Prevent dragging and selecting images/logos - BUT NOT FLAGS */
img:not(.flag), 
svg:not(.flag), 
.navbar-brand, 
.footer-logo, 
.developer-logo {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

/* Language selector içindeki icon'lar tıklanabilir olmamalı (butonun kendisi tıklanabilir) */
.language-selector img:not(.flag),
.language-selector svg:not(.flag),
.language-btn img:not(.flag),
.language-btn svg:not(.flag),
.language-option img:not(.flag),
.language-option svg:not(.flag),
.top-bar-social svg,
.top-bar-social img {
  pointer-events: none !important;
}

/* Flag'ler görünür olmalı ama tıklanmamalı */
.language-btn .flag,
.language-option .flag,
.language-selector .flag {
  pointer-events: none !important;
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 1.5rem !important;
  min-width: 28px !important;
  width: 28px !important;
  height: auto !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", sans-serif !important;
  line-height: 1 !important;
  color: inherit !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 1 !important;
}

/* Tüm flag'ler için ekstra güvenlik */
span.flag {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 2rem !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", sans-serif !important;
  line-height: 1 !important;
  color: inherit !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 8px 0 0 !important;
  text-decoration: none !important;
  outline: none !important;
  box-shadow: none !important;
  position: relative !important;
  z-index: 999 !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  min-width: 32px !important;
  text-align: center !important;
}

/* Desktop için özel flag kuralları */
@media (min-width: 769px) {
  .language-btn .flag,
  .language-option .flag,
  span.flag {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 2rem !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", sans-serif !important;
    line-height: 1 !important;
    color: inherit !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    position: relative !important;
    z-index: 999 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 32px !important;
    text-align: center !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
  }
}

/* Top bar social linkler tıklanabilir */
.top-bar-social {
  pointer-events: auto !important;
}

/* Re-enable pointer events for clickable logos */
.navbar-brand, .developer-info {
  pointer-events: auto;
}

/* ==================== Top Bar ==================== */
.top-bar {
    background: #f8f9fa;
    color: var(--text-dark);
    padding: 0px 0;
    font-size: 0.65rem;
    border-bottom: 1px solid rgba(197, 181, 154, 0.3);
    position: relative;
    z-index: 1050;
    overflow: visible;
    pointer-events: auto !important;
    min-height: auto !important;
    height: auto !important;
}

.top-bar * {
    pointer-events: auto !important;
}

    .top-bar .container {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
        overflow: visible;
    }

    .top-bar-content {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        min-height: 35px;
        padding: 5px 0;
        width: 100%;
    }
    
    /* Language selector in top bar */
    .top-bar-right .language-selector {
        margin-left: 0px;
        padding-left: 8px;
        border-left: 1px solid rgba(197, 181, 154, 0.3);
    }

/* Hide Google Translate Banner */
.goog-te-banner-frame, 
.skiptranslate, 
.goog-te-gadget-simple {
    display: none !important;
}

/* Google Translate Language Selector Hidden */
body {
    top: 0 !important;
}

/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
    z-index: 10000;
    pointer-events: auto !important;
}

.language-selector * {
    pointer-events: auto !important;
}

.top-bar-right {
    overflow: visible;
    pointer-events: auto !important;
}

.top-bar-right * {
    pointer-events: auto !important;
}

.language-btn {
    background: none !important;
    border: none !important;
    color: var(--primary-navy) !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 0px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    transition: none !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent !important;
    min-width: 28px !important;
    max-width: 28px !important;
    width: 28px !important;
    height: 28px !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
}

.language-btn .flag {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 1.2rem !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.language-btn:hover {
    background: none !important;
    color: var(--primary-navy) !important;
    transform: none !important;
}

.language-text {
    font-weight: 600;
}

.language-dropdown {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: white !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    min-width: 160px !important;
    z-index: 10001 !important;
    display: none !important;
    overflow: visible !important;
    margin-top: 8px !important;
}

.language-dropdown.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.language-option {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 12px !important;
    text-decoration: none !important;
    color: var(--primary-navy) !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(226, 232, 240, 0.3) !important;
    background: white !important;
    cursor: pointer !important;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: rgba(197, 181, 154, 0.1);
    color: var(--primary-navy);
}

.language-option.active {
    background: var(--primary-gold);
    color: white;
}

.flag {
    font-size: 1.2rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 24px !important;
    width: 24px !important;
    height: auto !important;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", sans-serif !important;
    line-height: 1 !important;
    color: inherit !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.language-option .flag {
    font-size: 1.3rem !important;
    min-width: 28px !important;
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
    vertical-align: middle;
    justify-content: flex-end;
    margin-left: auto;
}


.top-bar-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(197, 181, 154, 0.1);
    flex-shrink: 0;
}

.top-bar-social:hover {
    background: var(--primary-gold);
    color: white;
    transform: translateY(-2px);
}

.top-bar-social.whatsapp-link:hover {
    background: #25D366;
    color: white;
}

.top-bar-social.phone-link:hover {
    background: var(--primary-navy);
    color: white;
}

.top-bar-social svg {
    flex-shrink: 0;
}

/* ==================== Modern Exhibition Form ==================== */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.page-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a3a52;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #e2e8f0;
    color: #1a3a52;
    transform: translateY(-1px);
}

.modern-exhibition-form {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
}

.form-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-card-header {
    background: linear-gradient(135deg, #1a3a52 0%, #2a4a62 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.form-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-card-body {
    padding: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.required {
    color: #ef4444;
    font-weight: bold;
}

.modern-input,
.modern-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #fff;
}

.modern-input:focus,
.modern-textarea:focus {
    outline: none;
    border-color: #1a3a52;
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

.modern-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Image Upload Area */
.image-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}

.image-upload-area:hover {
    border-color: #1a3a52;
    background: #f0f9ff;
}

.image-upload-area.drag-over {
    border-color: #1a3a52;
    background: #e0f2fe;
    transform: scale(1.02);
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    color: #6b7280;
    margin-bottom: 1rem;
}

.upload-text {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.upload-subtext {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.image-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
}

.image-preview img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.remove-image-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.remove-image-btn:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.current-image {
    margin-bottom: 1rem;
    text-align: center;
}

.current-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.current-image-text {
    margin-top: 0.5rem;
    color: #6b7280;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Toggle Switch */
.toggle-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
}

.toggle-input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #d1d5db;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-input:checked + .toggle-slider {
    background: #1a3a52;
}

.toggle-input:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.toggle-text {
    font-weight: 600;
    color: #374151;
}

.toggle-description {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0;
    margin-left: 3.5rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 2rem;
}

.modern-btn {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
    }
    
    .modern-btn {
        justify-content: center;
    }
}

/* ==================== Exhibition Section ==================== */
.exhibition-section {
    background: linear-gradient(135deg, #1a3a52 0%, #2a4a62 50%, #1a3a52 100%);
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.exhibition-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(197,181,154,0.1)"/></svg>');
    opacity: 0.3;
    animation: sparkle 20s linear infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.exhibition-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.exhibition-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.exhibition-image {
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(197, 181, 154, 0.3);
}

.exhibition-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.exhibition-image:hover img {
    transform: scale(1.05);
}

.exhibition-info {
    color: white;
    padding-right: 1rem;
}

.exhibition-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.exhibition-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.exhibition-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.exhibition-location svg {
    flex-shrink: 0;
}

.exhibition-countdown {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid rgba(197, 181, 154, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.countdown-label {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

#countdown {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(197, 181, 154, 0.2), rgba(197, 181, 154, 0.1));
    border-radius: 12px;
    padding: 0.75rem 1rem;
    min-width: 70px;
    border: 1px solid rgba(197, 181, 154, 0.3);
}

.countdown-value {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: 'Inter', monospace;
    line-height: 1;
}

.countdown-unit {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}

.countdown-separator {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-ended {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-gold);
    padding: 1rem;
    background: rgba(197, 181, 154, 0.2);
    border-radius: 12px;
    border: 2px solid var(--primary-gold);
}

/* Responsive Exhibition */
@media (max-width: 1200px) {
    .exhibition-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .exhibition-image {
        height: 180px;
    }
    
    .exhibition-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 991px) {
    .exhibition-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .exhibition-image {
        max-width: 400px;
        margin: 0 auto;
        height: 200px;
    }
    
    .exhibition-location {
        justify-content: center;
    }
    
    .exhibition-countdown {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .exhibition-section {
        padding: 1.5rem 0;
    }
    
    .exhibition-container {
        padding: 0 1rem;
    }
    
    .exhibition-image {
        height: 150px;
    }
    
    .exhibition-title {
        font-size: 1.3rem;
    }
    
    .exhibition-description {
        font-size: 0.9rem;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 0.5rem 0.75rem;
    }
    
    .countdown-value {
        font-size: 1.5rem;
    }
    
    .countdown-unit {
        font-size: 0.65rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
}

/* ==================== Marquee Bar ==================== */
/* Heydent Section Banner */
.heydent-section-banner {
    width: 100%;
    height: 60px;
    overflow-x: hidden;
    overflow-y: visible !important;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(197, 181, 154, 0.3);
    position: relative;
    display: flex;
}

.heydent-section-wrapper {
    display: flex;
    height: 100%;
    animation: scrollImages 60s linear infinite;
    min-width: 300%;
    width: 300%;
}

.heydent-section-image {
    height: 100%;
    width: auto;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
}

@keyframes scrollImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-66.66%);
    }
}

@keyframes scrollImagesMobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ==================== Header & Navigation ==================== */
.header-modern {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 20%, #e8f4fd 40%, #bbdefb 60%, #c5b59a 80%, #e8dfd0 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 950 !important;
  transition: var(--transition);
  border-bottom: 1px solid rgba(197, 181, 154, 0.35);
  padding: 0.25rem 0;
  overflow: visible !important;
  width: 100% !important;
}

.navbar {
  padding: 0.25rem 0;
  min-height: auto;
  overflow: visible;
}

.navbar > .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: auto;
  width: 100%;
  max-width: 1400px;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
}

/* Desktop navbar alignment */
@media (min-width: 992px) {
  .navbar > .container {
    flex-wrap: nowrap;
  }
  
  .navbar-collapse {
    flex-grow: 0;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    margin-left: 2rem;
  }
  
  .navbar-collapse-desktop {
    flex-grow: 0;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    margin-left: 2rem;
  }
  
  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 70px;
    width: auto;
    max-height: 70px;
    max-width: 200px;
    object-fit: contain;
    display: block;
  }
}

/* Küçük masaüstü ekranlar için (15 inç laptop) */
@media (min-width: 992px) and (max-width: 1366px) {
  .navbar > .container {
    padding-left: 0.5rem;
    padding-right: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar-brand {
    margin-right: 0.5rem;
    flex-shrink: 0;
  }
  
  .navbar-logos {
    gap: 4px;
  }
  
  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 45px;
    max-height: 45px;
    max-width: 120px;
  }
  
  .navbar-collapse-desktop {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-right: 0;
  }
  
  .navbar-nav .nav-item {
    margin-left: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.25rem 0.4rem;
    font-size: 0.8rem;
    white-space: nowrap;
  }
  
  .navbar-search-desktop {
    margin-left: 0.5rem !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-container {
    width: 160px;
    max-width: 160px;
    min-width: 160px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input {
    font-size: 0.65rem;
    padding: 0 35px 0 8px;
    height: 26px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input::placeholder {
    font-size: 0.65rem;
  }
  
  .navbar-search-clear-btn {
    right: 24px;
    width: 14px;
    height: 14px;
    display: none;
    visibility: hidden;
    z-index: 15;
  }
  
  .navbar-search-submit-btn {
    right: 2px;
    width: 20px;
    height: 20px;
    display: block !important;
    visibility: visible !important;
  }
  
  .navbar-search-submit-btn svg {
    width: 9px;
    height: 9px;
  }
  
  .navbar-search-results {
    width: 180px;
  }
}

/* Orta boyut masaüstü ekranlar için (17 inç laptop) */
@media (min-width: 1367px) and (max-width: 1440px) {
  .navbar > .container {
    padding-left: 0.75rem;
    padding-right: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar-brand {
    margin-right: 1rem;
    flex-shrink: 0;
  }
  
  .navbar-logos {
    gap: 6px;
  }
  
  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 55px;
    max-height: 55px;
    max-width: 150px;
  }
  
  .navbar-collapse-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0;
  }
  
  .navbar-nav .nav-item {
    margin-left: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.3rem 0.5rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  
  .navbar-search-desktop {
    margin-left: 1rem !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-container {
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input {
    font-size: 0.75rem;
    padding: 0 45px 0 10px;
    height: 30px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input::placeholder {
    font-size: 0.75rem;
  }
  
  .navbar-search-clear-btn {
    right: 28px;
    width: 16px;
    height: 16px;
    display: none;
    visibility: hidden;
    z-index: 15;
  }
  
  .navbar-search-submit-btn {
    right: 2px;
    width: 24px;
    height: 24px;
    display: block !important;
    visibility: visible !important;
  }
  
  .navbar-search-submit-btn svg {
    width: 11px;
    height: 11px;
  }
  
  .navbar-search-results {
    width: 240px;
  }
}

/* Büyük masaüstü ekranlar için (18+ inç monitör) */
@media (min-width: 1441px) {
  .navbar > .container {
    padding-left: 1rem;
    padding-right: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .navbar-collapse-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 1;
    min-width: 0;
  }
  
  .navbar-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 0;
  }
  
  .navbar-nav .nav-item {
    margin-left: 0;
  }
  
  .navbar-search-desktop {
    margin-left: 1.5rem !important;
    flex-shrink: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-container {
    width: 260px;
    max-width: 260px;
    min-width: 260px;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input {
    font-size: 0.85rem;
    padding: 0 55px 0 12px;
    height: 32px;
    width: 100%;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-search-input::placeholder {
    font-size: 0.85rem;
  }
  
  .navbar-search-clear-btn {
    right: 36px;
    width: 18px;
    height: 18px;
    display: none;
    visibility: hidden;
    z-index: 15;
  }
  
  .navbar-search-submit-btn {
    right: 4px;
    width: 28px;
    height: 28px;
    display: block !important;
    visibility: visible !important;
  }
  
  .navbar-search-submit-btn svg {
    width: 13px;
    height: 13px;
  }
  
  .navbar-search-results {
    width: 300px;
  }
}

.navbar-brand {
  padding: 0;
  margin: 0;
  margin-right: 3rem;
  display: flex;
  align-items: center;
}

.navbar-brand {
  text-decoration: none;
  transition: var(--transition);
}

.navbar-brand:hover {
  text-decoration: none;
}

.navbar-logos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar-logo-serra,
.navbar-logo-heydent {
  transition: var(--transition);
  width: auto;
  height: 70px;
  max-height: 70px;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.navbar-brand:hover .navbar-logo-serra,
.navbar-brand:hover .navbar-logo-heydent {
  transform: scale(1.05);
}


.search-loading,
.search-no-results {
  padding: 1rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.search-results-list {
  padding: 0.5rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  text-decoration: none;
  color: var(--primary-navy);
  border-radius: 8px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

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

.search-result-item:hover {
  background: rgba(197, 181, 154, 0.1);
  color: var(--primary-navy);
}

.search-result-image {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(226, 232, 240, 0.5);
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-weight: 500;
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-category {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Language Selector */

.search-result-item.no-results {
  justify-content: center;
  color: var(--text-light);
  font-style: italic;
}

.search-result-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 1rem;
  border: 1px solid #e2e8f0;
}

.search-result-info {
  flex: 1;
}

.search-result-name {
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.search-result-code {
  font-size: 0.85rem;
  color: var(--text-light);
  font-family: 'Courier New', monospace;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-direction: row;
  margin-bottom: 0;
  transform: none !important;
  will-change: auto !important;
}

/* Navbar Search */
.navbar-search-desktop {
  margin-left: 2rem;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Güçlü override kuralları - arama kutusu pozisyonu */
@media (min-width: 992px) and (max-width: 1366px) {
  .navbar-search-desktop {
    margin-left: 0.5rem !important;
    flex-shrink: 0 !important;
  }
}

@media (min-width: 1367px) and (max-width: 1440px) {
  .navbar-search-desktop {
    margin-left: 1rem !important;
    flex-shrink: 0 !important;
  }
}

@media (min-width: 1441px) {
  .navbar-search-desktop {
    margin-left: 1.5rem !important;
    flex-shrink: 0 !important;
  }
}

.navbar-search-container {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 280px;
  z-index: 10000;
  overflow: visible;
  visibility: visible !important;
  opacity: 1 !important;
  min-width: 200px;
}

.navbar-search-input {
  width: 100%;
  height: 36px;
  padding: 0 70px 0 15px;
  border: 1.5px solid var(--primary-gold);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-navy);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar-search-input::placeholder {
  color: rgba(26, 58, 82, 0.5);
  font-size: 0.85rem;
}

.navbar-search-input:focus {
  outline: none;
  border-color: var(--primary-navy);
  background: white;
  box-shadow: 0 2px 8px rgba(197, 181, 154, 0.25);
}

.navbar-search-clear-btn {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(26, 58, 82, 0.1);
  color: rgba(26, 58, 82, 0.6);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 15;
}

.navbar-search-clear-btn:hover {
  background: rgba(26, 58, 82, 0.2);
  color: var(--primary-navy);
  transform: translateY(-50%) scale(1.1);
}

.navbar-search-submit-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: var(--primary-gold);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.navbar-search-submit-btn svg {
  width: 14px;
  height: 14px;
}

.navbar-search-submit-btn:hover {
  background: var(--primary-navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

.navbar-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-height: 400px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
  border: 1px solid rgba(197, 181, 154, 0.3);
  width: 350px;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
  transform: none !important;
  will-change: auto !important;
}


/* Navbar Link Fix - No Movement */
.navbar-nav .nav-link {
  color: var(--primary-navy) !important;
  font-weight: 600 !important; /* Sabit font-weight */
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: 6px;
  transition: color 0.3s ease, background-color 0.3s ease !important; /* font-weight kaldırıldı */
  position: relative;
  white-space: nowrap;
  background-color: transparent !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
  text-rendering: optimizeSpeed !important; /* Font rendering optimize edildi */
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: var(--primary-navy) !important;
  background-color: rgba(26, 58, 82, 0.1) !important;
  font-weight: 600 !important; /* Aynı font-weight */
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* ==================== Dual Slider Section ==================== */
.dual-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.dual-slider-row {
    display: flex;
    width: 100%;
    max-width: 1400px;
    height: 563px;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-slider-col {
    flex: 0 0 900px;
    width: 900px;
    max-width: 900px;
    height: 563px;
    position: relative;
    border: 2px solid rgba(197, 181, 154, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.secondary-slider-col {
    flex: 0 0 450px;
    width: 450px;
    max-width: 450px;
    height: 563px;
    position: relative;
    border: 2px solid rgba(197, 181, 154, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.main-slider {
    height: 100%;
    width: 100%;
}

.secondary-slider {
    height: 100%;
    width: 100%;
}

.carousel,
.carousel-inner {
    border-radius: 0;
    height: 100% !important;
    overflow: hidden;
}

.carousel-item {
    height: 100% !important;
    background: transparent; 
}

.slider-img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
}

/* Placeholder when no sliders */
.slider-placeholder {
    width: 100%;
    height: 100% !important;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-placeholder {
    background: linear-gradient(135deg, var(--primary-gold) 0%, #d4af37 100%);
    height: 100% !important;
}

.slider-placeholder-logo {
    max-width: 250px;
    max-height: 120px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.secondary-placeholder .slider-placeholder-logo {
    filter: none;
    opacity: 1;
}

/* Carousel Caption - Hidden */
.carousel-caption {
    display: none;
}

/* Carousel Controls - Only show on hover on desktop */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.slider-container:hover .carousel-control-prev,
.slider-container:hover .carousel-control-next {
    opacity: 0.8;
    visibility: visible;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    background-image: none;
}

.carousel-control-prev-icon::before {
    content: '‹';
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: bold;
    line-height: 1;
    display: block;
}

.carousel-control-next-icon::before {
    content: '›';
    font-size: 2.5rem;
    color: var(--primary-navy);
    font-weight: bold;
    line-height: 1;
    display: block;
}

/* Carousel Indicators - Hidden */
.carousel-indicators {
    display: none;
}

/* Fade transition */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Old slider styles - keep for legacy */
.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slider-subtitle {
    font-size: 1.25rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    margin: 0 5px;
}

.carousel-indicators button.active {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(197, 181, 154, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: var(--primary-gold);
}

.carousel-control-prev {
    left: 30px;
}

.carousel-control-next {
    right: 30px;
}

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8e9eb 100%);
  color: var(--primary-navy);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  max-width: 1320px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><circle cx="50" cy="50" r="1" fill="rgba(197,181,154,0.1)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary-navy);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.85;
  color: var(--primary-navy);
}

.btn-primary-custom {
  background: var(--primary-gold);
  color: var(--secondary-dark);
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  position: relative; /* Eklendi */
}

.btn-primary-custom:hover {
  background: #b8a787;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--secondary-dark);
  z-index: 10; /* Eklendi: Hover'da üstte görünsün */
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  padding: 0.875rem 2rem;
  border: 2px solid var(--white);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  position: relative; /* Eklendi */
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-navy);
  transform: translateY(-2px);
  z-index: 10; /* Eklendi: Hover'da üstte görünsün */
}

/* Ürünler sayfasındaki kategori butonları için kapsayıcıyı üste al */
.products-section + .container,
.products-section .container,
.products-section .row,
.products-section .btn,
.products-section .btn-outline-custom,
.products-section .btn-primary-custom {
  position: relative;
  z-index: 2;
}

/* ==================== Products Section ==================== */
.products-section {
  padding: 5.5rem 0 5rem 0; /* Üst padding artırıldı */
  background-color: var(--light-bg);
  overflow: visible; /* Eklendi */
}

.products-section .container {
  max-width: 1320px;
}

.products-section .row {
  padding-top: 0.25rem; /* Daha küçük boşluk yeterli */
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden; /* Görsel kart içinde kalsın */
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: none;
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
  position: relative; /* Eklendi */
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  z-index: 10; /* Eklendi: Hover'da üstte görünsün */
}

.product-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.product-card:hover .product-card-img {
  transform: scale(1.03); /* Daha nazik büyüme */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.product-card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.btn-view-product {
  background: var(--primary-navy);
  color: var(--white);
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 6px;
  font-weight: 500;
  transition: var(--transition);
  width: 100%;
  margin-top: auto;
}

.btn-view-product:hover {
  background: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==================== Features Section ==================== */
.features-section {
  padding: 5rem 0;
  background: var(--white);
}

.features-section .container {
  max-width: 1320px;
}

.feature-box {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-navy), var(--secondary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

/* ==================== Campaigns Section ==================== */
.campaigns-section {
  position: relative;
  overflow: visible;
}

.campaigns-section .container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

.campaign-wrapper {
  background: transparent;
  padding: 0;
}

.campaign-card-wrapper {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(197, 181, 154, 0.2);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Minimum yükseklik */
}

.campaign-card-wrapper:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

/* Kampanya içeriği düzeni */
.campaign-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

.campaign-main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Özel Teklif Etiketi */
.special-offer-label {
    position: absolute;
    top: -8px;
    left: 15px;
    background: linear-gradient(135deg, #FF4757, #FF3742);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: flame 2s ease-in-out infinite alternate;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes flame {
    0% {
        box-shadow: 0 4px 12px rgba(255, 71, 87, 0.4), 
                    0 0 15px rgba(255, 0, 0, 0.3),
                    0 0 25px rgba(220, 0, 0, 0.2);
        transform: scale(1);
        filter: brightness(1.1);
    }
    50% {
        box-shadow: 0 6px 16px rgba(255, 71, 87, 0.6), 
                    0 0 20px rgba(255, 0, 0, 0.5),
                    0 0 30px rgba(220, 0, 0, 0.3);
        transform: scale(1.02);
        filter: brightness(1.3);
    }
    100% {
        box-shadow: 0 8px 20px rgba(255, 71, 87, 0.8), 
                    0 0 25px rgba(255, 0, 0, 0.7),
                    0 0 35px rgba(220, 0, 0, 0.4);
        transform: scale(1.05);
        filter: brightness(1.5);
    }
}



/* Kampanya Açıklaması */
.campaign-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* WhatsApp Butonu */
.btn-whatsapp-campaign {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-campaign:hover {
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.campaign-whatsapp-section {
  border-top: 1px solid rgba(197, 181, 154, 0.2);
  padding-top: 1.5rem;
  margin-top: auto;
}

.campaign-quantity-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--primary-navy), #2a4a62);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(26, 58, 82, 0.3);
}

.campaign-gift-quantity {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
}

.campaign-cards-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 2rem;
  overflow: visible;
  margin-bottom: 0;
}

/* Tek ürün kampanyası için merkezleme */
.campaign-cards-container:has(.campaign-product-card:only-child) {
  max-width: 400px;
  margin: 0 auto;
}

.campaign-cards-container:has(.campaign-product-card:only-child) .campaign-product-card {
  max-width: 100%;
}

.campaign-product-card {
  flex: 1;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  max-width: 250px;
  margin: 0 auto;
}

.campaign-product-card:hover {
  border-color: var(--primary-navy);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(26, 58, 82, 0.15);
  z-index: 10;
}

.campaign-gift-card {
  border: 3px solid var(--primary-gold);
  background: linear-gradient(to bottom, #fffef7, white);
}

.gift-ribbon {
  position: absolute;
  top: 15px;
  right: -35px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  padding: 0.4rem 3rem;
  transform: rotate(45deg);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(255, 215, 0, 0.4);
  z-index: 10;
}

.campaign-product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.campaign-product-card:hover .campaign-product-img {
  transform: scale(1.05);
}

.campaign-product-img-placeholder {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--primary-navy), var(--primary-gold));
  display: flex;
  align-items: center;
  justify-content: center;
}

.campaign-product-body {
  padding: 1.25rem;
  text-align: center;
  background: white;
}

.campaign-product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0;
  line-height: 1.4;
}

.campaign-plus-icon {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

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

/* Responsive Campaigns */
@media (max-width: 768px) {
  .campaigns-section {
    padding: 3rem 0 !important;
  }

  .campaign-card-wrapper {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    min-height: 450px; /* Mobil için daha küçük minimum yükseklik */
  }

  .campaign-cards-container {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 0;
  }

  .campaign-plus-icon {
    font-size: 2rem;
    transform: rotate(90deg);
    padding: 0.5rem 0;
  }

  .campaign-product-card {
    max-width: 100%;
    margin: 0;
    padding: 0.6rem;
  }

  .campaign-product-img {
    height: 200px;
  }

  .campaign-product-img-placeholder {
    height: 200px;
  }

  .campaign-quantity-badge {
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
  }

  .special-offer-label {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    left: 12px;
    top: -6px;
    border-radius: 15px;
    animation: flame 2.5s ease-in-out infinite alternate;
  }

  .btn-whatsapp-campaign {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }

  .campaign-whatsapp-section {
    padding-top: 1rem;
  }
  
  .campaign-description {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .campaigns-section {
    padding: 2.5rem 0 !important;
  }

  .campaign-product-img {
    height: 180px;
  }

  .campaign-product-img-placeholder {
    height: 180px;
  }

  .campaign-product-name {
    font-size: 1rem;
  }

  .campaign-quantity-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .gift-ribbon {
    font-size: 0.65rem;
    padding: 0.3rem 2.5rem;
    top: 12px;
    right: -32px;
  }

  .campaign-plus-icon {
    font-size: 1.8rem;
  }
}

/* ==================== Footer ==================== */
.footer-modern {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 20%, #e8f4fd 40%, #bbdefb 60%, #c5b59a 80%, #e8dfd0 100%);
  color: var(--primary-navy);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.footer-modern .container {
  max-width: 1320px;
}

.footer-logo {
  height: 100px;
  max-height: 100px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  filter: none;
}

.footer-text {
  color: var(--primary-navy);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--primary-navy);
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 58, 82, 0.1);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-link:hover {
  background: var(--primary-navy);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--primary-navy);
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-links a:hover {
  color: var(--secondary-dark);
  padding-left: 5px;
  opacity: 1;
}

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

.footer-contact li {
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(26, 58, 82, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--primary-navy);
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-developer {
  margin-top: 1rem;
  text-align: center;
}

.developer-info {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.developer-info:hover {
  opacity: 0.8;
  text-decoration: none;
}

.developer-logo {
  height: 20px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.developer-info:hover .developer-logo {
  filter: grayscale(0%);
}

.developer-text {
  color: var(--primary-navy);
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==================== Popup Modal ==================== */
.popup-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  margin: 0 auto;
}

/* Ana popup modal desktop - büyük ve ortada */
@media (min-width: 769px) {
  #popupModal {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #popupModal .modal-dialog {
    max-width: 800px !important;
    width: 800px !important;
    margin: 0 auto !important;
    position: relative !important;
    transform: none !important;
  }
  
  #popupModal .modal-content {
    max-width: 800px !important;
    width: 100% !important;
  }
  
  .popup-image {
    max-height: 600px !important;
    width: 100% !important;
    object-fit: contain !important;
  }
}

.popup-header {
  border: none;
  padding: 0;
  position: relative;
  display: none !important; /* Varsayılan header ve içindeki close butonunu gizle */
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  background: none;
  border: none;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.popup-close:hover {
  opacity: 1;
  background: none;
}

.popup-close::after { content: '' !important; }

.popup-body {
  padding: 0;
}

.popup-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== Utility Classes ==================== */
.text-gold {
  color: var(--primary-gold) !important;
}

.bg-navy {
  background-color: var(--primary-navy) !important;
}

.bg-gold {
  background-color: var(--primary-gold) !important;
}

/* ==================== Responsive ==================== */

@media (max-width: 991px) {
  /* Tablet Slider Adjustments */
  .dual-slider-row {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
  
  .main-slider-col {
    flex: 0 0 100%;
    width: 100%;
    height: 300px;
    max-width: 600px;
  }
  
  .secondary-slider-col {
    flex: 0 0 100%;
    width: 100%;
    height: 300px;
    max-width: 400px;
  }

  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  /* Mobile Navbar Fixes */
  .navbar {
    padding: 0.25rem 0;
  }
  
  .navbar-brand {
    margin-right: auto;
  }
  
  .navbar-logos {
    gap: 10px;
  }
  
  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 60px;
    max-height: 60px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
  }
  
  .navbar-toggler {
    order: 3;
    margin-left: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-color: var(--primary-gold);
  }
  
  
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    margin-left: 0 !important;
  }
  
  .navbar-nav .nav-item {
    margin-left: 0 !important;
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background: rgba(197, 181, 154, 0.1);
    color: var(--primary-gold);
  }
  
  /* Top Bar Mobile */
  .top-bar-content {
    justify-content: flex-end !important;
  }
  
  .top-bar-right {
    gap: 0.75rem;
  }
  
  .top-bar-social {
    width: 32px;
    height: 32px;
  }
  
  .language-selector {
    margin-left: 0.5rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .products-section,
  .features-section {
    padding: 3rem 0;
  }
}

/* ==================== Animations ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ==================== Loading & Performance ==================== */
img {
  max-width: 100%;
  height: auto;
}

.lazy-load {
  opacity: 0;
  transition: opacity 0.3s;
}

.lazy-load.loaded {
  opacity: 1;
}

/* ==================== Mobile Bottom Navigation ==================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #C5B59A;
    border-top: 2px solid rgba(26, 58, 82, 0.2);
    z-index: 9999;
    padding: 0.5rem 0; /* Küçülttük */
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    height: 60px; /* Küçülttük */
}


.mobile-nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--primary-navy);
    padding: 0.35rem;
    border-radius: 8px;
    transition: var(--transition);
    min-width: 50px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(26, 58, 82, 0.1);
    color: var(--primary-navy);
}

.mobile-nav-icon {
    width: 22px; /* Küçülttük */
    height: 22px;
    margin-bottom: 0.2rem;
    stroke-width: 2.5; /* Daha kalın çizgi */
}

.mobile-nav-text {
    font-size: 0.65rem; /* Küçülttük */
    font-weight: 600;
    text-align: center;
}

/* ==================== Mobile Responsive ==================== */
@media (max-width: 768px) {
    /* Top Bar Mobile */
    .top-bar {
        padding: 0px 0;
        font-size: 0.5rem;
    }
    
    .top-bar-content {
        min-height: 12px;
        padding: 0px 0;
    }
    
    /* Dual Slider Mobile */
    .dual-slider-section {
        padding: 0.5rem 0;
        overflow: hidden;
    }
    
    .dual-slider-row {
        flex-direction: column;
        height: auto;
        gap: 0.5rem;
        margin: 0;
        padding: 0;
    }
    
    .main-slider-col {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        max-width: 100%;
        padding: 0;
    }
    
    .secondary-slider-col {
        flex: 0 0 100%;
        width: 100%;
        height: auto;
        max-width: 100%;
        padding: 0;
    }
    
    .main-slider {
        height: auto;
        max-height: 300px;
    }
    
    .secondary-slider {
        height: auto;
        max-height: 500px;
        min-height: 400px;
    }
    
    .main-slider .carousel-inner {
        height: auto !important;
        max-height: 300px !important;
    }
    
    .secondary-slider .carousel-inner {
        height: auto !important;
        max-height: 500px !important;
        min-height: 400px !important;
    }

    .main-slider .carousel-item,
    .secondary-slider .carousel-item {
        height: auto !important;
        width: 100%;
    }

    .main-slider .carousel-item img,
    .secondary-slider .carousel-item img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain;
        display: block;
    }
    
    .main-slider .slider-img,
    .secondary-slider .slider-img {
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        object-fit: contain;
    }
    
    .slider-placeholder {
        height: 250px !important;
    }
    
    .secondary-placeholder {
        height: 510px !important;
    }
    
    .slider-placeholder-logo {
        max-width: 150px;
        max-height: 80px;
    }
    
    
    /* Top bar mobile */
    .top-bar {
        padding: 4px 0;
        font-size: 0.7rem;
        position: relative;
    }
    
    .top-bar {
        overflow: visible !important;
        z-index: 1050 !important;
    }
    
    .top-bar-content {
        justify-content: flex-end;
        overflow: visible !important;
    }
    
    .top-bar-right {
        overflow: visible !important;
    }
    
    /* Language selector mobile */
    .language-btn {
        font-size: 0.8rem !important;
        padding: 8px 12px !important;
        gap: 6px !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        -webkit-tap-highlight-color: rgba(26, 58, 82, 0.3) !important;
        touch-action: manipulation !important;
        min-width: 50px !important;
        min-height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: rgba(197, 181, 154, 0.1) !important;
        border-radius: 6px !important;
    }
    
    .language-btn:active {
        background: rgba(197, 181, 154, 0.3) !important;
        transform: scale(0.95) !important;
    }
    
    .language-text {
        display: none;
    }
    
    .language-selector {
        position: relative !important;
        z-index: 10000 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    
    .language-dropdown {
        min-width: 140px !important;
        right: 0 !important;
        left: auto !important;
        z-index: 99999 !important;
        position: absolute !important;
        top: calc(100% + 4px) !important;
        margin-top: 0 !important;
        background: white !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        border-radius: 8px !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
        display: none !important;
        overflow: visible !important;
        pointer-events: none !important;
    }
    
    .language-dropdown.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .language-option {
        display: flex !important;
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        background: white !important;
        color: var(--primary-navy) !important;
        text-decoration: none !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.3) !important;
    }
    
    .language-option:hover,
    .language-option:active {
        background: rgba(197, 181, 154, 0.1) !important;
    }
    
    .top-bar-right {
        gap: 8px;
    }
    
    .top-bar-social {
        width: 22px;
        height: 22px;
    }
    
    .top-bar-social svg {
        width: 12px;
        height: 12px;
    }
    
    .language-btn {
        min-width: 22px !important;
        max-width: 22px !important;
        width: 22px !important;
        height: 22px !important;
        font-size: 0.5rem !important;
        padding: 0 !important;
        gap: 0 !important;
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        transition: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    
    .language-btn:hover {
        background: none !important;
        color: var(--primary-navy) !important;
        transform: none !important;
    }
    
    .language-btn .flag {
        font-size: 0.8rem !important;
        width: 10px !important;
        height: 10px !important;
        min-width: 10px !important;
        max-width: 10px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-block !important;
        line-height: 1 !important;
        font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols', sans-serif !important;
        color: inherit !important;
        background: none !important;
        border: none !important;
        text-decoration: none !important;
        outline: none !important;
        box-shadow: none !important;
        position: relative !important;
        z-index: 999 !important;
        overflow: visible !important;
        clip: auto !important;
        clip-path: none !important;
        text-align: center !important;
        transform: none !important;
        filter: none !important;
        -webkit-filter: none !important;
    }
    
    .language-btn .language-text {
        display: none !important;
    }
    
    .language-btn svg {
        display: none !important;
    }
    
    
    /* Heydent section banner mobile */
    .heydent-section-banner {
        height: 40px;
    }
    
    /* Mobilde Heydent section wrapper'ı eski haline döndür */
    .heydent-section-wrapper {
        min-width: 200% !important;
        width: 200% !important;
        animation: scrollImagesMobile 30s linear infinite !important;
    }
    
    
    /* Header adjustments - mobilde de sticky */
    .header-modern {
        padding: 0.2rem 0;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 950 !important;
    }
    
    .navbar {
        padding: 0.2rem 0;
    }
    
    .navbar .container {
        position: relative;
    }
    
    .navbar-brand {
        margin-left: 0;
        position: static;
        transform: none;
    }
    
    .navbar-logos {
        gap: 12px;
    }
    
    .navbar-logo-serra,
    .navbar-logo-heydent {
        height: 60px;
        max-height: 60px;
        max-width: 180px;
    }
    
    .search-icon {
        left: 0.75rem;
        width: 14px;
        height: 14px;
    }
    
    
    /* Hide navbar links on mobile */
    .navbar-nav {
        display: none !important;
    }
    
    /* Show Mobile Bottom Navigation */
    .mobile-bottom-nav {
        display: block;
    }
    
    /* Add bottom padding to body */
    body {
        padding-bottom: 60px !important; /* Match the height of the mobile-bottom-nav */
    }
    
    /* Slider adjustments - much shorter on mobile */
    .carousel-item,
    .slider-img,
    .slider-placeholder {
        height: 250px !important;
    }
    
    .slider-placeholder-logo {
        max-width: 180px;
        max-height: 90px;
    }
    
    /* Hide carousel controls on mobile (use touch swipe instead) */
    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
    
    /* Enable touch scrolling on mobile */
    .carousel {
        touch-action: pan-y;
    }
    
    .carousel-indicators {
        margin-bottom: 0.75rem;
    }
    
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
    
    /* Hero section adjustments */
    .hero-section {
        padding: 1.5rem 1rem !important;
        min-height: auto !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0 !important;
    }

    /* Mobile CTA Section - Add margin to button */
    .hero-section .btn {
        margin-top: 1.5rem !important;
    }
    
    /* Products section adjustments */
    .products-section {
        padding: 3rem 1rem;
    }
    
    .product-card {
        margin-bottom: 1.5rem;
    }
    
    /* Features section adjustments */
    .features-section {
        padding: 3rem 1rem;
    }
    
    /* Stats section mobile */
    .stat-card {
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Categories section mobile */
    .category-card {
        margin-bottom: 1.5rem;
    }
}

/* ==================== Catalog Section ==================== */
.catalog-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.catalog-section .container {
  max-width: 1320px;
}

.catalog-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  height: 100%;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-gold);
}

.catalog-thumbnail {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-gold) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.catalog-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-placeholder {
  color: white;
  text-align: center;
}

.catalog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

.catalog-overlay-content {
  text-align: center;
  color: white;
}

.catalog-view-count {
  font-size: 0.9rem;
  font-weight: 500;
}

.catalog-card-body {
  padding: 1.5rem;
}

.catalog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.catalog-card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.catalog-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.catalog-actions .btn {
  flex: 1;
  min-width: 120px;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
}

/* ==================== Stats Section ==================== */
.stats-section {
    padding: 4.5rem 0 4rem 0; /* Üst padding artırıldı */
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    overflow: visible; /* Eklendi */
}

.stats-section .container {
    max-width: 1320px;
}

.stats-section .row {
    padding-top: 0.5rem; /* Eklendi: Hover efekti için üst boşluk */
}

.stat-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative; /* Eklendi */
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    z-index: 10; /* Eklendi: Hover'da üstte görünsün */
    border-color: var(--primary-gold);
}

.stat-icon {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-source {
    margin-top: 2rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-style: italic;
}

.stats-source svg {
    fill: #4285F4; /* Google blue */
}

/* ==================== Categories Section ==================== */
.categories-section {
    padding: 5rem 0;
    background-color: var(--light-bg);
}

.categories-section .container {
    max-width: 1320px;
}

.category-card {
    display: block;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-decoration: none;
    height: 320px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.category-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img {
    transform: scale(1.1);
}

.category-placeholder {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0.6;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 0.8;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.category-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.btn-outline-primary-custom {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-outline-primary-custom:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

/* ==================== Catalog Section ==================== */
.catalog-section {
    background-color: #f8f9fa;
}

.catalog-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.catalog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.catalog-thumbnail {
    text-align: center;
}

.catalog-cover-img {
    width: 100%;
    max-width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.catalog-content {
    padding-left: 1.5rem;
}

.catalog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.catalog-description {
    color: #6c757d;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.catalog-stats {
    margin-bottom: 1.5rem;
}

.download-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.download-count svg {
    width: 16px;
    height: 16px;
}

.btn-download-catalog {
    background: linear-gradient(135deg, #c5b59a 0%, #e8dfd0 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(197, 181, 154, 0.3);
}

.btn-download-catalog:hover {
    background: linear-gradient(135deg, #b8a68a 0%, #ddd4c5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 181, 154, 0.4);
}

.btn-download-catalog svg {
    width: 16px;
    height: 16px;
}

/* Horizontal Catalog Card */
.catalog-card-horizontal {
    background: white;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-card-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.catalog-thumbnail-horizontal {
    height: 280px;
    overflow: hidden;
}

.catalog-cover-img-horizontal {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

.catalog-placeholder-horizontal {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: var(--primary-gold);
}

.catalog-placeholder-horizontal svg {
    width: 64px;
    height: 64px;
}

.catalog-content-horizontal {
    padding: 2rem 1.5rem;
}

.catalog-title-horizontal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2rem;
}

.catalog-buttons-horizontal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-download-catalog-horizontal {
    background: linear-gradient(135deg, #c5b59a 0%, #e8dfd0 100%);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(197, 181, 154, 0.3);
}

.btn-download-catalog-horizontal:hover {
    background: linear-gradient(135deg, #b8a68a 0%, #ddd4c5 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 181, 154, 0.4);
}

.btn-download-catalog-horizontal svg {
    width: 16px;
    height: 16px;
}

.btn-view-catalog-horizontal {
    background: var(--primary-navy);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(26, 58, 82, 0.3);
}

.btn-view-catalog-horizontal:hover {
    background: var(--primary-navy);
    opacity: 0.9;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.4);
}

.btn-view-catalog-horizontal svg {
    width: 16px;
    height: 16px;
}

.btn-view-all-catalogs {
    background: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-view-all-catalogs:hover {
    background: var(--primary-navy);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 58, 82, 0.3);
}

.btn-view-all-catalogs svg {
    width: 16px;
    height: 16px;
}

/* Catalog Card Mobile Responsive */
@media (max-width: 768px) {
    .catalog-card-horizontal {
        margin: 1rem;
    }
    
    .catalog-thumbnail-horizontal {
        height: 200px;
    }
    
    .catalog-content-horizontal {
        padding: 1.5rem;
        text-align: center;
    }
    
    .catalog-title-horizontal {
        font-size: 1.5rem;
    }
    
    .catalog-buttons-horizontal {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .btn-view-all-catalogs,
    .btn-download-catalog-horizontal,
    .btn-view-catalog-horizontal {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Search */
.mobile-search-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--primary-navy);
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 991px) {
  .navbar > .container {
    padding-right: 1rem;
  }
}

.mobile-search-icon:hover {
  background: rgba(26, 58, 82, 0.15);
  color: var(--primary-navy);
  transform: scale(1.05);
}

.mobile-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.mobile-search-container {
  position: relative;
  width: 90%;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-search-input {
  width: 100%;
  height: 50px;
  padding: 0 120px 0 20px;
  border: 2px solid var(--primary-gold);
  border-radius: 25px;
  background: white;
  color: var(--primary-navy);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mobile-search-input::placeholder {
  color: rgba(26, 58, 82, 0.5);
  font-size: 0.95rem;
}

.mobile-search-input:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 4px 12px rgba(197, 181, 154, 0.3);
}

.mobile-search-clear-btn {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(26, 58, 82, 0.1);
  color: rgba(26, 58, 82, 0.6);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.mobile-search-clear-btn:hover {
  background: rgba(26, 58, 82, 0.2);
  color: var(--primary-navy);
  transform: translateY(-50%) scale(1.1);
}

.mobile-search-submit-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: var(--primary-gold);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.mobile-search-submit-btn:hover {
  background: var(--primary-navy);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(26, 58, 82, 0.3);
}

.mobile-search-close-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--primary-navy);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mobile-search-close-btn:hover {
  background: var(--primary-gold);
  transform: scale(1.1);
}

.mobile-search-results {
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 1rem;
}

/* ==================== KAPSAMLI MOBİL RESPONSIVE ==================== */

/* Mobil Close Button Stilleri */
@media (max-width: 991px) {
  .popup-close,
  .btn-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
    background: #D4AF37 !important;
    border: none !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: bold !important;
    color: white !important;
    cursor: pointer !important;
    z-index: 1000002 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  }
  
  .popup-close::before,
  .btn-close::before {
    content: '' !important;
  }
  
  .modal-body {
    position: relative !important;
    padding: 0 !important;
  }
  
  /* Mobil Quote Modal Stilleri - sadece modal açıkken */
  #quoteModal.modal.show {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
  }
  
  #quoteModal.modal.show .modal-dialog {
    margin: 0 !important;
    width: 100% !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  #quoteModal.modal.show .modal-content {
    width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 12px !important;
  }
  
  #quoteModal.modal.show .modal-body {
    padding: 1rem !important;
    max-height: calc(90vh - 120px) !important;
    overflow-y: auto !important;
  }
}

/* Tablet ve Mobil - Genel Düzenlemeler */
@media (max-width: 991px) {
  /* Container padding - soldan ve sağdan daha fazla boşluk */
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Body scroll fix - overflow-x kaldırıldı sticky için */
  body {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    height: 100% !important;
  }

  html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100% !important;
  }

  /* Sadece içeriği sınırla */
  main, section, .container {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    max-width: 100vw;
  }

  /* Navbar mobilde de sticky - scroll yaparken yukarıda kalsın */
  .header-modern {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 950 !important;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 20%, #e8f4fd 40%, #bbdefb 60%, #c5b59a 80%, #e8dfd0 100%) !important;
  }

  /* Navbar düzeltmeleri */
  .navbar {
    padding: 0.5rem 0.5rem;
  }

  .navbar > .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .navbar-brand {
    flex-shrink: 0;
    margin-right: 0.5rem;
  }

  .navbar-logos {
    gap: 12px !important;
  }

  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 65px !important;
    max-height: 65px !important;
    max-width: 180px !important;
  }

  /* Navbar toggler */
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 1rem;
  }

  /* Desktop search hide on mobile */
  .desktop-search {
    display: none !important;
  }

  /* Hero section */
  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.75rem;
  }

  /* Product cards */
  .product-card {
    margin-bottom: 1.5rem;
  }

  /* Ana sayfada öne çıkan ürünler ve katalog kartları ortalama */
  .featured-products-section .row,
  .catalogs-section .row {
    justify-content: center;
  }

  .featured-products-section .row > [class*='col-'],
  .catalogs-section .row > [class*='col-'] {
    display: flex;
    justify-content: center;
  }

  .featured-products-section .product-card,
  .catalogs-section .catalog-card {
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Mobil (Küçük Ekranlar) */
@media (max-width: 767px) {
  /* Font sizes */
  html {
    font-size: 14px;
  }

  /* Container - soldan daha fazla boşluk */
  .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  /* Section içindeki içerikler için ekstra padding */
  section .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* Hero section */
  .hero-section {
    padding: 2rem 0;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  /* Buttons */
  .btn, .admin-btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  /* Cards */
  .card, .product-card, .catalog-card {
    margin-bottom: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  /* Section padding */
  section {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  /* Product grid */
  .row > [class*='col-'] {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Tables responsive */
  table {
    font-size: 0.85rem;
  }

  /* Footer - soldan daha fazla boşluk */
  .footer {
    padding: 2rem 0;
  }

  .footer .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .footer-logo img {
    max-height: 40px;
  }

  .footer-section {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Navbar mobil menü */
  .navbar-collapse {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-md);
  }

  /* Form inputs */
  .form-control, .admin-form-input {
    font-size: 16px; /* Mobilde zoom engellemek için */
  }

  /* Mobil arama butonu */
  .mobile-search-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    margin-left: auto;
    flex-shrink: 0;
  }

  .mobile-search-btn svg {
    width: 20px;
    height: 20px;
  }

  /* Dual slider mobil - tam genişlik */
  .dual-slider-section {
    padding: 0.5rem 0 !important;
    width: 100%;
    overflow: hidden;
  }

  .dual-slider-row {
    flex-direction: column;
    width: 100%;
    margin: 0;
  }

  .main-slider-col, .secondary-slider-col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0;
  }

  .main-slider, .secondary-slider {
    width: 100%;
    max-width: 100%;
  }

  .carousel-inner {
    width: 100%;
  }

  .carousel-item {
    width: 100%;
  }

  .carousel-item img,
  .slider-img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    display: block;
  }

  /* Product detail sayfası */
  .product-detail-image {
    margin-bottom: 1.5rem;
  }

  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }

  /* Catalog cards */
  .catalog-card-horizontal {
    flex-direction: column;
  }

  .catalog-thumbnail-horizontal {
    width: 100%;
    height: 200px;
  }

  /* Social buttons */
  .social-buttons {
    flex-direction: column;
  }

  .social-btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  /* Product specs mobil */
  .specs-container, .benefits-container, .technical-data-container {
    padding: 0.5rem;
  }
}

/* Çok Küçük Mobil Ekranlar */
@media (max-width: 575px) {
  /* Font boyutları daha da küçült */
  .hero-title {
    font-size: 1.25rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  /* Padding - soldan yeterli boşluk bırak */
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  section .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  .footer .container {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
  }

  section {
    padding: 1.5rem 0;
  }

  /* Card padding */
  .card-body {
    padding: 0.75rem;
  }

  /* Buttons */
  .btn, .admin-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  /* Navbar logo */
  .navbar {
    padding: 0.25rem 0.25rem;
  }

  .navbar > .container {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .navbar-brand {
    margin-right: 0.25rem;
  }

  .navbar-logos {
    gap: 10px !important;
  }

  .navbar-logo-serra,
  .navbar-logo-heydent {
    height: 55px !important;
    max-height: 55px !important;
    max-width: 140px !important;
  }

  .navbar-toggler {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
  }

  /* Footer logo */
  .footer-logo img {
    max-height: 35px;
  }

  /* Product cards */
  .product-card-title {
    font-size: 0.95rem;
  }

  .product-card-category {
    font-size: 0.75rem;
  }

  /* Row spacing */
  .row {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
  }

  .row > [class*='col-'] {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  /* İframe (harita) responsive */
  iframe {
    max-width: 100%;
  }

  /* Popup modal mobil */
  .popup-content {
    width: 95%;
    margin: 1rem;
  }

  .popup-image {
    max-height: 70vh;
  }
}

/* Landscape Mobil */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    padding: 1.5rem 0;
  }

  .dual-slider-row {
    max-height: 60vh;
  }

  .popup-image {
    max-height: 80vh;
  }
}

/* Horizontal scroll fix */
@media (max-width: 991px) {
  /* Tüm geniş elementleri sınırla */
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Slider container */
  .slider-container, .dual-slider-section {
    overflow: hidden;
    max-width: 100vw;
  }

  /* Tables scroll */
  .table-responsive, .admin-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Prevent specific elements from breaking layout */
  pre, code {
    white-space: pre-wrap;
    word-wrap: break-word;
  }

  /* Images in content */
  .content img, article img {
    max-width: 100%;
    height: auto;
  }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  /* Daha büyük touch target'lar */
  .btn, button, a {
    min-height: 44px;
    min-width: 44px;
  }

  /* Link spacing */
  .nav-link, .footer-links a {
    padding: 0.75rem 1rem;
  }

  /* Hover efektlerini kaldır */
  .product-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}

/* ==================== Mobil Modal Merkezi Pozisyon ==================== */
@media (max-width: 991px) {
  .modal-dialog.modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 1rem !important;
  }
  
  .modal.show .modal-dialog {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 1rem !important;
  }
  
  .modal-content {
    margin: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
  }
}
}