:root {
  --primary-blue: #1e88e5;
  --deep-blue: #0d47a1;
  --accent-teal: #00bcd4;
  --fresh-green: #4caf50;
  --steel-gray: #455a64;
  --light-gray: #cfd8dc;
  --dark-gray: #263238;
  --white: #ffffff;
  --accent-orange: #ff9800;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --card-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: #f5f7fa;
  background-image: linear-gradient(135deg, #e0f7fa 0%, #f5f7fa 100%);
  color: var(--dark-gray);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  padding: 40px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  border-radius: 0 0 30px 30px;
  margin-bottom: 40px;
}

.header-content {
  position: relative;
  z-index: 2;
}

.header-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.header-icon {
  position: absolute;
  font-size: 3rem;
  color: white;
}

.class-name {
  font-family: "Patrick Hand", cursive;
  font-size: 4.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.tagline {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-weight: 300;
}

.graduation-year {
  background: var(--accent-orange);
  display: inline-block;
  padding: 8px 25px;
  border-radius: 30px;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow);
  letter-spacing: 1px;
}
/* Tambahkan di file style.css */
/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-blue), var(--deep-blue));
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.navbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-family: "Patrick Hand", cursive;
  font-size: 2rem;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  padding: 5px 15px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.navbar-logo:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.navbar-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.navbar-menu li {
  margin: 5px 8px;
}

.navbar-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 8px 15px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: block;
}

.navbar-menu a:hover,
.navbar-menu a:focus {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
}
.navbar {
  padding: 8px 0; /* sebelumnya 15px 0 */
}

.navbar-logo {
  font-size: 1.4rem; /* lebih kecil */
  padding: 3px 10px;
}

.navbar-menu a {
  padding: 5px 10px; /* kecilkan padding */
  font-size: 0.85rem; /* kecilkan font */
}
/* Responsive Navbar */
@media (max-width: 768px) {
  .navbar .container {
    flex-direction: column;
  }
  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* menyesuaikan tinggi navbar */
  }

  @media (max-width: 480px) {
    .navbar {
      padding: 8px 0;
    }

    .navbar-logo {
      font-size: 1.4rem;
      padding: 3px 10px;
    }

    .navbar-menu li {
      margin: 2px 4px;
    }

    .navbar-menu a {
      font-size: 0.85rem;
      padding: 5px 10px;
    }
  }

  .navbar-menu li {
    margin: 3px 5px;
  }

  .navbar-menu a {
    padding: 6px 12px;
    font-size: 0.95rem;
  }
}
/* Section Styles */
section {
  margin-bottom: 60px;
  padding: 0 15px;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-header h2 {
  font-family: "Patrick Hand", cursive;
  font-size: 2.8rem;
  color: var(--deep-blue);
  display: inline-block;
  background: white;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  border: 3px solid var(--primary-blue);
  border-radius: 50px;
  box-shadow: var(--shadow);
}

.section-header::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-blue), var(--accent-teal));
  transform: translateY(-50%);
  z-index: 1;
}

/* Jadwal Button */
.schedule-link {
  text-align: center;
  margin: 40px 0;
}
.schedule-btn {
  display: block;
  width: 100%;
  max-width: 600px; /* Lebih panjang dari sebelumnya */
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
  color: white;
  padding: 20px 35px; /* Tambah sedikit padding agar lebih mewah */
  border-radius: 45px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border: none;
}

.schedule-btn i {
  font-size: 1.7rem;
  margin-right: 12px;
}

.schedule-btn:hover {
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}
/* About Section Styles */
.about-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  border-left: 5px solid var(--primary-blue);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Stats Section Styles */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.stat-box {
  background: white;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  border-top: 4px solid var(--primary-blue);
}

.stat-box:hover {
  transform: translateY(-8px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 1rem;
  color: var(--steel-gray);
  font-weight: 600;
}

/* Structure Section Styles */
.structure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.role-card {
  background: white;
  border-radius: 15px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid var(--light-gray);
}

.role-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-blue);
}

.role-icon {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.role-title {
  font-weight: bold;
  color: var(--deep-blue);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.role-name {
  color: var(--steel-gray);
  font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .stat-value {
    font-size: 2rem;
  }

  .structure-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .structure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease;
  border: 3px solid white;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--deep-blue);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Event Styles */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-blue);
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 40px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: calc(50% + 20px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: calc(50% + 20px);
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  width: calc(100% - 60px);
  position: relative;
  border: 2px solid var(--light-gray);
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 20px;
  width: 20px;
  height: 20px;
  background: var(--primary-blue);
  border: 4px solid white;
  border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -60px;
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -60px;
}

.timeline-date {
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.timeline-date i {
  margin-right: 8px;
}

/* Stories Styles */
.story {
  background: white;
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--card-shadow);
  border-left: 5px solid var(--primary-blue);
  transition: transform 0.3s ease;
}

.story:hover {
  transform: translateY(-5px);
}

.story-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.story-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow);
}

.story-author {
  font-weight: bold;
  color: var(--deep-blue);
  font-size: 1.2rem;
}

.story-role {
  color: var(--steel-gray);
  font-size: 0.9rem;
}

.story-content {
  line-height: 1.8;
  color: #444;
  font-size: 1.05rem;
}

.quote-icon {
  color: var(--primary-blue);
  font-size: 2rem;
  opacity: 0.3;
  margin-bottom: 15px;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--deep-blue), var(--primary-blue));
  color: white;
  text-align: center;
  padding: 60px 0;
  margin-top: 60px;
  border-radius: 30px 30px 0 0;
  position: relative;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: "Patrick Hand", cursive;
  font-size: 2.8rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-quote {
  font-style: italic;
  margin: 25px 0;
  font-size: 1.3rem;
  position: relative;
  padding: 0 20px;
  line-height: 1.7;
}

.footer-quote::before,
.footer-quote::after {
  content: '"';
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
}

.footer-quote::before {
  top: -20px;
  left: 0;
}

.footer-quote::after {
  bottom: -35px;
  right: 0;
}

.social-icons {
  margin-top: 30px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 10px;
  color: white;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: white;
  color: var(--primary-blue);
  transform: translateY(-5px);
}

.copyright {
  margin-top: 40px;
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Background pattern */
.pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  background: radial-gradient(circle at 10% 20%, var(--white) 0%, transparent 20%), radial-gradient(circle at 90% 80%, var(--white) 0%, transparent 20%);
  pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .class-name {
    font-size: 3rem;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding: 0;
    padding-left: 70px;
    justify-content: flex-start;
  }

  .timeline-content::before {
    left: -55px !important;
  }

  .section-header h2 {
    font-size: 2.2rem;
    padding: 5px 15px;
  }

  @media (max-width: 768px) {
    .schedule-btn {
      padding: 14px 24px;
      font-size: 1.1rem;
    }
  }

  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
