/* ═══════════════════════════════════════════════════════
   Amare Est Ltd — Main Stylesheet  v0.0.3
   Headings: Playfair Display (Latin) + Lora (Cyrillic fallback)
   Body:     Inter (Latin + Cyrillic)
   Palette:  Navy #0d1b2a · Gold #c9a84c
═══════════════════════════════════════════════════════ */

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

/* ── LIGHT THEME ──────────────────────────────────────── */
:root {
  --navy:       #0d1b2a;
  --gold:       #c9a84c;
  --gold-light: #e2c47a;
  --radius:     10px;

  /* Light surfaces — bright white base, warm off-white alt */
  --bg:          #ffffff;
  --bg-alt:      #f4f0e8;
  --bg-card:     #ffffff;
  --text:        #0d1b2a;
  --text-muted:  #526070;
  --border:      #d8e0e8;
  --input-bg:    #ffffff;
  --shadow:      0 4px 24px rgba(13,27,42,.10);
  --card-hover-shadow: 0 8px 32px rgba(13,27,42,.16);
}

/* ── DARK THEME ───────────────────────────────────────── */
[data-theme="dark"] {
  /* Much darker base — near-black navy, not just dark blue */
  --bg:          #07111d;
  --bg-alt:      #0c1a2b;
  --bg-card:     #0f2035;
  --text:        #e8f0f8;
  --text-muted:  #7fa0be;
  --border:      #1a3352;
  --input-bg:    #0f2035;
  --shadow:      0 4px 28px rgba(0,0,0,.55);
  --card-hover-shadow: 0 8px 36px rgba(0,0,0,.65);
}

/* Smooth theme transitions on key properties only */
body, .service-card, .form-card, .pillar, .step,
.about-visual, input, select, textarea {
  transition: background-color .3s ease, color .3s ease,
              border-color .3s ease, box-shadow .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ── HEADING FONT STACK ───────────────────────────────── */
/* Playfair Display handles Latin; Lora handles Cyrillic  */
.section-title,
.hero-heading,
.contact-info h2,
.doc-main h2,
.step-num,
.stat-value,
.logo,
.footer-logo {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
}

/* ── NAV ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 6%;
  background: rgba(13,27,42,.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.18);
}

.logo {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: 1.45rem;
  color: #fff;
  letter-spacing: .5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.logo span { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 1.6rem; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.80);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: .45rem 1.2rem;
  border-radius: 6px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── LANG + THEME CONTROLS ────────────────────────────── */
.nav-controls { display: flex; align-items: center; gap: .7rem; }

/* Single "switch to other language" link */
.lang-switch {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,.4);
  padding-bottom: 1px;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.lang-switch:hover { color: var(--gold); border-color: var(--gold); }

.theme-toggle {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(201,168,76,.25); }

/* ── BACK LINK (sub-pages) ────────────────────────────── */
.back-btn {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s;
}
.back-btn:hover { color: var(--gold); }

/* ── HERO ─────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2f47 60%, #0f2236 100%);
  position: relative; overflow: hidden;
  padding: 7rem 6% 4rem;
}
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(201,168,76,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(201,168,76,.07) 0%, transparent 60%);
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  max-width: 1200px; margin: 0 auto; width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  color: var(--gold);
  font-size: .78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: .35rem 1rem; border-radius: 50px;
  margin-bottom: 1.4rem;
}

.hero-heading {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  color: #fff; line-height: 1.2; margin-bottom: 1.4rem;
}
.hero-heading em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.72);
  max-width: 480px; margin-bottom: 2.4rem; line-height: 1.75;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: .95rem; padding: .85rem 2rem;
  border-radius: 7px; text-decoration: none;
  transition: background .2s, transform .15s; letter-spacing: .2px;
}
/* Override any ancestor link colour rules (e.g. .doc-main a) */
a.btn-primary         { color: var(--navy); }
a.btn-primary:hover   { color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block; border: 2px solid rgba(255,255,255,.35);
  color: #fff; font-weight: 500; font-size: .95rem;
  padding: .85rem 2rem; border-radius: 7px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--gold); background: rgba(201,168,76,.08); }

.hero-visual { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.stat-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  backdrop-filter: blur(6px); transition: border-color .2s;
}
.stat-card:hover { border-color: rgba(201,168,76,.35); }
.stat-card:nth-child(2) { margin-top: 1.6rem; }
.stat-card:nth-child(4) { margin-top: -1.6rem; }

.stat-icon  { font-size: 1.6rem; margin-bottom: .7rem; display: block; }
.stat-label { font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); font-weight: 600; margin-bottom: .3rem; }
.stat-value { font-family: 'Playfair Display', 'Lora', Georgia, serif; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.stat-desc  { font-size: .82rem; color: rgba(255,255,255,.5); margin-top: .3rem; }

/* ── SECTIONS COMMON ──────────────────────────────────── */
section { padding: 5.5rem 6%; }

.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--text); line-height: 1.25; margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem; color: var(--text-muted); max-width: 560px; line-height: 1.75;
}

.container { max-width: 1200px; margin: 0 auto; }

/* ── SERVICES ─────────────────────────────────────────── */
#services { background: var(--bg-alt); }

.services-header { margin-bottom: 3.5rem; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.6rem;
}

.service-card {
  background: var(--bg-card); border-radius: var(--radius);
  padding: 2.2rem 2rem; box-shadow: var(--shadow);
  border: 1px solid transparent;
  transition: border-color .25s, transform .2s, box-shadow .2s;
}
.service-card:hover {
  border-color: var(--gold); transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

.service-icon {
  width: 52px; height: 52px; background: rgba(201,168,76,.12);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 1.3rem;
}

.service-card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: .65rem; color: var(--text); }
.service-card p  { font-size: .93rem; color: var(--text-muted); line-height: 1.7; }

/* ── ABOUT ────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }

.about-list { list-style: none; margin-top: 2rem; display: flex; flex-direction: column; gap: .9rem; }
.about-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  font-size: .95rem; color: var(--text-muted); line-height: 1.6;
}
.about-list .check {
  flex-shrink: 0; width: 22px; height: 22px;
  background: rgba(201,168,76,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; color: var(--gold); margin-top: 1px;
}

.about-visual { display: flex; flex-direction: column; gap: 1.2rem; }

.pillar {
  background: var(--bg-alt);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.4rem 1.6rem;
}
.pillar h4 { font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.pillar p  { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* ── PROCESS ──────────────────────────────────────────── */
#process { background: var(--navy); }

#process .section-title { color: #fff; }
#process .section-sub   { color: rgba(255,255,255,.6); }

.process-steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem; margin-top: 3.5rem;
}

.step {
  padding: 2rem 1.8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); transition: border-color .2s;
}
.step:hover { border-color: rgba(201,168,76,.4); }

.step-num {
  font-family: 'Playfair Display', 'Lora', Georgia, serif; font-size: 2.8rem;
  color: rgba(201,168,76,.25); line-height: 1; margin-bottom: 1rem;
}
.step h3 { font-size: 1.05rem; font-weight: 600; color: #fff; margin-bottom: .55rem; }
.step p  { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }

/* ── CONTACT ──────────────────────────────────────────── */
#contact { background: var(--bg-alt); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif; font-size: 2rem;
  color: var(--text); margin-bottom: 1rem;
}
.contact-info p {
  font-size: .97rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 2rem;
}

.contact-detail {
  display: flex; align-items: center; gap: .9rem;
  margin-bottom: 1rem; font-size: .93rem; color: var(--text);
}
.contact-detail .ic { font-size: 1.1rem; }

.form-card {
  background: var(--bg-card); border-radius: 12px;
  padding: 2.4rem 2.2rem; box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }

.form-group label { font-size: .83rem; font-weight: 600; color: var(--text); letter-spacing: .3px; }

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border); border-radius: 7px;
  padding: .75rem 1rem; font-size: .93rem; font-family: inherit;
  color: var(--text); background: var(--input-bg);
  transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }

.btn-submit {
  width: 100%; background: var(--navy); color: #fff;
  font-weight: 600; font-size: .97rem; padding: .95rem 1.5rem;
  border: none; border-radius: 7px; cursor: pointer;
  transition: background .2s; font-family: inherit; letter-spacing: .3px;
}
.btn-submit:hover { background: var(--gold); color: var(--navy); }

/* ── FOOTER ───────────────────────────────────────────── */
footer {
  background: var(--navy); padding: 3rem 6%;
  border-top: 1px solid rgba(201,168,76,.2);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-logo {
  font-family: 'Playfair Display', 'Lora', Georgia, serif; font-size: 1.2rem;
  color: #fff; text-decoration: none;
  display: flex; align-items: center; gap: .6rem;
}
.footer-logo span { color: var(--gold); }

.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: .87rem; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }

.footer-copy {
  font-size: .82rem; color: rgba(255,255,255,.35);
  width: 100%; text-align: center; margin-top: 1.4rem;
  padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.07);
}
.footer-copy a { color: var(--gold); text-decoration: none; }

/* ── FAQ ──────────────────────────────────────────────── */
#faq { background: var(--bg-alt); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.faq-item:hover {
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(201,168,76,.35);
}

.faq-item h3 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .7rem;
}

.faq-item p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ── SUB-PAGE (privacy / terms) ───────────────────────── */
nav.nav-sub { position: sticky; }

.page-hero {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a2f47 100%);
  padding: 4rem 6% 3rem; text-align: center;
}
.page-hero h1 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff; margin-bottom: .6rem;
}
.page-hero p { color: rgba(255,255,255,.6); font-size: .95rem; }

.doc-main { max-width: 820px; margin: 0 auto; padding: 3.5rem 6% 5rem; }

.lang-section { display: none; }
.lang-section.active { display: block; }

.doc-main h2 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif; font-size: 1.35rem;
  color: var(--text); margin: 2.4rem 0 .7rem;
  border-bottom: 2px solid rgba(201,168,76,.3); padding-bottom: .4rem;
}
.doc-main h3 { font-size: 1rem; font-weight: 600; color: var(--text); margin: 1.4rem 0 .4rem; }
.doc-main p  { font-size: .95rem; color: var(--text-muted); margin-bottom: 1rem; }
.doc-main ul { margin: .5rem 0 1rem 1.4rem; }
.doc-main li { font-size: .95rem; color: var(--text-muted); margin-bottom: .4rem; line-height: 1.6; }
.doc-main a  { color: var(--gold); }
.doc-main a.btn-primary,
.doc-main a.btn-primary:hover { color: var(--navy); }

.effective {
  display: inline-block; background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3); color: var(--gold);
  font-size: .8rem; font-weight: 600; padding: .3rem .9rem;
  border-radius: 50px; margin-bottom: 2rem;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  nav { padding: 1rem 5%; }
  .nav-links { gap: 1.4rem; }
}

@media (max-width: 660px) {
  .nav-links { display: none; }
  section { padding: 4rem 5%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .lang-btn { font-size: .72rem; padding: .28rem .65rem; }
}

/* ── BULGARIA PAGE ─────────────────────────────────────── */
.bulgaria-main { max-width: 960px; }

.bul-intro {
  background: rgba(201,168,76,.06);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  padding: 1.4rem 1.8rem;
  margin-bottom: 2.8rem;
}
.bul-intro p { color: var(--text-muted); font-size: .97rem; margin: 0 0 .8rem; }
.bul-intro p:last-child { margin: 0; }

.bul-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 0 0 3rem;
}

.bul-fact {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.bul-fact:hover {
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(201,168,76,.4);
}

.bul-fact-val {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.bul-fact-label {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text);
}

.bul-fact-note {
  font-size: .75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.bul-cta-box {
  background: linear-gradient(135deg, #0d1b2a 0%, #1a3352 100%);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 16px;
  padding: 2.4rem 2.8rem;
  margin-top: 3rem;
}

.bul-cta-box h2 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #e8f0f8;
  border-bottom: 2px solid rgba(201,168,76,.3);
  padding-bottom: .5rem;
  margin-bottom: 1.2rem;
}

.bul-cta-box p  { color: rgba(232,240,248,.75); font-size: .95rem; margin-bottom: 1rem; }
.bul-cta-box ul { margin: .8rem 0 1.2rem 0; padding: 0; list-style: none; }
.bul-cta-box li { color: rgba(232,240,248,.85); font-size: .9rem; padding: .3rem 0; }

/* Bulgaria page section nav (TOC) */
.bul-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.2rem 1.6rem;
  margin-bottom: 2.4rem;
}
.bul-toc p {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin: 0 0 .7rem;
}
.bul-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bul-toc li a {
  font-size: .82rem;
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.bul-toc li a:hover { text-decoration: underline; }

/* ── CLIENT PROFILES ──────────────────────────────────── */
.client-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.6rem;
  margin: 2.4rem 0 3rem;
}

.client-profile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, border-color .25s ease;
}

.client-profile:hover {
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(201,168,76,.3);
}

.cp-icon {
  font-size: 1.8rem;
  margin-bottom: .8rem;
  display: block;
}

.client-profile h3 {
  font-family: 'Playfair Display', 'Lora', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .7rem;
}

.client-profile p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: .7rem;
}

.client-profile p:last-child { margin: 0; }

.cp-fit {
  background: rgba(201,168,76,.07);
  border-left: 3px solid rgba(201,168,76,.5);
  padding: .5rem .8rem;
  border-radius: 0 6px 6px 0;
  font-size: .83rem !important;
}

@media (max-width: 660px) {
  .bul-facts-grid { grid-template-columns: repeat(2, 1fr); }
  .bul-cta-box { padding: 1.6rem 1.4rem; }
  .client-profiles-grid { grid-template-columns: 1fr; }
}
