/* ==========================================================================
   ŐRVIDÉKI KERÍTÉSÉPÍTŐ KFT. - MODERN DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette */
  --primary-900: #0b1d13;
  --primary-800: #122b1c;
  --primary-700: #1b3d2b; /* Core Forest Green */
  --primary-600: #26553d;
  --primary-500: #347051;
  --primary-100: #e2ede5;
  --primary-50:  #f0f6f2;

  /* Accent Machinery Gold / Amber */
  --accent-600: #c27800;
  --accent-500: #e59500; /* Warm Timber & Machine Amber */
  --accent-400: #fbb028;
  --accent-100: #fef2d6;

  /* Natural Earth & Timber */
  --timber-700: #4a3422;
  --timber-500: #7c5839;
  --timber-100: #f5efe9;

  /* Neutrals & Surfaces */
  --bg-page: #f8faf8;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f1f5f2;
  --border-light: #e3eae4;
  --border-medium: #cbd8ce;

  --text-main: #141c16;
  --text-muted: #4e5f54;
  --text-light: #7c8e82;
  --text-inverse: #ffffff;

  /* Elevation Shadows */
  --shadow-sm: 0 2px 8px rgba(18, 43, 28, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 43, 28, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 43, 28, 0.12);
  --shadow-xl: 0 24px 56px rgba(18, 43, 28, 0.18);
  --shadow-accent: 0 8px 25px rgba(229, 149, 0, 0.35);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Transitions */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  font-weight: 400;
}

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Top Bar --- */
.top-bar {
  background-color: var(--primary-900);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info, .top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-item svg {
  width: 15px;
  height: 15px;
  fill: var(--accent-500);
  flex-shrink: 0;
}

.top-bar-item a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.top-bar-item a:hover {
  color: var(--accent-400);
}

.top-badge {
  background: rgba(229, 149, 0, 0.15);
  color: var(--accent-400);
  border: 1px solid rgba(229, 149, 0, 0.3);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* --- Main Navigation / Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 61, 43, 0.25);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 28px;
  height: 28px;
  fill: var(--accent-400);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.025rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-500);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

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

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.975rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(229, 149, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-400), var(--accent-500));
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--primary-700);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(18, 43, 28, 0.25);
  color: #ffffff;
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: #ffffff;
  color: var(--primary-900);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary-700);
  color: var(--primary-700);
}

.btn-outline-primary:hover {
  background-color: var(--primary-700);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.075rem;
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.875rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--primary-900);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--bg-surface);
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

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

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 29, 19, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-nav-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-links a.active {
  color: var(--accent-600);
}

.mobile-nav-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-900);
  color: #ffffff;
  overflow: hidden;
  padding: 5rem 0 6rem 0;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.68) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 29, 19, 0.94) 0%,
    rgba(18, 43, 28, 0.82) 55%,
    rgba(11, 29, 19, 0.45) 100%
  );
  z-index: 2;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(229, 149, 0, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 2;
  opacity: 0.6;
}

.hero .container {
  position: relative;
  z-index: 3;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(229, 149, 0, 0.2);
  border: 1px solid rgba(229, 149, 0, 0.45);
  color: var(--accent-400);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--accent-400);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(229, 149, 0, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 149, 0, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(229, 149, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(229, 149, 0, 0);
  }
}

.hero-title {
  font-size: clamp(2.3rem, 4.8vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #ffffff, var(--accent-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.hero-trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-400);
  flex-shrink: 0;
}

/* --- Section Layout & Headers --- */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-dark {
  background-color: var(--primary-900);
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-600);
  background: var(--accent-100);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-dark .section-tag {
  background: rgba(229, 149, 0, 0.2);
  color: var(--accent-400);
}

.section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--text-main);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* --- Key Stats Strip --- */
.stats-strip {
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-light);
  padding: 2.2rem 2.5rem;
}

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

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-card:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-light);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--primary-700);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-number span {
  color: var(--accent-500);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-100);
}

.service-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(18, 43, 28, 0.88);
  color: #ffffff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.service-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--primary-900);
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.975rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.service-features {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.service-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary-600);
  flex-shrink: 0;
}

/* --- About & Feature Split Section --- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-content .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--primary-800);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-box {
  display: flex;
  gap: 1.25rem;
  background: var(--bg-surface);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.feature-box:hover {
  transform: translateX(4px);
  border-color: var(--accent-400);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-700);
}

.feature-title {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.split-media {
  position: relative;
}

.media-stack {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.media-stack img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.media-floating-card {
  position: absolute;
  bottom: 2rem;
  left: -2rem;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 260px;
}

.floating-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-600);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.floating-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.35;
}

/* --- Notice Alert Box (Engedélyek) --- */
.notice-box {
  background: linear-gradient(135deg, var(--timber-100), #fef7ed);
  border-left: 5px solid var(--accent-500);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  margin: 3.5rem 0 1rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.notice-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notice-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.notice-title {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--timber-700);
}

.notice-text {
  font-size: 0.95rem;
  color: #5c442c;
  line-height: 1.6;
}

/* --- References Showcase --- */
.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ref-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-500);
}

.ref-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-600);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.ref-location svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-600);
}

.ref-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-900);
}

.ref-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(229, 149, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.cta-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- Gallery Styles --- */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-700);
  color: var(--primary-700);
}

.filter-btn.active {
  background: var(--primary-700);
  color: #ffffff;
  border-color: var(--primary-700);
  box-shadow: 0 4px 12px rgba(27, 61, 43, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  border: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.gallery-item.hide {
  display: none;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 29, 19, 0.88) 0%, rgba(11, 29, 19, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: opacity var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transform: translateY(10px);
  transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-zoom-icon {
  transform: translateY(0);
}

.gallery-zoom-icon svg {
  width: 22px;
  height: 22px;
  fill: #ffffff;
}

.gallery-caption {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-category-tag {
  color: var(--accent-400);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Lightbox Modal --- */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 20, 14, 0.94);
  backdrop-filter: blur(12px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  position: relative;
  max-height: 78vh;
  display: flex;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-height: 78vh;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption-bar {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  color: #ffffff;
  padding: 0.5rem 1rem;
}

.lightbox-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.lightbox-counter {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.lightbox-btn:hover {
  background: var(--accent-500);
}

.lightbox-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.lightbox-prev {
  left: -4rem;
}

.lightbox-next {
  right: -4rem;
}

.lightbox-close {
  position: absolute;
  top: -3.5rem;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--accent-400);
}

/* --- Tenders (Pályázatok) Page Styles --- */
.tender-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.tender-card:hover {
  box-shadow: var(--shadow-xl);
}

.tender-card-header {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  color: #ffffff;
  padding: 2.2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tender-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(229, 149, 0, 0.2);
  border: 1px solid rgba(229, 149, 0, 0.4);
  color: var(--accent-400);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tender-title {
  font-size: 1.65rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.tender-id {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  font-family: monospace;
}

.tender-grant-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.6rem;
  text-align: right;
}

.grant-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.grant-amount {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-400);
  line-height: 1.1;
}

.tender-body {
  padding: 2.5rem;
}

.tender-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: var(--bg-surface-alt);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.tender-meta-item .meta-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tender-meta-item .meta-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-main);
}

.tender-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.tender-gallery-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-900);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tender-photos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.tender-photo-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  position: relative;
}

.tender-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tender-photo-card:hover img {
  transform: scale(1.06);
}

/* --- Contact Page Styles --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-dept-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.contact-dept-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}

.dept-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dept-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-50);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dept-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--primary-700);
}

.dept-title {
  font-size: 1.2rem;
  color: var(--primary-900);
}

.dept-phones {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-700);
  font-family: var(--font-heading);
}

.phone-link:hover {
  color: var(--accent-600);
}

.phone-link svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-500);
}

/* Contact Form */
.form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.65rem;
  margin-bottom: 0.5rem;
  color: var(--primary-900);
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: var(--text-main);
  background-color: var(--bg-page);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-600);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(38, 85, 61, 0.15);
}

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

.form-status {
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1.25rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Company Data Box */
.company-info-bar {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 2rem 2.5rem;
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.company-item .item-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.company-item .item-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-900);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-900);
  color: #ffffff;
  padding: 5rem 0 2rem 0;
  border-top: 4px solid var(--accent-500);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-top: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--accent-500);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--accent-400);
  transform: translateX(4px);
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.925rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Page Header Banner (Subpages) --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-800));
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(229, 149, 0, 0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.page-banner-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  color: #ffffff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.page-banner-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.breadcrumbs a {
  color: var(--accent-400);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .services-grid, .reference-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .media-floating-card {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .tender-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .top-bar-info {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-card:not(:last-child)::after {
    display: none;
  }
  .services-grid, .reference-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .tender-card-header {
    flex-direction: column;
  }
  .tender-grant-box {
    text-align: left;
    width: 100%;
  }
  .tender-meta-grid {
    grid-template-columns: 1fr;
  }
  .company-info-bar {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .lightbox-btn {
    width: 42px;
    height: 42px;
  }
  .lightbox-prev {
    left: 0.5rem;
  }
  .lightbox-next {
    right: 0.5rem;
  }
}
