/* ========== Global Styles ========== */
:root {
  --red: #e63946;
  --yellow: rgba(255, 247, 0, 1);
  --blue: #2980b9;
  --black: #000000;
  --white: #ffffff;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
}

/* ========== Navbar ========== */
header {
  background: var(--yellow);
  border-bottom: 3px solid var(--black);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--black);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--black);
  transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
}

/* Mobile menu toggle (hidden on desktop) */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
  position: relative;
  text-align: center;
  width: 100%;
  min-height:100vh;
  padding: 6rem 1rem;
  background: var(--white);
  overflow: hidden; /* keeps background inside hero section with png*/
}

.hero-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  opacity: 0.2; /* Very subtle background */
  z-index: 0;    /* Behind text */
}


.hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .highlight {
  color: var(--blue);
  position: relative;
}

/* ========== Snowflake Decorations ========== */
.snowflake {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.7;
  z-index: 1;
}

.snowflake-behind {
  z-index: 0;
  opacity: 0.3;
}

.snowflake-1 {
  top: 43px;
  right: 65px;
  transform: rotate(-15deg);
}

.snowflake-2 {
  top: 20px;
  right: 0px;
  transform: rotate(25deg);
}

.snowflake-3 {
  top: -1px;
  left: 50%;
  transform: translateX(-50%) rotate(10deg);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  padding: .35rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: background 0.3s, color 0.3s;
}

.btn.primary {
  background: var(--blue);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--black);
}

.btn.secondary {
  border: 2px solid var(--black);
  color: var(--black);
  background: var(--white);
}

.btn.secondary:hover {
  background: var(--red);
  color: var(--white);
}

/* ========== Main Section Styles ========== */
main {
  min-height: calc(100vh - 80px - 60px); /* Subtract approximate header and footer heights */
  display: flex;
  flex-direction: column;
}

main section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ========== Footer ========== */
footer {
  text-align: center;
  padding: 1rem;
  border-top: 3px solid var(--black);
  margin-top: auto;
  font-size: 0.9rem;
  background: var(--yellow);
}

/* ========== About Page - Mondrian Background ========== */
.about {
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
}


/* ========== Responsive ========== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: var(--white);
    position: absolute;
    top: 60px;
    right: 10px;
    border: 2px solid var(--black);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .nav-links a {
    color: var(--black) !important;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--red) !important;
  }

  .nav-links.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .cta-buttons {
    flex-direction: column;
  }
}





