/* ============================================
   vidushiduhan.com — global styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --color-bg: #0f0f0f;
  --color-surface: #1a1a1a;
  --color-accent: #c8a97e;
  --color-text: #e8e8e8;
  --color-muted: #888;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --max-width: 1100px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ── Nav ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 60px;
  background: #fff;
  border-bottom: 1px solid #E8E8E8;
  font-family: 'Inter', system-ui, sans-serif;
}

.site-nav__logo {
  font-size: 0.85rem;
  font-weight: 700;
  color: #303030;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav__logo:hover { text-decoration: none; color: #303030; }

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

.site-nav__links > li { position: relative; }

.site-nav__links > li > a {
  font-size: 0.88rem;
  font-weight: 500;
  color: #0050E0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}
.site-nav__links > li > a:hover { color: #6C1D9D; text-decoration: none; }
.site-nav__links > li > a.active { color: #6C1D9D; }

.chevron { font-size: 0.65rem; margin-left: 3px; }

/* CSS dropdown */
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;           /* flush to the bottom of the li — no gap */
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  list-style: none;
  padding-top: 12px;   /* visual breathing room, but hover area is unbroken */
  padding-bottom: 8px;
  z-index: 300;
}

.has-dropdown:hover .dropdown { display: block; }

.dropdown li a {
  display: block;
  padding: 9px 18px;
  font-size: 0.86rem;
  color: #0050E0;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.dropdown li a:hover { color: #6C1D9D; background: #F5F5F5; text-decoration: none; }
.dropdown li a.active { color: #6C1D9D; }

/* Hamburger */
.site-nav__hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #303030;
  padding: 4px 8px;
  line-height: 1;
}

/* Mobile menu */
.site-nav__mobile-menu {
  display: none; /* shown via JS removing [hidden] + this override */
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #E8E8E8;
  list-style: none;
  padding: 12px 0 20px;
  z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.site-nav__mobile-menu:not([hidden]) { display: block; }

.site-nav__mobile-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 0.9rem;
  color: #0050E0;
  text-decoration: none;
}
.site-nav__mobile-menu li a:hover { color: #6C1D9D; text-decoration: none; }
.site-nav__mobile-menu li a.active { color: #6C1D9D; }

.mobile-group-label {
  padding: 10px 24px 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
}

@media (max-width: 768px) {
  .site-nav__links { display: none; }
  .site-nav__hamburger { display: block; }
}

/* ── Footer ── */
.site-footer {
  background: #FFF3DC;
  padding: 32px 2.5rem;
  font-family: 'Inter', system-ui, sans-serif;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer__copy {
  font-size: 0.82rem;
  color: #3D3D3D;
}

.site-footer__connect {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3D3D3D;
}

.site-footer__icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-footer__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.site-footer__icon--mail {
  background: #E8500A;
  border-radius: 50%;
}

.site-footer__icon--linkedin {
  background: #0A66C2;
  border-radius: 6px;
}

@media (max-width: 600px) {
  .site-footer__inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ── Utilities ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}
