/* ================================================================
   BÜRO DONANIM - MODERN WEB SİTESİ
   Design System & Component Styles
   Color: Orange (#f97316) + Blue (#3b82f6)
   ================================================================ */

/* --- CSS Custom Properties (Dark Theme - Default) --- */
:root {
  /* Brand Colors */
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fb923c;
  --orange-glow: rgba(249, 115, 22, 0.25);
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --blue-light: #60a5fa;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --gradient-brand: linear-gradient(135deg, #f97316, #3b82f6);
  --gradient-brand-hover: linear-gradient(135deg, #fb923c, #60a5fa);

  /* Backgrounds */
  --bg-body: #0a0e1a;
  --bg-surface: #111827;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(10, 14, 26, 0.75);
  --bg-input: rgba(255, 255, 255, 0.05);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Borders */
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Misc */
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow-orange: 0 0 40px rgba(249, 115, 22, 0.15);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.15);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: rgba(0, 0, 0, 0.02);
  --bg-card-hover: rgba(0, 0, 0, 0.04);
  --bg-glass: rgba(248, 250, 252, 0.85);
  --bg-input: rgba(0, 0, 0, 0.04);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-glow-orange: 0 0 40px rgba(249, 115, 22, 0.1);
  --shadow-glow-blue: 0 0 40px rgba(59, 130, 246, 0.1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

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

ul { list-style: none; }

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

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

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

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

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--gradient-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hover);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

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

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  transition: var(--transition);
}
.logo:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 0 10px rgba(249, 115, 22, 0.5));
}
.logo-img {
  height: 60px;
  width: auto;
  display: block;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled .logo-img {
  height: 44px;
}

@keyframes logoPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.lang-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  background: transparent;
  color: var(--text-muted);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--orange);
  color: #fff;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}
.theme-toggle:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
  display: flex;
  opacity: 1;
}
.mobile-menu-overlay .mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.mobile-menu-overlay .mobile-nav-links a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-heading);
}
.mobile-menu-overlay .mobile-nav-links a:hover {
  color: var(--orange);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 80px;
}

/* Animated image slider background */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  transform: scale(1);
}
.hero-slider .slide.active {
  opacity: 0.7; /* Much more visible images */
  transform: scale(1.08);
  transition: opacity 1.5s ease-in-out, transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 14, 26, 0.55) 0%, rgba(10, 14, 26, 0.4) 100%); /* Lighter overlay for visibility */
  z-index: 1;
}
/* Grid pattern overlay on top of slider for high-tech grid effect */
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
[data-theme="light"] .hero-slider .slide.active {
  opacity: 0.5; /* Visible in light mode */
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.75) 0%, rgba(248, 250, 252, 0.6) 100%);
}
[data-theme="light"] .hero-overlay::after {
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: logoPulse 2s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero h1 .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 100px 0;
  position: relative;
}

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

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
  transform: translateX(6px);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.feature-icon.orange { background: rgba(249, 115, 22, 0.12); color: var(--orange); }
.feature-icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--blue); }

.feature-text {
  font-size: 0.95rem;
  font-weight: 500;
}

/* About Visual Card */
.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
}

.about-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius);
  background: var(--bg-body);
  border: 1px solid var(--border);
}
.about-stat .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
}
.about-stat .label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.about-card-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.about-card-footer .highlight {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--orange);
}
.about-card-footer p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* Floating accent shapes behind about card */
.about-visual::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(100px);
  opacity: 0.1;
  top: -40px;
  right: -40px;
}
.about-visual::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--blue);
  filter: blur(80px);
  opacity: 0.1;
  bottom: -30px;
  left: -30px;
}

/* ================================================================
   SERVICES
   ================================================================ */
.services {
  padding: 100px 0;
  position: relative;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  opacity: 0.5;
  z-index: -1;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card:nth-child(odd) .service-icon {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}
.service-card:nth-child(even) .service-icon {
  background: rgba(59, 130, 246, 0.1);
  color: var(--blue);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ================================================================
   PARTNERS (Brand Carousel)
   ================================================================ */
.partners {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.partners-track-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: scrollPartners 30s linear infinite;
  width: max-content;
}

.partner-item {
  flex-shrink: 0;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
}
.partner-item:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--bg-card-hover);
}
.partner-item .partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

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

/* ================================================================
   REFERENCES
   ================================================================ */
.references {
  padding: 100px 0;
  position: relative;
}
.references::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg-surface);
  opacity: 0.5;
  z-index: -1;
}

/* Filter Buttons */
.ref-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.ref-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.ref-filter-btn:hover,
.ref-filter-btn.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

/* References Grid */
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.reference-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}
.reference-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-orange);
}

.reference-card .ref-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
}

.reference-card .ref-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.reference-card .ref-sector {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 3px 12px;
  background: var(--bg-body);
  border-radius: var(--radius-full);
  display: inline-block;
}

/* References Note */
.references-note {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}

/* ================================================================
   CONTACT
   ================================================================ */
.contact {
  padding: 100px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  margin-top: 8px;
}

/* Form Success Message */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show {
  display: block;
}
.form-success .success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.form-success h3 {
  margin-bottom: 8px;
  color: #22c55e;
}
.form-success p {
  color: var(--text-secondary);
}

/* Contact Info Cards */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.info-card:hover {
  border-color: var(--orange);
  background: var(--bg-card-hover);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
}

.info-content h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.info-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.info-content a {
  color: var(--orange);
}
.info-content a:hover {
  text-decoration: underline;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-3px);
}

/* Map */
.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 20px;
}
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  filter: grayscale(0.3);
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

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

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 20px;
}
.footer-brand .footer-logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}

/* ================================================================
   SCROLL REVEAL ANIMATIONS
   ================================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.active {
  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; }
.reveal.delay-6 { transition-delay: 0.6s; }

/* Hero entrance */
.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntrance 0.8s ease forwards;
}
.hero-content > *:nth-child(1) { animation-delay: 0.2s; }
.hero-content > *:nth-child(2) { animation-delay: 0.4s; }
.hero-content > *:nth-child(3) { animation-delay: 0.6s; }
.hero-content > *:nth-child(4) { animation-delay: 0.8s; }
.hero-content > *:nth-child(5) { animation-delay: 1.0s; }

@keyframes heroEntrance {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 20px var(--orange-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--orange-glow);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .references-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
  }
  .stat-item:nth-child(2)::after { display: none; }

  .section-header { margin-bottom: 40px; }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .references-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

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

  .about { padding: 60px 0; }
  .services { padding: 60px 0; }
  .partners { padding: 50px 0; }
  .references { padding: 60px 0; }
  .contact { padding: 60px 0; }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta .btn {
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }

  .references-grid {
    grid-template-columns: 1fr;
  }

  .ref-filters {
    gap: 6px;
  }
  .ref-filter-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  .reference-card {
    padding: 20px 16px;
  }
}
