/* --- ALAPOK --- */
:root {
  --red: #b3212e;
  --white: #fff;
  --black: #111;
}

/* --- OLDAL TÖRZSE --- */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #111;
  line-height: 1.6;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.9), rgba(240,240,240,0.96)),
    url('../images/metal-bg.jpg') center/cover fixed no-repeat;
}

main {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* --- HERO SZEKCIÓ --- */
.hero {
  position: relative;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem 5rem;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  overflow: hidden;
}

/* halvány fátyol a kép fölött */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
  z-index: 0;
}

/* minden tartalom a fátyol fölött */
.hero * {
  position: relative;
  z-index: 1;
}

/* --- Kaputelefonos hívás animáció --- */
.hero-call-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}

.phone-icon {
  color: var(--red);
  z-index: 2;
  animation: ringShake 1.6s ease-in-out infinite;
}

.pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--red);
  opacity: 0.5;
  transform: translate(-50%, -50%);
  animation: pulseWave 2s ease-out infinite;
  z-index: 1;
}

/* Animációk */
@keyframes ringShake {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(5deg); }
  60% { transform: rotate(-5deg); }
  70%, 100% { transform: rotate(0deg); }
}

@keyframes pulseWave {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
  70% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--red);
}

.hero p {
  font-size: 1.15rem;
  color: #eee;
  margin-bottom: 1.5rem;
}

/* --- GOMBOK --- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.2rem;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.btn-red:hover {
  background: #a00d19;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-outline {
  border: 2px solid #000;
  color: #000;
}

.btn-outline:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

/* --- BEMUTATKOZÁS --- */
.intro-box {
  background: #f8f8f8;
  border-left: 5px solid var(--red);
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.6);
  max-width: 1000px;
  margin: 2.5rem auto;
  padding: 1.8rem;
}

.intro-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro-text h2 {
  color: var(--black);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.intro-text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 0.8rem;
}

/* --- KAPUTELEFON AZONOSÍTÓ OLDAL --- */
.azonosito {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-box {
  background: #f8f8f8;
  border-left: 5px solid var(--red);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.info-box h1 {
  margin-top: 0;
  color: var(--black);
}

.info-box p {
  color: #444;
  line-height: 1.7;
  margin: 0.5rem 0 0;
}

/* --- KAPCSOLAT OLDAL --- */
.kapcsolat-container {
  text-align: center;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.kapcsolat-container h1 {
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: 0.75rem;
  color: var(--black);
}

.kapcsolat-intro {
  color: #555;
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  justify-content: center;
  align-items: stretch;
}

.contact-box {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 5px solid var(--red);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-box h2 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--red);
}

.contact-box a {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.contact-box a:hover {
  color: var(--red);
}

/* --- KIS GALÉRIA --- */
.mini-gallery {
  max-width: 700px;
  margin: 2rem auto 0;
  text-align: center;
}

.mini-gallery h3 {
  margin-bottom: 1rem;
  color: var(--black);
}

.mini-gallery-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.mini-gallery-track {
  width: 100%;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}

.mini-gallery-item {
  display: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: opacity .3s ease;
}

.mini-gallery-item.active {
  display: block;
}

.mini-gallery-item img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.mini-gallery-item p {
  margin: 0;
  padding: 0.6rem 0.9rem 0.9rem;
  font-size: 0.9rem;
  color: #333;
}

.mg-btn {
  background: #fff;
  border: 1px solid #ddd;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
  color: #333;
}

.mg-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.mini-gallery-dots {
  display: flex;
  justify-content: center;
  gap: .4rem;
  margin-top: .8rem;
}

.mg-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ccc;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.mg-dot.active {
  background: var(--red);
  transform: scale(1.2);
}

@media (max-width: 600px) {
  .mini-gallery-item img {
    height: 190px;
  }
  .mini-gallery-wrapper {
    gap: .25rem;
  }
}
  .mini-gallery-wrapper {
    gap: .25rem;
  }
}

/* --- LIGHTBOX NAGYÍTÁS --- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: zoom-out;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.hero h1,
.hero p {
    font-family: 'Poppins', sans-serif !important;
}

.hero p {
    color: #000 !important;
    font-weight: 500;   /* kellemes vastagság */
    text-shadow: none !important;
}

.hero h1 {
    font-weight: 600;   /* erősebb, de nem túl durva */
}

