/* Reset & base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f4ff;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #1a1a2e;
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-weight: 700;
  font-size: 1.75rem;
  text-decoration: none;
  color: #e94560;
}
.logo span {
  color: #0f3460;
}

/* Navigation */
.nav-menu {
  display: none;
  position: fixed;
  top: 60px; /* header height */
  right: 0;
  width: 220px;
  height: calc(100% - 60px);
  background: #1a1a2e;
  flex-direction: column;
  padding: 2rem 1rem;
  gap: 1.5rem;
  box-shadow: -3px 0 8px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.3rem 0.5rem;
  transition: color 0.3s ease;
}
.nav-menu a:hover,
.nav-menu a:focus {
  color: #e94560;
  outline: none;
}

.nav-menu-visible {
  display: flex;
  transform: translateX(0);
}

/* Primary Button */
.btn-primary {
  background: #e94560;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  color: white !important;
  font-weight: 700;
  transition: background 0.3s ease;
}
.btn-primary:hover,
.btn-primary:focus {
  background: #ff3366;
  outline: none;
}

/* Hamburger button */
.mobile-nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  width: 30px;
  height: 22px;
  z-index: 1001;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  background-color: white;
  height: 3px;
  border-radius: 2px;
  position: absolute;
  width: 100%;
  transition: all 0.3s ease;
}
.hamburger {
  top: 50%;
  transform: translateY(-50%);
}
.hamburger::before {
  top: -8px;
}
.hamburger::after {
  bottom: -8px;
}
.mobile-nav-toggle.open .hamburger {
  background-color: transparent;
}
.mobile-nav-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}
.mobile-nav-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Desktop styles */
@media (min-width: 769px) {
  .nav-menu {
    display: flex !important;
    position: static;
    height: auto;
    width: auto;
    flex-direction: row;
    padding: 0;
    gap: 1.25rem;
    box-shadow: none;
    transform: none !important;
  }

  .mobile-nav-toggle {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: #0f3460;
  color: white;
  padding: 1rem 0;
  margin-top: auto;
  font-size: 0.9rem;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.social-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}
.social-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}
.social-links a:hover,
.social-links a:focus {
  color: #e94560;
  outline: none;
}

/* Homepage Main Hero */
.main-hero {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  min-height: 60vh;
}
.main-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}
.main-hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin-bottom: 2rem;
  line-height: 1.4;
}
.main-hero button {
  background: #e94560;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  color: white;
  font-weight: 700;
}
.main-hero button:hover,
.main-hero button:focus {
  background: #ff3366;
  outline: none;
}
.logo img {
  height: 1.6em;
  vertical-align: middle;
  margin-right: 0.4em;
}
