/* ============================
   MERSİN NOYAN GES - Ana Stil
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:wght@300;400;500;600;700&display=swap');

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

:root {
  --sun-gold: #F5A623;
  --sun-amber: #E8912D;
  --sun-deep: #D4780A;
  --deep-navy: #0A1628;
  --midnight: #0D1B2A;
  --panel-blue: #1B3A5C;
  --sky-light: #E8F4FD;
  --white: #FFFFFF;
  --gray-50: #FAFBFC;
  --gray-100: #F7F8FA;
  --gray-200: #E5E8ED;
  --gray-300: #CDD2DA;
  --gray-400: #8E95A2;
  --gray-600: #4A5568;
  --gray-800: #2D3748;
  --green-accent: #2ECC71;
  --gradient-sun: linear-gradient(135deg, #F5A623 0%, #E8912D 50%, #D4780A 100%);
  --gradient-dark: linear-gradient(180deg, #0A1628 0%, #1B3A5C 100%);
  --shadow-sm: 0 4px 15px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-xl: 0 30px 80px rgba(10, 22, 40, 0.2);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--deep-navy);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

h1, h2, h3, h4, h5 { font-family: 'Outfit', sans-serif; line-height: 1.2; }
img { max-width: 100%; }
a { text-decoration: none; }

/* ============ FLOATING PARTICLES ============ */
.particles-container {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { opacity: 0; transform: translateY(100vh) rotate(0deg) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10vh) rotate(720deg) scale(1); }
}
.particle:nth-child(1) { left: 5%; width: 6px; height: 6px; background: rgba(245,166,35,0.2); animation-duration: 18s; animation-delay: 0s; }
.particle:nth-child(2) { left: 15%; width: 4px; height: 4px; background: rgba(245,166,35,0.15); animation-duration: 22s; animation-delay: 2s; }
.particle:nth-child(3) { left: 25%; width: 8px; height: 8px; background: rgba(245,166,35,0.1); animation-duration: 20s; animation-delay: 4s; }
.particle:nth-child(4) { left: 35%; width: 5px; height: 5px; background: rgba(232,145,45,0.18); animation-duration: 24s; animation-delay: 1s; }
.particle:nth-child(5) { left: 45%; width: 7px; height: 7px; background: rgba(245,166,35,0.12); animation-duration: 19s; animation-delay: 3s; }
.particle:nth-child(6) { left: 55%; width: 4px; height: 4px; background: rgba(232,145,45,0.2); animation-duration: 21s; animation-delay: 5s; }
.particle:nth-child(7) { left: 65%; width: 6px; height: 6px; background: rgba(245,166,35,0.14); animation-duration: 17s; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 75%; width: 5px; height: 5px; background: rgba(212,120,10,0.16); animation-duration: 23s; animation-delay: 0.5s; }
.particle:nth-child(9) { left: 85%; width: 8px; height: 8px; background: rgba(245,166,35,0.1); animation-duration: 25s; animation-delay: 4.5s; }
.particle:nth-child(10) { left: 95%; width: 3px; height: 3px; background: rgba(245,166,35,0.22); animation-duration: 16s; animation-delay: 1.5s; }
.particle:nth-child(11) { left: 10%; width: 10px; height: 10px; background: rgba(245,166,35,0.06); animation-duration: 28s; animation-delay: 6s; }
.particle:nth-child(12) { left: 50%; width: 3px; height: 3px; background: rgba(232,145,45,0.25); animation-duration: 15s; animation-delay: 3.5s; }

/* ============ ANIMATED BG GRID ============ */
.bg-grid-animated {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridShift 30s linear infinite;
}
@keyframes gridShift {
  0% { background-position: 0 0; }
  100% { background-position: 80px 80px; }
}

/* ============ GLOWING ORB ============ */
.glow-orb {
  position: fixed; pointer-events: none; z-index: 0;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.08;
}
.glow-orb-1 {
  width: 500px; height: 500px;
  background: var(--sun-gold);
  top: -100px; right: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}
.glow-orb-2 {
  width: 400px; height: 400px;
  background: var(--panel-blue);
  bottom: -100px; left: -100px;
  animation: orbFloat2 25s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-60px, 40px); }
  50% { transform: translate(-30px, 80px); }
  75% { transform: translate(40px, 30px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(50px, -30px); }
  50% { transform: translate(20px, -70px); }
  75% { transform: translate(-40px, -20px); }
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1rem 2rem;
  transition: all 0.4s ease;
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  padding: 0.6rem 2rem;
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 48px; height: 48px;
  background: var(--gradient-sun);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  animation: logoGlow 3s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(245,166,35,0); }
  50% { box-shadow: 0 0 20px rgba(245,166,35,0.3); }
}
.logo-icon::after {
  content: ''; position: absolute;
  width: 20px; height: 20px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  top: 8px; left: 8px;
}
.logo-sun {
  width: 28px; height: 28px; position: relative; z-index: 1;
}
.logo-sun .sun-core { fill: var(--white); }
.logo-sun .sun-ray { fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; }
.logo-text { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--white); letter-spacing: -0.5px; }
.logo-sub { font-size: 0.65rem; color: var(--sun-gold); font-weight: 500; letter-spacing: 3px; text-transform: uppercase; display: block; margin-top: -2px; }

.nav-links { display: flex; gap: 2rem; align-items: center; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-weight: 500; font-size: 0.95rem;
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--sun-gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--sun-gold); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--sun-gold); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--gradient-sun) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 166, 35, 0.4); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; background: none; border: none; }
.hamburger span { width: 28px; height: 2.5px; background: var(--white); border-radius: 2px; transition: 0.3s; display: block; }

/* ============ PAGE HERO BANNER ============ */
.page-hero {
  position: relative; padding: 10rem 2rem 5rem;
  background: var(--deep-navy);
  overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.2;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,22,40,0.9) 0%, rgba(27,58,92,0.7) 50%, rgba(10,22,40,0.85) 100%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 8px 20px; border-radius: 50px;
  color: var(--sun-gold); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--white);
  margin-bottom: 1rem; letter-spacing: -1px;
  animation: fadeInUp 0.8s ease 0.1s both;
}
.page-hero h1 span {
  background: var(--gradient-sun);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.65);
  max-width: 600px; margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s both;
}
/* Animated lines in hero */
.hero-lines {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
}
.hero-line {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.15), transparent);
  animation: lineSlide 8s linear infinite;
}
.hero-line:nth-child(1) { top: 20%; width: 60%; left: -60%; animation-delay: 0s; }
.hero-line:nth-child(2) { top: 40%; width: 40%; left: -40%; animation-delay: 2s; }
.hero-line:nth-child(3) { top: 60%; width: 70%; left: -70%; animation-delay: 4s; }
.hero-line:nth-child(4) { top: 80%; width: 50%; left: -50%; animation-delay: 6s; }
@keyframes lineSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 100%)); }
}

/* ============ SECTIONS ============ */
.section { padding: 6rem 2rem; position: relative; z-index: 1; }
.section-dark { background: var(--deep-navy); color: var(--white); }
.section-light { background: var(--gray-50); }
.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--sun-gold); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-tag::before, .section-tag::after {
  content: ''; width: 30px; height: 2px; background: var(--sun-gold);
}
.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -0.5px;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem; color: var(--gray-400);
  max-width: 600px; margin: 0 auto;
}

/* ============ BUTTONS ============ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gradient-sun);
  color: var(--white); padding: 16px 36px;
  border-radius: 60px; font-weight: 700; font-size: 1rem;
  border: none; cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 35px rgba(245,166,35,0.4); color: var(--white); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.2);
  color: var(--white); padding: 16px 36px;
  border-radius: 60px; font-weight: 600; font-size: 1rem;
  cursor: pointer; transition: all 0.3s;
  font-family: 'Outfit', sans-serif;
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ============ FOOTER ============ */
.footer {
  background: #060E1A; padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1;
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: rgba(255,255,255,0.45); font-size: 0.92rem; margin-top: 1rem; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 1rem; }
.footer-link-list { list-style: none; }
.footer-link-list li { margin-bottom: 0.6rem; }
.footer-link-list a { color: rgba(255,255,255,0.5); font-size: 0.9rem; transition: color 0.3s; }
.footer-link-list a:hover { color: var(--sun-gold); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.85rem; }

/* ============ ANIMATIONS ============ */
@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 fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,22,40,0.98);
    justify-content: center; align-items: center;
    gap: 2rem; z-index: 999;
    list-style: none;
  }
  .nav-links.active a { font-size: 1.3rem; }
  .section { padding: 4rem 1.2rem; }
  .page-hero { padding: 8rem 1.2rem 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
