/* ========================================
   STYLE.CSS — Website Publik SMK Mutia
   Warna: Biru Navy (#0A2E5A) + Kuning (#FFD700)
   Responsif, ringan, tanpa framework berat
   ======================================== */

:root {
  --navy: #0A2E5A;
  --yellow: #FFD700;
  --yellow-dark: #E6C200;
  --dark: #222222;
  --gray: #6c757d;
  --light: #f8f9fa;
  --border: #e0e0e0;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Open Sans', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: #fff;
}

a {
  text-decoration: none;
  color: var(--navy);
}
a:hover {
  color: var(--yellow-dark);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar */
.navbar {
  background-color: var(--navy);
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: white !important;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  height: 36px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--yellow) !important;
  background-color: rgba(255,215,0,0.1);
  border-radius: 4px;
}

.navbar-toggler {
  border-color: white;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 46, 90, 0.75), rgba(10, 46, 90, 0.85)), 
              url('../img/hero-bg.jpg') center/cover no-repeat;
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-primary {
  background-color: var(--yellow);
  color: var(--navy);
  border: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-primary:hover {
  background-color: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: white;
}
.btn-outline:hover {
  background: white;
  color: var(--navy);
}

/* Section Umum */
.section {
  padding: 80px 0;
}
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
  color: var(--navy);
  position: relative;
}
.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--yellow);
}

.bg-light {
  background-color: var(--light);
}

/* Card */
.card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.card-img-top {
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 20px;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.card-text {
  color: var(--gray);
}

/* List Group (Pengumuman) */
.list-group-item {
  border-left: 4px solid var(--navy);
  border-radius: 4px !important;
  margin-bottom: 10px;
  padding: 15px;
}
.list-group-item:hover {
  background-color: rgba(10, 46, 90, 0.03);
}

/* Footer */
footer {
  background-color: var(--navy);
  color: white;
  padding: 60px 0 30px;
}
.footer-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--yellow);
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--yellow);
  text-decoration: none;
}
.social-icons .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  margin-right: 8px;
}
.copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

/* Kontak */
#map {
  height: 300px;
  background-color: #eee;
  border-radius: 8px;
  overflow: hidden;
}

/* Animasi ringan */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsif */
@media (max-width: 991px) {
  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.1rem; }
  .section { padding: 60px 0; }
}

@media (max-width: 768px) {
  .hero { height: 450px; }
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.8rem; }
  .btn { padding: 10px 20px; font-size: 0.95rem; }
}

@media (max-width: 576px) {
  .hero { height: 400px; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 1rem; }
  .section { padding: 40px 0; }
}
