/* ==========================================================================
   maOny Medya - Kurumsal Web Sitesi & Kreatif Tasarım Stüdyosu
   Kurucu: Mahmut Işık | Çayırova, Kocaeli, Türkiye
   Renk Paleti: #fdf8e7 (Sıcak Krem Zemin) & #EFC81F (Kurumsal Altın Sarısı)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Syne:wght@600;700;800&display=swap');

:root {
  --bg-main: #fdf8e7;
  --bg-surface: #ffffff;
  --bg-surface-warm: #f7f1dd;
  --bg-dark: #14151a;
  
  --color-gold: #EFC81F;
  --color-gold-hover: #e0b912;
  --color-gold-dark: #b89104;
  --color-gold-light: rgba(239, 200, 31, 0.15);
  
  --text-main: #14151a;
  --text-secondary: #4b4d58;
  --text-muted: #6b7280;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-gold: #EFC81F;
  
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 12px 28px -6px rgba(20, 21, 26, 0.06);
  --shadow-gold: 0 10px 25px -4px rgba(239, 200, 31, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.02em;
}

/* Touch Optimization for Mobile */
.touch-manipulation {
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}

/* Custom Clean Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #fdf8e7;
}
::-webkit-scrollbar-thumb {
  background: #ded5b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #EFC81F;
}

/* Ambient Cursor Glow */
#cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 200, 31, 0.12) 0%, rgba(247, 241, 221, 0.4) 40%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 1;
  transition: transform 0.08s ease-out;
}

@media (max-width: 768px) {
  #cursor-glow {
    display: none;
  }
}

/* Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* ==========================================================================
   PAGE TRANSITION CURTAIN (AKICI SAYFA GEÇİŞİ ANİMASYONU)
   ========================================================================== */
#page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.curtain-layer {
  width: 100%;
  height: 50%;
  background: #14151a;
  transform: scaleY(0);
  transition: transform 0.38s cubic-bezier(0.77, 0, 0.175, 1);
}

.curtain-top {
  transform-origin: top;
  border-bottom: 2px solid #EFC81F;
}

.curtain-bottom {
  transform-origin: bottom;
  border-top: 2px solid #EFC81F;
}

#page-transition-curtain.animating .curtain-layer {
  transform: scaleY(1);
}

.curtain-brand-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 10000;
}

#page-transition-curtain.animating .curtain-brand-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   OTURAKLI, DÜZENLİ VE KURUMSAL HEADER & MENÜ
   ========================================================================== */
.executive-header {
  background: #ffffff;
  border-bottom: 2px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-link-corporate {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: #333644;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link-corporate::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: #EFC81F;
  transform: scaleX(0);
  transition: transform 0.25s ease;
  border-radius: 2px;
}

.nav-link-corporate:hover {
  color: #14151a;
  background: #fdf8e7;
}

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

/* Luxury Corporate Cards */
.card-clean {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.card-clean:hover {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Badges & Pills */
.badge-gold {
  background: rgba(239, 200, 31, 0.2);
  color: #8a6c02;
  border: 1px solid rgba(239, 200, 31, 0.45);
  font-weight: 700;
}

/* Buttons */
.btn-gold-solid {
  background: #EFC81F;
  color: #14151a;
  font-weight: 700;
  border: 1px solid #dfb710;
  box-shadow: var(--shadow-gold);
  transition: all 0.25s ease;
}

.btn-gold-solid:hover {
  background: #f5d33f;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(239, 200, 31, 0.45);
}

.btn-gold-solid:active {
  transform: scale(0.98);
}

.btn-dark-solid {
  background: #14151a;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid #14151a;
  transition: all 0.25s ease;
}

.btn-dark-solid:hover {
  background: #282a36;
  transform: translateY(-2px);
}

.btn-dark-solid:active {
  transform: scale(0.98);
}

/* Audio Visualizer Waves */
.visualizer-bar {
  width: 4px;
  background: #EFC81F;
  border-radius: 4px;
  margin: 0 2px;
  height: 8px;
  transition: height 0.1s ease;
}

.visualizer-bar.playing {
  animation: equalizeWarm 0.75s ease-in-out infinite alternate;
}

@keyframes equalizeWarm {
  0% { height: 6px; background-color: #EFC81F; }
  50% { height: 42px; background-color: #d4af13; }
  100% { height: 16px; background-color: #ffffff; }
}

/* Custom Checkbox */
.service-checkbox:checked + label {
  border-color: #EFC81F;
  background: #fdf8e7;
  box-shadow: 0 0 0 2px #EFC81F;
}

/* ==========================================================================
   FLOATING LOGO BUTTON WITH UP ARROW (SAĞDA LOGO VE YUKARI OK İLE ÇIKMA)
   ========================================================================== */
.floating-top-logo-btn {
  position: fixed;
  bottom: 92px;
  right: 22px;
  z-index: 45;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border: 2px solid #EFC81F;
  border-radius: 50%;
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), 0 0 18px rgba(239, 200, 31, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
}

.floating-top-logo-btn.active {
  opacity: 1;
  visibility: visible;
}

.floating-top-logo-btn:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18), 0 0 25px rgba(239, 200, 31, 0.6);
  border-color: #dfb710;
}

.arrow-up-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  background: #14151a;
  color: #EFC81F;
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.floating-top-logo-btn:hover .arrow-up-badge {
  transform: translateY(-2px);
  background: #EFC81F;
  color: #14151a;
}

@media (max-width: 768px) {
  .floating-top-logo-btn {
    bottom: 80px;
    right: 16px;
    width: 48px;
    height: 48px;
    padding: 6px;
  }
  .arrow-up-badge {
    width: 18px;
    height: 18px;
    font-size: 8px;
    top: -3px;
    right: -3px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 45;
  width: 52px;
  height: 52px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  border: 2px solid white;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
}

.whatsapp-float:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

/* Mobile Bottom Navigation Bar (Dock) */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
