/* ═══════════════════════════════════════════
   Ekuveri Boli Mulah — style.css
   ═══════════════════════════════════════════ */

/* ══ DHIVEHI CUSTOM FONTS — declared first so ALL browsers load them early ══ */
@font-face {
  font-family: 'MvDheliFihi';
  src: url('assets/fonts/MvDheliFihi.woff2') format('woff2'),
       url('assets/fonts/MvDheliFihi.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'MvIzyanSuruhee';
  src: url('assets/fonts/MvIzyanSuruhee.woff2') format('woff2'),
       url('assets/fonts/MvIzyanSuruhee.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'MvAlram';
  src: url('assets/fonts/MvAlram.woff2') format('woff2'),
       url('assets/fonts/MvAlram.ttf') format('truetype');
  font-weight: normal; font-style: normal; font-display: swap;
}

/* ═══════════════════════════════════════════
   Ekuveri Boli Mulah — style.css
   ═══════════════════════════════════════════ */

/* Mv Dheli Fihi — Headings (H1, H2, H3, hero title, section titles) */
/* Mv Izyan Suruhee — Subheadings (H4–H6, card titles, labels) */
/* Mv Alram — Body text (paragraphs, nav, buttons, footer, lists) */
/* ── Dhivehi font CSS variables (applied only when lang=dv is active) ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }



html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
}

/* ══ NAV ══ */
#navbar {
  position: fixed; top: 0; width: 100%; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 2.5rem;
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: padding 0.3s;
}
#navbar.scrolled { padding: 0.5rem 2.5rem; }

.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}
.nav-logo img {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.35);
}
.nav-logo span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.04em; line-height: 1.2;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  color: var(--gold-pale); text-decoration: none;
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: var(--gold-light); font-size: 1.4rem;
  padding: 0.25rem 0.5rem;
}

/* ══ HERO ══ */
#hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  position: relative; overflow: hidden;
  background: var(--black);
}

.hero-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(201,168,76,0.04) 38px, rgba(201,168,76,0.04) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(201,168,76,0.04) 38px, rgba(201,168,76,0.04) 39px);
}
.hero-glow {
  position: absolute; border-radius: 50%; pointer-events: none; filter: blur(80px);
}
.glow-red  { width: 600px; height: 400px; top: 20%; left: 50%; transform: translateX(-50%); background: rgba(155,28,28,0.18); }
.glow-gold { width: 500px; height: 300px; bottom: 0; left: 50%; transform: translateX(-50%); background: rgba(201,168,76,0.1); }

.hero-content { position: relative; z-index: 1; }

.hero-logo {
  width: clamp(120px, 22vw, 190px);
  height: clamp(120px, 22vw, 190px);
  border-radius: 50%;
  box-shadow:
    0 0 0 3px rgba(201,168,76,0.45),
    0 0 50px rgba(201,168,76,0.25),
    0 0 100px rgba(155,28,28,0.2);
  margin-bottom: 1.8rem;
  animation: floatLogo 5s ease-in-out infinite;
}
@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.9rem;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 700; line-height: 1.0;
  color: var(--gold-light);
  text-shadow: 0 4px 40px rgba(201,168,76,0.3);
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--cream); }
.hero-subtitle {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.45rem);
  font-style: italic; color: rgba(245,233,196,0.7);
  letter-spacing: 0.02em;
}
.hero-divider {
  width: 120px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.8rem auto;
}
.hero-desc {
  max-width: 520px; margin: 0 auto;
  font-size: 0.9rem; line-height: 1.75;
  color: rgba(250,246,238,0.6);
}
.hero-cta {
  margin-top: 2.5rem;
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

/* ══ BUTTONS ══ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.25s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-mid));
  color: #fff;
  box-shadow: 0 4px 20px rgba(155,28,28,0.45);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(155,28,28,0.65);
}
.btn-outline {
  background: transparent; color: var(--gold-light);
  border: 1px solid rgba(201,168,76,0.45);
}
.btn-outline:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--gold-light);
}

/* ══ SECTION COMMONS ══ */
.section-label {
  text-align: center;
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.6rem;
}
.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700; color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.section-sub {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; color: rgba(245,233,196,0.5);
  font-size: 1.05rem; margin-bottom: 3.5rem;
}

/* ══ PERFORMANCES ══ */
#performances {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--black) 0%, #110A02 50%, var(--black) 100%);
}
.perf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; max-width: 1100px; margin: 0 auto;
}
.perf-card {
  position: relative; padding: 2rem 1.75rem 1.75rem;
  border: 1px solid rgba(201,168,76,0.18);
  background: rgba(255,255,255,0.025);
  overflow: hidden; transition: border-color 0.3s, transform 0.3s;
}
.perf-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 3px; height: 0;
  background: linear-gradient(180deg, var(--gold), var(--red));
  transition: height 0.4s ease;
}
.perf-card:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-4px); }
.perf-card:hover::before { height: 100%; }
.perf-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.perf-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem; font-weight: 700;
  color: var(--gold-light); margin-bottom: 0.4rem;
}
.perf-dv {
  font-size: 1rem; color: var(--red-mid);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; margin-bottom: 0.75rem;
}
.perf-desc { font-size: 0.85rem; line-height: 1.7; color: rgba(250,246,238,0.6); }

/* ══ OCCASIONS ══ */
#occasions { padding: 6rem 1.5rem; background: var(--black); }
.occ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem; max-width: 900px; margin: 0 auto;
}
.occ-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(201,168,76,0.15);
  background: rgba(201,168,76,0.04);
  transition: background 0.2s, border-color 0.2s;
}
.occ-item:hover { background: rgba(201,168,76,0.1); border-color: rgba(201,168,76,0.3); }
.occ-dot {
  width: 8px; height: 8px; flex-shrink: 0;
  background: var(--red-mid); transform: rotate(45deg);
}
.occ-text { font-size: 0.88rem; font-weight: 500; color: var(--gold-pale); letter-spacing: 0.03em; }

/* ══ WHY US ══ */
#why {
  padding: 6rem 1.5rem;
  background: linear-gradient(180deg, var(--black) 0%, #0D0800 100%);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem; max-width: 900px; margin: 0 auto; text-align: center;
}
.why-item { padding: 1rem; }
.why-icon {
  font-size: 2.4rem; color: var(--red-mid);
  opacity: 0.75; line-height: 1;
}
.why-label {
  margin-top: 0.75rem;
  font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}
.why-desc {
  margin-top: 0.5rem;
  font-size: 0.83rem; line-height: 1.65;
  color: rgba(250,246,238,0.5);
}

/* ══ BOOKING ══ */
#booking { padding: 6rem 1.5rem; background: var(--black); }
.booking-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; margin: 2.5rem 0; }
.contact-card {
  display: flex; align-items: center; gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  background: rgba(201,168,76,0.04);
  text-decoration: none; text-align: left;
  transition: all 0.25s;
}
.contact-card:hover {
  background: rgba(201,168,76,0.1);
  border-color: rgba(201,168,76,0.45);
  transform: translateX(4px);
}
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.3rem;
}
.icon-mail { background: rgba(155,28,28,0.25); }
.icon-wa   { background: rgba(37,211,102,0.15); }
.contact-info-label {
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--gold);
}
.contact-info-val { font-size: 0.92rem; color: var(--cream); margin-top: 0.1rem; }
.booking-note {
  font-size: 0.8rem; line-height: 1.7;
  color: rgba(250,246,238,0.4); margin-top: 1.5rem;
}
.booking-btn { margin-top: 2rem; }

/* ══ FOOTER ══ */
footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(201,168,76,0.15);
  text-align: center; background: var(--black);
}
.footer-logo-img {
  width: 60px; height: 60px; border-radius: 50%; opacity: 0.85;
}
.footer-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: var(--gold);
  margin-top: 0.6rem; font-weight: 600;
}
.footer-tagline {
  font-size: 0.75rem; color: rgba(245,233,196,0.3);
  margin-top: 0.3rem; letter-spacing: 0.1em;
}
.footer-copy {
  margin-top: 1.5rem;
  font-size: 0.72rem; color: rgba(250,246,238,0.2);
  letter-spacing: 0.08em;
}

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

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  #navbar { padding: 0.65rem 1.25rem; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column;
    width: 100%; gap: 0;
    background: rgba(13,13,13,0.97);
    border-top: 1px solid rgba(201,168,76,0.15);
    margin-top: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block; padding: 0.85rem 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.08);
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-logo { animation: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ══ CSS VARIABLES — includes Dhivehi font stack ══ */
:root {
  --gold:          #C9A84C;
  --gold-light:    #E8C96A;
  --gold-pale:     #F5E9C4;
  --red:           #9B1C1C;
  --red-mid:       #C0392B;
  --blue:          #1A3A8F;
  --black:         #0D0D0D;
  --ink:           #110A02;
  --cream:         #FAF6EE;
  /* Dhivehi font families — used by html[lang="dv"] rules below */
  --dv-heading:    'MvDheliFihi',    'MV Waheed', system-ui, sans-serif;
  --dv-subheading: 'MvIzyanSuruhee', 'MV Waheed', system-ui, sans-serif;
  --dv-body:       'MvAlram',        'MV Waheed', system-ui, sans-serif;
}

/* ══ HERO IMAGE SWITCHER ══ */
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('assets/hero-en.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease, opacity 0.4s ease;
}
#hero:hover .hero-bg { transform: scale(1.0); }
.hero-bg.lang-dv {
  background-image: url('assets/hero-dv.png');
}

/* ══ HERO TITLE — separate elements per language ══ */
.hero-title-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 8vw, 6.5rem);
  font-weight: 700; line-height: 0.95;
  letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 60px rgba(201,168,76,0.3);
  margin-bottom: 0.15em;
}
.hero-title-en .title-gold { color: #E8C96A; }

.hero-title-dv {
  font-family: 'MvDheliFihi', 'MV Waheed', system-ui, sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: normal; line-height: 1.4;
  letter-spacing: 0.02em; color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 0 60px rgba(201,168,76,0.3);
  margin-bottom: 0.15em; direction: rtl;
}
.hero-title-dv .title-gold { color: #E8C96A; }

/* ══ LANGUAGE SWITCHER ══ */
.lang-switcher {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: 1.5rem; flex-shrink: 0;
}
.lang-btn {
  background: none; border: 1px solid transparent;
  color: var(--gold-pale); cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 2px;
  transition: all 0.2s; line-height: 1.4;
}
.lang-btn[lang="dv"] {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  letter-spacing: 0; font-size: 0.82rem; text-transform: none;
}
.lang-btn:hover { color: var(--gold-light); border-color: rgba(201,168,76,0.3); }
.lang-btn.active {
  color: var(--gold-light);
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.08);
}
.lang-divider { width: 1px; height: 14px; background: rgba(201,168,76,0.3); }

/* ══ data-lang VISIBILITY ══ */
[data-lang]      { display: none; }
[data-lang="en"] { display: revert; }

/* ══ RTL ══ */
html[lang="dv"] { direction: rtl; }

/* ══ DHIVEHI FONT APPLICATION ══
   Applied ONLY when html[lang="dv"] — English fonts unchanged
   ─────────────────────────────────────── */

/* Base body font */
html[lang="dv"] body {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  line-height: 1.9;
}

/* H1 H2 H3 headings — MvDheliFihi */
html[lang="dv"] h1,
html[lang="dv"] h2,
html[lang="dv"] h3,
html[lang="dv"] .section-title {
  font-family: 'MvDheliFihi', 'MV Waheed', system-ui, sans-serif;
  line-height: 1.5;
}

/* Subheadings / labels — MvIzyanSuruhee */
html[lang="dv"] h4,
html[lang="dv"] h5,
html[lang="dv"] h6,
html[lang="dv"] .section-label,
html[lang="dv"] .hero-eyebrow,
html[lang="dv"] .perf-name,
html[lang="dv"] .perf-dv,
html[lang="dv"] .why-label,
html[lang="dv"] .contact-info-label {
  font-family: 'MvIzyanSuruhee', 'MV Waheed', system-ui, sans-serif;
  line-height: 1.6;
}

/* All body / paragraph text — MvAlram */
html[lang="dv"] p,
html[lang="dv"] .hero-desc,
html[lang="dv"] .hero-tagline,
html[lang="dv"] .section-sub,
html[lang="dv"] .perf-desc,
html[lang="dv"] .why-desc,
html[lang="dv"] .booking-note,
html[lang="dv"] .occ-text,
html[lang="dv"] .contact-info-val,
html[lang="dv"] .footer-tagline,
html[lang="dv"] .footer-copy,
html[lang="dv"] .footer-name {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  line-height: 1.9;
}

/* Nav links — MvAlram */
html[lang="dv"] .nav-links a {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  font-size: 0.84rem;
}

/* Buttons — MvAlram */
html[lang="dv"] .btn {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  font-size: 0.84rem;
  font-style: normal;
}

/* Hero tagline — MvAlram, no italic */
html[lang="dv"] .hero-tagline {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  font-style: normal;
  font-size: clamp(0.95rem, 2.3vw, 1.3rem);
  line-height: 1.9;
}

/* Hero desc — MvAlram */
html[lang="dv"] .hero-desc {
  font-family: 'MvAlram', 'MV Waheed', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 2.0;
  max-width: 580px;
}

/* Hero eyebrow — MvIzyanSuruhee */
html[lang="dv"] .hero-eyebrow {
  font-family: 'MvIzyanSuruhee', 'MV Waheed', system-ui, sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.76rem;
}

/* ══ RTL LAYOUT FIXES ══ */
html[lang="dv"] .nav-logo   { flex-direction: row-reverse; }
html[lang="dv"] #navbar      { flex-direction: row-reverse; }
html[lang="dv"] .nav-links   { flex-direction: row-reverse; }
html[lang="dv"] .lang-switcher { margin-left: 0; margin-right: 1.5rem; }
html[lang="dv"] .perf-card::before { left: auto; right: 0; }
html[lang="dv"] .contact-card:hover { transform: translateX(-4px); }
html[lang="dv"] .hero-eyebrow::before { background: linear-gradient(270deg, transparent, #C9A84C); }
html[lang="dv"] .hero-eyebrow::after  { background: linear-gradient(270deg, #C9A84C, transparent); }

/* ══ MOBILE RTL ══ */
@media (max-width: 768px) {
  html[lang="dv"] #navbar      { flex-direction: row; flex-wrap: wrap; }
  html[lang="dv"] .nav-logo    { order: 1; }
  html[lang="dv"] .nav-toggle  { order: 3; }
  html[lang="dv"] .lang-switcher { order: 2; margin-right: 0; margin-left: auto; }
  html[lang="dv"] .nav-links   { flex-direction: column; text-align: right; }
  .lang-switcher { margin-left: auto; }
}
