@charset "UTF-8";
/* ===== RESET & VARIABEL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1ea9e2;
  --primary-dark: #1989b8;
  --primary-light: #4bc0f0;
  --primary-gradient: linear-gradient(135deg, #1ea9e2 0%, #1989b8 100%);
  --bg-light: #f4f9fe;
  --text-dark: #0b2a3b;
  --shadow: 0 8px 32px rgba(0, 40, 60, 0.1);
  --shadow-hover: 0 16px 48px rgba(30, 169, 226, 0.18);
  --radius: 28px;
  --radius-sm: 16px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background-color: #fafcfe;
  color: var(--text-dark);
  line-height: 1.7;
  scroll-behavior: smooth;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ORNAMEN GARIS & AKSEN ===== */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 12px 0 28px;
}

.ornament-divider .line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-light), var(--primary), var(--primary-light), transparent);
  max-width: 120px;
}

.ornament-divider .diamond {
  color: var(--primary);
  font-size: 1.2rem;
  opacity: 0.7;
}

.ornament-divider .diamond i {
  font-size: 0.9rem;
}

.badge-ornament {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 169, 226, 0.08);
  padding: 4px 16px 4px 12px;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  border: 1px solid rgba(30, 169, 226, 0.15);
  margin-bottom: 12px;
}

/* ===== NAVIGASI ===== */
.navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(30, 169, 226, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-area img {
  height: 3rem;
}

.logo-icon {
  font-size: 2.2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 8px rgba(30, 169, 226, 0.2));
  transition: transform 0.3s;
}

.logo-icon:hover {
  transform: rotate(-6deg) scale(1.05);
}

.logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.6;
  letter-spacing: 1px;
  display: block;
  margin-top: -2px;
}

.nav-tabs {
  display: flex;
  gap: 6px 18px;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
}

.nav-tabs a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: 8px 2px;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-tabs a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: width 0.3s;
}

.nav-tabs a:hover::after,
.nav-tabs a:focus::after {
  width: 100%;
}

.nav-tabs a i {
  font-size: 0.9rem;
  color: var(--primary);
  opacity: 0.7;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.7rem;
  color: var(--primary-dark);
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== SECTION ===== */
section {
  padding: 70px 0 56px;
  scroll-margin-top: 80px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
}

.section-title .highlight {
  color: var(--primary);
}

.section-sub {
  font-size: 1.1rem;
  color: #3a627a;
  max-width: 640px;
  margin-top: 4px;
  margin-bottom: 24px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(145deg, #e5f4fe 0%, #ffffff 85%);
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero .logo-hero {
  height: 5rem;
  vertical-align: middle;
}

.hero::before {
  content: "📖";
  position: absolute;
  right: -20px;
  bottom: -20px;
  font-size: 14rem;
  opacity: 0.04;
  transform: rotate(8deg);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(30, 169, 226, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  flex: 1 1 320px;
  position: relative;
  z-index: 2;
}
@media (max-width: 568px) {
  .hero-content {
    text-align: center;
  }
}

.hero-content .badge-ornament {
  background: rgba(30, 169, 226, 0.12);
  border-color: rgba(30, 169, 226, 0.2);
}

.hero-content h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 8px 0 16px;
  font-size: clamp(0.95rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.hero-content h1 br {
  display: none !important;
}
.hero-content h1 .logo-hero {
  width: clamp(36px, 5vw, 60px);
  height: auto;
  flex-shrink: 0;
}

.hero-content h1 i {
  color: var(--primary);
}

.hero-content p {
  font-size: 1.2rem;
  color: #1e3b4f;
  max-width: 520px;
  margin-bottom: 28px;
  opacity: 0.85;
}
@media (max-width: 568px) {
  .hero-content p {
    text-align: center;
    max-width: 100%;
  }
}

.hero-image {
  flex: 1 1 220px;
  text-align: center;
  filter: drop-shadow(0 12px 24px rgba(30, 169, 226, 0.12));
  animation: float 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  background: #d9edf9;
  padding: 12px;
  display: block;
  width: 500px;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-primary {
  background: var(--primary-gradient);
  border: none;
  padding: 16px 40px;
  border-radius: 60px;
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 24px rgba(30, 169, 226, 0.3);
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(30, 169, 226, 0.4);
}

/* ===== LAYANAN ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 16px;
}

.card {
  background: white;
  padding: 32px 22px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(30, 169, 226, 0.04);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(30, 169, 226, 0.06);
  margin-bottom: 16px;
  font-size: 2.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.card:hover .icon-wrap {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.05) rotate(-2deg);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.card p {
  color: #2c4d62;
  font-size: 0.95rem;
}

/* ===== RESPONSIVE LAYANAN ===== */
@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}
/* ===== KATALOG ===== */
.buku-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.buku-item {
  background: white;
  padding: 20px 14px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  border: 1px solid #ecf5fa;
  transition: var(--transition);
  text-align: center;
}

.buku-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.buku-item img {
  width: 100%;
  max-width: 140px;
  height: auto;
  border-radius: 12px;
  background: #eaf3fa;
  margin-bottom: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s;
}

.buku-item:hover img {
  transform: scale(1.02);
}

.buku-item .judul {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.buku-item .penulis {
  font-size: 0.9rem;
  color: #3a627a;
}

/* ===== TENTANG ===== */
.tentang-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 169, 226, 0.04);
}

.tentang-grid .teks {
  flex: 2 1 280px;
}

.tentang-grid .teks p {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.tentang-grid .highlight {
  flex: 1 1 200px;
  background: var(--bg-light);
  padding: 24px 20px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(30, 169, 226, 0.08);
}

.highlight .stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.highlight .stat i {
  font-size: 1.6rem;
  color: var(--primary);
  width: 36px;
  text-align: center;
}

/* ===== KONTAK ===== */
.kontak-card {
  background: white;
  padding: 36px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(30, 169, 226, 0.04);
}

.kontak-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  align-items: center;
}

.kontak-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}

.kontak-item i {
  font-size: 1.8rem;
  color: var(--primary);
  width: 44px;
  text-align: center;
}

.kontak-alamat {
  flex-basis: 100%;
  border-top: 1px solid #eef6fb;
  padding-top: 18px;
  margin-top: 4px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 1rem;
}

.kontak-alamat i {
  font-size: 1.6rem;
  color: var(--primary);
  width: 44px;
  text-align: center;
  margin-top: 2px;
}

.kontak-alamat span {
  max-width: 600px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-gradient);
  color: white;
  padding: 48px 0 28px;
  margin-top: 48px;
  border-radius: 48px 48px 0 0;
  position: relative;
  overflow: hidden;
}
@media (max-width: 568px) {
  footer {
    text-align: center;
  }
}

footer::before {
  content: "✦";
  position: absolute;
  right: 40px;
  top: 20px;
  font-size: 3rem;
  opacity: 0.06;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 2;
}

footer a {
  color: #e3f4fc;
  text-decoration: none;
  transition: var(--transition);
}

footer a:hover {
  color: white;
  transform: scale(1.05);
}

footer .copy {
  opacity: 0.85;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  letter-spacing: 0.3px;
}

.footer-social {
  display: flex;
  gap: 20px;
  font-size: 1.4rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.3px;
  text-align: center;
}

.footer-brand img {
  height: 6rem;
  vertical-align: middle;
}

.footer-brand small {
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.7;
  display: block;
  margin-top: 2px;
}

/* ===== ANIMASI ===== */
@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .menu-toggle {
    display: block;
  }
  .nav-tabs {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: white;
    padding: 16px 0 8px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  }
  .nav-tabs.open {
    display: flex;
  }
  .nav-tabs a {
    padding: 12px 4px;
    border-bottom: 1px solid #ecf5fa;
    width: 100%;
  }
  .nav-tabs a::after {
    display: none;
  }
  .hero {
    padding: 32px 24px;
  }
  .hero-image img {
    width: 400px;
  }
  .section-title {
    font-size: 1.9rem;
  }
}
@media (max-width: 568px) {
  .section-title,
  .section-sub {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .hero-image img {
    width: 100% !important;
  }
  footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 480px) {
  .btn-primary {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  .buku-list {
    grid-template-columns: 1fr 1fr;
  }
  .kontak-item {
    font-size: 0.9rem;
  }
  .kontak-alamat {
    font-size: 0.9rem;
  }
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 4px;
}

.empty-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(30, 169, 226, 0.12);
  color: var(--primary-dark);
  border: 1px solid rgba(30, 169, 226, 0.25);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}
.empty-book i {
  font-size: 0.8rem;
}
.empty-book:hover {
  background: rgba(30, 169, 226, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(30, 169, 226, 0.18);
}/*# sourceMappingURL=home.css.map */