@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800&display=swap');

:root {
  --primary: #ff3b30;
  --primary-rgb: 255, 59, 48;
  --bg: #030406;
  --surface: #0a0c10;
  --surface-light: #161a22;
  --text: #e2e8f0;
  --text-dim: #94a3b8;
  --text-strong: #ffffff;
  --glass: rgba(15, 23, 42, 0.6);
  --border: rgba(255, 255, 255, 0.08);
  --container: 1280px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
  color: var(--text-strong);
  line-height: 1.1;
  font-weight: 800;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Premium Background Effects --- */
.bg-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, rgba(var(--primary-rgb), 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(15, 98, 254, 0.05) 0%, transparent 40%);
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3column%20filter='url(%23noiseFilter)'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3C/svg%3E");
}

/* --- Header & Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.5rem 0;
}

.site-header.scrolled {
  height: 70px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo img {
  height: 48px;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav a:hover,
.nav a.active {
  color: var(--text-strong);
}

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

.nav a:not(.btn):hover::after,
.nav a.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown-toggle .chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.3s ease;
  margin-left: 4px;
}

.dropdown:hover .dropdown-toggle .chevron {
  transform: translateY(1px) rotate(-135deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--glass);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.8rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-strong);
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mobile-menu-toggle {
  display: none;
}

.menu-icon {
  width: 24px;
  height: 2px;
  background: var(--text-strong);
  position: relative;
  transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-strong);
  transition: all 0.3s ease;
}

.menu-icon::before {
  top: -8px;
}

.menu-icon::after {
  bottom: -8px;
}

body.mobile-open .menu-icon {
  background: transparent;
}

body.mobile-open .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}

body.mobile-open .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-strong);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-primary:hover {
  background: #ff5247;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.4);
}

.btn:not(.btn-primary):hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: radial-gradient(circle at 70% 50%, rgba(var(--primary-rgb), 0.1) 0%, transparent 60%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/images/fresankurumsal.jpg') center/cover no-repeat;
  opacity: 0.3;
  filter: grayscale(0.5) contrast(1.2);
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%),
    linear-gradient(to right, var(--bg) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  background: linear-gradient(to bottom right, #fff 30%, rgba(255, 255, 255, 0.7));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#rotator {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#rotator.exit {
  opacity: 0;
  transform: translateY(-20px) skewY(-2deg);
  filter: blur(10px);
}

#rotator.enter {
  opacity: 1;
  transform: translateY(0) skewY(0);
  filter: blur(0);
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
}

/* --- Features / Expertise (Bento Grid) --- */
.services {
  padding: 10rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.expertise-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 2.5rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.expertise-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.4;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  z-index: 0;
}

.expertise-card:hover::before {
  transform: scale(1.1);
  opacity: 0.6;
}

.expertise-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, transparent 70%);
  z-index: 1;
}

.expertise-card.strategy {
  grid-column: span 8;
  grid-row: span 2;
}

.expertise-card.manufacturing {
  grid-column: span 4;
  grid-row: span 1;
}

.expertise-card.engineering {
  grid-column: span 4;
  grid-row: span 1;
}

.expertise-card.strategy::before {
  background-image: url('assets/images/17-eccentric-presses-with-flywheel.jpg');
}

.expertise-card.manufacturing::before {
  background-image: url('assets/images/18-eccentric-presses-with-gear-reduction.jpg');
}

.expertise-card.engineering::before {
  background-image: url('assets/images/20-h-type-hydraulic-presses.jpg');
}

.expertise-card h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  transform: translateY(10px);
  transition: transform 0.5s ease;
}

.expertise-card p {
  color: var(--text-dim);
  position: relative;
  z-index: 2;
  transform: translateY(10px);
  transition: transform 0.5s ease;
  max-width: 80%;
}

.expertise-card:hover h3,
.expertise-card:hover p {
  transform: translateY(0);
}

/* --- About Section --- */
.about-preview {
  padding: 10rem 0;
  background: var(--surface-light);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

#story-extra p {
  margin-bottom: 1.5rem;
}

#story-extra {
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.stat-item {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.stat-value {
  display: block;
  font-size: 3rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-dim);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- CTA Section --- */
.cta-strip {
  padding: 8rem 0;
  text-align: center;
}

.cta-card {
  padding: 5rem;
  background: linear-gradient(135deg, var(--surface) 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.15) 0%, transparent 70%);
  z-index: 0;
}

.cta-card h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

/* --- Footer --- */
.site-footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: var(--text-dim);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

.footer-social a.social-youtube:hover {
  color: #ff0000;
}

.footer-social a.social-linkedin:hover {
  color: #0077b5;
}

.footer-left p {
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.foot-nav {
  display: flex;
  gap: 2rem;
}

.foot-nav a {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.foot-nav a:hover {
  color: var(--text-strong);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }
}

/* --- Animations --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }

  .expertise-card.strategy,
  .expertise-card.manufacturing,
  .expertise-card.engineering {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  #mobile-menu-toggle {
    display: flex;
  }

  .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-card h2 {
    font-size: 2.5rem;
  }

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

  .header-tools {
    gap: 0.5rem;
  }

  .header-tools .btn {
    display: none;
  }
}

/* --- Mobile Menu Drawer --- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 990;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 80px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.mobile-nav a {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dim);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--primary);
}

body.mobile-open {
  overflow: hidden;
}

/* --- Cookie Banner --- */
.nk-cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .nk-cookie-banner {
    flex-direction: column;
    align-items: stretch;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
}

/* Carousel fixes for new theme */
.product-carousel {
  padding: 4rem 0;
}

.carousel-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-strong);
}

/* --- Subpage Specific Styles --- */
.press-landing {
  padding: 6rem 0;
}

.press-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.press-list summary {
  padding: 1.5rem 2rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.press-list summary::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.press-list details[open] summary::after {
  transform: rotate(45deg);
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.press-card {
  background: var(--surface-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.press-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--primary-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.press-card .thumb {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.press-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.press-card:hover .thumb img {
  transform: scale(1.1);
}

.press-meta {
  padding: 1.5rem;
}

.press-meta .title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
  display: block;
}

.press-meta .note {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.press-meta .actions {
  display: flex;
  gap: 1rem;
}

/* Spec Table */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 3rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.spec-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
  font-weight: 700;
  width: 35%;
}

.spec-table td {
  color: var(--text-dim);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

/* Technical Data Table (Wide) */
.tech-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 4rem 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--glass);
  backdrop-filter: blur(10px);
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  white-space: nowrap;
  font-size: 0.9rem;
}

.tech-table th {
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--text-strong);
  font-weight: 700;
  padding: 1.5rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tech-table td {
  padding: 1.25rem 1rem;
  color: var(--text-dim);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.tech-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-strong);
}

.tech-table td:first-child {
  font-weight: 700;
  color: var(--primary);
}

.tech-table tr:last-child td {
  border-bottom: none;
}

/* Contact Hero */
.contact-hero {
  text-align: center;
  padding: 12rem 0 6rem;
  background: radial-gradient(circle at 50% 0%, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
}

.contact-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1.5rem;
}

.contact-hero p {
  font-size: 1.25rem;
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page Features */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-card table td {
  padding: 0.75rem 0;
}

.map-embed {
  display: block;
  width: 100%;
  height: 300px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1) contrast(1.2);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.map-embed:hover iframe {
  opacity: 1;
}

/* Form Styles */
.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dim);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-strong);
  font-family: inherit;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

.carousel-track img.active {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--primary);
}

/* --- Language Switcher --- */
.stylish-lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 4px;
  gap: 2px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-btn:hover {
  color: var(--text-strong);
}

.lang-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.4);
}