/* ===============================
   🌟 ACLC COLLEGE OF BALIUAG WEBSITE STYLE
   =============================== */

/* --- GLOBAL RESET --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
}

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

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

/* ===============================
   🎨 THEME VARIABLES
   =============================== */
:root {
  --aclc-blue: #2e3191;
  --aclc-red: #d7263d;
  --aclc-light: #f9f9f9;
  --aclc-gray: #666;

  /* Dark mode variables */
  --dark-bg: #0f172a;
  --dark-card: #1f2937;
  --dark-text: #f1f5f9;
  --dark-muted: #cbd5e1;
}

/* ===============================
   🔹 NAVBAR
   =============================== */
.navbar {
  font-weight: 500;
  transition: background 0.4s ease, color 0.4s ease;
}

.navbar-brand img {
  height: 44px;
}

.navbar-nav .nav-link {
  color: var(--aclc-blue);
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--aclc-red);
}

.btn-primary {
  background-color: var(--aclc-blue);
  border: none;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--aclc-red);
}

/* ===============================
   🎓 HERO SECTION
   =============================== */
.hero-section {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-section .hero-bg {
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
}

.hero-section .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
}

.hero-section h1 {
  font-size: 3rem;
  font-weight: 700;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-section a.btn {
  border-radius: 50px;
  padding: 10px 25px;
  transition: transform 0.3s ease;
}

.hero-section a.btn:hover {
  transform: scale(1.05);
}

/* ===============================
   🏫 ABOUT SECTION
   =============================== */
#about {
  padding: 60px 0;
}

#about h2 {
  color: var(--aclc-blue);
  font-weight: 700;
}

#about p {
  color: var(--aclc-gray);
}

#about .card {
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#about .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===============================
   🌆 ACHIEVEMENTS
   =============================== */
#achievements {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.campus-life-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.campus-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3s ease-in-out;
}

.swiper-slide-active .campus-img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 2;
}

#achievements .container {
  position: relative;
  z-index: 3;
}

/* ===============================
   💡 WHY CHOOSE
   =============================== */
#why-choose {
  background-color: var(--aclc-light);
  padding: 60px 0;
}

#why-choose h2 {
  color: var(--aclc-blue);
}

#why-choose .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#why-choose .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* ===============================
   🎓 PROGRAMS
   =============================== */
#programs h2 {
  color: var(--aclc-blue);
}

.program-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ===============================
   📅 EVENTS
   =============================== */
#events {
  background-color: var(--aclc-light);
  padding: 60px 0;
}

#events h2 {
  color: var(--aclc-blue);
}

#events .card {
  border-radius: 12px;
}

/* ===============================
   ⚙️ FOOTER
   =============================== */
footer {
  background-color: var(--aclc-blue);
  color: white;
  padding: 30px 0;
  text-align: center;
}

footer a {
  color: white;
  text-decoration: underline;
}

/* ===============================
   🌙 DARK MODE
   =============================== */

.dark-mode {
  background: var(--dark-bg);
  color: var(--dark-text);
}

/* Navbar */
.dark-mode .navbar {
  background: #111827 !important;
}

.dark-mode .navbar .nav-link,
.dark-mode .navbar-brand div {
  color: var(--dark-text) !important;
}

/* Cards */
.dark-mode .card {
  background: var(--dark-card);
  color: var(--dark-text);
  border: 1px solid rgba(255,255,255,0.05);
}

/* Muted Text */
.dark-mode .text-muted {
  color: var(--dark-muted) !important;
}

/* Light Sections Override */
.dark-mode #why-choose,
.dark-mode #events {
  background: var(--dark-bg);
}

/* Achievements overlay darker */
.dark-mode .overlay {
  background: rgba(0,0,0,0.75);
}