/* ===========================
   Mae Adventures — Global CSS
   =========================== */

/* --- CSS Variables --- */
:root {
  --color-yellow:   #FFE066;
  --color-pink:     #FF6EB4;
  --color-blue:     #4FC3F7;
  --color-green:    #81C784;
  --color-purple:   #CE93D8;
  --color-bg:       #FFFDF7;
  --color-white:    #FFFFFF;
  --color-text:     #3D2B1F;
  --color-text-light: #7A5C4F;
  --color-nav-bg:   #FFFFFF;
  --color-footer-bg:#FFF0F8;

  --font-main: 'Nunito', 'Arial Rounded MT Bold', Arial, sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);

  --max-width: 1100px;
  --nav-height: 68px;
}

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

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

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

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

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

ul {
  list-style: none;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --- Navigation --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-nav-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  height: var(--nav-height);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text);
}

.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-logo .logo-placeholder {
  width: 40px;
  height: 40px;
  background: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  color: var(--color-text);
}

.nav-links a:hover,
.nav-links a:focus {
  background: var(--color-yellow);
  color: var(--color-text);
  outline: 3px solid var(--color-pink);
  outline-offset: 2px;
}

.nav-links a.active {
  background: var(--color-pink);
  color: var(--color-white);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  border-radius: 3px;
  transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-nav-bg);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    gap: 0.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
  }
}

/* --- Footer --- */
.site-footer {
  background: var(--color-footer-bg);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-light);
  transition: color 0.2s;
}

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

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  outline: 3px solid var(--color-pink);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-pink);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-text);
  color: var(--color-white);
}
