/* ------------------------------
   LIGHT MODE (DEFAULT)
------------------------------ */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #000000;
}

/* Container */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Navbar */
.navbar {
  background: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a {
  margin-left: 15px;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
}

/* Hero */
.hero {
  padding: 50px 20px;
}

.hero h1 {
  font-size: 32px;
}

.hero p {
  color: #000000;
}

/* Sections */
section {
  margin-bottom: 40px;
}

section h2 {
  color: #000000;
}

/* Event Cards */
.event-card {
  background: #ffffff;
  padding: 18px;
  margin: 15px auto;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  max-width: 600px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}


.event-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 20px;
}

.event-card h3,
.event-card p {
  color: #000000;
}

/* Buttons */
.btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
}

/* Footer */
.footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  color: #000000;
  border-top: 1px solid #ddd;
}

/* Form */
.event-form input,
.event-form textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #ffffff;
  color: #000000;
  font-family: inherit;
}

/* ------------------------------
   DARK MODE (TOGGLE ONLY)
------------------------------ */

.dark-mode {
  background-color: #181818;
  color: #ffffff;
}

.dark-mode .navbar {
  background: #1e1e1e;
}

.dark-mode .navbar a {
  color: #ffffff;
}

.dark-mode section h2,
.dark-mode .hero p {
  color: #ffffff;
}

.dark-mode .event-card {
  background: #2a2a2a;
}

.dark-mode .event-card h3,
.dark-mode .event-card p {
  color: #ffffff;
}

.dark-mode .footer {
  background: #1e1e1e;
  color: #ffffff;
}

.dark-mode .event-form input,
.dark-mode .event-form textarea {
  background-color: #333333;
  color: #ffffff;
  border-color: #555555;
}

.dark-mode .btn {
  background-color: #66bb6a;
}

* {
  transition: background-color 0.3s ease, color 0.3s ease;
}

body, .navbar, .event-card, .footer, .btn, .event-form input, .event-form textarea {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}


.fade-in {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#darkModeToggle {
  transition: transform 0.3s ease;
}

#darkModeToggle:active {
  transform: rotate(180deg) scale(0.9);
}

body {
  transition: background-color 0.4s ease, color 0.4s ease;
}
