@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* ===== RESET / BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050609;
  color: #f5f5f5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== BACKGROUND ===== */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.05), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, #050609 0%, #10121a 55%, #050609 100%);
}

/* ===== ANIMATED GRADIENT GLOW (ha használod valahol) ===== */
.animated-bg {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 80, 120, 0.35), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(120, 90, 255, 0.4), transparent 45%),
    radial-gradient(circle at 60% 80%, rgba(0, 170, 255, 0.35), transparent 40%);
  filter: blur(120px);
  animation: moveGradient 22s ease-in-out infinite alternate;
  transform: translateZ(0);
}

@keyframes moveGradient {
  0% { transform: translate(-5%, -5%) scale(1); }
  50% { transform: translate(6%, 2%) scale(1.08); }
  100% { transform: translate(0%, 6%) scale(1.04); }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(
    120deg,
    rgba(8, 10, 18, 0.92),
    rgba(11, 13, 22, 0.84)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner{
  max-width:1280px;
  margin:auto;
  padding:14px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  width:100%;
}

/* LOGO */
.logo {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.logo-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    #ffb347,
    #ff6f61,
    #9b6bff,
    #4fd1ff,
    #ffb347
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 0 22px rgba(255, 179, 71, 0.55);
}

/* MENU WRAPPER */
.header-menu {
  display: flex;
  gap: 26px;
}

/*
  FONTOS:
  - Ha a HTML-ben nincs "menu-link" class az <a>-n, attól még legyen stílus!
  - Ezért van .header-menu a is.
*/
.header-menu a,
.menu-link {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.header-menu a:hover,
.menu-link:hover {
  color: #ffffff;
}

/* underline hover */
.header-menu a::after,
.menu-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #ffb347, #ff6f61, #ffcc33);
  transition: width 0.3s ease;
}

.header-menu a:hover::after,
.menu-link:hover::after {
  width: 100%;
}

/* ACTIVE (mindkét fajta HTML-re) */
.header-menu a.active,
.menu-link.active {
  color: #ffffff;
}

.header-menu a.active::after,
.menu-link.active::after {
  width: 100%;
}

/* PHONE / CTA BUTTON IN HEADER */
.header-phone {
  text-decoration: none;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  color: #050609;
  background: linear-gradient(135deg, #ffb347, #ff6f61, #ffcc33);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(255, 179, 71, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.header-phone:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(255, 179, 71, 0.4);
  filter: brightness(1.05);
}

/* ===== MAIN APP CONTAINER ===== */
.app {
  min-height: calc(100vh - 80px);
  max-width: 1280px;
  margin: auto;
  padding: 72px 28px 64px;
  position: relative;
  z-index: 1;
}
.site-footer{
  width:100%;
}
/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 20px 80px;
  overflow: hidden;
}

.hero-surface {
  position: relative;
  width: 100%;
  max-width: 1120px;
  padding: 42px 40px 44px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.08), transparent 45%),
    radial-gradient(circle at 120% 0%, rgba(255, 255, 255, 0.06), transparent 45%),
    linear-gradient(135deg, rgba(15, 17, 30, 0.82), rgba(10, 11, 22, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.82),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

/* ===== FŐOLDALON KÉT OSZLOP ===== */
body:not(.page-gallery):not(.page-services) .hero-surface {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
}

/* ===== EGY OSZLOP (galéria, services) ===== */
.hero-surface-single {
  display: block;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(120deg, #ffb347, #ff6f61, #ffcc33);
  -webkit-background-clip: text;
  color: transparent;
}

.hero p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(240, 240, 240, 0.78);
  max-width: 520px;
}


/* ===== SERVICES SECTION ===== */
.services {
  padding: 48px 20px 48px;
}

.services-inner {
  max-width: 1280px;
  margin: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 34px 32px 36px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(155deg, rgba(18, 21, 36, 0.95), rgba(8, 10, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.75),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.service-card h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 179, 71, 0.08), transparent 45%);
}

/* ===== SERVICES PAGE SAFE FIX ===== */
.page-services .hero {
  min-height: auto;
  padding: 56px 20px 48px;
}

.page-services .hero-surface {
  padding: 32px 36px;
}

.page-services .intro:last-of-type {
  padding-top: 32px;
}

/* ============================= */
/* GALLERY PAGE (egységes)       */
/* ============================= */
.page-gallery .hero {
  min-height: auto;
  padding: 56px 20px 48px;
}

.page-gallery .hero-surface {
  padding: 32px 36px;
}

/* ===== GALLERY SECTION ===== */
.gallery {
  padding: 64px 20px 80px;
}

.gallery-inner {
  max-width: 1280px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* KÁRTYA LOOK (prémium) */
.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.08), transparent 45%),
    linear-gradient(145deg, #1b1f32, #050609);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.65);
}

.gallery-img,
.gallery-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  cursor: pointer;
}

.gallery-item:hover .gallery-img,
.gallery-item:hover img {
  transform: scale(1.05);
}

/* CAPTION (hoverre feljön alulról) */
.gallery-caption {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 14px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

.gallery-caption h3 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
}

.gallery-caption p {
  margin: 0;
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.45;
}

/* ===== MODAL / LIGHTBOX (a te JS-ed display:block-ot használ, ez így jó) ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  padding: 24px;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 18px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.9);
  object-fit: contain;
}

.close {
  position: absolute;
  top: 16px;
  right: 22px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.9;
}

.close:hover {
  opacity: 1;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 6, 10, 0.96);
  backdrop-filter: blur(16px);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  padding: 20px 28px 26px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 20px 12px;
  }

  .header-menu {
    gap: 16px;
    flex-wrap: wrap;
  }

  .app {
    padding: 52px 20px 44px;
  }

  .hero-surface {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 22px 26px;
    gap: 28px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero p {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 32px;
  }

  .site-footer {
    padding-inline: 20px;
  }
}
/* ===== LOGO – REFERENCIA SZERINT ===== */

.header {
  overflow: visible !important;
}

.header-inner {
  min-height: 72px !important;
  align-items: center !important;
}

/* LOGO WRAPPER */
.header .logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;

  font-size: 18px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;

  color: #ffffff !important;
  text-decoration: none !important;

  line-height: 1 !important;
  white-space: nowrap !important;

  position: relative !important;
  z-index: 5 !important;
}
/* ===== HERO RIGHT IMAGE – FINAL FIX ===== */
.hero-art {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-art-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;

  border-radius: 28px;
  padding: 14px;

  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,0.18), transparent 55%),
    linear-gradient(145deg, #1b1f32, #050609);

  border: 1px solid rgba(255,255,255,0.18);

  box-shadow:
    0 40px 120px rgba(0,0,0,0.9),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

.hero-art-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;

  background:
    linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.55)),
    url("../img/hero/hero.jpg") center / cover no-repeat;
}

/* ===== HERO CTA ===== */
.hero-cta-row {
  margin-top: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 999px;

  background: linear-gradient(135deg, #ffb347, #ff6f61, #ffcc33);
  color: #050609;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;

  box-shadow: 0 18px 48px rgba(255,179,71,0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 70px rgba(255,179,71,0.65);
}
/* ===== HERO IMAGE CLICK OVERLAY ===== */
.hero-art-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
}
/* ===== HERO IMAGE LABEL ===== */
.hero-art-label {
  position: absolute;
  left: 18px;
  bottom: 18px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;

  background: rgba(5,6,9,0.65);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);

  z-index: 6;
}
.hero-art-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb347;
  box-shadow: 0 0 8px rgba(255,179,71,0.9);
}
/* ===== INTRO BOX ===== */
.intro {
  padding: 64px 20px 80px;
}

.intro-inner {
  max-width: 1280px;
  margin: auto;
}

.intro-box {
  max-width: 860px;
  padding: 36px 40px 40px;
  border-radius: 28px;

  background:
    radial-gradient(circle at 10% 10%, rgba(255,255,255,0.08), transparent 45%),
    linear-gradient(145deg, rgba(15,17,30,0.85), rgba(5,6,9,0.95));

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(22px);
}

/* kis cím */
.intro-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 12px;
}

/* fő cím */
.intro-box h2 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* szöveg */
.intro-box p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(240,240,240,0.78);
  max-width: 720px;
}

/* ===== HEADER LOGO IMAGE ===== */
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
@media (max-width: 560px) {
  .logo img {
    height: 32px;
  }
}
