/* ============================================
   TEXNIKA - Design System & Global Styles
   ============================================ */


/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Grayscale Theme */
  --color-primary: #ffffff;
  --color-primary-light: #f8fafc;
  --color-secondary: #f1f5f9;
  --color-accent: #1e293b;
  --color-accent-hover: #0f172a;
  --color-accent-glow: rgba(30, 41, 59, 0.1);
  --color-gold: #475569;
  --color-white: #ffffff;
  --color-light: #f8fafc;
  --color-gray: #64748b;
  --color-gray-dark: #334155;
  --color-text: #1e293b;
  --color-text-muted: #475569;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-card-bg: #ffffff;
  --color-card-hover: #f8fafc;
  --color-glass: rgba(255, 255, 255, 0.95);
  --color-glass-border: rgba(0, 0, 0, 0.1);

  /* Gradients - Monomatic */
  --gradient-primary: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
  --gradient-accent: linear-gradient(135deg, #334155 0%, #0f172a 100%);
  --gradient-hero: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);

  /* Typography */
  --font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Unbounded', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --font-size-5xl: 3.5rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Borders */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 15px rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-spring: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background: var(--color-primary);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-accent);
}

.section-header {
  text-align: center;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-4xl);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
  font-weight: 400;
}

.text-accent {
  color: var(--color-accent);
}

.text-gold {
  color: var(--color-gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left var(--transition-slow);
}

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

.btn-primary {
  background: var(--gradient-accent);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: var(--font-size-sm);
}

/* ---------- HEADER / NAVIGATION ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-glass-border);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-accent);
  font-weight: 800;
  font-size: var(--font-size-xl);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-white);
  box-shadow: var(--shadow-glow);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav a {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: 0.5rem 0.2rem;
  margin: 0 0.8rem;
  transition: all var(--transition-base);
  position: relative;
  text-decoration: none !important;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav a:hover,
.nav a.active {
  color: var(--color-accent);
  background: transparent;
}

.nav a.btn-primary {
  color: var(--color-white) !important;
  background: var(--gradient-accent) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
}

.nav a.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  color: var(--color-white) !important;
}

.nav a.btn-primary::after {
  display: none !important;
}

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

.header-socials {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: 0 var(--space-md);
  padding: 0 var(--space-md);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-size: 0.7rem;
  font-weight: 800;
  transition: all var(--transition-base);
  border: 1px solid var(--color-glass-border);
}

.social-icon:hover {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.nav .btn {
  margin-left: var(--space-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: var(--space-sm);
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

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

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

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

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 70vh;
  padding-top: 100px;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

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

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Animated particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0.1;
  animation: float-particle 15s infinite ease-in-out;
}

@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-80px) translateX(30px); opacity: 0.6; }
  50% { transform: translateY(-120px) translateX(-20px); opacity: 0.2; }
  75% { transform: translateY(-60px) translateX(40px); opacity: 0.5; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--color-accent);
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.8s ease;
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.6s both;
}

/* ---------- ABOUT PREVIEW SECTION ---------- */
.about-preview {
  position: relative;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.haqqinda-media {
  max-width: 900px;
  margin: 0 auto var(--space-3xl);
}

.about-image-wrap img,
.about-image-wrap .video-container,
.about-image-wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-image-wrap .video-container {
  margin: 0;
  box-shadow: none;
  background: transparent;
}

.about-image-wrap:hover img {
  transform: scale(1.03);
}

.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-glass-border);
  pointer-events: none;
}

.about-text h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

/* ---------- NEWS SECTION ---------- */
.news-section {
  background: var(--color-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-xl);
}

.news-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.news-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card-body {
  padding: var(--space-xl);
}

.news-card-date {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
}

.news-card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-sm);
}

.news-card-excerpt {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

/* ---------- VALUES / CARDS SECTION ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.value-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 1.8rem;
  color: var(--color-accent);
}

.value-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-md);
}

.value-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* ---------- SPECIALIZATIONS ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.spec-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.spec-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.spec-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-lg);
}

.spec-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
}

.spec-card p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.spec-card .duration {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  font-weight: 500;
}

/* ---------- PAGE HERO (Inner pages) ---------- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  margin-bottom: var(--space-md);
}

.page-hero p {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- CONTACT PAGE ---------- */
.contact-section {
  background: var(--color-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-info-card {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-card h3 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
}

.contact-info-card p,
.contact-info-card a {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* ---------- FORM ---------- */
.contact-form {
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-form h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--color-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
  background: var(--color-white);
}

.form-control::placeholder {
  color: var(--color-gray-dark);
}

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

/* ---------- FILTERS ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--space-sm) var(--space-xl);
  border-radius: 100px;
  background: var(--color-primary-light);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  font-weight: 500;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.filter-btn:hover {
  background: var(--color-primary);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--color-accent);
}

.filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

/* ---------- ALERTS / STATUS MESSAGES ---------- */
.alert {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-xl);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: fadeInDown var(--transition-base);
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

/* ---------- MEDIA COMPONENTS ---------- */
.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.media-gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base);
}

.media-gallery-item:hover {
  transform: scale(1.02);
}

.media-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-container video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

/* ---------- MAP ---------- */
.map-section {
  background: var(--color-primary-light);
  padding: var(--space-3xl) 0;
}

.map-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.map-wrapper iframe {
  width: 100%;
  height: 400px;
  border: none;
  filter: brightness(0.8) contrast(1.1) saturate(0.7);
}

/* ---------- BLOG / NEWS PAGE ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.blog-card {
  background: var(--gradient-card);
  border: 1px solid rgba(0, 0, 0, 0.12); /* Slightly darker border for visibility */
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); /* Soft permanent shadow */
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-card-full-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-primary-light);
}

.blog-card-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.blog-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}

.blog-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.blog-card-title-group {
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.blog-card-meta .tag {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-accent);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.blog-card h2, .blog-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 var(--space-sm) 0;
  color: var(--color-accent);
}

.blog-card-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-text p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin: 0 0 var(--space-md) 0;
}

.blog-card-link {
  text-decoration: none;
}

.read-more {
  display: inline-block;
  margin-top: auto;
  color: var(--color-accent);
  font-size: var(--font-size-sm);
  font-weight: 600;
  transition: transform var(--transition-fast);
}

.blog-card:hover .read-more {
  transform: translateX(5px);
}

/* ---------- NEWS DETAIL PAGE ---------- */
.news-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-meta-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.back-link {
  display: inline-block;
  margin-top: var(--space-lg);
  color: var(--color-accent);
  font-weight: 500;
  transition: transform var(--transition-base);
}

.back-link:hover {
  transform: translateX(-5px);
}

.news-detail-hero-media {
  margin-bottom: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.news-detail-hero-media img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.news-detail-article {
  margin-bottom: var(--space-4xl);
}

.article-body {
  font-size: 1.25rem;
  line-height: 1.9;
  color: var(--color-text);
}

.news-detail-media-section {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-3xl);
}

.section-title-sm {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xl);
  color: var(--color-accent);
}

/* ---------- ABOUT PAGE CONTENT ---------- */
.about-content {
  background: var(--color-primary);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.about-intro p {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ---------- STATS BAR ---------- */
.stats-bar {
  background: var(--color-primary-light);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
  padding: var(--space-2xl) 0;
}

.stat-item h3 {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.stat-item p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-primary);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
  margin-bottom: var(--space-lg);
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  max-width: 320px;
}

.footer-links {
  list-style: none;
  margin: var(--space-md) 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  justify-content: flex-start;
  align-content: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.footer-contact-item span.icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  margin-top: 2px;
}

.footer-contact-item a {
  color: var(--color-text-muted) !important;
  text-decoration: none;
  transition: all var(--transition-base);
}

.footer-contact-item a:hover {
  color: var(--color-accent) !important;
  padding-left: 5px;
}

/* ---------- SOCIAL ICONS ---------- */
.footer-socials, .contact-social-grid {
  display: flex;
  gap: var(--space-md);
}

.footer-socials, .footer .contact-social-grid {
  margin-top: var(--space-xl);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1.1rem;
  transition: all var(--transition-base);
}

.social-icon:hover {
  transform: translateY(-3px);
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-md);
}

.social-icon.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-icon.instagram:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; }
.social-icon.tiktok:hover { background: #000000; border-color: #fe2c55; border-width: 2px; }
.social-icon.youtube:hover { background: #ff0000; border-color: #ff0000; }

.contact-social-section {
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.contact-social-section h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
}

/* ---------- MAP SECTION ---------- */
.map-section {
  padding: var(--space-4xl) 0;
  background: var(--color-bg-light);
}

.map-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.map-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.map-container-inner {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.map-container-inner iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-xs);
  color: var(--color-gray-dark);
}

.footer-bottom a {
  color: var(--color-gray-dark);
}

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

/* ---------- NEWS DETAIL & MEDIA ---------- */
.news-detail-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.news-detail-hero-media {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.news-detail-hero-media img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.news-detail-article {
  margin-bottom: var(--space-3xl);
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  white-space: pre-wrap;
}

.news-detail-media-section {
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--color-border);
}

.section-title-sm {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-xl);
  position: relative;
  padding-left: 15px;
}

.section-title-sm::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 2px;
}

.media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.media-gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.media-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-gallery-item:hover img {
  transform: scale(1.08);
}

.video-container {
  margin-top: var(--space-xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #000;
}

.video-container video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.news-media-badges {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.media-badge {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text-muted);
}

/* ---------- LIGHTBOX MODAL ---------- */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img, .lightbox-content video, .lightbox-content .video-wrapper {
  max-width: 95%;
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: none;
}

.lightbox-modal.active .lightbox-content img,
.lightbox-modal.active .lightbox-content video,
.lightbox-modal.active .lightbox-content .video-wrapper {
  transform: scale(1);
  display: block;
}

.lightbox-content .video-wrapper {
  width: 80vw;
  aspect-ratio: 16 / 9;
  position: relative;
}

.lightbox-content .video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: fixed;
  top: 30px;
  right: 30px;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10001;
}

.lightbox-close:hover {
  background: var(--color-accent);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  user-select: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  outline: none;
  z-index: 10001;
}

.lightbox-nav i, .lightbox-nav span {
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fine-tune the arrow characters vertically */
.lightbox-nav.prev::before {
  content: '\2039';
  margin-top: -4px;
}

.lightbox-nav.next::before {
  content: '\203A';
  margin-top: -4px;
}

.lightbox-nav:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.lightbox-nav.prev {
  left: 30px;
}

.lightbox-nav.next {
  right: 30px;
}

@media (max-width: 992px) {
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
  }
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.6);
  }
}

.news-detail-hero-media img, .media-gallery-item img {
  cursor: zoom-in;
}

/* Removed video-container hover effect to signal it's non-interactive for lightbox */

/* ---------- 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; }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .section {
    padding: var(--space-2xl) 0;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: var(--font-size-4xl);
  }

  .about-preview .container {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-image-wrap img,
  .about-image-wrap .video-container,
  .about-image-wrap video {
    aspect-ratio: 16 / 9;
    min-height: unset;
    max-height: 400px;
    margin-bottom: var(--space-xl);
  }

  .about-text {
    padding-left: 0;
    text-align: center;
  }

  .haqqinda-media {
    margin-bottom: var(--space-xl);
  }

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

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --font-size-5xl: 2.5rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.75rem;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    transition: right var(--transition-base);
    border-left: 1px solid var(--color-border);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    font-size: var(--font-size-lg);
    padding: 0.8rem 1.5rem;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
    padding-bottom: var(--space-xl);
  }

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

  .news-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .header-socials {
    display: none; /* Hide socials in mobile menu to keep it clean */
  }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* ---------- SELECTION ---------- */
::selection {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-text);
}


/* ---------- PAGINATION ---------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-3xl);
  flex-wrap: wrap;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: var(--gradient-card);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all var(--transition-base);
  text-decoration: none;
}

.page-link:hover {
  color: var(--color-white);
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-link.active {
  background: var(--gradient-accent);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-link.prev-next {
  font-size: 0.9em;
}
