/* 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;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* 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;
}

@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);
  }
}

/*-----------------------------------------------------------------------------------------------------------*/


/* Termékek szekció */
.products-section {
  max-width: 1150px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.products-section h2 {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  color:  #F7DA8F;  
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px,1fr));
  gap: 1.8rem;
}

.product-card {
  background-color: #202020;;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none;
  color: #111;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-content {
  padding: 1rem 1.2rem;
  flex-grow: 1;
}

.card-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: #F7DA8F;
}

.card-content p {
  font-size: .9rem;
  color: #ffffff;
}

/* Hover effekt */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Mobil optimalizálás */
@media (max-width: 640px) {
  .products-section h2 {
    font-size: 1.9rem;
  }
  .product-card img {
    height: 150px;
  }
}





/* === 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;
  }
}
