/* ============================================================
   OneKey Ingatlan – global.css
   Minden oldalon betöltött közös stílusok
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --black:    #0a0a0a;
  --dark:     #111111;
  --dark-2:   #1a1a1a;
  --dark-3:   #222222;
  --dark-4:   #2a2a2a;
  --gold-light:#f5d98a;
  --gold:      #c9a84c;
  --gold-dark: #8b6914;
  --gold-deep: #5c4310;
  --white:        #ffffff;
  --white-90:     rgba(255,255,255,.9);
  --white-70:     rgba(255,255,255,.7);
  --white-60:     rgba(255,255,255,.6);
  --white-50:     rgba(255,255,255,.5);
  --white-40:     rgba(255,255,255,.4);
  --white-30:     rgba(255,255,255,.3);
  --white-20:     rgba(255,255,255,.2);
  --white-10:     rgba(255,255,255,.1);
  --white-05:     rgba(255,255,255,.05);
  --gold-10: rgba(201,168,76,.10);
  --gold-20: rgba(201,168,76,.20);
  --gold-30: rgba(201,168,76,.30);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg: 16px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
  --container: 1200px;
  --section-pad: 8rem;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ===== GRAIN ===== */
body::before {
  content: '';
  position: fixed; inset: 0;
  opacity: .025; pointer-events: none; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ===== UTILITIES ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.gold-text {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  font-family: var(--font-body);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.divider-gold   { width:60px;  height:1px; background:linear-gradient(90deg,var(--gold),transparent); margin:1.5rem 0; }
.divider-center { width:120px; height:1px; background:linear-gradient(90deg,transparent,var(--gold),transparent); margin:1.5rem auto; }

/* ===== PAGE HERO (aloldalakhoz) ===== */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.page-hero::before {
  content: '';
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,168,76,.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero-border {
  position: absolute; bottom:0; left:10%; right:10%;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-20),transparent);
}
.page-hero-content { position:relative; z-index:1; }
.page-hero-label   { margin-bottom:1.5rem; }
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem,6vw,5.5rem);
  font-weight: 300; line-height: 1;
  margin-bottom: 1.5rem;
}
.page-hero-title em { font-style:italic; }
.page-hero-desc {
  font-size:1.05rem; color:var(--white-70);
  max-width:580px; line-height:1.9;
}
.page-breadcrumb {
  display:flex; align-items:center; gap:.6rem;
  font-size:.72rem; color:var(--white-40);
  margin-bottom:2rem;
}
.page-breadcrumb a { color:var(--white-40); transition:color var(--transition); }
.page-breadcrumb a:hover { color:var(--gold); }
.page-breadcrumb span { color:var(--white-20); }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed; top:0; width:100%; z-index:1000;
  transition: background var(--transition), padding var(--transition);
}
.nav.scrolled {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-20);
}
.nav-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:1.5rem 2rem;
  max-width:1400px; margin:0 auto;
  transition:padding var(--transition);
}
.nav.scrolled .nav-inner { padding:1rem 2rem; }
.nav-logo { display:flex; align-items:center; }
.nav-logo-img {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  /* Scrolled állapotban kicsit kisebb */
  transition: height var(--transition);
}
.nav.scrolled .nav-logo-img { height: 34px; }

/* Footer logo */
.footer-logo-img {
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  display: block;
  margin-bottom: 1.25rem;
  opacity: .95;
}
.footer-brand-logo { display:flex; align-items:center; }
.nav-logo-icon { width:42px; height:42px; }
.nav-logo-text { font-family:var(--font-display); font-size:1.6rem; font-weight:500; line-height:1; }
.nav-logo-sub  { font-family:var(--font-body); font-size:.6rem; font-weight:600; letter-spacing:.3em; text-transform:uppercase; color:var(--gold); display:block; margin-top:2px; }
.nav-links { display:flex; align-items:center; gap:2.5rem; }
.nav-links a {
  font-size:.75rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:var(--white-70); transition:color var(--transition); position:relative;
}
.nav-links a::after {
  content:''; position:absolute; bottom:-4px; left:0;
  width:0; height:1px; background:var(--gold); transition:width var(--transition);
}
.nav-links a:hover, .nav-links a.nav-active { color:var(--white); }
.nav-links a:hover::after, .nav-links a.nav-active::after { width:100%; }
.nav-cta {
  background:transparent !important;
  border:1px solid var(--gold-30) !important;
  color:var(--gold-light) !important;
  padding:.6rem 1.4rem;
  border-radius:var(--radius-sm);
  font-size:.7rem !important; font-weight:600 !important;
  letter-spacing:.15em !important; text-transform:uppercase !important;
  transition:all var(--transition) !important;
}
.nav-cta:hover { background:var(--gold) !important; border-color:var(--gold) !important; color:var(--black) !important; }
.nav-cta::after { display:none !important; }
.nav-hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:4px; background:none; border:none; }
.nav-hamburger span { display:block; width:24px; height:1px; background:var(--white); transition:var(--transition); }

/* Mobile nav */
.nav-mobile {
  display:none; position:fixed; top:0; right:0;
  width:280px; height:100vh;
  background:var(--dark-2); border-left:1px solid var(--gold-20);
  z-index:999; padding:5rem 2rem 2rem;
  flex-direction:column; gap:1.5rem;
  transform:translateX(100%); transition:transform var(--transition);
}
.nav-mobile.open { transform:translateX(0); }
.nav-mobile a {
  font-size:.9rem; font-weight:500; letter-spacing:.1em; text-transform:uppercase;
  color:var(--white-70); padding:.5rem 0;
  border-bottom:1px solid var(--white-10); transition:color var(--transition);
}
.nav-mobile a:hover { color:var(--white); }
.nav-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.6); z-index:998; }
.nav-overlay.open { display:block; }

/* ===== BUTTONS ===== */
.btn-primary {
  display:inline-flex; align-items:center; gap:.75rem;
  background:linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color:var(--black); padding:1rem 2.25rem;
  border-radius:var(--radius-sm); border:none; cursor:pointer;
  font-family:var(--font-body); font-size:.75rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase;
  transition:all var(--transition);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 32px rgba(201,168,76,.3); }
.btn-secondary {
  display:inline-flex; align-items:center; gap:.75rem;
  background:transparent; color:var(--white-70); padding:1rem 2rem;
  border-radius:var(--radius-sm); border:1px solid var(--white-20);
  font-family:var(--font-body); font-size:.75rem; font-weight:500;
  letter-spacing:.12em; text-transform:uppercase; cursor:pointer;
  transition:all var(--transition);
}
.btn-secondary:hover { color:var(--white); border-color:var(--white-50); background:var(--white-05); }
.btn-arrow { width:18px; height:18px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  border-top:1px solid var(--white-10); border-bottom:1px solid var(--white-10);
  padding:1.5rem 0; background:var(--dark-2); position:relative; z-index:2;
}
.trust-bar-inner { display:flex; align-items:center; justify-content:center; gap:3rem; flex-wrap:wrap; }
.trust-item  { display:flex; align-items:center; gap:.75rem; }
.trust-icon  { width:20px; height:20px; color:var(--gold); }
.trust-text  { font-size:.75rem; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color:var(--white-70); }
.trust-sep   { width:1px; height:20px; background:var(--white-20); }

/* ===== CONTENT SECTIONS ===== */
.section-pad { padding:var(--section-pad) 0; }
.section-pad-sm { padding:5rem 0; }
.bg-dark-2 { background:var(--dark-2); }

.section-header { text-align:center; margin-bottom:5rem; }
.section-heading {
  font-family:var(--font-display);
  font-size:clamp(2.5rem,4vw,4rem);
  font-weight:300; line-height:1.1; margin-bottom:1rem;
}
.section-heading em { font-style:italic; }
.section-subhead {
  font-size:.95rem; color:var(--white-60);
  max-width:520px; margin:0 auto; line-height:1.8;
}

/* ===== CARDS ===== */
.card-bordered {
  background:var(--dark-2); border:1px solid var(--white-10);
  border-radius:var(--radius-lg); padding:2.5rem;
  position:relative; overflow:hidden;
  transition:border-color var(--transition);
}
.card-bordered:hover { border-color:var(--gold-20); }
.card-gold-top::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--gold),transparent);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity:0; transform:translateY(28px);
  transition:opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:.1s; }
.reveal-delay-2 { transition-delay:.2s; }
.reveal-delay-3 { transition-delay:.3s; }
.reveal-delay-4 { transition-delay:.4s; }

/* ===== CONTACT FORM (shared) ===== */
.contact-form {
  background:var(--dark-3); border:1px solid var(--white-10);
  border-radius:var(--radius-lg); padding:2.5rem;
  position:relative; overflow:hidden;
}
.contact-form::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,var(--gold),var(--gold-dark),transparent);
}
.form-title { font-family:var(--font-display); font-size:1.5rem; font-weight:400; margin-bottom:.5rem; }
.form-subtitle { font-size:.82rem; color:var(--white-50); margin-bottom:2rem; }
.form-row    { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-bottom:1rem; }
.form-group  { margin-bottom:1rem; }
.form-label  { display:block; font-size:.7rem; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--white-50); margin-bottom:.5rem; }
.form-input, .form-select, .form-textarea {
  width:100%; background:var(--dark-2); border:1px solid var(--white-20);
  border-radius:var(--radius-sm); padding:.875rem 1rem;
  color:var(--white); font-family:var(--font-body); font-size:.88rem; font-weight:300;
  outline:none; transition:border-color var(--transition); -webkit-appearance:none;
}
.form-input::placeholder, .form-textarea::placeholder { color:var(--white-30); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color:var(--gold-30); }
.form-select option { background:var(--dark-2); }
.form-textarea { resize:none; min-height:110px; }
.form-privacy  { font-size:.75rem; color:var(--white-40); line-height:1.6; margin-bottom:1.5rem; }
.form-privacy a { color:var(--gold); text-decoration:underline; }
.form-btn {
  width:100%; background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%);
  color:var(--black); padding:1rem; border:none; border-radius:var(--radius-sm);
  font-family:var(--font-body); font-size:.75rem; font-weight:700;
  letter-spacing:.15em; text-transform:uppercase; cursor:pointer;
  transition:all var(--transition);
}
.form-btn:hover { transform:translateY(-1px); box-shadow:0 6px 24px rgba(201,168,76,.3); }

/* ===== FOOTER ===== */
.footer { background:var(--black); border-top:1px solid var(--white-10); }
.footer-top { padding:5rem 0 3rem; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; }
.footer-brand-logo { display:flex; align-items:center; gap:.75rem; margin-bottom:1.25rem; }
.footer-brand-name { font-family:var(--font-display); font-size:1.4rem; font-weight:500; }
.footer-brand-desc { font-size:.83rem; color:var(--white-50); line-height:1.8; margin-bottom:1.5rem; }
.footer-social { display:flex; gap:.75rem; }
.footer-social-link {
  width:36px; height:36px; border:1px solid var(--white-20);
  border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center;
  color:var(--white-50); transition:all var(--transition);
}
.footer-social-link:hover { border-color:var(--gold-30); color:var(--gold); }
.footer-col-title { font-size:.7rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase; color:var(--gold); margin-bottom:1.5rem; }
.footer-links { display:flex; flex-direction:column; gap:.6rem; }
.footer-links a { font-size:.85rem; color:var(--white-50); transition:color var(--transition); }
.footer-links a:hover { color:var(--white); }
.footer-contact-link {
  display:flex; align-items:center; gap:.5rem;
  font-size:.82rem; color:var(--white-50);
  transition:color var(--transition); margin-bottom:.5rem;
}
.footer-contact-link:hover { color:var(--gold); }
.footer-bottom { border-top:1px solid var(--white-10); padding:1.75rem 0; }
.footer-bottom-inner { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-copyright { font-size:.78rem; color:var(--white-40); }
.footer-legal { display:flex; gap:1.5rem; }
.footer-legal a { font-size:.78rem; color:var(--white-40); transition:color var(--transition); }
.footer-legal a:hover { color:var(--white); }

/* ===== RESPONSIVE ===== */
@media(max-width:1100px) {
  .footer-grid { grid-template-columns:1fr 1fr; gap:2rem; }
}
@media(max-width:900px) {
  :root { --section-pad:5rem; }
}
@media(max-width:700px) {
  .nav-links     { display:none; }
  .nav-hamburger { display:flex; }
  .nav-mobile    { display:flex; }
  .trust-bar-inner { gap:1.5rem; }
  .trust-sep { display:none; }
  .footer-grid { grid-template-columns:1fr; }
  .footer-bottom-inner { flex-direction:column; align-items:flex-start; }
  .form-row { grid-template-columns:1fr; }
}
@media(max-width:480px) {
  .container { padding:0 1.25rem; }
  .nav-inner  { padding:1rem 1.25rem; }
}

/* ===== PAGE HERO SPLIT (aloldalak) ===== */
.page-hero-split {
  padding: 0;
  min-height: 520px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark) 0%, var(--black) 100%);
}
.page-hero-split-left {
  padding: 10rem 3rem 5rem;
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
}
.page-hero-split-left::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold-20), transparent);
}
.page-hero-split-right {
  position: relative; overflow: hidden;
}
.page-hero-split-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  filter: brightness(.55) saturate(.8);
  transition: transform 8s ease;
}
.page-hero-split:hover .page-hero-split-img { transform: scale(1.04); }
.page-hero-split-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(270deg, transparent 40%, var(--dark) 100%),
    linear-gradient(180deg, rgba(0,0,0,.3) 0%, transparent 50%);
}
.page-hero-split-border {
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-20), transparent);
}
@media(max-width:900px) {
  .page-hero-split { grid-template-columns: 1fr; min-height: auto; }
  .page-hero-split-right { height: 260px; }
  .page-hero-split-left { padding: 8rem 1.5rem 3rem; }
  .page-hero-split-left::after { display: none; }
  .page-hero-split-overlay { background: linear-gradient(180deg, transparent 50%, var(--dark) 100%); }
}

.nav-logo-img { height:64px; width:auto; max-width:240px; object-fit:contain; display:block; transition:height var(--transition); }
.nav.scrolled .nav-logo-img { height:52px; }
