/*
Theme Name: Göz Dedektiflik 2026
Theme URI: https://gozdedektiflik.com
Author: Göz Dedektiflik
Author URI: https://www.instagram.com/goz_ozeldedektiflik/
Description: Profesyonel özel dedektiflik teması. Siyah-altın lüks tasarım, WhatsApp entegrasyonu, hizmetler, paketler ve iletişim. İstanbul & Antalya.
Version: 3.4.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goz-dedektiflik
Tags: dark, one-page, business, professional, custom-menu, responsive, accessibility-ready
*/

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

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

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0A0A0B;
  color: #E5E5E5;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease, opacity 0.25s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* =====================================================
   CUSTOM PROPERTIES – Refined Luxury Palette
===================================================== */
:root {
  --gold: #D4AF37;
  --gold-light: #F0E6C8;
  --gold-soft: #E8D48B;
  --gold-dark: #A8841F;
  --gold-muted: rgba(212, 175, 55, 0.12);
  --gold-border: rgba(212, 175, 55, 0.18);
  --gold-border-hover: rgba(212, 175, 55, 0.38);

  --dark-950: #060607;
  --dark-900: #0A0A0B;
  --dark-850: #0E0E10;
  --dark-800: #121214;
  --dark-750: #161618;
  --dark-700: #1A1A1D;
  --dark-600: #242428;
  --dark-500: #2E2E33;

  --text-primary: #F4F4F5;
  --text-secondary: #A1A1AA;
  --text-muted: #71717A;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --shadow-gold: 0 0 40px -10px rgba(212, 175, 55, 0.32);
  --shadow-gold-lg: 0 0 60px -12px rgba(212, 175, 55, 0.42);
  --shadow-card: 0 20px 40px -15px rgba(0, 0, 0, 0.5);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================
   UTILITIES
===================================================== */
.gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #E8D48B 45%, #D4AF37 100%);
}

.text-gold-gradient {
  background: linear-gradient(135deg, #D4AF37 0%, #F0E6C8 50%, #D4AF37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(22, 22, 24, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--gold-border);
}

.card-hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 0 1px var(--gold-border-hover);
  border-color: var(--gold-border-hover);
}

.package-badge {
  background: linear-gradient(135deg, #D4AF37 0%, #B8942A 100%);
}

.package-popular {
  position: relative;
}

.package-popular::before {
  content: 'EN ÇOK TERCİH EDİLEN';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #D4AF37, #E8D48B);
  color: #0A0A0B;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  z-index: 2;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

/* =====================================================
   NAVBAR
===================================================== */
#navbar {
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

#navbar.scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gold-border);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =====================================================
   WHATSAPP FLOAT
===================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: pulse-green 2.8s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes pulse-green {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =====================================================
   REVEAL ANIMATION
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* =====================================================
   SCROLLBAR
===================================================== */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--dark-900);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* =====================================================
   SELECTION
===================================================== */
::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

/* =====================================================
   WORDPRESS SPECIFIC
===================================================== */
.wp-block-image img {
  border-radius: var(--radius-md);
}

.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.pagination,
.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--dark-700);
  color: var(--text-secondary);
  font-size: 0.875rem;
  transition: all 0.25s ease;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--gold);
  color: var(--dark-900);
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }
}
