/* ==========================================================================
   TIMARDAVID.HU – KÖZPONTI STÍLUSLAP
   --------------------------------------------------------------------------
   Ez a fájl adja az egész oldal kinézetét. Minden aloldal ezt tölti be.
   A színeket egy helyen, lent a ":root" részben tudod átírni – onnantól
   az egész oldal az új színekkel jelenik meg.
   ========================================================================== */

/* ----- SZÍNEK ÉS ALAPBEÁLLÍTÁSOK (itt szabhatod személyre) -------------- */
:root {
  --erdo-sotet:   #14342b;   /* fejléc, lábléc, sötét hátterek */
  --erdo:         #1f5c46;   /* fő zöld szín */
  --erdo-vilagos: #3a8f6c;   /* világosabb zöld, hover-effektek */
  --borostyan:    #e0a02e;   /* meleg arany-sárga kiemelőszín */
  --rozsda:       #c1622f;   /* rozsdavörös, második kiemelőszín */
  --viz-kek:      #2e6f8e;   /* horgászat-szekció kékje */
  --krem:         #faf6ee;   /* oldal háttere */
  --papir:        #ffffff;   /* kártyák háttere */
  --tinta:        #26302b;   /* szövegszín */
  --tinta-halvany:#5b6862;   /* halványabb szöveg */
  --arnyek: 0 10px 30px rgba(20, 52, 43, .12);
  --lekerekites: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  background: var(--krem);
  color: var(--tinta);
  line-height: 1.7;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--erdo-sotet);
  line-height: 1.25;
}

img { max-width: 100%; display: block; }

a { color: var(--erdo); }

/* ==========================================================================
   FEJLÉC ÉS MENÜ
   ========================================================================== */
.fejlec {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 52, 43, .92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 14px rgba(0,0,0,.25);
}

.fejlec-belso {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo svg { width: 42px; height: 42px; }

.logo-szoveg {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
}

.logo-szoveg span { color: var(--borostyan); }

.menu {
  display: flex;
  gap: 6px;
  list-style: none;
}

.menu a {
  display: block;
  padding: 9px 16px;
  color: #e8efe9;
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  transition: background .25s, color .25s;
}

.menu a:hover { background: rgba(255,255,255,.12); }

.menu a.aktiv {
  background: var(--borostyan);
  color: var(--erdo-sotet);
}

/* Mobil menü gomb */
.menu-gomb {
  display: none;
  background: none;
  border: 2px solid rgba(255,255,255,.4);
  border-radius: 10px;
  color: #fff;
  font-size: 1.4rem;
  padding: 4px 12px;
  cursor: pointer;
}

/* ==========================================================================
   HERO (nyitó nagy kép a főoldalon)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-hatter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-tartalom {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px;
  width: 100%;
}

.hero-doboz {
  max-width: 620px;
  background: rgba(20, 52, 43, .78);
  backdrop-filter: blur(4px);
  padding: 38px 42px;
  border-radius: var(--lekerekites);
  border-left: 6px solid var(--borostyan);
}

.hero-doboz h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  margin-bottom: 14px;
}

.hero-doboz p {
  color: #dfe9e2;
  font-size: 1.1rem;
  margin-bottom: 26px;
}

/* Gombok */
.gomb {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .25s;
}

.gomb:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }

.gomb-arany { background: var(--borostyan); color: var(--erdo-sotet); }
.gomb-attetszo {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  margin-left: 10px;
}

/* ==========================================================================
   ALOLDALI FEJLÉCSÁV (kisebb hero az aloldalakon)
   ========================================================================== */
.oldal-fejsav {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.oldal-fejsav .hero-hatter { filter: saturate(1.05); }

.oldal-fejsav-cim {
  position: relative;
  z-index: 1;
  width: 100%;
  background: linear-gradient(transparent, rgba(16, 40, 33, .88));
  padding: 90px 0 30px;
}

.oldal-fejsav-cim .konten { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.oldal-fejsav-cim h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
}

.oldal-fejsav-cim p { color: #d8e4dc; font-size: 1.05rem; max-width: 720px; }

/* ==========================================================================
   TARTALMI SZEKCIÓK
   ========================================================================== */
.szekcio {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px;
}

.szekcio-cim {
  text-align: center;
  margin-bottom: 44px;
}

.szekcio-cim h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 10px;
}

.szekcio-cim .alcim {
  color: var(--tinta-halvany);
  max-width: 640px;
  margin: 0 auto;
}

.szekcio-cim::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--borostyan);
  margin: 18px auto 0;
}

/* Kártyarács (főoldali három téma) */
.kartya-racs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.kartya {
  background: var(--papir);
  border-radius: var(--lekerekites);
  overflow: hidden;
  box-shadow: var(--arnyek);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}

.kartya:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(20,52,43,.2); }

.kartya img { height: 210px; width: 100%; object-fit: cover; }

.kartya-szoveg { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }

.kartya-szoveg h3 { font-size: 1.4rem; margin-bottom: 10px; }

.kartya-szoveg p { color: var(--tinta-halvany); flex: 1; }

.kartya-szoveg .gomb { margin-top: 20px; align-self: flex-start; padding: 10px 24px; }

/* Kétoszlopos szöveg + kép blokk */
.ketosztott {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 60px;
}

.ketosztott:last-child { margin-bottom: 0; }

.ketosztott.forditott > .kep { order: 2; }

.ketosztott .kep img {
  border-radius: var(--lekerekites);
  box-shadow: var(--arnyek);
  width: 100%;
}

.ketosztott h3 { font-size: 1.6rem; margin-bottom: 14px; }

.ketosztott p { margin-bottom: 14px; }

/* Kiemelt idézet */
.idezet {
  background: linear-gradient(135deg, var(--erdo-sotet), var(--erdo));
  color: #eaf3ed;
  border-radius: var(--lekerekites);
  padding: 46px 50px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  text-align: center;
  position: relative;
  box-shadow: var(--arnyek);
}

.idezet::before {
  content: "\201E";
  font-size: 4.5rem;
  color: var(--borostyan);
  position: absolute;
  top: -6px;
  left: 26px;
  font-style: normal;
}

.idezet .szerzo {
  display: block;
  margin-top: 14px;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-style: normal;
  font-size: .95rem;
  color: var(--borostyan);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Információs dobozok (pl. szezonok, fajok, tippek) */
.info-racs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}

.info-doboz {
  background: var(--papir);
  border-radius: var(--lekerekites);
  padding: 26px 26px 24px;
  box-shadow: var(--arnyek);
  border-top: 5px solid var(--erdo-vilagos);
}

.info-doboz.arany  { border-top-color: var(--borostyan); }
.info-doboz.rozsda { border-top-color: var(--rozsda); }
.info-doboz.kek    { border-top-color: var(--viz-kek); }

.info-doboz .ikon { font-size: 2rem; margin-bottom: 10px; }

.info-doboz h4 { font-size: 1.15rem; margin-bottom: 8px; }

.info-doboz p, .info-doboz li { color: var(--tinta-halvany); font-size: .97rem; }

.info-doboz ul { padding-left: 20px; margin-top: 6px; }

/* Sávos kiemelt szekció (színes háttérrel) */
.szines-sav { background: linear-gradient(135deg, var(--erdo-sotet) 0%, var(--erdo) 100%); }

.szines-sav.kek { background: linear-gradient(135deg, #16394a 0%, var(--viz-kek) 100%); }

.szines-sav.rozsda { background: linear-gradient(135deg, #6d3317 0%, var(--rozsda) 100%); }

.szines-sav .szekcio-cim h2 { color: #fff; }
.szines-sav .szekcio-cim .alcim { color: rgba(255,255,255,.75); }
.szines-sav p, .szines-sav li { color: rgba(255,255,255,.88); }

.szines-sav .info-doboz {
  background: rgba(255,255,255,.08);
  border-top-color: var(--borostyan);
  box-shadow: none;
}

.szines-sav .info-doboz h4 { color: #fff; }
.szines-sav .info-doboz p, .szines-sav .info-doboz li { color: rgba(255,255,255,.82); }

/* ==========================================================================
   GALÉRIA
   ========================================================================== */
.galeria-racs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.galeria-elem {
  position: relative;
  border-radius: var(--lekerekites);
  overflow: hidden;
  box-shadow: var(--arnyek);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: #dde7e0;
}

.galeria-elem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}

.galeria-elem:hover img { transform: scale(1.06); }

.galeria-elem .felirat {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(16,40,33,.85));
  color: #fff;
  padding: 26px 16px 12px;
  font-size: .95rem;
  font-weight: 600;
}

/* Nagyítós nézet (lightbox) */
.nagyito {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 19, .93);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 30px;
  flex-direction: column;
  gap: 14px;
}

.nagyito.nyitva { display: flex; }

.nagyito img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.nagyito .nagyito-felirat { color: #d9e5dd; font-size: 1.05rem; }

.nagyito .bezar {
  position: absolute;
  top: 18px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   KAPCSOLAT
   ========================================================================== */
.kapcsolat-racs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}

.kapcsolat-kartya {
  background: var(--papir);
  border-radius: var(--lekerekites);
  padding: 34px 36px;
  box-shadow: var(--arnyek);
}

.kapcsolat-kartya h3 { margin-bottom: 16px; }

.kapcsolat-sor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed #e2ddd0;
}

.kapcsolat-sor:last-child { border-bottom: none; }

.kapcsolat-sor .ikon { font-size: 1.5rem; }

/* Egyszerű űrlap (e-mail programot nyit meg) */
.urlap label { font-weight: 700; display: block; margin: 14px 0 6px; }

.urlap input, .urlap textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2ddd0;
  border-radius: 12px;
  font: inherit;
  background: #fffdf8;
}

.urlap input:focus, .urlap textarea:focus {
  outline: none;
  border-color: var(--erdo-vilagos);
}

.urlap button {
  margin-top: 18px;
  border: none;
  cursor: pointer;
  font: inherit;
}

/* ==========================================================================
   LÁBLÉC
   ========================================================================== */
.lablec {
  background: var(--erdo-sotet);
  color: #b9cdc1;
  margin-top: 40px;
}

.lablec-belso {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 24px 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.lablec h4 { color: #fff; margin-bottom: 12px; font-size: 1.1rem; }

.lablec a { color: #cfe0d5; text-decoration: none; }
.lablec a:hover { color: var(--borostyan); }

.lablec ul { list-style: none; }
.lablec li { padding: 4px 0; }

.lablec-also {
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  padding: 16px 24px;
  font-size: .9rem;
  color: #8fa89b;
}

/* ==========================================================================
   ANIMÁCIÓ – görgetéskor finoman beúszó elemek
   ========================================================================== */
.beuszo {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.beuszo.latszik { opacity: 1; transform: none; }

/* ==========================================================================
   KARBANTARTÁSI OLDAL
   ========================================================================== */
.karbantartas-test {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--erdo-sotet), var(--erdo));
  padding: 24px;
}

.karbantartas-doboz {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  max-width: 560px;
  padding: 50px 46px;
  text-align: center;
  color: #e8f0ea;
  backdrop-filter: blur(6px);
}

.karbantartas-doboz h1 { color: #fff; margin: 18px 0 12px; font-size: 1.9rem; }
.karbantartas-doboz .ikon { font-size: 3.4rem; }
.karbantartas-doboz p { color: #c8d8cd; }

/* ==========================================================================
   MOBIL NÉZET
   ========================================================================== */
@media (max-width: 860px) {
  .menu-gomb { display: block; }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--erdo-sotet);
    flex-direction: column;
    padding: 10px 16px 18px;
    box-shadow: 0 14px 24px rgba(0,0,0,.3);
  }

  .menu.nyitva { display: flex; }

  .ketosztott { grid-template-columns: 1fr; gap: 24px; }
  .ketosztott.forditott > .kep { order: 0; }

  .kapcsolat-racs { grid-template-columns: 1fr; }

  .lablec-belso { grid-template-columns: 1fr; gap: 24px; }

  .hero { min-height: 480px; }
  .hero-doboz { padding: 28px 26px; }
  .gomb-attetszo { margin-left: 0; margin-top: 10px; }
}
