/* ═══════════════════════════════════════════
   CHATA MAGÓRY – Global Stylesheet
   ═══════════════════════════════════════════ */

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

:root {
  --forest:      #1a2e1e;
  --forest-mid:  #2d4a32;
  --moss:        #4a6741;
  --sage:        #7a9e6e;
  --cream:       #f5f0e8;
  --warm:        #ede5d0;
  --gold:        #c49a3c;
  --gold-light:  #e8c46a;
  --rust:        #8b4a2b;
  --text:        #1e1a14;
  --text-light:  #5a5040;
  --white:       #ffffff;
  --r:           0.75rem;
  --shadow:      0 4px 30px rgba(0,0,0,.10);
  --shadow-lg:   0 12px 60px rgba(0,0,0,.16);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 3px; }

/* ══════════════════
   NAV
══════════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(26,46,30,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196,154,60,.22);
  transition: padding .3s, background .3s;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 1.35rem;
  letter-spacing: .03em;
  text-decoration: none;
  line-height: 1;
}
.nav-logo em { color: var(--cream); font-style: italic; font-size: 1rem; display: block; font-family:'Nunito',sans-serif; font-weight:300; letter-spacing:.08em; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(245,240,232,.78);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold-light);
  transform: scaleX(0); transition: transform .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--forest) !important;
  padding: .45rem 1.1rem !important;
  border-radius: 2rem;
  font-size: .82rem !important;
  transition: background .2s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
  background: none; border: none;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════
   PAGE HERO (inner pages)
══════════════════ */
.page-hero {
  min-height: 52vh;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--forest);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .42;
  animation: phZoom 20s ease-in-out infinite alternate;
}
@keyframes phZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.1); }
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(26,46,30,.75) 0%, rgba(26,46,30,.3) 60%, rgba(139,74,43,.35) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  text-align: center; padding: 6rem 1.5rem 3rem;
  animation: fadeUp .8s ease both;
}
.page-hero-tag {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 2rem;
  margin-bottom: 1rem;
  background: rgba(196,154,60,.12);
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white); line-height: 1.1;
  text-shadow: 0 4px 40px rgba(0,0,0,.4);
}
.page-hero-title em { color: var(--gold-light); font-style: italic; }
.page-hero-sub {
  color: rgba(245,240,232,.8);
  font-size: 1.05rem; max-width: 540px;
  margin: 1rem auto 0; line-height: 1.7; font-weight: 300;
}

/* ══════════════════
   BREADCRUMB
══════════════════ */
.breadcrumb {
  background: var(--forest-mid);
  padding: .7rem 2.5rem;
  font-size: .78rem;
  color: rgba(245,240,232,.55);
  letter-spacing: .04em;
}
.breadcrumb a { color: rgba(245,240,232,.65); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { margin: 0 .4rem; }

/* ══════════════════
   SECTIONS
══════════════════ */
section { padding: 5rem 1.5rem; }
.container { max-width: 1120px; margin: 0 auto; }
.container--narrow { max-width: 820px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  color: var(--gold);
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase;
  font-weight: 700; margin-bottom: .6rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--forest); line-height: 1.15;
  margin-bottom: .9rem;
}
.section-title em { color: var(--moss); font-style: italic; }
.section-lead {
  font-size: 1.05rem; color: var(--text-light);
  line-height: 1.78; max-width: 680px;
}

/* ══════════════════
   BUTTONS
══════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 2rem; border-radius: 3rem;
  font-weight: 700; font-size: .93rem;
  text-decoration: none; transition: all .22s;
  letter-spacing: .02em; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--gold); color: var(--forest);
  box-shadow: 0 4px 20px rgba(196,154,60,.38);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,154,60,.5); }
.btn-outline {
  border: 2px solid var(--forest); color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-ghost {
  border: 2px solid rgba(245,240,232,.5); color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold-light); background: rgba(196,154,60,.15); }
.btn-sm { padding: .55rem 1.3rem; font-size: .83rem; }

/* ══════════════════
   CARDS
══════════════════ */
.card {
  background: var(--white); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.4rem; }
.card-title { font-family:'Playfair Display',serif; font-size: 1.15rem; color: var(--forest); margin-bottom: .4rem; }
.card-text { font-size: .88rem; color: var(--text-light); line-height: 1.65; }

/* ══════════════════
   FEATURES STRIP
══════════════════ */
.features-strip {
  background: var(--forest);
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(196,154,60,.15);
  border-bottom: 1px solid rgba(196,154,60,.15);
}
.features-grid {
  display: flex; flex-wrap: wrap;
  justify-content: center;
}
.feature-item {
  flex: 1 1 160px;
  display: flex; flex-direction: column; align-items: center;
  padding: 1.2rem 1rem; text-align: center;
  color: var(--cream);
  border-right: 1px solid rgba(245,240,232,.1);
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 1.9rem; margin-bottom: .5rem; }
.feature-item strong { font-size: .9rem; font-weight: 700; display: block; margin-bottom: .2rem; }
.feature-item span { font-size: .78rem; color: rgba(245,240,232,.55); }

/* ══════════════════
   GALLERY GRID
══════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 6px; cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(26,46,30,.0);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
.gallery-item:hover .gallery-item-overlay { background: rgba(26,46,30,.35); }
.gallery-item-overlay svg { opacity: 0; transition: opacity .3s; color: white; width: 32px; height: 32px; }
.gallery-item:hover .gallery-item-overlay svg { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,18,12,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--cream);
  font-size: 2rem; cursor: pointer; line-height: 1;
  transition: color .2s;
}
.lightbox-close:hover { color: var(--gold-light); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(245,240,232,.12); border: none; color: var(--cream);
  font-size: 2rem; cursor: pointer; padding: .8rem 1rem;
  border-radius: 6px; transition: background .2s;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { background: rgba(245,240,232,.22); }

/* ══════════════════
   PRICING TABLE
══════════════════ */
.pricing-box {
  background: var(--forest);
  border-radius: 1rem; padding: 2.5rem;
  color: var(--cream);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.pricing-col h3 {
  font-family:'Playfair Display',serif;
  font-size: 1.25rem; color: var(--gold-light);
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid rgba(196,154,60,.25);
}
.pricing-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(245,240,232,.07);
  font-size: .9rem;
}
.pricing-row:last-child { border-bottom: none; }
.pricing-row .label { color: rgba(245,240,232,.78); }
.pricing-row .price { font-weight: 700; color: var(--gold-light); white-space: nowrap; margin-left: 1rem; }

/* ══════════════════
   CONTACT ITEMS
══════════════════ */
.contact-item {
  display: flex; align-items: flex-start; gap: .9rem;
  margin-bottom: 1.1rem;
}
.contact-item .ci-icon { font-size: 1.1rem; margin-top: .1rem; flex-shrink: 0; }
.contact-item a { color: rgba(245,240,232,.8); text-decoration: none; transition: color .2s; }
.contact-item a:hover { color: var(--gold-light); }
.contact-item span { color: rgba(245,240,232,.65); font-size: .9rem; line-height: 1.5; }

/* ══════════════════
   FORM
══════════════════ */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(245,240,232,.7); margin-bottom: .4rem;
}
.form-control {
  width: 100%;
  padding: .8rem 1rem;
  background: rgba(245,240,232,.08);
  border: 1px solid rgba(245,240,232,.18);
  border-radius: .5rem;
  color: var(--cream);
  font-family: 'Nunito', sans-serif;
  font-size: .95rem;
  transition: border-color .2s, background .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,240,232,.12);
}
.form-control::placeholder { color: rgba(245,240,232,.3); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-status {
  padding: 1rem; border-radius: .5rem;
  font-size: .88rem; margin-top: 1rem;
  display: none;
}
.form-status.success { background: rgba(74,103,65,.3); border: 1px solid var(--sage); color: #a8d4a0; }
.form-status.error   { background: rgba(139,74,43,.3); border: 1px solid var(--rust); color: #f8b4a0; }

/* ══════════════════
   PHONE CHIPS
══════════════════ */
.phone-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--gold); color: var(--forest);
  padding: .55rem 1.2rem; border-radius: 2rem;
  font-weight: 700; font-size: .88rem;
  text-decoration: none; transition: background .2s;
}
.phone-chip:hover { background: var(--gold-light); }

/* ══════════════════
   FOOTER
══════════════════ */
.site-footer {
  background: #0d1a0f;
  color: rgba(245,240,232,.45);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; max-width: 1120px; margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(245,240,232,.08);
}
.footer-brand .nav-logo { font-size: 1.5rem; display: inline-block; margin-bottom: .8rem; }
.footer-brand p { font-size: .84rem; line-height: 1.7; color: rgba(245,240,232,.4); max-width: 280px; }
.footer-col h4 {
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem; font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(245,240,232,.45); text-decoration: none;
  font-size: .84rem; transition: color .2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  max-width: 1120px; margin: 1.5rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .76rem; color: rgba(245,240,232,.3);
}
.footer-bottom a { color: rgba(245,240,232,.4); text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ══════════════════
   SCROLL REVEAL
══════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ══════════════════
   ANIMATIONS
══════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* ══════════════════
   UTILS
══════════════════ */
.bg-forest  { background: var(--forest); }
.bg-warm    { background: var(--warm); }
.bg-cream   { background: var(--cream); }
.text-gold  { color: var(--gold-light); }
.text-cream { color: var(--cream); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ══════════════════
   NOTICE BOX
══════════════════ */
.notice-box {
  padding: 1.1rem 1.4rem; border-radius: .5rem;
  font-size: .88rem; line-height: 1.65;
}
.notice-warning {
  background: #fffbeb; border: 1.5px solid #f59e0b; color: #78350f;
}
.notice-info {
  background: rgba(196,154,60,.1); border: 1px solid rgba(196,154,60,.3);
  color: rgba(245,240,232,.8);
}

/* ══════════════════
   RESPONSIVE
══════════════════ */
@media (max-width: 900px) {
  .pricing-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav { padding: .85rem 1.2rem; }
  .nav-links { 
    display: none; 
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15,28,17,.97);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; z-index: 190;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-hamburger { display: flex; z-index: 210; }
  section { padding: 3.5rem 1.2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
