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

/* BODY */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fefefe;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* HEADER */
.site-header {
  background-color: #c62828;
  color: white;
  padding: 1rem;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  max-height: 70px;
  width: auto;
  border-radius: 50%;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

/* NAVIGATION */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  color: white;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
}

.site-nav a:hover,
.site-nav a.active {
  text-decoration: underline;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.nav-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.site-nav.active {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* HOMEPAGE BANNER */
.homepage {
  background: url('../assets/images/banner1.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.homepage::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.homepage-content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  max-width: 800px;
}

.central-banner {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  margin: 2rem 0;
}

/* ABOUT SECTION */
.about-section {
  padding: 4rem 2rem;
  background: #f9f9f9;
}

.about-container {
  max-width: 900px;
  margin: auto;
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.about-container h2 {
  color: #c62828;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about-container h3 {
  color: #b71c1c;
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  text-align: center;
}

.about-container p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1rem;
  text-align: justify;
}

/* BUTTONS */
.btn {
  background-color: #e53935;
  color: white;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #d32f2f;
}

.btn.danger {
  background-color: #f44336;
}

.btn.danger:hover {
  background-color: #d32f2f;
}

.btn.secondary {
  background-color: #1565c0;
}

.btn.secondary:hover {
  background-color: #0d47a1;
}

/* FORMS */
.form-container {
  background: white;
  padding: 2rem;
  max-width: 800px;
  margin: 2rem auto;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container h2 {
  margin-bottom: 1rem;
  color: #c62828;
}

.form-container input,
.form-container textarea,
.form-container select,
.form-container button {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

/* TABLES */
.table-responsive {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 0.7rem;
  text-align: center;
}

table th {
  background-color: #f8d7da;
  color: #b71c1c;
}

.status {
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-weight: bold;
  color: white;
}

.status.pending { background-color: orange; }
.status.being-reviewed { background-color: dodgerblue; }
.status.processed { background-color: green; }

/* FOOTER */
.site-footer {
  background-color: #c62828;
  color: white;
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 3px solid #f5f5f5;
}

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

/* FLOATING WHATSAPP */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 2rem;
  padding: 0.6rem;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

/* MESSAGES */
.error, .success, .info {
  padding: 0.8rem;
  border-radius: 6px;
  text-align: center;
  margin-bottom: 1rem;
}

.error { background: #fdecea; color: #e53935; }
.success { background: #e8f5e9; color: #43a047; }
.info { background: #e3f2fd; color: #1565c0; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .site-nav.active { display: flex; }

  .header-inner {
    flex-direction: column;
    text-align: center;
  }

  .site-logo { max-height: 60px; }

  .central-banner { max-width: 90%; }

  .form-container { padding: 1rem; }

  table th, table td {
    font-size: 0.9rem;
    padding: 0.5rem;
  }

  .about-container {
    padding: 2rem 1rem;
  }

  .about-container h2 {
    font-size: 1.6rem;
  }

  .about-container h3 {
    font-size: 1.4rem;
  }

  .about-container p {
    font-size: 1rem;
  }
}