/* ===== styles.css ===== */

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #111111;
}

body {
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f4f4;
  color: #111111;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

a { text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ===== HEADER ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 2px solid #ff7a00;
  z-index: 1000;
  backdrop-filter: none;
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 0;
}

.logo-img {
  display: block;
  height: clamp(34px, 4vw, 55px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.nav a {
  color: #141111;
  font-size: clamp(0.88rem, 1vw, 0.98rem);
  font-weight: 700;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.nav a:hover {
  color: #ff7a00;
}

/* ===== HERO ===== */
 .hero {
  position: relative;
  min-height: 100svh;
  background-image: url("iStock-1.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: 110px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.48) 0%,
    rgba(0, 0, 0, 0.30) 20%,
    rgba(0, 0, 0, 0.12) 80%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #ffffff;
}

.hero-kicker {
  color: #ff7a00;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 22px;
  font-weight: 800;
}

.hero-text {
  font-size: 1.15rem;
  max-width: 620px;
  color: #ff7a00;
  margin-bottom: 34px;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.3s ease;
  min-width: 220px;
}

.btn-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
}

.btn-subtitle {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.92;
  line-height: 1.2;
}

.btn-primary {
  background: #ff7a00;
  color: #ffffff;
  border: 2px solid #ff7a00;
}

.btn-primary:hover {
  background: #e56d00;
  border-color: #e56d00;
}

/* ===== SECTION ===== */
.section {
  padding: 110px 0;
}

.section-tag {
  color: #ff7a00;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: #111111;
}

.title-line {
  width: 78px;
  height: 4px;
  background: #ff7a00;
  margin-bottom: 28px;
  border-radius: 10px;
}

.center { text-align: center; }
.center-line { margin: 0 auto 34px; }

/* ===== INTRO ===== */
.intro {
  background: #f7f7f7;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.intro-text p {
  font-size: 1.08rem;
  margin-bottom: 22px;
  color: #202020;
}

.intro-link {
  display: inline-block;
  margin-top: 8px;
  color: #ff7a00;
  font-size: 1.4rem;
  font-weight: 800;
  border-bottom: 2px solid #ff7a00;
  transition: 0.3s ease;
}

.intro-link:hover {
  color: #cc6200;
  border-color: #cc6200;
}

/* ÚJ: szöveg a kép fölé */
.intro-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.intro-side-text {
  text-align: center;
  color: #ff7a00;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1.4;
  padding: 0 12px;
}

.intro-image-wrap {
  width: 100%;
  height: clamp(340px, 52vw, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.06);
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.info-card {
  background: #ffffff;
  padding: 34px 28px;
  min-height: 220px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid #efefef;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-6px);
}

.info-card h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
  color: #111111;
}

.info-card p {
  color: #444444;
  font-size: 1rem;
}

/* ===== REFERENCIÁK ===== */
.services {
  background: #0e0e0e;
}

.services .section-tag,
.services h2 {
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 20px;
  align-items: stretch;
}

.service-box {
  display: block;
  background: #171717;
  border: 1px solid rgba(255, 122, 0, 0.22);
  padding: 34px 28px;
  transition: 0.3s ease;
  color: inherit;
  cursor: pointer;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-6px);
  border-color: #ff7a00;
}

.service-number {
  display: inline-block;
  color: #ff7a00;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-box h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.service-box p {
  color: #d0d0d0;
}

/* ===== KAPCSOLAT ===== */
.contact {
  background: #f3f3f3;
}

.contact-box {
  background: linear-gradient(135deg, #111111 0%, #1b1b1b 100%);
  color: #ffffff;
  border-left: 5px solid #ff7a00;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-box h2 {
  color: #ffffff;
  margin-bottom: 14px;
}

.contact-box p {
  color: #dddddd;
  max-width: 760px;
}

.contact-details {
  margin-top: 14px;
}

.contact-details p {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 6px;
}

/* ===== BELSŐ OLDAL HERO ===== */
.inner-hero {
  position: relative;
  min-height: 72vh;
  background: linear-gradient(135deg, #0f0f0f 0%, #161616 45%, #232323 100%);
  display: flex;
  align-items: center;
  padding: 130px 0 70px;
  overflow: hidden;
}

.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at right center, rgba(255, 122, 0, 0.16), transparent 35%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.30), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.inner-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  gap: 40px;
  align-items: center;
}

.inner-hero-content {
  color: #ffffff;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.inner-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.inner-hero p {
  color: #ebebeb;
  font-size: 1.08rem;
}

.inner-hero-media {
  display: flex;
  justify-content: flex-end;
}

.inner-hero-image {
  width: 100%;
  max-width: 560px;
  height: clamp(240px, 34vw, 420px);
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 122, 0, 0.22);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
}

/* ===== BELSŐ KÁRTYÁK ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.content-card {
  background: #ffffff;
  padding: 28px;
  border: 1px solid #ececec;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.content-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #111111;
}

/* ===== KÉRT CÍMEK ===== */
.intro-center-title {
  text-align: center;
  color: #ff7a00;
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.15rem);
  margin: 26px auto 14px;
  max-width: 1100px;
  padding: 0 16px;
}

.intro-bullets {
  margin: 0 0 22px 18px;
  color: #202020;
}

.intro-bullets li {
  margin-bottom: 10px;
}

.intro-bullets strong {
  font-weight: 800;
}

/* ===== BELSŐ OLDALAK KÁRTYÁI ===== */
.inner-page .services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.inner-page .service-box {
  min-height: 300px;
}

/* ===== GALÉRIA ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.gallery-item {
  position: relative;
  scroll-margin-top: 110px;
}

.gallery-thumb {
  display: block;
  height: 170px;
  border-radius: 10px;
  border: 1px solid #ececec;
  background: #ffffff;
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.gallery-thumb:hover {
  transform: translateY(-4px);
  border-color: rgba(255,122,0,0.55);
}

.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.86);
  z-index: 3000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gallery-item:target .gallery-lightbox {
  display: flex;
}

.gallery-frame {
  position: relative;
  width: min(1100px, 92vw);
  height: min(86vh, 780px);
  border-radius: 14px;
  border: 1px solid rgba(255,122,0,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
  overflow: hidden;
  background: rgba(10,10,10,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-media {
  width: 100%;
  height: 100%;
  background-image: var(--img);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.gallery-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.2s ease;
}

.gallery-close:hover {
  border-color: #ff7a00;
  color: #ff7a00;
}

/* ===== LAPOZÓ NYILAK ===== */
.gallery-prev,
.gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  transition: 0.2s ease;
  z-index: 5;
  color: transparent;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

.gallery-prev::after,
.gallery-next::after {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  transform: translateY(-3px);
}

.gallery-prev::after { content: "‹"; }
.gallery-next::after { content: "›"; }

.gallery-prev:hover,
.gallery-next:hover {
  border-color: #ff7a00;
}

.gallery-prev:hover::after,
.gallery-next:hover::after {
  color: #ff7a00;
}

.gallery-prev.is-disabled::after,
.gallery-next.is-disabled::after {
  color: rgba(255,255,255,0.25);
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  background: #111111;
  border-top: 1px solid rgba(255, 122, 0, 0.35);
  padding: 22px 0 18px;
}

.footer-content {
  text-align: center;
}

.footer-text {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 10px;
}

.footer-link {
  color: #ff7a00;
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;
  transition: 0.25s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .services-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-page .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero,
  .inner-hero {
    padding-top: 150px;
  }

  .intro-grid,
  .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero-media {
    justify-content: flex-start;
  }

  .intro-image-wrap {
    height: 560px;
  }

  .inner-hero-image {
    max-width: 100%;
    height: 340px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .nav-wrap {
    align-items: center;
  }

  .nav {
    justify-content: center;
    gap: 12px 16px;
  }

  .hero,
  .inner-hero {
    padding-top: 150px;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .section {
    padding: 84px 0;
  }

  .services-grid,
  .content-grid,
  .inner-page .services-grid {
    grid-template-columns: 1fr;
  }

  .intro-cards {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .intro-image-wrap {
    height: 420px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-thumb {
    height: 160px;
  }

  .inner-page .service-box {
    min-height: auto;
  }

  .inner-hero-image {
    height: 260px;
  }

  .footer-text {
    font-size: 0.95rem;
  }

  .site-footer {
    padding: 18px 0 16px;
  }
}

@media (max-width: 520px) {
  .logo-img {
    height: 32px;
  }

  .nav a {
    font-size: 0.82rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-kicker,
  .section-tag {
    letter-spacing: 1px;
  }

  .intro-image-wrap {
    height: 300px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-thumb {
    height: 190px;
  }

  .gallery-prev,
  .gallery-next {
    width: 46px;
    height: 46px;
  }

  .contact-box {
    padding: 24px 18px;
  }

  .footer-text {
    font-size: 0.92rem;
  }
}

/* ====== VISSZA LINK A GYŰJTŐOLDALRA ====== */
.back-nav {
  padding: 28px 0;
  background: #f4f4f4;
}

.back-link,
.back-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(255, 122, 0, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  color: #111111;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: 0.25s ease;
  text-decoration: none;
}

.back-link::before {
  content: "←";
  color: #ff7a00;
  font-size: 1.1rem;
  line-height: 1;
}

.back-link:hover {
  color: #ff7a00;
  border-color: #ff7a00;
  transform: translateY(-2px);
}

@media (max-width: 760px) {
  .back-nav {
    padding: 22px 0;
  }

  .back-link,
  .back-link:visited {
    font-size: 0.86rem;
    padding: 10px 14px;
  }
}

.footer-gap {
  margin-left: 14px;
  display: inline-block;
}