/* Custom CSS - Tailwind dışı özel stiller ve animasyonlar */

/* 
   Z-INDEX SYSTEM
   --------------------------------------------------------------
   Merkezi Z-Index yönetimi. Katmanlar aşağıdan yukarıya doğru:
   Level 1: Background Elements (-1, 0, 1)
   Level 2: Standard Content (10 - 40)
   Level 3: Structure / Navbar (100)
   Level 4: Footer (900)
   Level 5: Floating Elements (1000 - 1500)
   Level 6: Overlays & Modals (3000 - 3200)
   Level 7: Critical/Max (9999)
*/
:root {
  --z-negative: -1;
  --z-background: 0;
  --z-base: 1;
  --z-content: 10;
  --z-hero: 40;
  --z-navbar: 100;
  --z-footer: 900;
  --z-float-low: 1000;
  /* Bottom Message Box */
  --z-float-high: 1500;
  /* WhatsApp FAB */
  --z-overlay: 3000;
  /* Modal Backdrop */
  --z-modal-fab: 3100;
  /* Newsletter FAB */
  --z-modal: 3200;
  /* Newsletter Popup */
  --z-max: 9999;
}

/* Z-Index Utility Classes */
.z-negative {
  z-index: var(--z-negative) !important;
}

.z-background {
  z-index: var(--z-background) !important;
}

.z-base {
  z-index: var(--z-base) !important;
}

.z-content {
  z-index: var(--z-content) !important;
}

.z-hero {
  z-index: var(--z-hero) !important;
}

.z-navbar {
  z-index: var(--z-navbar) !important;
}

.z-footer {
  z-index: var(--z-footer) !important;
}

.z-float-low {
  z-index: var(--z-float-low) !important;
}

.z-float-high {
  z-index: var(--z-float-high) !important;
}

.z-overlay {
  z-index: var(--z-overlay) !important;
}

.z-modal-fab {
  z-index: var(--z-modal-fab) !important;
}

.z-modal {
  z-index: var(--z-modal) !important;
}

.z-max {
  z-index: var(--z-max) !important;
}

/* Body background fix for mobile */
@media (max-width: 1023px) {

  html,
  body {
    background-attachment: scroll !important;
    background-position: center center !important;
    min-height: 100vh !important;
    height: 100% !important;
    background-color: #18507e !important;
    /* Fallback color matching theme */
  }

  body {
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }
}

/* Code Animation Keyframes */
@keyframes slideUp {
  from {
    transform: translateY(100vh);
    opacity: 0;
  }

  5% {
    opacity: 0.9;
  }

  95% {
    opacity: 0.9;
  }

  to {
    transform: translateY(-300px);
    opacity: 0;
  }
}

/* Code Animation Container */
.code-animation-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: var(--z-background);
  overflow: hidden;
  pointer-events: none;
  background: transparent;
}

.code-line {
  position: absolute;
  font-family: 'Courier New', 'Consolas', 'Monaco', monospace;
  font-size: 15px;
  color: #00ff88;
  white-space: nowrap;
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 0 30px currentColor;
  animation: slideUp linear infinite;
  line-height: 2;
  user-select: none;
  font-weight: 500;
  opacity: 0.9;
}

/* Code line color variations */
.code-line:nth-child(odd) {
  color: #00d4ff;
  text-shadow: 0 0 10px #00d4ff, 0 0 20px #00d4ff, 0 0 30px rgba(0, 212, 255, 0.5);
}

.code-line:nth-child(3n) {
  color: #ff6b9d;
  text-shadow: 0 0 10px #ff6b9d, 0 0 20px #ff6b9d, 0 0 30px rgba(255, 107, 157, 0.5);
}

.code-line:nth-child(4n) {
  color: #ffd93d;
  text-shadow: 0 0 10px #ffd93d, 0 0 20px #ffd93d, 0 0 30px rgba(255, 217, 61, 0.5);
}

.code-line:nth-child(5n) {
  color: #9d4edd;
  text-shadow: 0 0 10px #9d4edd, 0 0 20px #9d4edd, 0 0 30px rgba(157, 78, 221, 0.5);
}

.code-line:nth-child(6n) {
  color: #06ffa5;
  text-shadow: 0 0 10px #06ffa5, 0 0 20px #06ffa5, 0 0 30px rgba(6, 255, 165, 0.5);
}

.code-line:nth-child(7n) {
  color: #ff006e;
  text-shadow: 0 0 10px #ff006e, 0 0 20px #ff006e, 0 0 30px rgba(255, 0, 110, 0.5);
}

.code-line:nth-child(8n) {
  color: #8338ec;
  text-shadow: 0 0 10px #8338ec, 0 0 20px #8338ec, 0 0 30px rgba(131, 56, 236, 0.5);
}

.code-line:nth-child(9n) {
  color: #fb5607;
  text-shadow: 0 0 10px #fb5607, 0 0 20px #fb5607, 0 0 30px rgba(251, 86, 7, 0.5);
}

/* Newsletter Popup - Glassmorphism Özellikli (Sağdan Açılıyor) */
.newsletter-popup {
  position: fixed;
  top: 0;
  right: -290px;
  left: auto;
  width: 270px;
  max-width: 94vw;
  height: 100vh;
  background: rgba(25, 69, 122, 0.75);
  backdrop-filter: blur(18px) saturate(175%) brightness(95%);
  -webkit-backdrop-filter: blur(18px) saturate(175%) brightness(95%);
  color: #fff;
  border: 1.7px solid rgba(255, 255, 255, 0.20);
  box-shadow: -2px 0 26px 2px rgba(0, 0, 0, 0.27), 0 2px 24px 2px rgba(40, 90, 130, 0.14), 0 1.5px 8px 0 rgba(28, 60, 117, 0.15) inset;
  border-top-left-radius: 28px;
  border-bottom-left-radius: 28px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 38px 16px 22px 16px;
  box-sizing: border-box;
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: right 0.36s cubic-bezier(0.62, 0.13, 0.41, 0.99);
  pointer-events: auto;
}

.newsletter-popup.active {
  right: 0;
  left: auto;
  transition: right 0.42s cubic-bezier(0.72, -0.01, 0.25, 1.04);
}

.newsletter-popup__close {
  position: absolute;
  top: 18px;
  right: 14px;
  font-size: 1.7rem;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0.66;
  transition: opacity 0.2s;
  z-index: var(--z-content);
}

.newsletter-popup__close:hover {
  opacity: 1;
}

.newsletter-popup h2 {
  font-size: 1.23rem;
  font-weight: bold;
  margin: 0 0 7px 0;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fafdff;
  text-shadow: 0 4px 13px rgba(28, 60, 117, 0.09), 0 1px 0 #fff;
}

.newsletter-popup p {
  font-size: 0.99rem;
  opacity: 0.96;
  margin: 0 0 16px 0;
  color: #e2ebfa;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(28, 60, 117, 0.10);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  outline: none;
  background: #e9eff6;
  color: #1b2543;
  transition: background 0.23s;
}

.newsletter-form input[type="email"]::placeholder {
  color: #6b7e99;
  opacity: 0.89;
}

.newsletter-form button[type="submit"] {
  width: 100%;
  padding: 10px 18px;
  background: #fff;
  color: #275985;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.23s, color 0.23s;
}

.newsletter-form button[type="submit"]:hover {
  background: #2a65b9;
  color: #fff;
}

.newsletter-popup__success,
.newsletter-popup__error {
  margin-top: 16px;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  display: none;
}

.newsletter-popup__success {
  background: #179e5c;
}

.newsletter-popup__error {
  background: #da4167;
}

/* Contact Info Styles */
.contact-info {
  margin-top: 20px;
}

.contact-email,
.contact-instagram {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.contact-instagram {
  margin-bottom: 0;
}

.contact-email a,
.contact-instagram a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.96;
  transition: opacity 0.2s;
}

.contact-email a:hover,
.contact-instagram a:hover {
  opacity: 1;
}

.contact-email svg,
.contact-instagram svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

/* Paketler Sayfası Stilleri */
body.paketlerimiz-page {
  background: #0f172a !important;
  background-color: #0f172a !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
}

/* Web görünümü için HTML elementi de koyu mavi */
@media (min-width: 1024px) {
  html:has(body.paketlerimiz-page) {
    background: #0f172a !important;
    background-color: #0f172a !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  body.paketlerimiz-page {
    min-height: 100vh !important;
    height: 100% !important;
  }

  /* Floating blob'ları web görünümünde gizle */
  body.paketlerimiz-page .glass-bg-wrapper {
    display: none !important;
  }
}

/* Mobil görünümde body arka planını koyu mavi yap */
@media (max-width: 1023px) {
  html:has(body.paketlerimiz-page) {
    background: #0f172a !important;
    background-color: #0f172a !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  body.paketlerimiz-page {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  /* Floating blob'ları mobilde gizle */
  body.paketlerimiz-page .glass-bg-wrapper {
    display: none !important;
  }

  /* Main content'i topbar'dan aşağı al - mobil görünümde */
  body.paketlerimiz-page main {
    padding-top: 6.5rem !important;
  }
}

/* Package Navigation Buttons - Dikey Dikdörtgenler */
.package-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.package-nav-btn {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 1rem 1.5rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.package-nav-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.package-nav-btn.active {
  background: rgba(30, 58, 138, 0.3);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.package-nav-title {
  display: block;
}

/* Package Cards */
.package-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
}

/* Package Badge */
.package-badge {
  animation: pulse-badge 2s ease-in-out infinite;
  max-width: calc(100% - 2rem);
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: translateX(-50%) scale(1);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  }

  50% {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.6);
  }
}

@media (max-width: 640px) {
  .package-badge {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    max-width: calc(100% - 1rem);
  }
}

/* Package Price */
.package-price {
  line-height: 1.2;
}

.package-header {
  margin-bottom: 1.5rem;
}

/* Packages Container - Mobil görünümde ortala ve sağa taşmasın */
@media (max-width: 1023px) {
  .packages-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0 auto 3rem auto !important;
    width: 100%;
    max-width: 100%;
  }

  .packages-container .package-card {
    width: calc(100% - 2rem);
    max-width: calc(100% - 2rem);
    margin: 0 auto;
    box-sizing: border-box;
  }

  /* Main content padding'i mobilde ayarla */
  body.paketlerimiz-page main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.package-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive adjustments for package navigation */
@media (min-width: 1024px) {
  .package-nav {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .package-nav-btn {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }

  .package-card {
    padding: 1.25rem !important;
  }
}

.newsletter-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-modal-fab);
  background: #17406f;
  color: #fff;
  border: none;
  border-radius: 28px 0 0 28px;
  box-shadow: 0 3px 16px 0 rgba(24, 40, 68, 0.18);
  cursor: pointer;
  padding: 18px 20px 18px 24px;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: background 0.22s, box-shadow 0.21s;
  min-width: 66px;
}

.newsletter-fab:hover,
.newsletter-fab:focus {
  background: #195289;
  box-shadow: 0 7px 28px 0 rgba(24, 40, 68, 0.20);
}

.newsletter-fab svg {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 480px) {
  .newsletter-popup {
    width: 75vw;
    max-width: 280px;
    min-width: 0;
    border-radius: 24px 0 0 0;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    padding: 24px 14px 16px 14px;
    right: -100vw;
    left: auto;
  }

  .newsletter-popup.active {
    right: 0;
    left: auto;
  }

  .newsletter-popup__close {
    top: 10px;
    right: 7px;
  }

  .newsletter-fab {
    top: calc(8rem + 165px);
    /* Hero heading top (8rem) + estimated height + gap */
    transform: none;
    padding: 15px 16px 15px 20px;
    font-size: 0.98rem;
    min-width: 52px;
  }

  .newsletter-fab svg {
    width: 22px;
    height: 22px;
  }
}

/* Newsletter Popup Overlay */
.newsletter-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(24, 44, 89, 0.19);
  backdrop-filter: blur(8px) saturate(130%);
  -webkit-backdrop-filter: blur(8px) saturate(130%);
  z-index: var(--z-overlay);
  display: none;
  transition: background 0.35s;
  pointer-events: auto;
}

.newsletter-popup-overlay.active {
  display: block;
}

/* Main Heading - Desktop adjustment */
@media (min-width: 1024px) {
  h1 {
    top: 6rem !important;
    /* top-20 (5rem) + 16px = 6rem (96px) */
  }
}

/* Main Menu Button - Glassmorphism with Animations */
.main-menu-btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff !important;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  font-family: 'Segoe UI', 'Arial', 'Helvetica Neue', sans-serif;
  transition: all 0.3s cubic-bezier(.68, -0.55, .27, 1.55);
  padding: 10px 20px;
  border-radius: 12px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  letter-spacing: 0.3px;
  display: inline-block;
}

.main-menu-btn:hover,
.main-menu-btn:focus {
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px) scale(1.045);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 2px 12px rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Additional responsive adjustments */
@media (max-width: 1023px) {
  .main-menu {
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    flex-wrap: nowrap;
    width: auto;
  }

  .main-menu a {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    font-weight: 600;
    min-width: auto;
    margin: 0;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
    transition: background 0.17s;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .main-menu-btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    min-width: auto;
    margin: 0;
    white-space: nowrap;
  }
}

/* Mobile specific adjustments */
@media (max-width: 640px) {
  .main-menu {
    gap: 0.4rem;
    padding: 0 0.5rem;
  }

  .main-menu-btn {
    padding: 0.68rem 1.15rem;
    font-size: 1.02rem;
    border-radius: 10px;
  }

  /* Main heading için mobilde daha fazla üst boşluk */
  h1 {
    top: 8rem !important;
    /* 16px aşağı alındı */
  }
}

@media (max-width: 480px) {
  .main-menu {
    gap: 0.4rem;
    padding: 0;
  }

  .main-menu-btn {
    padding: 0.58rem 0.78rem;
    font-size: 0.94rem;
    border-radius: 6px;
  }

  /* Turkish Language Adjustments for Mobile - Optimized Size */
  html[lang="tr"] .main-menu {
    gap: 0.2rem;
  }

  html[lang="tr"] .main-menu-btn {
    padding: 0.58rem 0.78rem;
    font-size: 0.94rem;
    letter-spacing: -0.4px;
  }



  .translate-glass-btn {
    padding: 0.2em 0.5em !important;
    font-size: 0.75rem !important;
    min-width: 28px !important;
    min-height: 28px !important;
    margin-left: 0 !important;
  }

  .translate-glass-btn svg {
    width: 20px !important;
    height: 20px !important;
  }

  h1 {
    top: 9rem !important;
    font-size: 1.1rem !important;
    padding: 0.75rem 1rem !important;
  }
}

/* Legal Modals (Cookie Policy & KVKK) */
.legal-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  color: #fff;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.legal-modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.legal-modal__header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-modal__header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-modal__close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  line-height: 1;
}

.legal-modal__close:hover {
  opacity: 1;
}

.legal-modal__content {
  padding: 2rem;
  overflow-y: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.legal-modal__content h3 {
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.legal-modal__content p {
  margin-bottom: 1rem;
}

.legal-modal__content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-modal__content li {
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

/* Custom Scrollbar for Modal content */
.legal-modal__content::-webkit-scrollbar {
  width: 6px;
}

.legal-modal__content::-webkit-scrollbar-track {
  background: transparent;
}

.legal-modal__content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.legal-modal__content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .legal-modal {
    width: 95%;
    max-height: 90vh;
  }

  .legal-modal__content {
    padding: 1.5rem;
    font-size: 0.9rem;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .code-line {
    font-size: 13px;
  }

  /* Bottom message box - Mobile adjustments */
  .bottom-message-box {
    max-width: 70% !important;
    width: auto !important;
    padding: 0.85rem 0.85rem !important;
    margin-left: 5vw !important;
    margin-right: auto !important;
  }

  /* Move bottom message higher on mobile for better visibility */
  main .bottom-message-box {
    bottom: 12% !important;
  }

  .bottom-message-box>div:first-child {
    font-size: 0.85rem !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.3 !important;
  }

  .bottom-message-box>div:last-child {
    font-size: 0.75rem !important;
    line-height: 1.35 !important;
  }
}


/* Glassmorphism Premium Styles - Hakkımızda Sayfası İçin */
body.hakkimizda-page {
  background: #0f172a !important;
  background-color: #0f172a !important;
  background-attachment: fixed !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  position: relative;
}

/* Web görünümü için HTML elementi de koyu mavi */
@media (min-width: 1024px) {
  html:has(body.hakkimizda-page) {
    background: #0f172a !important;
    background-color: #0f172a !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  body.hakkimizda-page {
    min-height: 100vh !important;
    height: 100% !important;
  }

  /* Floating blob'ları web görünümünde gizle - tek renk koyu mavi arka plan için */
  .glass-bg-wrapper {
    display: none !important;
  }

  /* Main element ve diğer wrapper'ların background'unu kaldır */
  body.hakkimizda-page main {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Tüm div wrapper'ların background'unu kontrol et */
  body.hakkimizda-page>div:not(.glass-bg-wrapper) {
    background: transparent !important;
    background-color: transparent !important;
  }
}

/* Mobil görünümde body arka planını koyu mavi yap - modern görünüm */
@media (max-width: 1023px) {

  /* HTML elementi - body.hakkimizda-page varsa HTML de aynı koyu mavi */
  html:has(body.hakkimizda-page) {
    background: #0f172a !important;
    background-color: #0f172a !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  /* Body elementi - tek renk koyu mavi */
  body.hakkimizda-page {
    background: #0f172a !important;
    background-color: #0f172a !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    height: 100% !important;
  }

  /* Main element ve diğer wrapper'ların background'unu kaldır */
  body.hakkimizda-page main {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Tüm div wrapper'ların background'unu kontrol et */
  body.hakkimizda-page>div:not(.glass-bg-wrapper) {
    background: transparent !important;
    background-color: transparent !important;
  }

  /* Floating blob'ları mobilde gizle - tek renk mavi arka plan için */
  .glass-bg-wrapper {
    display: none !important;
  }

  /* Main content'i topbar'dan aşağı al - mobil görünümde */
  body.hakkimizda-page main {
    padding-top: 10rem !important;
    /* pt-32 (8rem) yerine 10rem */
    padding-bottom: 2rem !important;
    /* Ensure space for footer */
  }

  /* Ensure footer is visible on mobile */
  body.hakkimizda-page footer {
    position: relative !important;
    margin-top: 2rem !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}

.glass-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.floating-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: float-blob 25s infinite ease-in-out alternate;
  will-change: transform;
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.8) 0%, rgba(37, 99, 235, 0) 70%);
  /* Light blue */
  animation-delay: 0s;
}

.blob-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.8) 0%, rgba(79, 70, 229, 0) 70%);
  /* Purple/Indigo */
  animation-delay: -5s;
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.6) 0%, rgba(14, 165, 233, 0) 70%);
  /* Cyan */
  animation-delay: -12s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }

  33% {
    transform: translate(30px, -50px) rotate(10deg) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) rotate(-5deg) scale(0.95);
  }

  100% {
    transform: translate(20px, -40px) rotate(5deg) scale(1.05);
  }
}

.glass-card-premium {
  background: rgba(30, 58, 138, 0.3) !important;
  background-color: rgba(30, 58, 138, 0.3) !important;
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 20px 50px -12px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 20px rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Ensure all glass cards have consistent blue background - override any other styles */
.hakkimizda-page .glass-card-premium,
.hakkimizda-page .glass-card-premium::before {
  background: rgba(30, 58, 138, 0.3) !important;
  background-color: rgba(30, 58, 138, 0.3) !important;
}

.glass-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.08),
      transparent);
  transform: skewX(-25deg);
  transition: 0.5s;
  pointer-events: none;
}

.glass-card-premium:hover::before {
  left: 100%;
  transition: 0.7s;
}

.glass-card-premium:hover {
  transform: translateY(-5px);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2),
    inset 0 1px 20px rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments for glassmorphism cards */
@media (max-width: 768px) {
  .glass-card-premium {
    padding: 1.5rem !important;
    border-radius: 20px !important;
    background: rgba(30, 58, 138, 0.3) !important;
    background-color: rgba(30, 58, 138, 0.3) !important;
  }

  .floating-blob {
    filter: blur(60px);
    opacity: 0.4;
  }

  .blob-1,
  .blob-2,
  .blob-3 {
    width: 70vw !important;
    height: 70vw !important;
  }
}

@media (max-width: 640px) {
  .glass-card-premium {
    padding: 1.25rem !important;
    border-radius: 16px !important;
    background: rgba(30, 58, 138, 0.3) !important;
    background-color: rgba(30, 58, 138, 0.3) !important;
  }

  .floating-blob {
    filter: blur(50px);
    opacity: 0.35;
  }
}

/* Translate Glassmorphism Button */
.translate-glass-btn {
  background: rgba(180, 200, 255, 0.13);
  backdrop-filter: blur(17px) saturate(142%) brightness(110%);
  -webkit-backdrop-filter: blur(17px) saturate(142%) brightness(110%);
  border-radius: 100px;
  border: 1.3px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 4px 18px 0 rgba(66, 86, 200, 0.11), 0 1px 7px 0 rgba(100, 90, 255, 0.10) inset;
  color: #fff;
  min-width: 36px;
  min-height: 36px;
  padding: 0.18em 0.5em 0.18em 0.45em;
  font-size: 1.04rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.23s cubic-bezier(.68, -0.55, .27, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.22em;
  position: relative;
  z-index: var(--z-content);
}

.translate-glass-btn:hover,
.translate-glass-btn:focus {
  background: rgba(200, 220, 255, 0.22);
  box-shadow: 0 8px 27px 0 rgba(66, 86, 200, 0.20), 0 2px 11px 0 rgba(100, 90, 255, 0.11) inset;
  transform: translateY(-2px) scale(1.045);
}

/* WhatsApp FAB - Fixed Position (Used on Hakkımızda and Paketlerimiz pages) */
.whatsapp-fab-hakkimizda {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  z-index: var(--z-max) !important;
  background: #25d366 !important;
  color: white;
  border: none;
  outline: none;
  width: 3.5rem !important;
  height: 3.5rem !important;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.21), 0 1.5px 5px rgba(0, 0, 0, 0.11);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.whatsapp-fab-hakkimizda:hover {
  background: #20ba5a;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  transform: scale(1.1);
}

.whatsapp-fab-hakkimizda svg {
  width: 2rem !important;
  height: 2rem !important;
  display: block !important;
  pointer-events: none;
}

/* Responsive adjustments for WhatsApp FAB */
@media (max-width: 640px) {
  .whatsapp-fab-hakkimizda {
    width: 3rem !important;
    height: 3rem !important;
    bottom: 1rem !important;
    right: 1rem !important;
  }

  .whatsapp-fab-hakkimizda svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/* Translation Button Size Increase for specific pages on mobile/tablet */
@media (max-width: 1023px) {

  body.hakkimizda-page .translate-glass-btn,
  body.paketlerimiz-page .translate-glass-btn {
    padding: 0.35em 0.7em !important;
    font-size: 0.88rem !important;
    min-width: 32px !important;
    min-height: 32px !important;
    margin-left: 0.4rem !important;
  }

  body.hakkimizda-page .translate-glass-btn svg,
  body.paketlerimiz-page .translate-glass-btn svg {
    width: 22px !important;
    height: 22px !important;
  }
}

/* Scroll to Top Button - Mobile Only */
.scroll-to-top-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 9998;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.9) 0%, rgba(37, 99, 235, 0.9) 100%);
  color: white;
  border: none;
  outline: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  pointer-events: none;
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, rgba(56, 189, 248, 1) 0%, rgba(37, 99, 235, 1) 100%);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.6), 0 3px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px) scale(1.1);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(1.05);
}

.scroll-to-top-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  stroke: white;
  animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Hide scroll-to-top button on desktop */
/* Hide scroll-to-top button on desktop for pages other than paketlerimiz */
@media (min-width: 1024px) {
  body:not(.paketlerimiz-page) .scroll-to-top-btn {
    display: none !important;
  }
}

/* Adjust positioning on smaller mobile screens */
@media (max-width: 640px) {
  .scroll-to-top-btn {
    width: 2.75rem;
    height: 2.75rem;
    bottom: 5rem;
    right: 1rem;
  }

  .scroll-to-top-btn svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* Cookie Banner Premium Styles */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(30px);
  width: 90%;
  max-width: 800px;
  background: rgba(24, 80, 126, 0.25);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  z-index: 9999;
  border-radius: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text-side h3 {
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.cookie-text-side p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #00d4ff 0%, #0072ff 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 114, 255, 0.3);
}

.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 114, 255, 0.4);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Response for Mobile */
@media (max-width: 768px) {
  .cookie-banner {
    bottom: 1rem;
    padding: 1.25rem;
    width: 95%;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn-primary,
  .cookie-btn-secondary {
    width: 100%;
  }
}