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

:root {
  --primary-color: #82adf3;
  --bg-color: #c8dcae;
  --text-dark: #2c3e20;
  --text-light: #ffffff;
  --nav-bg: rgba(200, 220, 174, 0.95);
  --nav-scrolled: rgba(180, 205, 150, 0.98);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  margin-bottom: 1rem;
}

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

ul {
  list-style: none;
}

/* ==========================================
   NAVBAR
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--nav-bg);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background-color: var(--nav-scrolled);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-dark);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
}

.nav-links a:hover {
  color: #1b5e20;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--text-light);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}

.nav-links li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  color: var(--text-dark);
  text-transform: none;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.dropdown a:hover {
  background-color: rgba(130, 173, 243, 0.1);
  color: var(--primary-color);
}

.nav-icons {
  display: flex;
  gap: 1.5rem;
  margin-left: 2rem;
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-icons a {
  color: var(--text-dark);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.nav-icons a:hover {
  color: #1b5e20;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1)), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  /* offset for navbar */
}

.rolunk-hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4)), url('../images/rolunk-hero-bg.png');
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 4rem;
  color: var(--text-light);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.hero p {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 600;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  border: 1px solid var(--text-light);
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(130, 173, 243, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(130, 173, 243, 0.6);
  color: var(--text-light);
}

/* ==========================================
   PAGE SECTIONS (General)
   ========================================== */
.section-padding {
  padding: 100px 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 3rem;
  text-transform: uppercase;
}

/* ==========================================
   PROGRAMS PAGE
   ========================================== */
.program-section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.program-section:last-child {
  border-bottom: none;
}

.program-card {
  background-color: var(--text-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.program-card.reverse {
  flex-direction: row-reverse;
}

.program-image {
  flex: 1;
  height: 300px;
  background-color: #eee;
  border-radius: 15px;
  overflow: hidden;
}

.program-placeholder-img {
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.2;
}

.program-content {
  flex: 1;
}

.program-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
}

.program-content p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  background-color: var(--text-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
}

.map-container {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .program-card,
  .program-card.reverse {
    flex-direction: column;
  }

  .program-image {
    width: 100%;
  }
}

/* Mobile Navigation CSS */
.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.burger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .burger-menu {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: 0.4s ease-in-out;
    padding-top: 80px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  nav.nav-active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 1.5rem;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    justify-content: center;
    padding: 10px 0;
  }

  .nav-links a:hover {
    color: var(--text-dark);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.05);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    padding: 10px 0;
  }

  .nav-links li:hover .dropdown {
    display: block;
  }

  .nav-icons {
    margin-top: 2rem;
    margin-left: 0;
  }

  /* Burger animation */
  .burger-menu.toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.toggle .bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Fix hero title on mobile */
  .hero h1 {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    word-wrap: break-word;
    hyphens: auto;
  }
}