/* ═══════════════════════════════════════════════
   Jade Beach - Main Stylesheet
   Közös CSS: reset, változók, tipográfia, nav, footer, gombok, utilities
   ═══════════════════════════════════════════════ */

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

:root {
  --gold: #4BA8A8;
  --gold-dark: #3A8C8C;
  --gold-light: #7CC5C0;
  --anthracite: #1E2D2F;
  --sand: #F7F9F9;
  --beige: #D8ECEB;
  --white: #FFFFFF;
  --text: #1E2D2F;
  --text-light: #5A6B6E;
  --text-muted: #8A9A9C;
  --heading: 'Cormorant Garamond', Georgia, serif;
  --body: 'Montserrat', -apple-system, sans-serif;
  --section-padding: clamp(80px, 10vw, 140px);
  --container: min(1240px, 90vw);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-weight: 300;
  color: var(--text);
  background: var(--sand);
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.25s; }
.reveal-delay-4 { transition-delay: 0.3s; }
.reveal-delay-5 { transition-delay: 0.35s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 50px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.nav--solid,
.nav.scrolled {
  background: rgba(247, 249, 249, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  height: 64px;
}
.nav-logo {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.4s;
}
.nav--solid .nav-logo,
.nav.scrolled .nav-logo { color: var(--anthracite); }

.nav-logo img { max-height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}
.nav--solid .nav-links a,
.nav.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links a.active { color: var(--gold); }
.nav-links .current-menu-item > a::after,
.nav-links .current_page_item > a::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 10px 28px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s;
}
.nav-cta:hover { background: var(--gold-dark); color: var(--white); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  background: none;
  border: none;
}
.nav-hamburger span {
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: background 0.4s, transform 0.3s, opacity 0.3s;
}
.nav--solid .nav-hamburger span,
.nav.scrolled .nav-hamburger span { background: var(--anthracite); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--sand);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--heading);
  font-size: 28px;
  font-weight: 400;
  color: var(--anthracite);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .nav-cta { color: var(--gold); background: none; padding: 0; }

@media (max-width: 1080px) {
  .nav-links, .nav > .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-menu { display: flex; }
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 40px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-dark {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 40px;
  background: transparent;
  color: var(--anthracite);
  text-decoration: none;
  border: 1px solid rgba(44,44,44,0.25);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline-dark:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-light {
  display: inline-block;
  font-family: var(--body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 40px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.3s, color 0.3s;
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }

/* ── UTILITIES ── */
.section { padding: var(--section-padding) 0; }
.container { width: var(--container); margin: 0 auto; }
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--anthracite);
  margin-bottom: 24px;
}
.section-subtitle {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.gold-divider-center {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 40px auto;
}

/* ── PAGE HERO (almost all inner pages) ── */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20,20,30,0.55) 0%,
    rgba(20,20,30,0.3) 50%,
    rgba(20,20,30,0.55) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.page-hero-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s 0.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page-hero-title {
  font-family: var(--heading);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 1s 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.page-hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  margin: 20px auto 0;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ── PAGE HEADER (no-image version, for faq/contact/booking) ── */
.page-header {
  padding: 140px 0 60px;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.6);
  padding: 80px 0 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand-name {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-brand-name img { max-height: 64px; width: auto; margin-bottom: 16px; }
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.3s;
}
.footer-social a:hover { border-color: var(--gold); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.5); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-newsletter p { font-size: 14px; margin-bottom: 16px; }
.footer-newsletter-form { display: flex; }
.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: var(--white);
  font-family: var(--body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,0.25); }
.footer-newsletter-form input:focus { border-color: var(--gold); }
.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--white);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.footer-newsletter-form button:hover { background: var(--gold-dark); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer-bottom a {
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}
