/*
 Theme Name: EnjoyBudapest
 Theme URI: https://enjoybudapest.nl
 Author: ChatGPT & Krisztián
 Description: Black + neon party style theme for EnjoyBudapest.nl
 Version: 1.0
 Text Domain: enjoybudapest
*/

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
  background: #000;
  color: #fff;
}

a {
  color: #ff0066;
  text-decoration: none;
}

/* ===== HERO – 1 képernyő, videóval ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,0,102,0.3), rgba(0,0,0,0.9) 70%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 0 7vw;
}

.hero-text small {
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .7rem;
  opacity: .8;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  margin: .6rem 0 1rem;
  line-height: 1.02;
}

.hero-text p {
  max-width: 500px;
  opacity: .9;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  background: #ff0066;
  color: #fff;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  transition: .2s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255,0,102,.45);
}

/* ===== 6 kártyás szekció ===== */
.sections-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  padding: 4.5rem 7vw 5rem;
  background: radial-gradient(circle at 50% 0%, rgba(255,0,102,0.04), rgba(0,0,0,1) 50%);
}

.section-card {
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 55px rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.section-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.section-card .card-body {
  padding: 1.35rem 1.3rem 1.6rem;
}

.section-card h2 {
  margin: 0 0 .5rem;
  font-size: 1.35rem;
}

.section-card p {
  margin: 0 0 1rem;
  color: rgba(255,255,255,0.6);
  font-size: .9rem;
}

.section-card .card-link {
  color: #ff0066;
  font-weight: 600;
  text-decoration: none;
}
.section-card .card-link:hover {
  text-decoration: underline;
}

/* ===== LÁBLÉC ===== */
.footer {
  padding: 2.5rem 7vw 3.5rem;
  text-align: center;
  opacity: .4;
  font-size: .8rem;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    align-items: flex-end;
  }
  .hero-text {
    padding: 0 1.5rem 3rem;
  }
  .sections-wrap {
    grid-template-columns: 1fr;
    padding: 3rem 1.3rem 4rem;
  }
}
/* kattintható kártyák */
.section-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease-out, box-shadow .15s ease-out;
}
.section-card-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.section-card-link .card-link-text {
  display: inline-block;
  margin-top: .5rem;
  color: #ff0066;
  font-weight: 600;
}
/* --- CTA bar (Fly & Hotel) --- */
.cta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 3.5rem 0 2.5rem;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 0.8rem 2.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 0 25px rgba(255,255,255,0.05);
}

/* Bal oldali – Fly */
.cta-fly {
  background: linear-gradient(90deg, #0099ff, #00ccff);
  color: #fff;
}
.cta-fly:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0,170,255,0.5);
}

/* Jobb oldali – Hotel */
.cta-hotel {
  background: linear-gradient(90deg, #ff0066, #ff3399);
  color: #fff;
}
.cta-hotel:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255,0,102,0.5);
}

/* Mobil optimalizálás */
@media (max-width: 768px) {
  .cta-bar {
    flex-direction: column;
    gap: 1rem;
  }
  .cta-btn {
    width: 80%;
    text-align: center;
  }
}
/* CTA bar finomhangolás */
.cta-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 2.5rem 0 1.4rem; /* kisebb lett */
  flex-wrap: wrap;
}

/* Kártyák tetején kisebb padding */
.sections-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  padding: 2.4rem 7vw 5rem; /* FELÜL 2.4rem volt 4.5 helyett */
  background: radial-gradient(circle at 50% 0%, rgba(255,0,102,0.04), rgba(0,0,0,1) 50%);
}
.cta-label {
  width: 100%;
  text-align: center;
  margin-bottom: .4rem;
  opacity: .55;
  font-size: .8rem;
  letter-spacing: .02em;
}
/* --- Kártya hover finomítás --- */
.section-card-link {
  position: relative;
  overflow: hidden;
}

.section-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(255,0,102,0.12), rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity .25s ease-out;
  z-index: 0;
}

.section-card-link:hover::after {
  opacity: 1;
}

.section-card-link img {
  transition: transform .25s ease-out;
}

.section-card-link:hover img {
  transform: scale(1.03);
}

.section-card-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(0,0,0,.4);
  border: 1px solid rgba(255,0,102,0.25);
}
/* ==== FIX TOP NAV ==== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.main-header .logo a {
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: .05em;
}

.main-header .logo span {
  color: #ff0066;
}

.main-header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color .2s ease;
}

.main-header nav a:hover {
  color: #00b7ff;
}

/* hogy a hero ne csússzon a fix menü alá */
.hero {
  margin-top: 4rem;
}
/* hogy az aloldal tartalma ne menjen a fix menü alá */
body:not(.home) .site-main,
body:not(.home) main {
  padding-top: 4.5rem;
}
/* ==== FIX TOP NAV – csak aloldalakon ==== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.main-header .logo a {
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: .05em;
}

.main-header .logo span {
  color: #ff0066;
}

.main-header nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 1.3rem;
  font-size: 0.9rem;
  transition: color .2s ease;
  white-space: nowrap;
}

.main-header nav a:hover {
  color: #00b7ff;
}

/* hogy az aloldal tartalma ne menjen a fix menü alá */
body:not(.home) .site-main,
body:not(.home) main {
  padding-top: 4.5rem;
}

/* mobil */
@media (max-width: 820px) {
  .main-header {
    flex-wrap: wrap;
    gap: .6rem;
  }
  .main-header nav a {
    margin-left: .8rem;
    font-size: .85rem;
  }
}
/* a főoldalon sose látszódjon a felső menü */
body.home .main-header {
  display: none;
}
/* mobilon ne lógjon ki a menü */
@media (max-width: 900px) {
  .main-header {
    flex-wrap: wrap;
    gap: .4rem 1rem;
  }

  .main-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1rem;
  }

  .main-header nav a {
    margin-left: 0;
    font-size: .85rem;
  }
}

@media (max-width: 540px) {
  .main-header {
    justify-content: center;
    text-align: center;
  }
  .main-header nav {
    justify-content: center;
  }
}
/* MOBIL MENÜ – KÉT SOR, KÖZÉPEN */
@media (max-width: 768px) {
  .main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .6rem 1rem 0.8rem;
    text-align: center;
  }

  .main-header .logo {
    margin-bottom: .2rem;
  }

  .main-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .4rem .9rem;
  }

  .main-header nav a {
    margin: 0;
    font-size: .78rem;
    white-space: nowrap;
  }

  /* hogy a tartalom ne menjen a menü alá mobilon */
  body:not(.home) .site-main,
  body:not(.home) main {
    padding-top: 5.2rem;
  }
}
/* FŐOLDALON NE LEGYEN FENT ÜRES CSÍK */
body.home .hero {
  margin-top: 0;
  padding-top: 0;
}
body.home main {
  padding-top: 0;
}
/* --- DESKTOP MENÜ FIX, HOGY A "TIPS" IS BEFÉRJEN --- */
@media (min-width: 1024px) {
    .main-header {
        padding: 0.6rem 1.2rem;
        /* kevesebb hely megy el jobbra-balra */
    }

    .main-header nav {
        gap: 0.7rem;
        /* kisebb hézag a linkek között */
    }

    .main-header nav a {
        font-size: 0.9rem;
        /* picit kisebb betű */
    }

    /* utolsó linket húzzuk picit befelé */
    .main-header nav a:last-child {
        margin-right: 0;
    }
}
/* ha szűk a hely (adminbar miatt), engedd a törést desktopon is */
@media (min-width: 1024px) {
    .main-header {
        display: flex;
        gap: 1rem;
    }

    .main-header nav {
        display: flex;
        flex-wrap: wrap;
        /* <<< EZ A LÉNYEG */
        gap: 0.7rem 1.2rem;
        max-width: calc(100vw - 220px);
        /* hagyjunk helyet a logónak + admin sávnak */
    }

    .main-header nav a {
        white-space: nowrap;
        font-size: 0.9rem;
    }
}
