/* ============================================================
   VISEGRÁDI JÉGPÁLYA – style.css
   Fehér alap, kék akcentek, téli hangulat
   ============================================================ */
:root {
  --white:    #ffffff;
  --offwhite: #f4f7fb;
  --light:    #e8eef6;
  --border:   #d0daea;
  --blue:     #1a4a8a;
  --blue-lt:  #2560b0;
  --blue-dim: #0f2d5a;
  --ice:      #e0eaf8;
  --red:      #cc1122;
  --dark:     #1a2436;
  --muted:    #6b7a92;
  --text:     #1e2b3e;
  --ff-head:  'Playfair Display', Georgia, serif;
  --ff-body:  'Raleway', sans-serif;
  --max:      1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--ff-body);
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ── TOP BAR ── */
.topbar {
  background: var(--blue-dim);
  padding: 8px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; gap: 24px; }
.topbar a { color: rgba(255,255,255,0.75); }
.topbar-phone { color: #fff !important; font-weight: 700; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 2px 16px rgba(26,74,138,0.10);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--ff-head); font-size: 22px; font-weight: 700; color: var(--blue); letter-spacing: 0.02em; }
.logo-main span { color: var(--red); }
.logo-sub { font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

nav ul { display: flex; list-style: none; gap: 4px; }
nav ul li a {
  display: block; padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: color .2s; position: relative;
}
nav ul li a::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s;
}
nav ul li a:hover { color: var(--blue); }
nav ul li a:hover::after, nav ul li a.active::after { transform: scaleX(1); }
nav ul li a.active { color: var(--blue); }
.nav-cta-btn { background: var(--blue) !important; color: var(--white) !important; padding: 10px 22px !important; font-weight: 700 !important; transition: background .2s !important; }
.nav-cta-btn::after { display: none !important; }
.nav-cta-btn:hover { background: var(--blue-lt) !important; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 26px; height: 2px; background: var(--blue); border-radius: 2px; }

/* ── PAGE HERO (aloldalak) ── */
.page-hero {
  background: var(--blue-dim);
  padding: 56px 0 48px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(26,74,138,0.3) 0%, transparent 70%);
}
.page-hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: #a0c4ff; margin-bottom: 12px; position: relative; }
.page-hero h1 { font-family: var(--ff-head); font-size: clamp(32px,5vw,52px); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 16px; position: relative; }
.page-hero-divider { width: 60px; height: 2px; background: #a0c4ff; margin: 0 auto 16px; position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 15px; position: relative; }

/* ── SECTIONS ── */
.section { padding: 80px 0; }
.section-light { background: var(--offwhite); }

.section-head { text-align: center; margin-bottom: 52px; }
.section-eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.section-head h2 { font-family: var(--ff-head); font-size: clamp(26px,4vw,40px); font-weight: 700; color: var(--text); line-height: 1.15; margin-bottom: 14px; }
.section-head .divider { width: 60px; height: 3px; background: var(--blue); margin: 0 auto 18px; }
.section-head p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 15px; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--ff-body); font-size: 13px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; padding: 13px 28px; transition: all .25s; cursor: pointer; border: none; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue-lt); }
.btn-outline { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.45); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-white { background: var(--white); color: var(--blue); }
.btn-white:hover { background: var(--offwhite); }
.btn-white-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-white-outline:hover { border-color: var(--white); }

/* ── NOTE BOX ── */
.note-box { border-left: 3px solid var(--blue); padding: 18px 24px; background: var(--ice); margin-top: 24px; }
.note-box p { font-size: 14px; color: var(--muted); margin-bottom: 6px; line-height: 1.6; }
.note-box p:last-child { margin-bottom: 0; }

/* ── ICON BAR ── */
.icon-bar { background: var(--blue); }
.icon-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid rgba(255,255,255,0.15); }
.icon-item { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-right: 1px solid rgba(255,255,255,0.15); transition: background .2s; }
.icon-item:hover { background: rgba(255,255,255,0.06); }
.icon-item-icon { font-size: 26px; flex-shrink: 0; }
.icon-item-title { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--white); margin-bottom: 2px; }
.icon-item-sub { font-size: 12px; color: rgba(255,255,255,0.6); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--blue); padding: 60px 0; text-align: center; }
.cta-banner h2 { font-family: var(--ff-head); font-size: clamp(24px,3.5vw,38px); font-weight: 700; color: var(--white); margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 16px; margin-bottom: 28px; font-weight: 300; }

/* ── FOOTER ── */
footer { background: var(--dark); border-top: 3px solid var(--blue); }
.footer-top { padding: 56px 0 44px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.footer-logo-main { font-family: var(--ff-head); font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.footer-logo-main span { color: #a0c4ff; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contact-icon { color: #a0c4ff; flex-shrink: 0; margin-top: 2px; }
.footer-contact-text { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.footer-contact-text a { color: rgba(255,255,255,0.45); transition: color .2s; }
.footer-contact-text a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color .2s; }
.footer-legal a:hover { color: var(--white); }
.footer-gokart-link { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-gokart-link a { color: #a0c4ff; transition: color .2s; }
.footer-gokart-link a:hover { color: var(--white); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .topbar { display: none; }
  .hamburger { display: flex; }
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--blue); padding: 12px 0; z-index: 300; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
  nav.open ul { flex-direction: column; gap: 0; }
  nav.open ul li a { padding: 12px 24px; color: var(--text); }
  .icon-bar-inner { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .icon-bar-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
