@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";

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

html {
  font-size: 10px;
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

.container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

p {
  color: #4a5568;
  font-size: 1.6rem;
  margin-top: 5px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.02rem;
}

.section-title {
  font-size: 4.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  text-align: center;
}

.section-title span {
  color: #e53e3e;
}

.section-subtitle {
  font-size: 1.8rem;
  color: #718096;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

.cta {
  display: inline-block;
  padding: 15px 35px;
  color: white;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  border: none;
  border-radius: 50px;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.brand h1 {
  font-size: 3rem;
  text-transform: uppercase;
  color: white;
  font-weight: 700;
}

.brand h1 span {
  color: #e53e3e;
}

/* Header section */
#header {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: auto;
}

#header .header {
  min-height: 8vh;
  background: rgba(45, 55, 72, 0.95);
  backdrop-filter: blur(10px);
  transition: 0.3s ease background-color;
}

#header .nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  padding: 0 20px;
}

#header .nav-list ul {
  list-style: none;
  position: absolute;
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  width: 100vw;
  height: 100vh;
  left: 100%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
  overflow-x: hidden;
  transition: 0.5s ease left;
}

#header .nav-list ul.active {
  left: 0%;
}

#header .nav-list ul a {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.1rem;
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  padding: 20px;
  display: block;
  transition: all 0.3s ease;
}

#header .nav-list ul a:hover {
  color: #e53e3e;
}

#header .hamburger {
  height: 60px;
  width: 60px;
  display: inline-block;
  border: 3px solid white;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  cursor: pointer;
  transform: scale(0.8);
  margin-right: 20px;
  transition: all 0.3s ease;
}

#header .hamburger:hover {
  border-color: #e53e3e;
}

#header .hamburger .bar {
  height: 2px;
  width: 30px;
  position: relative;
  background-color: white;
  z-index: -1;
  transition: all 0.3s ease;
}

#header .hamburger .bar::after,
#header .hamburger .bar::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  background-color: white;
  transition: 0.3s ease;
  transition-property: top, bottom;
}

#header .hamburger .bar::after {
  top: 8px;
}

#header .hamburger .bar::before {
  bottom: 8px;
}

#header .hamburger.active .bar::before {
  bottom: 0;
}

#header .hamburger.active .bar::after {
  top: 0;
}

/* Hero Section */
#hero {
  background: linear-gradient(135deg, rgba(45, 55, 72, 0.9) 0%, rgba(26, 32, 44, 0.9) 100%),
    url("/placeholder.svg?height=800&width=1200") center / cover;
  position: relative;
  z-index: 1;
}

#hero .hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 50px;
  justify-content: flex-start;
}

#hero .hero-content {
  max-width: 600px;
}

#hero h1 {
  display: block;
  width: fit-content;
  font-size: 5rem;
  position: relative;
  color: white;
  font-weight: 700;
  margin-bottom: 10px;
  animation: fadeInUp 0.8s ease forwards;
}

#hero h1:nth-child(3) {
  color: #e53e3e;
}

#hero .hero-description {
  color: #cbd5e0;
  font-size: 1.8rem;
  margin: 20px 0;
  line-height: 1.6;
}

/* Services Section */
#services .services {
  flex-direction: column;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 20px;
}

#services .service-top {
  max-width: 600px;
  margin: 0 auto 60px;
}

#services .service-bottom {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

#services .service-item {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

#services .service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#services .service-bottom .icon {
  height: 80px;
  width: 80px;
  margin: 0 auto 20px;
  color: #e53e3e;
  display: flex;
  align-items: center;
  justify-content: center;
}

#services .service-item h2 {
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

#services .service-item .schedule-list p {
  color: #4a5568;
  text-align: left;
  margin: 8px 0;
  font-size: 1.5rem;
  padding-left: 10px;
}

/* Projects section */
#projects .projects {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

#projects .projects-header {
  text-align: center;
  margin-bottom: 60px;
}

#projects .all-projects {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
}

#projects .project-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#projects .project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

#projects .project-info {
  padding: 40px;
  flex-basis: 50%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
  color: white;
}

#projects .project-info h1 {
  font-size: 3rem;
  font-weight: 600;
  color: #e53e3e;
  margin-bottom: 10px;
}

#projects .project-info h2 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 15px;
}

#projects .project-info p {
  color: #cbd5e0;
  line-height: 1.6;
}

#projects .project-img {
  flex-basis: 50%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

#projects .project-img img {
  transition: 0.3s ease transform;
}

#projects .project-item:hover .project-img img {
  transform: scale(1.05);
}

/* About Section */
#about .about {
  flex-direction: column;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

#about .col-left {
  width: 100%;
  max-width: 400px;
  margin-bottom: 50px;
}

#about .col-right {
  width: 100%;
}

#about .about-img {
  height: 400px;
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Organization Chart */
.org-chart {
  margin: 40px 0;
  padding: 30px;
  background: #f7fafc;
  border-radius: 15px;
}

.org-level {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.org-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  min-width: 180px;
  transition: all 0.3s ease;
}

.org-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.org-card h3 {
  font-size: 1.4rem;
  color: #2d3748;
  margin-bottom: 8px;
  font-weight: 600;
}

.org-card p {
  font-size: 1.3rem;
  color: #4a5568;
  font-weight: 500;
}

.wali-kelas {
  border-top: 4px solid #e53e3e;
}

.guru-bk {
  border-top: 4px solid #3182ce;
}

.ketua {
  border-top: 4px solid #38a169;
}

.wakil {
  border-top: 4px solid #d69e2e;
}

/* Class Statistics */
.class-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.stat-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-card h3 {
  font-size: 1.4rem;
  color: #4a5568;
  margin-bottom: 10px;
  font-weight: 500;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.boys .stat-number {
  color: #3182ce;
}

.girls .stat-number {
  color: #e53e3e;
}

/* Contact Section */
#contact .contact {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 20px;
}

#contact .contact-header {
  text-align: center;
  margin-bottom: 60px;
}

#contact .contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

#contact .contact-item {
  background: white;
  padding: 40px 30px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

#contact .contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

#contact .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: #e53e3e;
  display: flex;
  align-items: center;
  justify-content: center;
}

#contact .contact-info h1 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2d3748;
}

#contact .contact-info p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #4a5568;
}

.contact-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
  color: white;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 62, 62, 0.3);
}

/* Footer */
#footer {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
}

#footer .footer {
  min-height: 200px;
  flex-direction: column;
  padding: 50px 20px;
  text-align: center;
}

#footer .brand h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

#footer h2 {
  color: #cbd5e0;
  font-weight: 400;
  font-size: 1.8rem;
  letter-spacing: 0.1rem;
  margin-bottom: 30px;
}

.footer-info {
  margin-top: 30px;
}

.footer-info p {
  color: #a0aec0;
  font-size: 1.3rem;
  margin: 5px 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries */
@media only screen and (min-width: 768px) {
  .cta {
    font-size: 1.8rem;
    padding: 18px 40px;
  }

  .section-title {
    font-size: 5rem;
  }

  #hero h1 {
    font-size: 6rem;
  }

  #projects .project-item {
    flex-direction: row;
  }

  #projects .project-item:nth-child(even) {
    flex-direction: row-reverse;
  }

  #projects .project-item {
    height: 400px;
    border-radius: 0;
  }

  #about .about {
    flex-direction: row;
    text-align: left;
    gap: 50px;
  }

  #about .col-left {
    flex: 1;
    margin-bottom: 0;
  }

  #about .col-right {
    flex: 2;
  }

  .org-level.leadership {
    justify-content: center;
  }
}

@media only screen and (min-width: 1200px) {
  #header .hamburger {
    display: none;
  }

  #header .nav-list ul {
    position: initial;
    display: flex;
    flex-direction: row;
    height: auto;
    width: fit-content;
    background-color: transparent;
    gap: 30px;
  }

  #header .nav-list ul li {
    display: inline-block;
  }

  #header .nav-list ul li a {
    font-size: 1.6rem;
    padding: 10px 0;
  }
}
