/* =====================================================
   RESET
===================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =====================================================
   ROOT – ALAP TÉMARÉTEG
===================================================== */
:root {
  --bg-base: #243f49;
  --bg-level: #2f4b56;
  --bg-elevated: #3b5d69;

  --text-main: #e9eef0;
  --text-muted: rgba(255,255,255,0.72);
  --text-soft: rgba(255,255,255,0.86);

  --accent: #8fb3c1;
  --border-soft: rgba(255,255,255,0.10);

  --max-width: 1100px;
  --line-height: 1.65;

  --font-main: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =====================================================
   BASE
===================================================== */
html {
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
}

p {
  margin-bottom: 1.2rem;
  max-width: 65ch;
  color: var(--text-soft);
}

/* =====================================================
   HEADINGS
===================================================== */
h1, h2, h3 {
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.6rem;
  margin-bottom: 0.6rem;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

/* =====================================================
   LAYOUT
===================================================== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5.5rem 0;
}

/* =====================================================
   CONTENT BUBBLE – GLOBÁLIS
===================================================== */
.content-bubble {
  max-width: 780px;
  padding: 2.4rem 2.6rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.content-bubble h2,
.content-bubble h3 {
  margin-top: 0;
}

.content-bubble ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
}

@media (max-width: 768px) {
  .content-bubble {
    padding: 1.8rem 1.6rem;
    border-radius: 16px;
  }
}

/* =====================================================
   HEADER
===================================================== */
.site-header {
  background-color: var(--bg-base);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
}

.logo {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

/* =====================================================
   NAVIGATION
===================================================== */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding-bottom: 2px;
}

.main-nav a:hover:not(.active) {
  color: var(--accent);
}

.main-nav a.active {
  color: var(--text-main);
  border-bottom: 2px solid var(--accent);
}

/* =====================================================
   HERO
===================================================== */
.hero {
  background-color: var(--bg-base);
  padding: 9rem 0 8rem;
}

.hero .subtitle {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

.hero-intro {
  margin-top: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 28ch;
}

/* =====================================================
   SECTION VARIÁNSOK
===================================================== */
.directions {
  background-color: var(--bg-level);
}

.section-elevated {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* =====================================================
   BUTTONS – GLOBÁLIS
===================================================== */
.direction a,
.cta-button {
  display: inline-block;
  margin-top: 1.4rem;
  padding: 0.65rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-main);
  border: 1px solid var(--accent);
  border-radius: 999px;
  background-color: transparent;
  transition: all 0.25s ease;
}

.direction a:hover,
.cta-button:hover {
  background-color: var(--accent);
  color: var(--bg-base);
}

/* =====================================================
   INDEX – DIRECTION BLOKKOK
===================================================== */
.directions .direction {
  padding-bottom: 3.2rem;
}

.directions .direction:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 3.2rem;
}

/* =====================================================
   FOOTER
===================================================== */
.site-footer {
  background-color: var(--bg-base);
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0;
}

.site-footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =====================================================
   PHOTO GRID
===================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}



/* =====================================================
   PAGE THEMES
===================================================== */
body.page-photography {
  --bg-base: #233841;
  --bg-elevated: #2e4650;
  --accent: #8fb3c1;
  --text-main: #eef3f5;
  --text-muted: #c3d0d6;
}

body.page-web {
  --bg-base: #2f434d;
  --bg-elevated: #3a505b;
  --accent: #a6c7d4;
  --text-main: #f2f6f8;
  --text-muted: #d0dde3;
}



/* =====================================================
   CTA LAYOUT – PAGE SPECIFIC
===================================================== */
body.page-web .cta-block,
body.page-photography .photo-cta {
  text-align: center;
}

body.page-web .cta-inner,
body.page-photography .photo-cta .cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  section {
    padding: 3.5rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-header .container {
    flex-direction: column;
    gap: 0.8rem;
  }

  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* --- END OF PAGE-SPECIFIC OVERRIDES --- */

/* =====================================================
   CTA – OPTIKAI KÖZÉPPONT EGYSÉGESÍTÉS
===================================================== */



body.page-web .cta-inner p,
body.page-photography .photo-cta .cta-inner p {
  max-width: none;
}

/* Example domain – diszkrét referencia link */

.example-domain {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.example-domain a {
  color: var(--accent);
  text-decoration: none;
}

.example-domain a:hover {
  text-decoration: underline;
}

/* =====================================================
   EXAMPLE CARD – KATTINTHATÓ SCREENSHOT
===================================================== */

.example-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 16 / 10;
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === PÉLDA MEGOLDÁSOK – BLOKKOK SZÉTVÁLASZTÁSA === */

.example-block {
  margin-top: 2.5rem;
}

.example-block h3 {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.example-block p {
  margin-bottom: 1.25rem;
}

.example-block ul {
  margin-top: 0.5rem;
}

/* === MOBIL JAVÍTÁS – PÉLDAKÁRTYÁK === */
@media (max-width: 768px) {

  .example-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .example-card {
    max-width: 100%;
  }

  .example-content h3 {
    font-size: 1.15rem;
  }

  .example-content p,
  .example-content li {
    line-height: 1.6;
  }
}


/* === MOBIL: CTA / SZÖVEGES SZEKCIÓK OLDALMARGÓ === */
@media (max-width: 768px) {

  .section-elevated,
  .content-bubble,
  .cta-inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

}

/* === HERO SZEKCIÓ – ÜRES TÉR CSÖKKENTÉSE (GLOBÁLIS) === */

/* Asztali */
.hero,
.page-hero,
.section-hero {
  min-height: auto;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

/* Mobil */
@media (max-width: 768px) {
  .hero,
  .page-hero,
  .section-hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* === PÉLDA OLDALAK – BEVEZETŐ FELIRAT === */

.example-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.example-intro h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.example-intro p {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.5;
}

/* Mobil finomítás */
@media (max-width: 768px) {
  .example-intro {
    margin-bottom: 2rem;
    padding: 0 1rem;
  }
}

/* === MOBIL – PÉLDAMEGOLDÁSOK FELIRAT ÉS KÁRTYÁK KÖZTI TÁVOLSÁG (VÉGLEGES) === */

@media (max-width: 768px) {

  section.examples h2 {
    margin-bottom: 0.75rem;
  }

  section.examples p {
    margin-bottom: 0.25rem;
  }

}

/* === MOBIL OLVASHATÓSÁG – SORHOSSZ FINOMÍTÁS === */
@media (max-width: 768px) {
  .content-bubble p {
    max-width: 32ch;
  }
}

/* === MOBIL – HOSSZÚ SZÖVEGEK LEVEGŐZÉSE (FOTÓZÁS OLDAL) === */
@media (max-width: 768px) {
  body.page-photography p {
    margin-bottom: 1.6rem;
  }
}

/* === MOBIL – LISTÁK OLVASHATÓSÁGA (FOTÓZÁS OLDAL) === */
@media (max-width: 768px) {
  body.page-photography ul li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
  }
}

/* === MOBIL – CONTENT BUBBLE BELSŐ RITMUS (FOTÓZÁS) === */
@media (max-width: 768px) {
  body.page-photography .content-bubble p:last-child {
    margin-bottom: 0;
  }
}

/* === FORM MEZŐK MÉRETEZÉSE – KAPCSOLAT OLDAL === */

form {
  margin-top: 1.5rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

/* Input + textarea alapméret */
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  font-size: 1rem;
  line-height: 1.4;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

/* Textarea legyen tényleg írható */
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* Mobilon még kényelmesebb */
@media (max-width: 768px) {
  .form-group input,
  .form-group textarea {
    font-size: 1.05rem;
    padding: 0.85rem 0.9rem;
  }
}

/* === KÖSZÖNŐ OLDAL – LINK OLVASHATÓSÁG === */

.page a {
  color: #e6eef2;
  text-decoration: none;
}

.page a:hover {
  text-decoration: underline;
}

/* Gombszerű linkek a köszönő oldalon */
.page .contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.page .contact-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
}

/* Ne legyen aláhúzás a gombokon hoveren sem */
.page .contact-btn:hover {
  text-decoration: none;
}

/* === KÖSZÖNŐ OLDAL KÖZÉPRE IGAZÍTÁS === */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;      /* függőleges közép */
  justify-content: center;  /* vízszintes közép */
  text-align: center;
}

.page .how-main {
  max-width: 520px;
}

.about-image {
  margin-bottom: 2rem;
  text-align: center;
}

.about-image img {
  max-width: 260px;
  width: 100%;
  border-radius: 14px;
  display: inline-block;
}

/* Photography gallery grid fix */

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.photo-item {
  position: relative;
  border-radius: 12px;
  overflow: visible;
}

.photo-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* ✔ KIJELÖLÉS KÖZVETLENÜL A KÉPEN */

@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}


.content-separator {
  height: 1.5rem;
}

@media (max-width: 768px) {
  .content-separator {
    height: 2.25rem;
  }

}

.example-grid {
  display: grid;
  gap: 2rem;
}

/* Ha csak egy példa van */
.example-grid > .example-card:only-child {
  max-width: 720px;
  margin: 0 auto;
}

/* =====================================================
   SZÖVEGKÖZI LINKEK – FINOM, DESIGNHOZ IGAZÍTOTT
===================================================== */

.content-bubble a,
.page-photography .content-bubble a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(143,179,193,0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.content-bubble a:hover,
.page-photography .content-bubble a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

.section-muted .content-bubble {
  opacity: 0.88;
  background-color: rgba(255, 255, 255, 0.03);
}

.section-muted h2 {
  font-size: 1.1em;
  opacity: 0.85;
}

/* === COOKIE BANNER – GDPR === */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;

  background: rgba(36, 63, 73, 0.95);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.15);

  padding: 1rem 1.5rem;

  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;

  font-size: 0.85rem;
}

.cookie-banner p {
  margin: 0;
  max-width: 640px;
  color: var(--text-soft);
}

.cookie-banner button {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--text-main);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.cookie-banner button:hover {
  background: var(--accent);
  color: var(--bg-base);
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.75rem;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

/* Mobil */
@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === FOOTER LINK STÍLUS – JOGI LINKEK === */
.site-footer a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(143,179,193,0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer a:hover {
  color: var(--text-main);
  border-bottom-color: var(--accent);
}

/* === BRAND MAP – META SZINTŰ BLOKK === */

.brand-map {
  max-width: 65ch;
  margin: 0 auto;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}



/* ==============================
   FORM COMPONENT (base)
============================== */

.form {
  max-width: 520px;
}

.form__group {
  margin-bottom: 1.2rem;
}

.form__label {
  display: block;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.form__input {
  width: 100%;
  padding: 0.55rem 0.6rem;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  color: inherit;
}

/* ==============================
   CHECKBOX (browser independent)
============================== */

.form__group--checkbox {
  margin-top: 1rem;
}

.form__checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  opacity: 0.85;
  cursor: pointer;
}

.form__checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form__checkbox-ui {
  width: 16px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.form__checkbox input[type="checkbox"]:checked + .form__checkbox-ui::after {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 1px;
}

.site-footer .footer-main {
  margin-bottom: 0.5rem;
}

.site-footer .footer-disclaimer {
  display: block;
  font-size: 0.75rem;
  opacity: 0.6;
  margin-top: 0;
}

.site-footer .container {
  flex-direction: column;
  align-items: center;
}

.footer-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-disclaimer {
  font-size: 0.8rem;
  opacity: 0.7;
  line-height: 1.4;
}

/* === FOOTER FIX – MOBIL ELRENDEZÉS BIZTOSÍTÁSA === */
.site-footer .container {
  flex-direction: column !important;
}