/* ============================================
   ABİK Hukuk & Danışmanlık - Premium Styles
   Navy & Silver Theme
   ============================================ */

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}

/* Base */
body {
  background-color: #141e29;
  color: #e0e6ee;
  font-family: 'Manrope', sans-serif;
}

::selection {
  background: rgba(200, 210, 225, 0.3);
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

/* ── Section Backgrounds (flat colors) ── */
.gradient-hero { background-color: #141e29; }
.gradient-section { background-color: #141e29; }
.gradient-section-alt { background-color: #141e29; }
.gradient-dark { background-color: #141e29; }
.gradient-cta { background-color: #c8d0dc; }
.gradient-card { background-color: rgba(20, 30, 41, 0.8); }

/* ── Section Tones (flat colors) ── */
.bg-blend-low { background-color: #141e29; }
.bg-blend-dark { background-color: #141e29; }
.bg-blend-high { background-color: #141e29; }
.bg-blend-dark-top { background-color: #141e29; }
.bg-blend-low-bottom { background-color: #141e29; }
.bg-blend-to-low { background-color: #141e29; }
.bg-blend-from-low { background-color: #141e29; }

/* ── Glow Effects ── */
.glow-silver {
  box-shadow: 0 0 60px -15px rgba(200, 210, 225, 0.2);
}

.glow-silver-sm {
  box-shadow: 0 0 30px -10px rgba(200, 210, 225, 0.15);
}

.glow-silver-hover:hover {
  box-shadow: 0 0 40px -10px rgba(200, 210, 225, 0.25);
}

.text-glow {
  text-shadow: 0 0 40px rgba(200, 210, 225, 0.3);
}

/* ── Glass Effects ── */
.glass-panel {
  background: rgba(26, 40, 54, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 210, 225, 0.08);
}

.glass-card {
  background: rgba(26, 40, 54, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(200, 210, 225, 0.06);
}

.glass-nav {
  background: rgba(20, 30, 41, 0.92);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
}

/* ── Premium Card Styles ── */
.card-premium {
  background: linear-gradient(160deg, rgba(36, 52, 72, 0.4) 0%, rgba(20, 30, 41, 0.6) 100%);
  border: 1px solid rgba(200, 210, 225, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
  background: linear-gradient(160deg, rgba(36, 52, 72, 0.6) 0%, rgba(26, 40, 54, 0.8) 100%);
  border-color: rgba(200, 210, 225, 0.15);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.5), 0 0 40px -20px rgba(200, 210, 225, 0.1);
  transform: translateY(-4px);
}

/* ── Gradient Borders ── */
.border-gradient {
  position: relative;
}

.border-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(135deg, rgba(200, 210, 225, 0.3), transparent 50%, rgba(200, 210, 225, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Decorative Elements ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.6;
}

.orb-silver {
  background: radial-gradient(circle, rgba(200, 210, 225, 0.12) 0%, transparent 70%);
}

.orb-cool {
  background: radial-gradient(circle, rgba(154, 168, 184, 0.08) 0%, transparent 70%);
}

/* ── Animated Gradient Line ── */
.gradient-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #c8d0dc, transparent);
  opacity: 0.4;
}

.gradient-line-vertical {
  width: 2px;
  background: linear-gradient(180deg, transparent, #c8d0dc, transparent);
  opacity: 0.3;
}

/* ── Section Dividers ── */
.section-divider {
  position: relative;
}

.section-divider::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 210, 225, 0.15), transparent);
}

/* ── Premium Buttons ── */
.btn-primary {
  background: linear-gradient(135deg, #c8d0dc 0%, #9aa8b8 100%);
  color: #0e1620;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 0 8px 30px -8px rgba(200, 210, 225, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(200, 210, 225, 0.4);
  color: #c8d0dc;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 210, 225, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  border-color: rgba(200, 210, 225, 0.7);
  box-shadow: 0 0 20px -5px rgba(200, 210, 225, 0.2);
}

/* ── Image Overlays ── */
.img-overlay {
  position: relative;
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

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

@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent 30%, rgba(200, 210, 225, 0.05) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 8s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

/* ── Scroll Reveal ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Metric Counter Style ── */
.metric-card {
  position: relative;
  padding: 2rem;
  text-align: center;
}

.metric-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(200, 210, 225, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Mobile Menu ── */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  background: linear-gradient(180deg, rgba(26, 40, 54, 0.98) 0%, rgba(14, 22, 32, 0.99) 100%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger Animation */
#hamburger span,
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #c8d0dc;
  transition: all 0.3s ease;
}

#hamburger.active span:nth-child(1),
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

#hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(2) {
  opacity: 0;
}

#hamburger.active span:nth-child(3),
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Drop Cap ── */
.drop-cap::first-letter {
  font-size: 3.5rem;
  font-family: 'Noto Serif', serif;
  color: #c8d0dc;
  float: left;
  margin-right: 0.75rem;
  line-height: 1;
  text-shadow: 0 0 30px rgba(200, 210, 225, 0.3);
}

/* ── Stat Number Gradient ── */
.stat-number {
  background: linear-gradient(135deg, #c8d0dc 0%, #e8edf4 50%, #c8d0dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Heading Accent ── */
.heading-accent {
  position: relative;
  display: inline-block;
}

.heading-accent::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c8d0dc, transparent);
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #141e29;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2d3f52, #c8d0dc);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c8d0dc;
}

/* ── Focus States ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #c8d0dc;
  outline-offset: 2px;
}

/* ── Form Autofill ── */
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px #243448 inset !important;
  -webkit-text-fill-color: #e0e6ee !important;
}

/* ── Print ── */
@media print {
  header, footer, .mobile-menu, .mobile-menu-overlay {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
