/* Színek */
:root {
  --dark: #202020;
  --gray: #515151;
  --gold-light: #F7DA8F;
  --gold-mid: #C1A459;
  --gold-dark: #A3834C;
}

/* Alap reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: url("pics/bgcImage.png") center/cover no-repeat fixed;
  background-color: #202020; /* ha nem tölt be a kép */
  color: white;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  
}

/*--------------------------------------------------*/

/* Navigáció */
header {
  background: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px;
  border-radius: 5px;
}


/* Alap stílusok */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: #111;
    flex-direction: column;
    width: 220px;
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #1a73e8;
  padding: 1rem 2rem;
}

.navbar .logo {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.navbar .nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar .nav-links a:hover,
.navbar .nav-links a.active {
  color: #ffdd57;
}


/*------------------------------------------------------------------------------------*/

/* ===== BLOG PAGE ===== */
h1{
text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color:  #F7DA8F;  
  margin-bottom: 2rem;
}

.blog-page {
  padding: 6rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

/* Hero */
.blog-hero {
  text-align: center;
  margin-bottom: 4.5rem;
}

.blog-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--gold-light);
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.blog-hero p {
  color: #aaa;
  font-size: 1.05rem;
}

/* Grid */
.blog-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  display: grid;
  justify-items: center;
}

/* Card */
.blog-card {
  max-width: 60%;
  margin: 0 auto;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0.4)
  );
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(193,164,89,0.12), transparent 60%);
  opacity: 0;
  transition: 0.4s;
  pointer-events: none;

}

.blog-card:hover::after {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(193,164,89,0.25);
}

/* Image */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
}

/* Content */
.blog-content {
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-content h2 {
  color: var(--gold-light);
  margin: 0.6rem 0 0.8rem;
  font-size: 1.35rem;
}

.blog-content p {
  color: #bbb;
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}

/* Button */
.blog-btn {
  margin-top: 1.2rem;
  align-self: flex-start;
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-mid), var(--gold-dark));
  color: black;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(247,218,143,0.35);
}


/* === Footer (modern prémium stílus) === */
footer {
  position: relative;
  background: linear-gradient(to right, #1a1a1a, #202020, #1a1a1a);
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* Finom arany fénycsík animáció */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
  animation: moveLight 5s linear infinite;
  opacity: 0.8;
}

/* Fénycsík mozgása */
@keyframes moveLight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(50%);
  }
}

/* Szöveg stílus */
footer p {
  margin: 0;
  z-index: 2;
  position: relative;
  color: #ddd;
}

footer p span {
  color: var(--gold-light);
  font-weight: bold;
}




footer.is-visible {
  animation: glowFooter 2s ease;
}

@keyframes glowFooter {
  0% {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
  }
  100% {
    box-shadow: none;
  }
}