/*!
 * NetDev.hu - Javított Modern CSS
 * Eredeti design alapján a helyes színekkel és stílusokkal
 */

/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Alap stílusok */
html {
  scroll-behavior: auto; /* JavaScript vezérelt bouncing scroll */
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #444444;
  background-color: #f5f5f5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: rgba(225, 160, 76, 1);
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
  background: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}

.header.scrolled .logo a {
  color: rgba(225, 160, 76, 1) !important;
}

.header.scrolled .nav-link {
  color: rgba(225, 160, 76, 1) !important;
}

.header .logo {
  font-size: 26px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.header .logo a {
  color: #fff;
  text-decoration: none;
}

.nav-link {
  color: #fff;
  font-weight: 800;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 15px 10px;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  height: auto;
}

.nav-link:hover {
  color: #074f66;
}

/* Language Dropdown specifikus stílusok */
#langDropdown {
  color: #fff !important;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  padding: 15px 10px;
  transition: color 0.3s ease;
  height: auto;
  display: flex;
  align-items: center;
  line-height: 1;
}

#langDropdown:hover {
  color: #074f66 !important;
}

.header.scrolled #langDropdown {
  color: rgba(225, 160, 76, 1) !important;
}

.header.scrolled #langDropdown:hover {
  color: #074f66 !important;
}

/* Language dropdown container */
.relative {
  position: relative;
}

/* Language dropdown menü */
#langMenu {
  z-index: 1000;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e5e5;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  min-width: 12rem;
}

#langMenu a {
  color: #333 !important;
  text-decoration: none;
  transition: background-color 0.3s ease;
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

#langMenu a:hover {
  background-color: #f5f5f5 !important;
  color: #333 !important;
}

/* Tailwind-style responsive utilities */
.hidden { display: none; }
.md\:flex { display: none; }
@media (min-width: 768px) {
  .md\:flex { display: flex; }
}
.md\:hidden { display: block; }
@media (min-width: 768px) {
  .md\:hidden { display: none; }
}

/* Language dropdown - specifikus elrejtés */
#langMenu.hidden {
  display: none !important;
  visibility: hidden !important;
}

/* Language dropdown - megjelenítés */
#langMenu:not(.hidden) {
  display: block !important;
  visibility: visible !important;
}

/* Navigation alignment fix */
nav.flex {
  align-items: center;
}

nav.flex > * {
  display: flex;
  align-items: center;
}

/* Promo/Hero section */
.promo {
  background: #212529;
  background-image: url('../images/background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #fff;
  padding: 170px 0 120px;
  text-align: center;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
}

/* Sötét overlay - 80% kitakarás */
.promo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #212529;
  opacity: 0.8;
  z-index: 1;
}

/* Tartalom a háttérkép fölött */
.promo .container {
  position: relative;
  z-index: 2;
}

.promo .title {
  font-size: 98px;
  color: rgba(173, 173, 173, 1);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  opacity: 0;
  animation: heroElementFadeIn 0.8s ease-out 0.2s forwards;
}

.promo .title .highlight {
  color: rgba(225, 160, 76, 1);
}

.promo .intro {
  font-size: 28px;
  max-width: 680px;
  margin: 30px auto;
  line-height: 1.4;
  opacity: 0;
  animation: heroElementFadeIn 0.8s ease-out 0.6s forwards;
}

.promo .btns {
  opacity: 0;
  animation: heroElementFadeIn 0.8s ease-out 1.0s forwards;
}

/* Promo Small - for subpages */
.promo-small {
  background: #212529;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
}

.promo-small .title-small {
  font-size: 48px;
  color: rgba(173, 173, 173, 1);
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.promo-small .intro-small {
  font-size: 18px;
  max-width: 500px;
  margin: 20px auto;
  line-height: 1.4;
  color: rgba(225, 160, 76, 1);
}

/* Scroll Hint */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  cursor: pointer;
  opacity: 0;
  z-index: 3;
  animation: scrollHintInitialFadeIn 1s ease-out 1.5s forwards, scrollBounce 2s infinite 2.5s;
}

.scroll-hint .scroll-text {
  display: block;
  font-size: 18px;
  color: rgba(225, 160, 76, 1);
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.scroll-hint .scroll-arrow {
  color: rgba(225, 160, 76, 1);
  animation: scrollArrow 1.5s ease-in-out infinite;
}

@keyframes heroElementFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroContentFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollHintInitialFadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

@keyframes scrollArrow {
  0%, 50%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  25%, 75% {
    transform: translateY(12px);
    opacity: 0.7;
  }
}

/* Bouncing scroll animation for page sections - visszaállítva normálra */
@keyframes pageBounceFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Auto scroll hint fade out after scroll */
.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* Auto scroll demonstration effect */
.scroll-hint.demo-scroll {
  animation: demoScrollPulse 2s ease-in-out;
}

@keyframes demoScrollPulse {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  25% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0.6;
  }
  75% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.8;
  }
}

/* Sections - Eredeti NetDev színséma */
.section {
  padding: 80px 0;
}

/* Szolgáltatások - világos háttér */
#szolg {
  background-color: #f5f5f5;
  color: #444;
}

/* Features/Amit kínálok - NARANCS háttér */
#features {
  background: rgba(225, 160, 76, 1);
  color: #fff;
}

#features h2,
#features h3,
#features h4 {
  color: #ffffff;
}

#features .text-secondary {
  color: rgba(255, 255, 255, 0.9);
}

/* Webfejlesztés - világos háttér */
#webfejlesztes {
  background-color: #f5f5f5;
  color: #444;
}

/* Hosting - FEHÉR háttér */
#hosting {
  background: #ffffff;
  color: #444;
}

#hosting h2,
#hosting h3,
#hosting h4 {
  color: #444444;
}

#hosting .text-secondary {
  color: rgba(68, 68, 68, 0.7);
}

/* Referenciák - NARANCS háttér */
#referencia {
  background: rgba(225, 160, 76, 1);
  color: #fff;
}

#referencia h2,
#referencia h3,
#referencia h4 {
  color: #ffffff;
}

#referencia .text-secondary {
  color: rgba(255, 255, 255, 0.9);
}

/* Kapcsolat - NARANCS háttér */
#contact {
  background: rgba(225, 160, 76, 1);
  color: #fff;
}

#contact h2,
#contact h3,
#contact h4 {
  color: #ffffff;
}

#contact .text-secondary {
  color: rgba(255, 255, 255, 0.9);
}

#contact a {
  color: #ffffff;
  text-decoration: underline;
}

#contact a:hover {
  color: #f0f0f0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #074f66;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }

/* Fehér címek a narancs szakaszokban */
#features h1,
#features h2, 
#features h3, 
#features h4,
#referencia h1,
#referencia h2,
#referencia h3,
#referencia h4,
#contact h1,
#contact h2,
#contact h3,
#contact h4 {
  color: #ffffff !important;
}

/* Text utilities */
.text-center { text-align: center; }
.text-xl { font-size: 1.25rem; }
.text-4xl { font-size: 2.25rem; }
.font-bold { font-weight: 700; }
.text-secondary { color: #6b7280; }

/* Layout utilities */
.grid { 
  display: grid; 
  gap: 2rem; 
}

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

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }

/* Spacing utilities */
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-12 { margin-top: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }

/* Sizing utilities */
.w-8 { width: 2rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.h-8 { height: 2rem; }
.h-16 { height: 4rem; }
.max-w-3xl { max-width: 48rem; }

/* Colors - NetDev.hu színséma */
.bg-accent { background-color: rgba(225, 160, 76, 1); }
.bg-primary { background-color: #212529; }
.bg-gray-50 { background-color: #f8f9fa; }
.bg-white { background-color: #ffffff; }
.text-white { color: #ffffff; }
.text-accent { color: rgba(225, 160, 76, 1); }

/* Border radius */
.rounded-lg { border-radius: 0.5rem; }
.rounded-2xl { border-radius: 1rem; }

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: #444;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Speciális card színek narancs és fehér szakaszokban */
#features .card,
#referencia .card {
  background-color: #ffffff;
  color: #444;
}

#features .card h3,
#referencia .card h3 {
  color: #074f66 !important;
}

/* Hosting card-ok normál szöveg színei (fehér háttér) */
#hosting .card .text-secondary {
  color: #666 !important;
}

#hosting .card li {
  color: #555 !important;
}

/* Referencia card-ok speciális szöveg színei (narancs háttér) */
#referencia .card .text-secondary {
  color: #666 !important;
}

#referencia .card li {
  color: #555 !important;
}

/* Modern egyszerű badge a Népszerű címkére */
#hosting .card.border-accent .absolute {
  background: linear-gradient(135deg, rgba(225, 160, 76, 1) 0%, rgba(225, 160, 76, 0.9) 100%);
  box-shadow: 0 2px 8px rgba(225, 160, 76, 0.3);
  border-bottom-left-radius: 8px;
}

/* Lightbox modal */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: opacity 0.3s ease;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* Referencia képek kattintható jelzése */
.reference-item img {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reference-item img:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#contact .card {
  background-color: #ffffff;
  color: #444;
}

#contact .card h3,
#contact .card h4 {
  color: #074f66 !important;
}

/* Közösségi média ikonok fehér színnel */
#contact .card a svg {
  color: #ffffff !important;
}

/* Contact section specifikus szöveg színek */
#contact p {
  color: rgba(255, 255, 255, 0.95);
}

#contact .font-semibold {
  color: #444444;
}

/* Contact card-ok belső szövegei */
#contact .card p {
  color: #444444;
}

#contact .card .font-semibold {
  color: #074f66;
}

#contact .card .text-secondary {
  color: #666666;
}

#contact .card label {
  color: #444444;
}

/* Contact section űrlap és egyéb elemek */
#contact .card input,
#contact .card textarea {
  color: #444444;
}

#contact .card input::placeholder,
#contact .card textarea::placeholder {
  color: #999999;
}

/* Contact section checkbox label */
#contact .card label[for="gdpr"] {
  color: #555555;
}

/* Contact section linkek a card-okon belül */
#contact .card a {
  color: #074f66;
}

#contact .card a:hover {
  color: #042a36;
}

/* Buttons - NetDev.hu stílus */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 30px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 1px solid;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}

.btn-orange,
.btn-primary,
.btn-cta-secondary {
  background: rgba(225, 160, 76, 1);
  border-color: rgba(225, 160, 76, 1);
  color: #fff;
}

.btn-orange:hover,
.btn-primary:hover,
.btn-cta-secondary:hover {
  background: #ecb728;
  border-color: #ecb728;
  color: #fff;
  text-decoration: none;
}

.btn-cta-primary {
  background: #074f66;
  border-color: #074f66;
  color: #fff;
}

.btn-cta-primary:hover {
  background: #053c4e;
  border-color: #053c4e;
  color: #fff;
}

/* Speciális gombok narancs háttéren */
#features .btn-orange,
#features .btn-primary,
#hosting .btn-orange,
#hosting .btn-primary {
  background: #074f66;
  border-color: #074f66;
  color: #fff;
}

#features .btn-orange:hover,
#features .btn-primary:hover,
#hosting .btn-orange:hover,
#hosting .btn-primary:hover {
  background: #053c4e;
  border-color: #053c4e;
  color: #fff;
}

/* Service items */
.service-item {
  text-align: center;
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid #e5e7eb;
}

.service-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 15px -5px rgba(0, 0, 0, 0.15);
  border-color: rgba(225, 160, 76, 0.3);
}

.service-item .icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(225, 160, 76, 1);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

/* Space utilities */
.space-y-4 > * + * { margin-top: 1rem; }
.gap-8 { gap: 2rem; }

/* Responsive */
@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .md\:grid-cols-2,
  .md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .promo {
    min-height: calc(100vh - 70px);
    padding: 100px 0 100px;
    background-attachment: scroll; /* Mobil eszközökön jobb teljesítmény */
  }
  
  .promo::before {
    background-attachment: scroll; /* Mobil eszközökön jobb teljesítmény */
  }
  
  .promo .title {
    font-size: 48px;
  }
  
  .promo .intro {
    font-size: 20px;
    margin: 25px auto;
  }
  
  .promo .btns {
    margin-top: 30px;
  }
  
  .promo-small .title-small {
    font-size: 32px;
  }
  
  .promo-small .intro-small {
    font-size: 16px;
  }
  
  .scroll-hint {
    bottom: 40px;
  }
  
  .scroll-hint .scroll-text {
    font-size: 16px;
    font-weight: 600;
  }
}

/* Extra kis képernyők (480px alatt) */
@media (max-width: 480px) {
  .promo {
    min-height: calc(100vh - 70px);
    padding: 80px 0 80px;
  }
  
  .promo .title {
    font-size: 40px;
  }
  
  .promo .intro {
    font-size: 18px;
    margin: 15px auto;
  }
  
  .promo .btns {
    margin-top: 25px;
  }
  
  .scroll-hint {
    bottom: 50px;
  }
}

/* Egyéb responsive stílusok */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  .text-4xl { font-size: 1.8rem; }
}

/* Form styles */
input, textarea, select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  font-size: 16px;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(225, 160, 76, 1);
  box-shadow: 0 0 0 3px rgba(225, 160, 76, 0.1);
}

/* Footer */
.footer {
  background-color: #212529;
  color: #ffffff;
  padding: 3rem 0 1rem;
}

.footer a {
  color: rgba(225, 160, 76, 1);
  text-decoration: none;
}

.footer a:hover {
  color: #ecb728;
  text-decoration: underline;
}

/* Pricing cards */
.pricing-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  text-align: center;
}

.pricing-card:hover {
  border-color: rgba(225, 160, 76, 1);
  transform: translateY(-4px);
}

.pricing-popular {
  border-color: rgba(225, 160, 76, 1);
  transform: scale(1.05);
}

.pricing-popular::before {
  content: "Népszerű";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(225, 160, 76, 1);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
}

/* Reference cards */
.reference-card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.reference-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

/* Utility classes */
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.border { border: 1px solid #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Mobile responsiveness */
@media (max-width: 640px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .grid {
    gap: 1rem;
  }
  
  .promo {
    padding: 100px 0 60px;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--color-accent-hover);
  transform: translateY(-1px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary,
.btn-orange {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-primary:hover,
.btn-orange:hover {
  background-color: var(--color-accent-hover);
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text);
  border: 2px solid var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}

/* Cards */
.card {
  background-color: var(--color-card-bg);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
  background-color: var(--color-card-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Navigation */
.nav-link {
  color: var(--color-text);
  font-weight: 800;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 280px;
  background-color: var(--color-card-bg);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active .mobile-menu-content {
  transform: translateX(0);
}

body.menu-open {
  overflow: hidden;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-gray-800) 100%);
  color: var(--color-white);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: heroContentFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

/* Grid layouts */
.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section:nth-child(even) {
  background-color: var(--color-gray-50);
}

[data-theme="dark"] .section:nth-child(even) {
  background-color: var(--color-gray-900);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Dark mode toggle - bal alsó sarok */
.theme-toggle {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: auto;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  z-index: 1000;
}

.theme-toggle:hover {
  transform: scale(1.1);
}

/* Scroll animációk - Eredeti működő verzió */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Alapból elrejtve az animálható elemek - csak azok, amelyek nem referencia képek */
#features .card,
#hosting .card,
#webfejlesztes .card,
#contact .card,
#szolg .service-item {
  opacity: 0;
  transform: translateY(30px);
}

/* Referencia elemek külön kezelése */
.reference-item {
  opacity: 0;
  transform: translateY(30px);
}

/* Referencia elemek képei mindig láthatóak */
.reference-item img {
  opacity: 1 !important;
  transform: none !important;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Specifikus animáció minden elem típushoz */
#features .card.fade-in-up,
#szolg .service-item.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Tárhelycsomagok, webfejlesztési csomagok, kapcsolat kártyák és referenciák egyszerre jelennek meg, késleltetés nélkül */
#hosting .card.fade-in-up,
#webfejlesztes .card.fade-in-up,
#contact .card.fade-in-up,
.reference-item.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Késleltetések csak a szolgáltatások részre */
#features .card.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
#features .card.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
#features .card.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
#features .card.fade-in-up:nth-child(4) { animation-delay: 0.4s; }

/* Lazy loading images */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

/* Responsive */
@media (max-width: 640px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .card {
    padding: 1.5rem;
  }
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

.bg-accent { background-color: var(--color-accent); }
.bg-primary { background-color: var(--color-primary); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.hidden { display: none; }
.md\:hidden { display: block; }
.md\:flex { display: none; }

.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }

.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }

.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-sm { max-width: 24rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }

.border-accent { border-color: var(--color-accent); }
.border-gray-200 { border-color: var(--color-gray-200); }
.border-gray-300 { border-color: var(--color-gray-300); }
.border-gray-600 { border-color: var(--color-gray-600); }
.border-gray-700 { border-color: var(--color-gray-700); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }

.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.opacity-90 { opacity: 0.9; }

.transition { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }

.duration-300 { transition-duration: 0.3s; }

.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:bg-accent:hover { background-color: var(--color-accent); }
.hover\:bg-blue-700:hover { background-color: #1d4ed8; }
.hover\:bg-blue-800:hover { background-color: #1e40af; }
.hover\:bg-gray-100:hover { background-color: var(--color-gray-100); }
.hover\:bg-gray-700:hover { background-color: var(--color-gray-700); }
.hover\:text-accent:hover { color: var(--color-accent); }
.hover\:text-gray-200:hover { color: var(--color-gray-200); }

.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px var(--color-accent); }
.focus\:ring-accent:focus { box-shadow: 0 0 0 2px var(--color-accent); }
.focus\:border-transparent:focus { border-color: transparent; }

.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-20 { top: 5rem; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.bottom-4 { bottom: 1rem; }
.bottom-8 { bottom: 2rem; }
.left-0 { left: 0; }
.left-4 { left: 1rem; }
.left-1\/2 { left: 50%; }

.z-50 { z-index: 50; }
.z-1000 { z-index: 1000; }

.transform { transform: translateZ(0); }
.translate-x-1\/2 { transform: translateX(50%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.-top-4 { top: -1rem; }

.overflow-hidden { overflow: hidden; }

.object-cover { object-fit: cover; }

.resize-vertical { resize: vertical; }

.cursor-pointer { cursor: pointer; }

.block { display: block; }
.inline-flex { display: inline-flex; }

.flex-shrink-0 { flex-shrink: 0; }

.justify-content-center { justify-content: center; }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-16 { gap: 4rem; }

.bg-gray-50 { background-color: var(--color-gray-50); }
.bg-gray-800 { background-color: var(--color-gray-800); }
.bg-green-500 { background-color: #10b981; }
.bg-blue-600 { background-color: #2563eb; }
.bg-blue-700 { background-color: #1d4ed8; }

.text-gray-200 { color: var(--color-gray-200); }
.text-gray-300 { color: var(--color-gray-300); }
.text-gray-400 { color: #9ca3af; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transform: translate3d(0, 0, 0);
  }
  40%, 43% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -30px, 0);
  }
  70% {
    animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
    transform: translate3d(0, -15px, 0);
  }
  90% {
    transform: translate3d(0, -4px, 0);
  }
}

/* Responsive classes */
@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:flex { display: flex; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:text-2xl { font-size: 1.5rem; }
  .md\:text-6xl { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  
  /* Desktop hero section - teljes képernyő */
  .promo {
    min-height: 100vh;
    padding: 170px 0 120px;
  }
}

/* Nagy desktop képernyők (1200px+) */
@media (min-width: 1200px) {
  .promo {
    min-height: 100vh;
    padding: 200px 0 150px;
  }
  
  .promo .title {
    font-size: 108px;
  }
  
  .promo .intro {
    font-size: 32px;
    max-width: 800px;
  }
}

/* Dark mode support */
[data-theme="dark"] .bg-gray-50 { background-color: var(--color-gray-900); }
[data-theme="dark"] .bg-white { background-color: var(--color-gray-800); }
[data-theme="dark"] .border-gray-200 { border-color: var(--color-gray-700); }
[data-theme="dark"] .border-gray-300 { border-color: var(--color-gray-600); }
[data-theme="dark"] .text-gray-600 { color: var(--color-gray-300); }

/* Form styles */
input[type="text"],
input[type="email"],
textarea,
select {
  font-family: inherit;
}

input[type="checkbox"] {
  accent-color: var(--color-accent);
}

/* Error states */
.error {
  border-color: #ef4444 !important;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
