

/* Theme: Tosca for SMA Negeri 6 Kediri */
:root{
  --tosca: #009688;
  --tosca-dark: #00796b;
  --muted: #6c757d;
}
body{
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:#fff9c4;
}
.text-tosca{ color:var(--tosca) !important; }
.bg-tosca{ background-color:var(--tosca) !important; color:#fff !important; }
.btn-tosca{ background-color:var(--tosca); color:#fff; border: none; }
.btn-tosca:hover{ background-color:var(--tosca-dark); color:#fff; }




.hero{
  background: linear-gradient(rgba(0,150,136,0.55), rgba(0,150,136,0.55)), url('../img/hero.jpg') center/cover no-repeat;
  height: 60vh;
  display:flex; align-items:center; justify-content:center;
}
.card img{ height:200px; object-fit:cover; }
footer{ background:#004d40; color:#fff; }

/* small tweaks */
.navbar-light .navbar-nav .nav-link{ color: rgba(0,0,0,0.7); }
.navbar-brand.text-tosca{ color: var(--tosca); }
.container > h2{ color:var(--tosca); }

/* admin styles */
.admin-sidebar{ min-height:70vh; background:#fff; border-right:1px solid #e9ecef; }
.card {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 10px;
}
.bg-light-yellow {
  background-color: #fffbe6;
}
.btn-tosca {
  background-color: #009688;
  color: #fff;
  border: none;
}
.btn-tosca:hover {
  background-color: #00796b;
}
/* === Floating Social Media Sidebar === */
/* Sidebar Sosial Media */
.social-sidebar {
  position: fixed;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.social-sidebar a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  border-radius: 30px 0 0 30px;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.social-sidebar a i {
  font-size: 20px;
  margin-right: 10px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.social-sidebar a span {
  opacity: 0;
  width: 0;
  transform: translateX(20px);
  white-space: nowrap;
  transition: all 0.4s ease;
  font-weight: 500;
}

/* Hover: efek melebar & teks slide in */
.social-sidebar a:hover {
  width: 160px;
  justify-content: flex-start;
}

.social-sidebar a:hover span {
  opacity: 1;
  width: auto;
  transform: translateX(0);
}

.social-sidebar a:hover i {
  transform: scale(1.1);
}

/* Warna Background */
.email { background: #1877f2; }
.instagram { background: #e4405f; }
.youtube { background: #ff0000; }
.tiktok { background: #000000; }

/* 🔹 Responsif untuk HP */
@media (max-width: 768px) {
  .social-sidebar {
    top: auto;
    bottom: 10px;
    right: 10px;
    transform: none;
    flex-direction: row;
    gap: 8px;
  }

  .social-sidebar a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    justify-content: center;
    padding: 10px;
  }

  .social-sidebar a span {
    display: none;
  }

  .social-sidebar a:hover {
    width: 45px;
  }
}
.container-fluid {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

.navbar {
  font-family: "Poppins", sans-serif;
}

.navbar .nav-link {
  font-weight: 500;
  color: #333 !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: #007b8f !important; /* Warna tosca  */
}




