/* ═══════════════════════════════════════════
   EventCraft – Main Stylesheet
   ═══════════════════════════════════════════ */

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

/* ═══════════════ RESET & BASE ═══════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #133E87;
  --primary-dark: #0e2f66;
  --primary-light: #1a52a8;
  --accent: #f5a623;
  --dark: #1a1a2e;
  --light-bg: #f9f5f0;
  --white: #ffffff;
  --text: #333;
  --text-light: #555;
  --text-muted: #888;
  --border: #e0e0e0;
  --shadow: rgba(0,0,0,0.1);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* ═══════════════ HEADER ═══════════════ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 4em;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: all 0.3s ease;
}

.Logo-name {
  font-size: 1.5em;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.Navigation {
  display: flex;
  align-items: center;
  gap: 2em;
}

.nav-link {
  font-size: 0.95em;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* ── Dropdown ── */
.dropdown {
  position: relative;
}

.dropdown .nav-link i {
  margin-left: 4px;
  font-size: 0.7em;
  transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
  transform: rotate(90deg);
}

.dropdown_menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 1em 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown_menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown_menu ul {
  list-style: none;
}

.dropdown_item {
  padding: 0.7em 1.5em;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9em;
  color: var(--text);
}

.dropdown_item:hover {
  background: var(--light-bg);
  color: var(--primary);
  padding-left: 2em;
}

/* ═══════════════ FOOTER ═══════════════ */
.Footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 2.5em 2em;
  margin-top: 0;
}

.Footer p {
  margin-bottom: 1em;
  opacity: 0.8;
}

.Footer a {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 1em;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.Footer a:hover {
  color: var(--accent);
}

/* ═══════════════ RESPONSIVE HEADER ═══════════════ */
@media (max-width: 1024px) {
  header {
    padding: 1em 2em;
  }
  
  .Navigation {
    gap: 1.5em;
  }
  
  .nav-link {
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1em 1.5em;
    flex-direction: column;
    gap: 1em;
  }
  
  .Navigation {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
  }
  
  .dropdown_menu {
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
  }
  
  .dropdown:hover .dropdown_menu {
    transform: translateX(-50%) translateY(0);
  }
}

/* ═══════════════ UTILITY CLASSES ═══════════════ */
.section-label {
  display: inline-block;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1em;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════ SCROLL OFFSET (for fixed header) ═══════════════ */
section {
  scroll-margin-top: 80px;
}

[id] {
  scroll-margin-top: 80px;
}
