/* ================================================
   HELLINGER KFT – MAIN CSS
   ================================================ */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700;900&family=Nunito+Sans:wght@300;400;600;700&display=swap');

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; background: #F5F5DC; color: #1a1a1a; overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ── VARIABLES ────────────────────────────────── */
:root {
  --green:  #083325;
  --green2: #0f5a3f;
  --light:  #A8D5BA;
  --cream:  #F5F5DC;
  --cream2: #ece8cc;
  --copper: #B87057;
  --copper2:#cc8c70;
  --dark:   #1a1a1a;
  --mid:    #3a3a3a;
  --muted:  #777;
  --nav-h:  70px;
}

/* ── PRELOADER ────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--green);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
#preloader img    { height: 52px; }
#preloader-bar-bg { width: 200px; height: 3px; background: rgba(168,213,186,.25); border-radius: 3px; overflow: hidden; }
#preloader-bar    { height: 100%; width: 0; background: var(--copper); border-radius: 3px; transition: width .05s linear; }
#preloader-text   { font-size: .7rem; letter-spacing: .25em; color: rgba(168,213,186,.6); text-transform: uppercase; }

/* ── NAV ──────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: var(--green);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
}
#nav-logo img { height: 36px; display: block; }
#nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none; margin: 0; padding: 0;
}
#nav-links a {
  color: rgba(245,245,220,.8); font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; transition: color .2s;
}
#nav-links a:hover, #nav-links a.active { color: #fff; }
#nav-links .nav-cta {
  border: 1.5px solid var(--copper); color: var(--copper) !important;
  padding: .35rem 1rem; border-radius: 3px;
}
#nav-links .nav-cta:hover { background: var(--copper); color: #fff !important; }

/* Hamburger */
#nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  position: relative; z-index: 600;
}
#nav-toggle span {
  display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s; pointer-events: none;
}
body.menu-open #nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open #nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open #nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
#nav-overlay {
  position: fixed; inset: 0; z-index: 550;
  background: #051e16;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
#nav-overlay.is-open { opacity: 1; pointer-events: all; }
#nav-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 50px; height: 50px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: 50%;
  color: #fff; font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  z-index: 10; transition: background .2s;
}
#nav-close:hover { background: var(--copper); }
#mob-nav ul { list-style: none; text-align: center; padding: 0; margin: 0; }
#mob-nav ul li a {
  display: block; font-family: 'Merriweather', serif; font-size: 2rem; font-weight: 700;
  color: rgba(245,245,220,.75); padding: .6rem 2rem; transition: color .2s;
}
#mob-nav ul li a:hover, #mob-nav ul li a.active { color: var(--copper); }
#mob-contact { margin-top: 2rem; text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1); }
#mob-contact p { font-size: .8rem; color: rgba(245,245,220,.3); }
#mob-contact a { color: var(--light); font-size: .9rem; display: block; margin-top: .3rem; }

@media (max-width: 768px) {
  #nav-links  { display: none; }
  #nav-toggle { display: flex; }
  #nav        { padding: 0 1.2rem; height: 62px; --nav-h: 62px; }
  #mob-nav ul li a { font-size: 1.7rem; }
}

/* ── LAYOUT UTILITIES ─────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section   { padding: 6rem 0; }
.bg-green  { background: var(--green); }
.bg-cream  { background: var(--cream); }
.bg-cream2 { background: var(--cream2); }

.section-tag {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 700; color: var(--green2); margin-bottom: .8rem;
}
.section-tag::before { content: ''; width: 24px; height: 2px; background: var(--copper); display: block; }
.section-tag.light { color: var(--light); }

.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 700;
  line-height: 1.15; color: var(--green); margin-bottom: 1rem;
}
.section-title.light { color: var(--cream); }
.section-title.center { text-align: center; }

.section-lead { font-size: 1rem; line-height: 1.8; color: var(--mid); font-weight: 300; }
.section-lead.light { color: rgba(245,245,220,.6); }
.section-lead.center { text-align: center; max-width: 560px; margin: 0 auto; }

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 2rem; border-radius: 3px; border: none; cursor: pointer;
  transition: all .25s; text-decoration: none;
}
.btn-copper { background: var(--copper); color: #fff; }
.btn-copper:hover { background: var(--copper2); transform: translateY(-2px); }
.btn-dark   { background: var(--green); color: var(--cream); }
.btn-dark:hover { background: var(--green2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: var(--green); color: var(--cream); }
.btn-outline-light { background: transparent; color: var(--cream); border: 2px solid rgba(245,245,220,.4); }
.btn-outline-light:hover { border-color: var(--cream); }

/* ── FORMS ────────────────────────────────────── */
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .3rem; }
.form-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green2); }
.form-input, .form-textarea, .form-select {
  padding: .8rem 1rem; border: 1.5px solid rgba(8,51,37,.15); border-radius: 3px;
  background: #fff; font-family: 'Nunito Sans', sans-serif; font-size: .9rem; color: var(--dark);
  outline: none; width: 100%; transition: border-color .2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--green2); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-dark .form-label { color: var(--light); }
.form-dark .form-input, .form-dark .form-textarea, .form-dark .form-select {
  background: rgba(255,255,255,.08); border-color: rgba(168,213,186,.15); color: var(--cream);
}
.form-dark .form-input::placeholder, .form-dark .form-textarea::placeholder { color: rgba(245,245,220,.3); }
.form-dark .form-input:focus, .form-dark .form-textarea:focus { border-color: var(--light); }

/* ── PAGE HERO (subpages) ─────────────────────── */
.page-hero {
  padding-top: var(--nav-h); min-height: 380px;
  display: flex; align-items: center;
  background: var(--green); position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(8,51,37,.92), rgba(8,51,37,.65));
}
.page-hero-content { position: relative; z-index: 2; padding: 3rem 0 3.5rem; }
.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(245,245,220,.45); margin-bottom: 1rem; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--light); }
.breadcrumb span { color: var(--copper); }
.page-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  color: var(--cream); line-height: 1.1; margin-bottom: .8rem;
}
.page-subtitle { font-size: 1rem; color: rgba(245,245,220,.65); max-width: 520px; line-height: 1.7; }

/* ── CTA BAND ─────────────────────────────────── */
.cta-band { background: var(--green); padding: 5rem 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}
.cta-inner h2 {
  font-family: 'Merriweather', serif; font-size: clamp(1.6rem,3vw,2.5rem);
  font-weight: 700; color: var(--cream); line-height: 1.2;
}
.cta-inner p { font-size: .95rem; color: rgba(245,245,220,.6); margin-top: .5rem; max-width: 440px; }
.cta-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ───────────────────────────────────── */
.footer { background: #051e16; padding: 5rem 0 2rem; color: rgba(245,245,220,.45); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-logo { height: 36px; margin-bottom: 1rem; }
.footer-desc { font-size: .85rem; line-height: 1.75; max-width: 260px; margin-top: .5rem; }
.footer-col h4 {
  font-family: 'Merriweather', serif; font-size: .9rem; font-weight: 700;
  color: var(--cream); margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(168,213,186,.1);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .83rem; color: rgba(245,245,220,.4); transition: color .2s; }
.footer-links a:hover { color: var(--cream); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid rgba(168,213,186,.08);
  font-size: .77rem; flex-wrap: wrap; gap: .8rem;
}
.social { display: flex; gap: .6rem; }
.social a {
  width: 34px; height: 34px; border: 1px solid rgba(168,213,186,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: rgba(245,245,220,.38); transition: all .2s;
}
.social a:hover { border-color: var(--copper); color: var(--copper); }

/* ── BACK TO TOP ──────────────────────────────── */
#btt {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 400;
  width: 44px; height: 44px; background: var(--green); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: .85rem; box-shadow: 0 4px 16px rgba(0,0,0,.2);
  opacity: 0; pointer-events: none; transition: all .3s; text-decoration: none;
}
#btt.show { opacity: 1; pointer-events: all; }
#btt:hover { background: var(--copper); }

/* ── CARDS ────────────────────────────────────── */
.card {
  background: #fff; border-radius: 6px;
  box-shadow: 0 4px 20px rgba(8,51,37,.08); overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(8,51,37,.14); }
.dark-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(168,213,186,.1);
  border-radius: 6px; transition: all .25s;
}
.dark-card:hover { border-color: rgba(184,112,87,.35); transform: translateY(-5px); }

/* ── CONTACT INFO ITEMS ───────────────────────── */
.contact-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 1.1rem;
  background: #fff; border-radius: 4px; border-left: 3px solid var(--light);
  box-shadow: 0 2px 10px rgba(8,51,37,.06); transition: border-color .2s, transform .2s;
}
.contact-item:hover { border-left-color: var(--copper); transform: translateX(4px); }
.contact-item-icon {
  width: 36px; height: 36px; background: var(--green); border-radius: 3px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-item-icon i { color: var(--light); font-size: .82rem; }
.contact-item-label { font-size: .65rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-item-value { font-size: .9rem; color: var(--dark); }

/* ── RESPONSIVE: GLOBAL ───────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-btns { flex-direction: column; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .form-grid2 { grid-template-columns: 1fr; }
  .page-hero { min-height: 280px; }
  .page-title { font-size: clamp(1.8rem, 6vw, 2.8rem); }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .btn { padding: .8rem 1.4rem; font-size: .75rem; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .cta-band { padding: 3rem 0; }
}
