/* ===================================================
   BODRUM VALE — Ana CSS Tasarım Sistemi
   Renk Paleti: #000000 | #FDC221 | #767D7F
   Fontlar: Outfit (başlık) + Inter (gövde)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* =============================================
   CSS DEĞİŞKENLERİ
   ============================================= */
:root {
  /* Renkler */
  --color-bg:          #000000;
  --color-bg-alt:      #080808;
  --color-surface:     #111111;
  --color-surface-2:   #181818;
  --color-surface-3:   #1f1f1f;
  --color-border:      #222222;
  --color-border-2:    #2a2a2a;

  --color-accent:      #FDC221;
  --color-accent-dark: #e5ae1a;
  --color-accent-dim:  #c49a0f;
  --color-accent-glow: rgba(253, 194, 33, 0.15);
  --color-accent-glass:rgba(253, 194, 33, 0.08);

  --color-secondary:   #767D7F;
  --color-secondary-light: #9ca3af;

  --color-text:        #FFFFFF;
  --color-text-muted:  #b0b8bb;
  --color-text-dim:    #767D7F;
  --color-text-faint:  #4b5563;

  --color-success:     #10b981;
  --color-warning:     #f59e0b;
  --color-danger:      #ef4444;

  /* Tipografi */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Gölgeler */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.6);
  --shadow-accent: 0 8px 32px rgba(253, 194, 33, 0.2);
  --shadow-card:   0 4px 20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);

  /* Geçişler */
  --transition:    0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Boyutlar */
  --nav-height:        80px;
  --mobile-nav-height: 64px;
  --max-width:         1280px;
  --content-width:     800px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-border-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-secondary); }

/* Seçim rengi */
::selection { background: var(--color-accent); color: #000; }

/* Linkler */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* Görseller */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Listeler */
ul, ol { list-style: none; }

/* Butonlar */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

/* Form öğeleri */
input, select, textarea {
  font-family: var(--font-body);
  font-size: inherit;
  outline: none;
}

/* =============================================
   TİPOGRAFİ
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { color: var(--color-text-muted); line-height: 1.7; }

.text-gradient {
  background: linear-gradient(135deg, #FDC221, #ffdf7a, #FDC221);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-accent  { color: var(--color-accent) !important; }
.text-muted   { color: var(--color-text-muted) !important; }
.text-dim     { color: var(--color-text-dim) !important; }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.875rem; }
.text-xs      { font-size: 0.75rem; }
.text-lg      { font-size: 1.125rem; }
.text-xl      { font-size: 1.25rem; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-sm {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section-sm {
  padding: var(--space-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-title h2 {
  margin-bottom: var(--space-md);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Accent hat */
.section-line {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  margin: var(--space-md) auto 0;
  border-radius: var(--radius-full);
}

/* Grid */
.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Flex */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* =============================================
   HEADER / NAVİGASYON — DESKTOP
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 4px 20px rgba(0,0,0,0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.2rem;
  color: #000;
  letter-spacing: -1px;
  flex-shrink: 0;
}

.site-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.site-logo-text span:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.3px;
}

.site-logo-text span:last-child {
  font-size: 0.7rem;
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* Desktop Nav */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
  background: rgba(255,255,255,0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-accent);
  color: #000 !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  margin-left: var(--space-sm);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta:hover {
  background: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
  color: #000 !important;
}

/* =============================================
   MOBİL HEADER
   ============================================= */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
}

/* =============================================
   MOBİL STICKY BOTTOM NAV
   ============================================= */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--mobile-nav-height);
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--color-text-dim);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
  padding: 8px 4px;
}

.mobile-nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.mobile-nav-item.active {
  color: var(--color-accent);
}

.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 0 0 var(--radius-full) var(--radius-full);
}

/* =============================================
   SAYFA PADDING (nav yüksekliğine göre)
   ============================================= */
.page-offset {
  padding-top: var(--nav-height);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  margin: var(--space-md) 0 var(--space-lg);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--color-accent-glass);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-text-dim);
  font-size: 0.875rem;
  margin-bottom: 10px;
}

.footer-contact-item svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  transition: color var(--transition);
}

.footer-legal a:hover {
  color: var(--color-accent);
}

/* =============================================
   BREADCRUMB
   ============================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: var(--space-md) 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.breadcrumb-item a {
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.breadcrumb-item a:hover { color: var(--color-accent); }

.breadcrumb-item:last-child { color: var(--color-text-muted); }

.breadcrumb-sep {
  color: var(--color-text-faint);
  font-size: 0.7rem;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.wa-float {
  position: fixed;
  bottom: calc(var(--mobile-nav-height) + 16px);
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  z-index: 9999;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: #25D366;
  color: #fff !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  width: auto !important;
  min-width: 150px;
  max-width: 250px;
  white-space: nowrap;
  margin: 0 auto;
}

.wa-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}

.wa-float svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.wa-float-text { white-space: nowrap; }

@media (min-width: 769px) {
  .wa-float {
    bottom: 24px;
  }
}

/* =============================================
   PULSE ANİMASYON (WhatsApp)
   ============================================= */
.wa-pulse {
  position: relative;
}

.wa-pulse::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.2); }
}

/* =============================================
   ANİMASYONLAR
   ============================================= */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

/* Scroll-triggered sınıflar */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  .desktop-nav { display: none; }
  .mobile-header { display: flex; }
  .mobile-bottom-nav { display: block; }

  .site-header { display: none; }

  .section { padding: var(--space-2xl) 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
  }

  /* Mobile sayfanın altında nav var — padding ekle */
  body {
    padding-bottom: calc(var(--mobile-nav-height) + env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  h1 { font-size: 1.8rem; }
}

/* =============================================
   YARDIMCI SINIFLAR
   ============================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

.hidden { display: none !important; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

/* Overlay gradient - hero için */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.65) 50%,
    rgba(0,0,0,0.4) 100%
  );
}

/* Loading spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(253,194,33,0.3);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-accent {
  background: var(--color-accent-glass);
  color: var(--color-accent);
  border: 1px solid rgba(253,194,33,0.2);
}

.badge-surface {
  background: var(--color-surface-2);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--color-text-dim);
  font-weight: 500;
  transition: all var(--transition);
}

.tag:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.tag.active {
  background: var(--color-accent-glass);
  border-color: var(--color-accent);
  color: var(--color-accent);
}
