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

/* --- DESIGN SYSTEM SYSTEM DESIGN (TOKENS) --- */
:root {
  --header-height: 90px;
  --color-primary: #0B2545;       /* Deep Corporate Navy Blue */
  --color-accent: #0066FF;        /* Vibrant Royal Blue */
  --color-accent-hover: #0052CC;  /* Rich Dark Blue */
  --color-accent-light: rgba(0, 102, 255, 0.08); /* Translucent accent glow tint */
  --color-secondary: #134074;     /* Steel Slate Blue */
  --color-bg: #FCFDFE;            /* Cool Premium Light Grey/White */
  --color-surface: #FFFFFF;       /* Card background */
  --color-surface-muted: #F1F5F9; /* Subtle surface background */
  --color-text-main: #0F172A;     /* Slate-900 */
  --color-text-muted: #475569;    /* Slate-600 */
  --color-border: #E2E8F0;        /* Slate-200 */
  --color-border-hover: #CBD5E1;  /* Slate-300 */
  
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Premium Shadow System */
  --shadow-sm: 0 2px 8px -2px rgba(11, 37, 69, 0.06), 0 1px 3px -1px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 12px 24px -6px rgba(11, 37, 69, 0.08), 0 4px 12px -2px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(11, 37, 69, 0.12), 0 8px 24px -4px rgba(11, 37, 69, 0.06);
  --shadow-hover: 0 20px 40px -8px rgba(0, 102, 255, 0.12), 0 4px 12px -2px rgba(0, 102, 255, 0.06);
  
  --transition-smooth: all 0.15s ease-in-out;
  --transition-fast: all 0.08s ease-in-out;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text-main);
  background-color: var(--color-bg);
  overflow-x: hidden;
  position: relative;
}

/* Modern radial background grid overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(19, 64, 116, 0.03) 0%, transparent 40%);
  z-index: -1;
  pointer-events: none;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-surface-muted);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-hover);
  border-radius: 5px;
  border: 2px solid var(--color-surface-muted);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
}

/* --- SECTION BACKGROUNDS --- */
.blob-section {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- FEJLÉC & NAVIGÁCIÓ --- */
header {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  height: var(--header-height);
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.menu-toggle {
  display: none;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 8px 0;
  transition: var(--transition-smooth);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: var(--transition-smooth);
}

nav ul li a:hover {
  color: var(--color-accent);
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--color-accent);
  font-weight: 600;
}

nav ul li a.active::after {
  width: 100%;
}

/* --- KEZDŐLAP (HERO) --- */
#kezdolap {
  background-color: var(--color-primary);
  background-image: 
    linear-gradient(to bottom, rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0.55)),
    url("../media/WEBP/hero_landing.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 80vh;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding-top: var(--header-height);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

#kezdolap::after {
  display: none;
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  z-index: 3;
}

#kezdolap h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  color: #FFFFFF;
}

#kezdolap h1 span {
  color: var(--color-accent);
}

#kezdolap p {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 2rem;
  max-width: 900px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* --- BUTTONS --- */
.btn {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: #fff;
  padding: 16px 36px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.btn:hover {
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.35);
  background: linear-gradient(135deg, var(--color-accent-hover), var(--color-primary));
}

/* --- RÓLUNK SZEKCIÓ --- */
#rolunk.blob-section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 80px;
}

.about-content {
  flex: 1.1;
}

.sub-title {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
}

#rolunk h2 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 20px;
  line-height: 1.5;
}

#rolunk p {
  margin-bottom: 24px;
  color: var(--color-text-muted);
  text-align: justify;
  font-size: 1rem;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--color-accent);
  transition: var(--transition-smooth);
}

.btn-text i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.btn-text:hover i {
  transform: translateX(6px);
}

.about-image {
  flex: 0.9;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
  transition: var(--transition-smooth);
}

.about-image img:hover {
  box-shadow: 0 30px 60px -15px rgba(11, 37, 69, 0.2);
}

/* --- MUNKÁINK (PORTFOLIO) --- */
#munkaink {
  background-color: var(--color-surface-muted);
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  border-radius: 2px;
  margin: 15px auto 0 auto;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border);
}

.gallery-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-desc {
  padding: 24px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.05rem;
}

/* --- KONTAKT --- */
#kontakt.blob-section {
  padding: 120px 0;
  position: relative;
  z-index: 10;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: center;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 320px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
  align-items: flex-start;
  padding: 20px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 102, 255, 0.15);
}

.contact-item i {
  font-size: 1.6rem;
  color: var(--color-accent);
  margin-right: 20px;
  width: 35px;
  margin-top: 2px;
}

.contact-item h3 {
  color: var(--color-primary);
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.contact-item p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--color-surface);
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: var(--color-border-hover);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-light);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

button[type="submit"] {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* --- LÁBLÉC --- */
footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  padding: 35px 24px;
  margin-top: auto;
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
  font-size: 0.9rem;
}

/* --- ANIMATIONS --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE STYLE (TABLET & MOBILE) --- */
@media (max-width: 900px) {
  :root {
    --header-height: 75px;
  }

  .container {
    padding: 0 20px;
  }

  .logo img {
    height: 48px;
  }

  .header-container {
    padding: 0 20px;
  }

  /* Hamburger Menu Button */
  .menu-toggle {
    display: block !important;
    font-size: 1.6rem;
    color: var(--color-accent);
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-fast);
    transform: translateY(-2px); /* Shift it up slightly to center vertically */
  }
  
  .menu-toggle:hover {
    color: var(--color-accent-hover);
  }

  nav {
    position: absolute;
    top: calc(var(--header-height) + 12px);
    right: 24px;
    width: calc(100% - 48px);
    max-width: 300px;
    background: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    padding: 12px 8px;
    z-index: 10000;
    
    /* Animation */
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  nav.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  nav ul li {
    margin: 4px 0;
    margin-left: 0;
    width: 100%;
  }

  nav ul li a {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 12px 16px;
    color: var(--color-text-main);
    border-radius: var(--radius-sm);
    transition: var(--transition-smooth);
    position: relative;
  }
  
  nav ul li a::after {
    display: none;
  }

  nav ul li a:hover,
  nav ul li a.active {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    font-weight: 600;
  }

  /* Custom FontAwesome Icons for Mobile Menu */
  nav ul li a::before {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 12px;
    font-size: 1rem;
    width: 20px;
    display: inline-block;
    text-align: center;
    color: var(--color-accent);
    transition: var(--transition-smooth);
  }
  
  nav ul li a[href*="kezdolap"]::before {
    content: '\f015'; /* fa-home */
  }
  nav ul li a[href*="rolunk"]::before {
    content: '\f05a'; /* fa-info-circle */
  }
  nav ul li a[href*="referencia"]::before {
    content: '\f03e'; /* fa-image */
  }
  nav ul li a[href*="termekeink"]::before {
    content: '\f009'; /* fa-th-large */
  }
  nav ul li a[href*="kontakt"]::before {
    content: '\f0e0'; /* fa-envelope */
  }

  #kezdolap {
    height: 70vh;
    padding-top: var(--header-height);
  }

  #kezdolap h1 {
    font-size: 2.25rem;
  }

  .about-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .contact-wrapper {
    flex-direction: column;
    gap: 40px;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }

  /* Horizontal Scroll for Features on Mobile */
  .features-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 4px 24px 4px !important;
    -webkit-overflow-scrolling: touch;
  }

  .feature-card {
    flex: 0 0 280px;
    scroll-snap-align: center;
    margin-bottom: 0 !important;
  }

  /* Mobile typography adjustments to prevent overflow */
  #rolunk h2,
  .section-title {
    font-size: 1.85rem !important;
    line-height: 1.3;
  }

  .variants-title {
    font-size: 1.75rem !important;
    margin-bottom: 40px;
  }

  .variant-info h3 {
    font-size: 1.6rem !important;
  }

  /* Stack product variants vertically on mobile */
  .product-variant,
  .product-variant.reverse {
    flex-direction: column !important;
    gap: 30px !important;
    margin-bottom: 60px !important;
  }

  .variant-image,
  .variant-info {
    flex: none !important;
    width: 100% !important;
  }
}

/* --- SCROLL REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- ALOLDAL FEJLÉC (REFERENCIA & TERMÉKEK) --- */
.page-header {
  background: linear-gradient(rgba(11, 37, 69, 0.85), rgba(11, 37, 69, 0.65)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
  background-size: cover;
  background-position: center;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-top: var(--header-height);
  margin-bottom: 60px;
  position: relative;
}

.page-header::after {
  display: none;
}

.page-header h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  color: #FFFFFF;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

/* --- MASONRY GALÉRIA STÍLUS --- */
#galeria-page {
  padding-bottom: 100px;
}

.masonry-grid {
  column-count: 3;
  column-gap: 24px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
}

.masonry-item img {
  width: 100%;
  display: block;
  height: auto;
  transition: var(--transition-smooth);
}

.masonry-item:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.25);
}

/* Reszponzivitás a galériához */
@media (max-width: 900px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
    column-gap: 0;
  }
}

/* --- LIGHTBOX (NAGYÍTOTT GALÉRIA) STÍLUSOK --- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  padding-top: 0;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(11, 37, 69, 0.95); /* Deep dark brand theme backing */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* A nagyított kép */
.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Kép alatti szöveg */
.caption {
  margin: 15px auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.15rem;
}

/* Bezárás gomb (X) */
.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #fff;
  font-size: 44px;
  font-weight: 300;
  transition: var(--transition-fast);
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}

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

/* Előző és Következő nyilak */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -30px;
  color: #fff;
  font-weight: bold;
  font-size: 32px;
  transition: var(--transition-fast);
  border-radius: var(--radius-sm);
  user-select: none;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.next {
  right: 25px;
}

.prev {
  left: 25px;
}

.prev:hover,
.next:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 92%;
  }
  .prev,
  .next {
    padding: 12px;
    font-size: 20px;
  }
  .prev {
    left: 10px;
  }
  .next {
    right: 10px;
  }
}

/* --- TERMÉK KATALÓGUS (GRID) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding-bottom: 60px;
}

.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--color-border);
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.2);
}

.card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.4;
}

.btn-arrow {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
  margin-top: 15px;
}

.btn-arrow i {
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .btn-arrow {
  color: var(--color-accent-hover);
}

.product-card:hover .btn-arrow i {
  transform: translateX(6px);
}

/* --- TERMÉK ALOLDAL (RÉSZLETEK) --- */
#termek-reszletek {
  padding-top: 110px;
  padding-bottom: 100px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--color-text-muted);
  font-weight: 600;
  transition: var(--transition-fast);
}

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

.product-detail-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.product-detail-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.product-detail-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.product-detail-info {
  flex: 1;
}

.product-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.feature-list {
  margin: 30px 0;
  list-style: none;
}

.feature-list li {
  margin-bottom: 14px;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: var(--color-text-muted);
}

.feature-list li i {
  color: var(--color-accent);
  margin-right: 15px;
  font-size: 1.1rem;
}

.cta-box {
  background: var(--color-surface);
  padding: 30px;
  border-radius: var(--radius-md);
  border-left: 5px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: 35px;
}

.cta-box p {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
}

/* --- TERMÉK ALOLDAL SPECIFIKUS STÍLUSOK --- */
.product-intro {
  max-width: 900px;
  margin: 0 auto 60px auto;
  text-align: center;
}

.product-intro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.energy-box {
  background-color: var(--color-accent-light);
  border: 1px solid rgba(0, 102, 255, 0.15);
  padding: 30px;
  border-radius: var(--radius-md);
  margin-top: 40px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.energy-box h3 {
  color: var(--color-accent-hover);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Előnyök rács (Grid) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
}

.feature-card {
  background: var(--color-surface);
  padding: 35px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition-smooth);
  border-top: 4px solid var(--color-accent);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.feature-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 102, 255, 0.15);
}

.feature-card i {
  font-size: 2.6rem;
  color: var(--color-accent);
  margin-bottom: 18px;
  display: inline-block;
}

.divider {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: 60px 0;
}

.variants-title {
  text-align: center;
  font-size: 2.3rem;
  margin-bottom: 60px;
  color: var(--color-primary);
  font-weight: 800;
}

/* --- TERMÉK VARIÁCIÓK (S8000, S9000, Linear) --- */
.product-variant {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.product-variant.reverse {
  flex-direction: row-reverse;
}

.variant-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.variant-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.variant-info {
  flex: 1.1;
}

.variant-info h3 {
  font-size: 2.1rem;
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.variant-info .subtitle {
  display: block;
  font-style: italic;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-weight: 500;
  font-size: 1rem;
}

.variant-list {
  list-style: none;
  margin-top: 24px;
}

.variant-list li {
  margin-bottom: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.variant-list li i {
  color: #10B981; /* Premium Emerald Green */
  margin-right: 12px;
  font-size: 1.05rem;
}

.variant-list.compact li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.highlight-box {
  background: #FEF3C7; /* Halványsárga (Amber-100) */
  color: #92400E;     /* Amber-800 */
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #FDE68A;
  font-size: 0.95rem;
}

.highlight-box i {
  font-size: 1.2rem;
}

/* CTA szekció az alján */
.cta-section {
  text-align: center;
  background: var(--color-surface-muted);
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  margin-top: 60px;
  border: 1px solid var(--color-border);
}

.cta-section h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.cta-section p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.btn-large {
  padding: 16px 44px;
  font-size: 1.1rem;
}
