/* ============================================
   VINTURE INOVASYON TEKNOLOJILERI A.S.
   Brand Style System - Based on Brandbook
   ============================================ */

/* --- Google Fonts (Questa Sans alternatifi olarak Inter + Sora) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Sora:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables (Brandbook Colors) --- */
:root {
  /* Primary Colors */
  --primary-dark: #1B0B6F;
  --primary-blue: #1A0B91;
  --accent-green: #00E676;
  --accent-blue: #4DA3FF;
  --accent-light-blue: #5BC0EB;

  /* Neutral Colors */
  --white: #FFFFFF;
  --off-white: #F7F8FC;
  --light-gray: #E8EAF0;
  --medium-gray: #9A9DB0;
  --dark-gray: #2D2D3F;
  --black: #0A0A1A;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1B0B6F 0%, #2A1B9F 100%);
  --gradient-green: linear-gradient(135deg, #00E676 0%, #00C864 100%);
  --gradient-hero: linear-gradient(135deg, #0D0545 0%, #1B0B6F 50%, #2A1B9F 100%);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(27, 11, 111, 0.06);
  --shadow-md: 0 8px 30px rgba(27, 11, 111, 0.1);
  --shadow-lg: 0 20px 60px rgba(27, 11, 111, 0.15);
  --shadow-card: 0 4px 20px rgba(27, 11, 111, 0.08);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #0D0545;
  overscroll-behavior: none;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sayfa geçişi - yazı ve içerik giriş animasyonu */
@keyframes pageContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.page-header {
  opacity: 0;
  animation: pageContentFadeIn 0.5s ease 0.1s forwards;
}

section:not(.hero) {
  opacity: 0;
  animation: pageContentFadeIn 0.5s ease 0.2s forwards;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  font-size: 1.05rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

.text-gradient {
  background: var(--gradient-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-green);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  max-width: 600px;
  color: var(--medium-gray);
  font-size: 1.1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-green);
  color: var(--primary-dark);
}

.btn-primary:hover {
  background: #00C864;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 230, 118, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo.logo-full .nav-logo-text {
  display: none;
}

.nav-logo.logo-full img {
  height: 50px;
  width: auto;
}

.nav-logo img {
  height: 50px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.navbar.scrolled .nav-logo-text {
  color: var(--primary-dark);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

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

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

.navbar.scrolled .nav-link {
  color: var(--dark-gray);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--primary-dark);
}

.nav-cta {
  padding: 10px 28px;
  background: var(--accent-green);
  color: var(--primary-dark);
  border-radius: var(--radius-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-cta:hover {
  background: #00C864;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-normal);
  border-radius: 2px;
}

.navbar.scrolled .nav-hamburger span {
  background: var(--primary-dark);
}

/* ============================================
   HERO SECTION - SLIDER
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.75;
  z-index: 2;
}

.hero-slide-bg video,
.hero-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--accent-green);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 520px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Slider Controls */
.hero-indicators {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero-indicator {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.hero-indicator.active {
  width: 60px;
  background: var(--accent-green);
}

/* Hero Floating Elements */
.hero-float {
  position: absolute;
  z-index: 15;
  animation: float 6s ease-in-out infinite;
}

.hero-float-1 {
  top: 20%;
  right: 8%;
  width: 80px;
  height: 80px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 50%;
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 25%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: rgba(77, 163, 255, 0.08);
  border: 1px solid rgba(77, 163, 255, 0.15);
  border-radius: var(--radius-lg);
  animation-delay: 2s;
}

.hero-float-3 {
  top: 40%;
  right: 25%;
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  transform: rotate(45deg);
  animation-delay: 4s;
}

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

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 50px;
  right: 40px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SERVICES SECTION (3 Ana Hizmet Kartı)
   ============================================ */
.services {
  padding: var(--section-padding);
  background: var(--off-white);
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header .section-desc {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 230, 118, 0.2);
}

.service-card-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
}

.service-card-icon.green {
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
}

.service-card-icon.blue {
  background: rgba(77, 163, 255, 0.1);
  color: var(--accent-blue);
}

.service-card-icon.purple {
  background: rgba(27, 11, 111, 0.08);
  color: var(--primary-dark);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.service-card p {
  color: var(--medium-gray);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card-link:hover {
  color: var(--accent-green);
  gap: 12px;
}

.service-card-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(27, 11, 111, 0.04);
  line-height: 1;
}

/* ============================================
   ABOUT PREVIEW SECTION
   ============================================ */
.about-preview {
  padding: var(--section-padding);
  background: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-preview-content .section-subtitle {
  color: var(--accent-green);
}

.about-preview-content h2 {
  margin-bottom: 24px;
}

.about-preview-content p {
  margin-bottom: 20px;
  color: var(--medium-gray);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
}

.about-value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

.about-value-item:hover {
  background: rgba(0, 230, 118, 0.08);
}

.about-value-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 0.9rem;
  flex-shrink: 0;
}

.about-preview-visual {
  position: relative;
}

.about-preview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-preview-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.about-stats {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 40px;
}

.about-stat {
  text-align: center;
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
}

.about-stat-label {
  font-size: 0.8rem;
  color: var(--medium-gray);
  margin-top: 4px;
}

/* ============================================
   ALL SERVICES GRID (Hizmet Kalemleri)
   ============================================ */
.all-services {
  padding: var(--section-padding);
  background: var(--primary-dark);
  position: relative;
  overflow: hidden;
}

.all-services::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(0, 230, 118, 0.06);
  border-radius: 50%;
}

.all-services::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(77, 163, 255, 0.06);
  border-radius: 50%;
}

.all-services .section-subtitle {
  color: var(--accent-green);
}

.all-services .section-title {
  color: var(--white);
}

.all-services .section-desc {
  color: rgba(255,255,255,0.6);
}

.all-services-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.all-services-header .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.all-service-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 35px 30px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.all-service-item:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0, 230, 118, 0.3);
  transform: translateY(-4px);
}

.all-service-item-number {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.all-service-item h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.all-service-item p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
}

.all-service-item-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 230, 118, 0.1);
  color: var(--accent-green);
  font-size: 1rem;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-normal);
}

.all-service-item:hover .all-service-item-icon {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  padding: 80px 0;
  background: var(--accent-green);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(27, 11, 111, 0.05);
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(27, 11, 111, 0.7);
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
}

.cta-content .btn-primary {
  background: var(--primary-dark);
  color: var(--white);
}

.cta-content .btn-primary:hover {
  background: #0D0545;
  box-shadow: 0 10px 30px rgba(27, 11, 111, 0.3);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  margin: 20px 0;
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  transition: var(--transition-normal);
}

.footer-social:hover {
  background: var(--accent-green);
  color: var(--primary-dark);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 24px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition-normal);
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
}

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

/* ============================================
   PAGE HEADER (iç sayfalar)
   ============================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-bottom: 120px;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.page-header p {
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.page-breadcrumb a,
.page-breadcrumb span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

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

/* ============================================
   ANIMATIONS (Scroll reveal)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

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

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

/* Stagger delay for children */
.stagger-children > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children > *:nth-child(7) { transition-delay: 0.7s; }

/* ============================================
   POPUP (Admin controlled)
   ============================================ */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.active {
  display: flex;
  opacity: 1;
}

.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-box {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--medium-gray);
  border: none;
  transition: var(--transition-normal);
}

.popup-close:hover {
  background: var(--light-gray);
  color: var(--dark-gray);
}

.popup-box #popupContent {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.popup-box #popupContent img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   ANNOUNCEMENT BANNER (Admin controlled)
   ============================================ */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: var(--gradient-hero);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 50px 10px 24px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.announcement-banner.visible {
  transform: translateY(0);
}

.announcement-banner a {
  color: var(--accent-green);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.announcement-banner a:hover {
  opacity: 0.85;
}

.announcement-banner-close {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.2s ease;
  line-height: 1;
  padding: 0;
}

.announcement-banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Navbar offset when banner is visible */
body.banner-active .navbar {
  top: var(--banner-height, 40px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 70px 0;
  }

  /* Navbar mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }

  .nav-menu.open {
    right: 0;
  }

  .navbar .nav-menu .nav-link,
  .navbar .nav-menu.open .nav-link,
  .navbar .nav-menu .nav-link:hover,
  .navbar .nav-menu .nav-link.active {
    color: #fff !important;
    font-size: 1.1rem;
  }

  .nav-hamburger {
    display: flex;
  }

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

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

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

  /* Hero mobile */
  .hero {
    min-height: 600px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-float {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* About */
  .about-stats {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  /* All Services */
  .all-services-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  /* Banner responsive */
  .announcement-banner {
    font-size: 0.8rem;
    padding: 8px 44px 8px 16px;
  }

  .announcement-banner-close {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .announcement-banner {
    font-size: 0.75rem;
    padding: 8px 40px 8px 12px;
  }
}
