/* =========================
   RESET & BASE STYLES
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica', sans-serif;
  background: linear-gradient(135deg, #f0eace 0%, #d1c7a9 100%);
  color: #4b422d;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 2rem);
  line-height: 1.6;
  background-image: url('images/batanes.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

/* =========================
   LINKS
========================= */
a {
  color: #7b5e1f;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

/* =========================
   HEADER
========================= */
header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: 'Times New Roman', serif;
  color: #2E661D;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
  animation: fadeIn 1.5s ease-in-out;
  letter-spacing: 1px;
}

header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto;
  color: #2E661D;
  padding: 0 1rem;
}

/* =========================
   NAVIGATION
========================= */
nav {
  margin: 0 auto 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  min-width: 150px;
  border-radius: 15px;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  text-align: center;
  color: #2E661D;
  background: rgba(173, 216, 230, 0.5);
  border: 2px solid rgba(30, 60, 90, 0.5);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15),
              -2px -2px 6px rgba(255, 255, 255, 0.7);
  text-shadow: 1px 1px 0 #fff;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(5px);
}

nav a::before,
nav a::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 12px;
  background: #fff3d6;
  top: -7px;
  box-shadow: 0 1.5px 2.5px rgba(0, 0, 0, 0.25);
}

nav a::before { left: 14px; transform: rotate(-5deg); }
nav a::after  { right: 14px; transform: rotate(5deg); }

nav a:hover {
  background: rgba(100, 149, 237, 0.7);
  color: black;
  border-color: rgba(30, 60, 90, 0.7);
  transform: translateY(-6px) scale(1.1);
  box-shadow: 7px 9px 18px rgba(30, 60, 90, 0.35),
              inset 0 0 12px rgba(255, 255, 255, 0.35);
}

/* =========================
   SECTIONS
========================= */
section {
  max-width: 1000px;
  background: #B3BFFF;
  padding: clamp(1rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
  border-radius: 15px;
  border: 2px dashed green;
  box-shadow: 0 6px 12px rgba(75, 66, 45, 0.1);
  transition: all 0.3s ease;
}

section:hover {
  box-shadow: 0 6px 18px rgba(75, 66, 45, 0.3);
}

section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #7b5e1f;
  text-align: center;
  margin-bottom: 1.25rem;
  animation: fadeIn 2s ease-in-out;
}

section p,
section ul {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: #5a4d28;
  margin-top: 0.75rem;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.6rem;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #7b5e1f;
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   MEDIA QUERIES
========================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    width: 90%;
    min-width: unset;
  }

  section {
    margin: 1.5rem auto;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
    background-attachment: scroll;
    background-size: cover;
  }

  header h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  header p {
    font-size: 1rem;
  }

  nav a {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    text-shadow: none;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  }

  nav a::before,
  nav a::after {
    display: none;
  }

  section {
    padding: 1rem;
    border-radius: 10px;
  }

  section h2 {
    font-size: 1.25rem;
  }

  section p,
  section ul {
    font-size: 0.95rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.85rem;
  }
}
/* =========================
   RESET & BASE STYLES
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica', sans-serif;
  background: linear-gradient(135deg, #f0eace 0%, #d1c7a9 100%);
  color: #4b422d;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 2rem);
  line-height: 1.6;
  background-image: url('images/batanes.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
}

/* =========================
   LINKS
========================= */
a {
  color: #7b5e1f;
  text-decoration: none;
  transition: color 0.3s ease, background 0.3s ease;
}

/* =========================
   HEADER
========================= */
header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

header h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-family: 'Times New Roman', serif;
  color: #2E661D;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.5);
  animation: fadeIn 1.5s ease-in-out;
  letter-spacing: 1px;
}

header p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 700px;
  margin: 0 auto;
  color: #2E661D;
  padding: 0 1rem;
}

/* =========================
   NAVIGATION
========================= */
nav {
  margin: 0 auto 2rem;
  animation: fadeIn 1.5s ease-in-out;
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

nav li {
  margin: 0;
}

nav a {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  min-width: 150px;
  border-radius: 15px;
  font-weight: 700;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  text-align: center;
  color: #2E661D;
  background: rgba(173, 216, 230, 0.5);
  border: 2px solid rgba(30, 60, 90, 0.5);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.15),
              -2px -2px 6px rgba(255, 255, 255, 0.7);
  text-shadow: 1px 1px 0 #fff;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(5px);
}

nav a::before,
nav a::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 12px;
  background: #fff3d6;
  top: -7px;
  box-shadow: 0 1.5px 2.5px rgba(0, 0, 0, 0.25);
}

nav a::before { left: 14px; transform: rotate(-5deg); }
nav a::after  { right: 14px; transform: rotate(5deg); }

nav a:hover {
  background: rgba(100, 149, 237, 0.7);
  color: black;
  border-color: rgba(30, 60, 90, 0.7);
  transform: translateY(-6px) scale(1.1);
  box-shadow: 7px 9px 18px rgba(30, 60, 90, 0.35),
              inset 0 0 12px rgba(255, 255, 255, 0.35);
}

/* =========================
   SECTIONS
========================= */
section {
  max-width: 1000px;
  background: #B3BFFF;
  padding: clamp(1rem, 4vw, 2rem);
  margin: clamp(1.5rem, 4vw, 2.5rem) auto;
  border-radius: 15px;
  border: 2px dashed green;
  box-shadow: 0 6px 12px rgba(75, 66, 45, 0.1);
  transition: all 0.3s ease;
}

section:hover {
  box-shadow: 0 6px 18px rgba(75, 66, 45, 0.3);
}

section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #7b5e1f;
  text-align: center;
  margin-bottom: 1.25rem;
  animation: fadeIn 2s ease-in-out;
}

section p,
section ul {
  font-size: clamp(0.95rem, 2vw, 1rem);
  color: #5a4d28;
  margin-top: 0.75rem;
}

ul {
  padding-left: 1.5rem;
}

ul li {
  margin-bottom: 0.6rem;
}

/* =========================
   FOOTER
========================= */
footer {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #7b5e1f;
  color: white;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

footer p {
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes fadeIn {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   MEDIA QUERIES
========================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav a {
    width: 90%;
    min-width: unset;
  }

  section {
    margin: 1.5rem auto;
  }
}

@media (max-width: 480px) {
  body {
    padding: 1rem;
    background-attachment: scroll;
    background-size: cover;
  }

  header h1 {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  header p {
    font-size: 1rem;
  }

  nav a {
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    border-radius: 10px;
    text-shadow: none;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.1);
  }

  nav a::before,
  nav a::after {
    display: none;
  }

  section {
    padding: 1rem;
    border-radius: 10px;
  }

  section h2 {
    font-size: 1.25rem;
  }

  section p,
  section ul {
    font-size: 0.95rem;
  }

  footer {
    padding: 1rem;
    font-size: 0.85rem;
  }
}
