/* 1. HERO - Egyedi kép és elrendezés */
.subpage-hero {
  height: 60vh;
  background: linear-gradient(rgba(16,33,75,0.7), rgba(16,33,75,0.7)),
              url('/images/hero-web.png') 50% 20% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: var(--light-text);
  padding-bottom: 3rem;
}

.services h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark-bg);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  position: relative;
}

.services h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

h2::after {
content: "";
  display: block;
  width: 70px;
  height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.work-process p {
  padding-top: 1rem;
}

.services > p {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.services h1, .services > p {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.services.visible h1,
.services.visible > p {
  opacity: 1;
  transform: translateY(0);
}

/* VIDEÓ KÁRTYÁK – Reszponzív elrendezés */
.video-list {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1400px; /* opcionális, de segít */
  margin: 4rem auto;
}

.video-card-alt {
  position: relative;
  max-width: 360px;
  width: 100%;
  padding: 0.1rem;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  transform: translateY(30px);
  transition: 
    opacity .8s ease,
    transform .8s ease;
  will-change: transform;
}

.video-card-alt:hover {
  transform: translateY(-6px);
}

/* hover */
.video-card-alt:hover::before {
  opacity: 1;
}

.video-card-alt.visible {
  opacity: 1;
  transform: translateY(0);
}

/* késleltetések */ 
.video-card-alt:nth-child(1) {
  transition-delay: .1s;
}

.video-card-alt:nth-child(2) {
  transition-delay: .2s;
}

.video-card-alt:nth-child(3) {
  transition-delay: .3s;
}

.video-card-alt h3 {
  position: relative;
  margin-top: 0.5rem;
  transition: color .3s ease;
}

.video-card-alt h3::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .35s ease;
}

.video-card-alt:hover h3::after {
  width:70%;
  height: 3px;
  border-radius: 2px;
}

.video-card-alt:hover h3 {
  color: var(--accent);
}

/* Kép doboz */
.card-img-box {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px 16px 0 0;
  overflow: hidden; /* csak a lekerekítés miatt */
  transform: scale(1); /* alapállapot */
  transition: transform 6s ease-in-out;
}

.card-img-box img {
  width: 100%;
  height: 100%; /* megtartja az álló arányt */
  display: block;
  object-fit: cover; /* teljes kép látszik */
  animation: continuousZoom 12s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes continuousZoom { from { transform: scale(1); } to { transform: scale(1.12); } }


/* Szöveg */
.card-text-box {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--dark-text);
}

.card-text-box p {
  padding-top: 1rem;
}

.card-text-box i {
  font-size: 2rem;
  margin-top: 1rem;
  color: var(--accent);
  padding-bottom: 2rem;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .video-list {
    flex-direction: column;
    align-items: center;
  }

  .video-card-alt {
    max-width: 350px; /* ne legyen túl széles */
  }
}

  /* 3. HOGYAN DOLGOZOM - Tisztított Grid */
.work-process {
  padding: 1rem 2rem 1rem 2rem;
  text-align: center;
  background: #fff;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding-bottom: 6rem;
}

.process-steps i {
  font-size: 2rem;
  padding-top: 1rem;
}

.process-steps h4 {
    padding-top: 2rem;
}

.services-extra-title {
  margin-top: 5rem; /* Extra hely a 3 doboz fölé */
  margin-bottom: 3rem;
}

.nav-item { 
  display: flex;
  flex: 1 1 260px;
  max-width: 320px;
  flex-direction: column; /* Egymás alá rakja az elemeket */
  align-items: center;    /* Vízszintesen középre */
  justify-content: center; /* Függőlegesen középre */
  text-align: center;
  background: #fff; 
  padding: 2.5rem 1.5rem; 
  border-radius: 16px; 
  transition: 0.3s; 
  border: 2px solid transparent; 
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-decoration: none !important;
}

.nav-item:hover { transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.nav-icon-box { 
  margin-right: 0;        /* Eltávolítjuk az oldalsó margót */
  margin-bottom: 1.5rem;  /* Hely az ikon és a felirat közé */
  width: 60px; 
  height: 60px; 
  background: var(--dark-bg); 
  color: var(--accent); 
  border-radius: 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center;
}

.nav-info h3 {
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
}

.step {
  flex: 1 1 240px;
  max-width: 300px;
  position: relative; 
  padding: 2.5rem 1.5rem; 
  background: var(--light-bg); 
  border-radius: 15px; 
  transition: 0.8s;
  opacity: 0;
  transform: translateY(30px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark-bg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
    
.step:hover {
  transform: translateY(-10px) scale(1.02); /* Kicsit megemelkedik és megnő */
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);  /* Kap egy kis árnyékot is a mélység miatt */
  background: #fff; /* Opcionális: fehérre vált a háttér, ha az index.html-en úgy volt */
}

/* 4. AKCIÓ ÉS NAVIGÁCIÓ */
.action-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fb, #eef1f7);
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.back-home-wrapper {
  margin-bottom: 3rem;
}

.back-home-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-bg) !important;
  text-decoration: none;
  opacity: 0.6;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.back-home-link i {
  margin-right: 6px;
}

.back-home-link:hover {
  opacity: 1;
}

.back-home-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: 0.3s ease;
}

.back-home-link:hover::after {
  width: 100%;
}

.process-actions {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.process-actions .btn-primary {
  min-width: 220px;
  padding: 0.9rem 1.8rem;
  border-radius: 40px;
}

.btn-dark-fix {
  background: var(--dark-bg) !important;
  color: var(--accent) !important;
}

.nav-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 2rem 1rem 2rem;
}

 /* CSOMAGAJÁNLATOK STÍLUS */
/* Árjelzés stílusa a kártya alján */
.price-tag {
  margin-top: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-bg);
  background: var(--accent); /* RM Computer arany szín */
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  display: inline-block;
}

.pricing-card.featured .price-tag {
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4); /* Arany ragyogás a kiemeltnek */
}

.pricing-section {
  padding: 2rem;
  text-align: center;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 1px solid rgba(16, 33, 75, 0.05);
  flex: 0 1 357px;
  max-width: 600px;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Kiemelt csomag stílusa */
.pricing-card.featured {
  border: 2px solid var(--accent);
  transform: scale(1.05);
}

.featured-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--dark-bg);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price-header i {
  font-size: 2.5rem;
  color: var(--dark-bg);
  margin-bottom: 1rem;
}

.price-header h3 {
  margin-bottom: 1.5rem;
  color: var(--dark-bg);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  margin-bottom: auto; /* Ez feltolja a listát, az árat pedig az aljára rögzíti */
  width: 100%;
}

.price-features li {
  padding: 0.9rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  display: flex;
  line-height: 1.5;
  align-items: center;
}

.price-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: bold;
  margin-right: 10px;
}

.price-features li:last-child {
  border-bottom: none;
}

@media (max-width: 768px) {
  .pricing-card.featured {
    transform: scale(1);
    margin: 1rem 0;
  }

  .video-card-alt, .video-card-alt:nth-child(even) {
    flex-direction: column;
  }

  .process-actions .btn-nav {
    width: 100%;
    max-width: 280px;
  }
}