/* Alap reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Alap betű és háttér */
body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Fejléc */
header {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0)
    ),
    url("kepek/header.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: white;
  padding: 20px 20px;
}


/* Menü egy sorban */
.topbar nav ul {
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar nav a {
  text-decoration: none;
  color: inherit; /* maradjon a világos szín, ami eddig volt */
  font-weight: inherit; /* maradjon az eredeti */
}

section h2 {
  margin-bottom: 15px;
  color: #2f3e46;
  text-align: center;
}

header h1 {
  margin-bottom: 5px;
}

.logo {
  max-width: 100px;
  height: auto;
}

#logo-link {
  position: fixed;
  display: inline-block;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

#logo-link:hover {
  opacity: 0.9;
}


header p {
  font-size: 0.9rem;
  opacity: 0.9;
}

header {
  padding-top: 60px;
}

/* Menü */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav a:hover {
  text-decoration: underline;
}

/* Fő tartalom */
main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Szekciók */
section {
  margin-bottom: 50px;
}

section h2 {
  margin-bottom: 15px;
  color: #2f3e46;
}

/* Termékkártyák */
.kategoriak {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.kartya {
  background-color: white;
  padding: 30px;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.kartya:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Kisokos lista */
#kisokos ul {
  list-style: disc;
  padding-left: 20px;
}

/* Kapcsolat */
#kapcsolat p {
  margin-bottom: 5px;
}

.kapcsolat-container {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.kapcsolat-terkep {
  flex: 1 1 300px;
}

.kapcsolat-adatok {
  flex: 1 1 300px;
}

.kapcsolat-adatok p {
  margin-bottom: 10px;
}


#rolunk-mondtak {
  padding: 40px 20px;
  text-align: center;
  border-radius: 6px;
  margin-bottom: 40px;
}

#rolunk-mondtak h2 {
  margin-bottom: 25px;
  color: #2f3e46;
}

#rolunk-mondtak .idezetek blockquote {
  font-style: italic;
  margin: 15px auto;
  position: relative;
  padding: 20px;
  background-color: white;
  border-left: 4px solid #2f3e46;
  border-radius: 6px;
}

#rolunk-mondtak .idezetek {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

#partnereink {
  padding: 40px 20px;
  text-align: center;
}

#partnereink h2 {
  color: #2f3e46;
  margin-bottom: 30px;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;       /* mobilon sorba törik */
  justify-content: center;
  align-items: center;
  gap: 30px;             /* logók közti távolság */
}

.partner-logos img {
  max-height: 60px;      /* logó magassága */
  width: auto;
  object-fit: contain;
}


/* Lábléc */

footer {
  background-color: #2f3e46;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 20px;
}

.footer-column {
  flex: 1 1 200px; /* rugalmas szélesség, minimum 200px */
}

.footer-column h3 {
  margin-bottom: 15px;
}

.footer-column a {
  color: white;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-column ul {
  list-style: none;
  padding-left: 0;
}

.footer-copy {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.why-us {
  padding: 60px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.why-us h2 {
  font-size: 32px;
  margin-bottom: 40px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-us-item img {
  width: 64px;
  height: auto;
  margin-bottom: 20px;
}

.why-us-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.why-us-item p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  max-width: 280px;
  margin: 0 auto;
}

.why-us-item {text-align: center;}

@media (max-width: 768px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   TERMÉK OLDAL – 2 OSZLOP
   ========================= */

.termek-oldal {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.termek-kontener {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* BAL OSZLOP */
.termek-bal h2 {
  margin-bottom: 20px;
}

.termek-kep {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* JOBB OSZLOP */
.termek-jobb h3 {
  margin-bottom: 15px;
}

.termek-jobb p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.termek-jobb ul {
  margin-top: 20px;
  padding-left: 20px;
}

.termek-jobb li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .termek-kontener {
    grid-template-columns: 1fr;
  }

  .termek-kep {
    max-width: 100%;
  }
}

.keraflexadatlap-link {
  margin-top: 20px;
  font-size: 0.95rem;
}

.keraflexadatlap-link a {
  color: #c00;
  font-weight: 600;
  text-decoration: underline;
}

.keraflexadatlap-link a:hover {
  text-decoration: none;
}

.price {
  margin-top: 20px;
  font-size: 18px;
}

.akcios-ar {
  color: red;
  font-size: 2em;
  font-weight: bold;
}

.shop-button {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 20px;
  background-color: #2f3e46;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.shop-button:hover {
  background-color: #333;
}

.featured-products {
  margin: 60px 0;
  text-align: center;
}

.product-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.product-card {
  width: 260px;
  height: 420px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card img {
  width: 100%;
  height: auto;
  margin: 15px 0;
}

.product-card h3 {
 min-height: 3em;
 line-height: 1.5em;
  overflow: hidden;
}

.product-price {
  color: red;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 10px;
}

.product-image {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img{
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.btn-details {
  display: inline-block;
  padding: 10px 18px;
  background: #333;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.btn-details:hover {
  background: #555;
}

.list-card h3 {
  text-align: center;
  margin-bottom: 0;
}

.list-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.list-card li {
  text-align: left;
  margin-bottom: 6px;
}

.product-card.list-card{
  height: auto;
}

.product-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  align-items: start;
}

.work-card {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 120px;
  padding: 20px;

  text-align: center;
  font-size: 18px;
  font-weight: 600;

  text-decoration: none;
  color: #111;

  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;

  transition: box-shadow 0.2s ease,
  transform 0.2s ease;
}

.work-card:hover {
  box-shadow: 0 6px 18px
  rgba(0, 0, 0, 12);
  transform: translateY(-2px);
}

.work-grid {
  display: grid;
  grid-template-columns:
  repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}