/* =====================================================
   CSC Group – Custom CSS (Tailwind CDN'e ek)
   ===================================================== */

:root {
  --font-display: 'Inter', sans-serif;
  --color-primary: #19AE42;
  --color-dark: #0F1B3D;
  --color-navy: #1B2451;
  --color-travel: #B8944E;
  --color-facility: #0E7D96;
  --color-quality: #2D9F4E;
  --color-surface-light: #F5F7FA;
  --color-surface-warm: #FAFBFD;
  --color-surface-dark: #162044;

  /* Text opacity tiers */
  --text-dark-high:  rgba(27,36,81,0.90);
  --text-dark-mid:   rgba(27,36,81,0.65);
  --text-dark-low:   rgba(27,36,81,0.45);
  --text-light-high: rgba(255,255,255,0.90);
  --text-light-mid:  rgba(255,255,255,0.70);
  --text-light-low:  rgba(255,255,255,0.50);

  /* Letter-spacing tiers */
  --ls-tight: 0.08em;
  --ls-normal: 0.15em;
  --ls-wide: 0.22em;
  --ls-extra: 0.35em;
}

/* ── Button Components ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 32px rgba(25,174,66,0.25), 0 0 0 1px rgba(25,174,66,0.3);
  text-decoration: none;
}
.btn-primary:hover {
  background: #148F36;
  box-shadow: 0 12px 40px rgba(25,174,66,0.35), 0 0 0 1px rgba(25,174,66,0.4);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 3rem;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.20);
  color: var(--text-light-high);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(25,174,66,0.5);
  color: #fff;
}

.btn-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 0.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  transition: background 0.2s ease, color 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}
.btn-accent[data-accent="travel"] {
  background: rgba(184,148,78,0.10);
  color: #B8944E;
  border: 1px solid rgba(184,148,78,0.25);
}
.btn-accent[data-accent="travel"]:hover {
  background: #B8944E;
  color: #fff;
}
.btn-accent[data-accent="facility"] {
  background: rgba(14,125,150,0.10);
  color: #0E7D96;
  border: 1px solid rgba(14,125,150,0.25);
}
.btn-accent[data-accent="facility"]:hover {
  background: #0E7D96;
  color: #fff;
}
.btn-accent[data-accent="quality"] {
  background: rgba(45,159,78,0.10);
  color: #2D9F4E;
  border: 1px solid rgba(45,159,78,0.25);
}
.btn-accent[data-accent="quality"]:hover {
  background: #2D9F4E;
  color: #fff;
}

/* ── Utility: Section Label ── */
.section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--ls-extra);
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

/* ── Utility: Section Divider ── */
.section-divider-green {
  width: 4rem;
  height: 2px;
  background: var(--color-primary);
  margin-left: auto;
  margin-right: auto;
}

/* ── Utility: Card Dark ── */
.card-dark {
  background: var(--color-surface-dark);
  border-radius: 0.25rem;
  overflow: hidden;
}

/* ── Utility: Accent Bars ── */
.accent-bar-travel  { background: linear-gradient(to right, transparent, #B8944E, transparent); }
.accent-bar-facility { background: linear-gradient(to right, transparent, #0E7D96, transparent); }
.accent-bar-quality  { background: linear-gradient(to right, transparent, #2D9F4E, transparent); }

/* ── Scroll-reveal base ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.20s; }
.stagger > *:nth-child(3) { transition-delay: 0.35s; }
.stagger > *:nth-child(4) { transition-delay: 0.50s; }

/* Animated rings (3 rings) */
@keyframes rotateRight { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rotateLeft  { from { transform: rotate(0deg); } to { transform: rotate(-360deg); } }
.ring-1 { animation: rotateRight 40s linear infinite; }
.ring-2 { animation: rotateLeft  52s linear infinite; }
.ring-3 { animation: rotateRight 64s linear infinite; }

/* Scale divider line */
@keyframes scaleLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.scale-line {
  animation: scaleLine 0.7s ease-out 0.4s both;
  transform-origin: center;
}

/* Pulse dot */
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:.4} }
.pulse-dot { animation: pulse 1.8s ease-in-out infinite; }

/* Arrow bounce */
@keyframes bounce { 0%,100%{transform:translateY(0)}50%{transform:translateY(6px)} }
.bounce-arrow { animation: bounce 1.4s ease-in-out infinite; }

/* Grid background for hero */
.hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.04;
}

/* Card hover lift */
.card-lift {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* Dropdown */
#companies-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: 256px;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 0.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  overflow: hidden;
  z-index: 100;
}
#companies-dropdown.open { display: block; }

/* Navbar scroll effect */
#site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: #fff;
  transition: box-shadow 0.3s, padding 0.3s;
}
#site-nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

/* Mobile menu */
#mobile-menu {
  display: none;
  border-top: 1px solid #f3f4f6;
}
#mobile-menu.open { display: block; }

/* Hero fade-in sequence (compressed to 0.8s) */
.hero-badge   { animation: fadeInUp 0.50s ease both; }
.hero-title   { animation: fadeInUp 0.70s ease 0.10s both; }
.hero-badges  { animation: fadeInUp 0.60s ease 0.50s both; }
.hero-btns    { animation: fadeInUp 0.60s ease 0.60s both; }
.hero-scroll  { animation: fadeIn   0.50s ease 0.80s both; }
.hero-line    { animation: fadeInUp 0.50s ease 0.30s both; }
.hero-desc    { animation: fadeInUp 0.60s ease 0.40s both; }

/* Hero – Stats panel */
.hero-stats-panel {
  animation: fadeInUp 0.7s ease 0.4s both;
}
.hero-stat-row {
  animation: fadeInUp 0.5s ease both;
}
.hero-stat-row:nth-child(1) { animation-delay: 0.5s; }
.hero-stat-row:nth-child(2) { animation-delay: 0.65s; }
.hero-stat-row:nth-child(3) { animation-delay: 0.8s; }

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

/* ── Glassmorphism ── */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(25, 174, 66, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

/* ── Gradient Mesh ── */
.gradient-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(25, 174, 66, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(27, 36, 81, 0.20) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(184, 148, 78, 0.10) 0%, transparent 40%);
  animation: gradientShift 15s ease infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes gradientShift {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1) rotate(5deg);
  }
}

/* ── Gradient Text (legacy – kept for reuse) ── */
.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 60px rgba(25, 174, 66, 0.2));
}

/* ── Scroll Down Indicator ── */
@keyframes scroll-down {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 0; }
}

.animate-scroll-down {
  animation: scroll-down 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

/* ── GPU Acceleration ── */
.hero-title,
.glass-card,
.glass-card-light,
.ring-1, .ring-2, .ring-3 {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── Focus-visible (accessibility) ── */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-primary:focus-visible,
.btn-ghost:focus-visible,
.btn-accent:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(25,174,66,0.2);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .glass-card-light {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .gradient-mesh {
    opacity: 0.5;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .gradient-mesh,
  .ring-1, .ring-2, .ring-3,
  .pulse-dot,
  .animate-scroll-down {
    animation: none !important;
  }

  .glass-card-light,
  .btn-primary,
  .btn-ghost,
  .btn-accent {
    transition: none !important;
  }
}

/* ── Partner Logo Marquee ── */
.partner-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

/* Fade gradients on edges - matches light background */
.partner-marquee-wrapper::before,
.partner-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.partner-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #FFFFFF 0%, transparent 100%);
}

.partner-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #FFFFFF 0%, transparent 100%);
}

/* Marquee track */
.partner-marquee {
  display: flex;
  gap: 80px;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover (desktop) */
.partner-marquee-wrapper:hover .partner-marquee {
  animation-play-state: paused;
}

/* Individual logo item */
.partner-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 120px;
  padding: 0 16px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.partner-logo-item img {
  max-height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8) contrast(1);
  opacity: 0.55;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hover effect - restore color and brightness */
.partner-logo-item:hover img {
  filter: grayscale(0%) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .partner-marquee {
    gap: 60px;
    animation-duration: 40s;
  }

  .partner-logo-item {
    height: 36px;
    min-width: 100px;
    padding: 0 12px;
  }

  .partner-logo-item img {
    max-height: 36px;
    max-width: 120px;
  }

  .partner-marquee-wrapper::before,
  .partner-marquee-wrapper::after {
    width: 60px;
  }

  .partner-marquee-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .partner-marquee-wrapper::-webkit-scrollbar {
    display: none;
  }

  .partner-marquee-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .partner-marquee {
    animation: none !important;
  }

  .partner-marquee-wrapper {
    overflow-x: auto;
  }
}

/* ── hakkimizda.php styles ── */
.about-hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.04;
}

/* About Hero – Gradient Orbs */
.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}
.about-hero-orb--1 {
  width: 600px; height: 600px;
  top: -15%; left: -10%;
  background: rgba(25,174,66,0.12);
  animation: aboutOrbFloat1 20s ease-in-out infinite;
}
.about-hero-orb--2 {
  width: 500px; height: 500px;
  bottom: -20%; right: -5%;
  background: rgba(27,36,81,0.30);
  animation: aboutOrbFloat2 25s ease-in-out infinite;
}
.about-hero-orb--3 {
  width: 350px; height: 350px;
  top: 30%; right: 20%;
  background: rgba(184,148,78,0.06);
  animation: aboutOrbFloat3 18s ease-in-out infinite;
}

@keyframes aboutOrbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.1); }
}
@keyframes aboutOrbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, -40px) scale(1.05); }
}
@keyframes aboutOrbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -20px); }
}

/* About Hero – Fade-in sequence */
.about-hero-breadcrumb { animation: fadeInUp 0.5s ease 0.1s both; }
.about-hero-overline   { animation: fadeInUp 0.5s ease 0.2s both; }
.about-hero-heading    { animation: fadeInUp 0.6s ease 0.3s both; }
.about-hero-divider    { animation: fadeInUp 0.5s ease 0.45s both; }
.about-hero-desc       { animation: fadeInUp 0.5s ease 0.55s both; }
.about-hero-cta        { animation: fadeInUp 0.5s ease 0.65s both; }
.about-hero-marquee    { animation: fadeIn 0.6s ease 0.8s both; }

/* About Hero – Stat Panel */
.about-hero-stats {
  animation: fadeInUp 0.8s ease 0.4s both;
}
.about-hero-stat-item {
  animation: fadeInUp 0.5s ease both;
}
.about-hero-stat-item:nth-child(1) { animation-delay: 0.5s; }
.about-hero-stat-item:nth-child(2) { animation-delay: 0.65s; }
.about-hero-stat-item:nth-child(3) { animation-delay: 0.8s; }

@media (min-width: 1024px) {
  .about-hero-stat-item {
    border-radius: 0 !important;
    border-left: none !important;
    border-right: none !important;
  }
  .about-hero-stat-item:first-child {
    border-top: none !important;
  }
  .about-hero-stat-item:last-child {
    border-bottom: none !important;
  }
}

/* About Hero – Marquee */
.about-hero-marquee-track {
  animation: aboutMarquee 30s linear infinite;
}
@keyframes aboutMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-hero-orb,
  .about-hero-stat-item,
  .about-hero-stats,
  .about-hero-marquee-track {
    animation: none !important;
  }
  .about-hero-stat-item {
    opacity: 1;
  }
}

/* Mobile: show stats inline instead of floating cards */
@media (max-width: 1023px) {
  .about-hero .about-hero-marquee {
    margin-top: 2rem;
  }
}
.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(25,174,66,0.4), transparent);
}
.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-dark);
  box-shadow: 0 0 0 4px rgba(25,174,66,0.2);
}
.value-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.14);
  border-color: rgba(25,174,66,0.3) !important;
}
.leader-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.leader-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}
.stat-bar {
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--color-primary), rgba(25,174,66,0.3));
  transform-origin: left;
  animation: growBar 1.2s ease-out both;
}
@keyframes growBar {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
