* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Tahoma, Arial, sans-serif;
}

body {
  background: #f8f8f8;
  color: #222;
  line-height: 1.9;
}

a {
  text-decoration: none;
}

header {
  background: linear-gradient(135deg, #b00020, #7a0017);
  color: white;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0,0,0,0.18);
}

.logo {
  font-size: 25px;
  font-weight: bold;
}

nav a {
  color: white;
  margin: 0 11px;
  font-weight: bold;
  opacity: 0.95;
}

nav a:hover {
  opacity: 0.75;
}

.hero {
  min-height: 84vh;
  background: linear-gradient(rgba(122,0,23,0.82), rgba(0,0,0,0.62));
  color: white;
  display: flex;
  align-items: center;
  padding: 70px 8%;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: -80px;
  top: 0;
  width: 230px;
  height: 100%;
  background: white;
  clip-path: polygon(0 0, 100% 10%, 55% 20%, 100% 30%, 55% 40%, 100% 50%, 55% 60%, 100% 70%, 55% 80%, 100% 90%, 0 100%);
  opacity: 0.18;
}

.hero-content {
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 40px;
  margin-bottom: 20px;
  font-size: 15px;
}

.hero h1 {
  font-size: 52px;
  margin-bottom: 18px;
  line-height: 1.3;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.96;
}

.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 40px;
  font-weight: bold;
  transition: 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: #b00020;
}

.btn-primary:hover,
.btn-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.btn-outline {
  border: 1px solid white;
  color: white;
  background: transparent;
}

.btn-red {
  background: #b00020;
  color: white;
}

.section {
  padding: 80px 8%;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 36px;
  color: #7a0017;
  margin-bottom: 10px;
}

.section-title p {
  color: #666;
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  transition: 0.25s;
  border-top: 5px solid #b00020;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.12);
}

.card .icon {
  font-size: 38px;
  margin-bottom: 14px;
}

.card h3 {
  color: #7a0017;
  margin-bottom: 10px;
  font-size: 23px;
}

.message-section {
  background: white;
}

.loyalty-message {
  max-width: 980px;
  margin: auto;
  background: #fafafa;
  border-radius: 28px;
  padding: 42px;
  border: 1px solid #eee;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  position: relative;
}

.loyalty-message h3 {
  color: #7a0017;
  font-size: 28px;
  margin-bottom: 18px;
}

.loyalty-message p {
  color: #444;
  font-size: 18px;
  margin-bottom: 14px;
}

.pledge {
  background: linear-gradient(135deg, #7a0017, #b00020);
  color: white;
}

.pledge .section-title h2,
.pledge .section-title p {
  color: white;
}

.pledge-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 28px;
  padding: 40px;
  max-width: 950px;
  margin: auto;
}

.pledge-text {
  font-size: 22px;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.form-section {
  background: #f8f8f8;
}

.form-box {
  background: white;
  border-radius: 28px;
  padding: 45px;
  max-width: 950px;
  margin: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 14px;
  font-size: 15px;
  resize: vertical;
}

form textarea {
  min-height: 120px;
}

form button {
  width: 100%;
  background: #b00020;
  color: white;
  padding: 15px;
  border: none;
  border-radius: 14px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.notice {
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 15px;
  font-size: 14px;
}

.notice-warning {
  background: #fff7e6;
  border: 1px solid #ffd591;
  color: #8a5700;
}

.notice-success {
  background: #eefaf1;
  border: 1px solid #a8e6b1;
  color: #167533;
}

.notice-error {
  background: #fff0f0;
  border: 1px solid #ffb3b3;
  color: #9b1c1c;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.gallery-card {
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #eee;
}

.gallery-card .content {
  padding: 20px;
}

.gallery-card h3 {
  color: #7a0017;
  margin-bottom: 8px;
}

.gallery-card small {
  color: #777;
}

.admin-body {
  background: #f2f2f2;
}

.admin-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.admin-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.admin-title {
  color: #7a0017;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid #eee;
  padding: 12px;
  text-align: right;
  vertical-align: top;
}

.admin-table th {
  background: #7a0017;
  color: white;
}

.admin-photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.status {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 13px;
  display: inline-block;
  font-weight: bold;
}

.status-pending {
  background: #fff7e6;
  color: #8a5700;
}

.status-approved {
  background: #eefaf1;
  color: #167533;
}

.status-rejected {
  background: #fff0f0;
  color: #9b1c1c;
}

.action-btn {
  padding: 8px 12px;
  border-radius: 10px;
  color: white;
  display: inline-block;
  margin: 3px;
  font-size: 13px;
}

.approve {
  background: #15803d;
}

.reject {
  background: #b91c1c;
}

.delete {
  background: #444;
}

.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 10px;
  flex-wrap: wrap;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 26px;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 12px;
  }

  nav {
    text-align: center;
  }

  nav a {
    display: inline-block;
    margin: 6px;
  }

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

  .hero p {
    font-size: 17px;
  }

  .form-box {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .admin-table {
    font-size: 13px;
  }
}
