/* ============================================================
   TundeOlat — Shared Stylesheet
   tundeolat.cloud
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,500&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --navy: #1B2B5E;
  --navy-dark: #0D1733;
  --navy-mid: #243672;
  --gold: #C9A227;
  --gold-light: #E8C547;
  --gold-dim: rgba(201,162,39,0.15);
  --white: #FFFFFF;
  --off-white: #F4F6FB;
  --text-muted: rgba(255,255,255,0.62);
  --text-body: rgba(255,255,255,0.85);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy-dark);
  color: var(--text-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Background ── */
.bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0D1733 0%, #1B2B5E 60%, #0D1733 100%);
  z-index: 0;
}

.bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(201,162,39,0.03) 60px, rgba(201,162,39,0.03) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(201,162,39,0.03) 60px, rgba(201,162,39,0.03) 61px);
}

.bg-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.07) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  pointer-events: none;
}

.bg-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.05) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}

/* ── Layout ── */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
  width: 100%;
}

/* ── Navigation ── */
nav {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(201,162,39,0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,23,51,0.92);
  backdrop-filter: blur(12px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: font-weight;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-logo-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.nav-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-cta {
  padding: 0.5rem 1.4rem;
  background: var(--gold);
  color: var(--navy-dark) !important;
  border-radius: 2px;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
  color: var(--navy-dark) !important;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Section Base ── */
section {
  padding: 5rem 0;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-title span {
  color: var(--gold);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}

.gold-rule {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: var(--gold);
  color: var(--navy-dark);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid rgba(201,162,39,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,162,39,0.08);
}

/* ── Cards ── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 4px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(201,162,39,0.4);
  transform: translateY(-3px);
}

/* ── Footer ── */
footer {
  padding: 2.5rem 0;
  border-top: 2px solid rgba(201,162,39,0.4);
  margin-top: auto;
}

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

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(201,162,39,0.65);
  text-decoration: none;
  font-size: 0.72rem;
  transition: color 0.2s;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--gold);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.4s ease both; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(13,23,51,0.98);
    padding: 1.5rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--gold-dim);
  }

  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .container { padding: 0 1.5rem; }
  .nav-inner { padding: 0 1.5rem; }
  section { padding: 3.5rem 0; }
  .footer-inner { flex-direction: column; text-align: center; }
}
