/* PMI Dumai - Ayo Donor Website Styles */
:root {
  --pmi-red: #b30000;
  --pmi-dark-red: #800000;
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

/* Header Styles */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
}

.logo {
  width: 60px;
  height: 60px;
  background: var(--pmi-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: bold;
  font-size: 20px;
  margin-right: 15px;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--pmi-red);
}

.site-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-top: -2px;
}

/* Navigation Styles */
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  background: var(--pmi-red);
  color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--pmi-red);
  cursor: pointer;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(128, 50, 50, 0.8), rgba(136, 23, 23, 0.8)), url('/img/banner.jpg');
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
  margin: -40px -20px 40px -20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.hero-button {
  display: inline-block;
  background: var(--white);
  color: var(--pmi-red);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* CTA Section */
.cta-section {
  background: var(--bg-light);
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
  border-radius: 10px;
}

.cta-section h2 {
  color: var(--pmi-red);
  font-size: 32px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background: var(--pmi-red);
  color: var(--white);
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--pmi-dark-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(179, 0, 0, 0.3);
}

/* Content Sections */
.section {
  margin-bottom: 60px;
}

.section h2 {
  color: var(--pmi-red);
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
}

.section h3 {
  color: var(--pmi-dark-red);
  font-size: 24px;
  margin-bottom: 20px;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.feature-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--pmi-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--white);
  font-size: 32px;
}

/* Story Cards */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.story-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-5px);
}

.story-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.story-content {
  padding: 25px;
}

.story-title {
  color: var(--pmi-red);
  font-size: 20px;
  margin-bottom: 15px;
}

/* Activity Gallery */
.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.activity-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.activity-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.activity-info {
  padding: 20px;
}

.activity-date {
  color: var(--pmi-red);
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Info Boxes */
.info-box {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  border-left: 5px solid var(--pmi-red);
}

.info-box h4 {
  color: var(--pmi-red);
  margin-bottom: 15px;
}

/* Lists */
.requirements-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.requirement-item {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-left: 4px solid var(--pmi-red);
}

/* Tables */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-table th {
  background: var(--pmi-red);
  color: var(--white);
  padding: 15px;
  text-align: left;
}

.schedule-table td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border-color);
}

.schedule-table tr:hover {
  background: var(--bg-light);
}

/* Certificate Examples */
.certificate-preview {
  background: var(--white);
  border: 2px solid var(--pmi-red);
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.certificate-header {
  color: var(--pmi-red);
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* SIAP System Info */
.siap-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 40px 0;
}

.siap-feature {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  border-top: 4px solid var(--pmi-red);
}

/* Footer */
footer {
  background: var(--pmi-dark-red);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    height: auto;
    padding: 15px;
  }
  
  .logo-section {
    margin-bottom: 15px;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero p {
    font-size: 18px;
  }
  
  main {
    padding: 20px 15px;
  }
  
  .feature-grid,
  .story-grid,
  .activity-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 40px 20px;
    margin: 40px 0;
  }
  
  .cta-section h2 {
    font-size: 24px;
  }
  
  .schedule-table {
    font-size: 14px;
  }
  
  .schedule-table th,
  .schedule-table td {
    padding: 10px 8px;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 15px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .section h2 {
    font-size: 24px;
  }
  
  .feature-card,
  .story-content,
  .activity-info {
    padding: 20px;
  }
}