

body {
    background-color: #962d2d; /* warna latar polos */
    margin: 50px;
    font-family: Arial, sans-serif;
}

/* Bingkai kanan kiri */
.main-frame {
    background: #b5aeae;
    max-width: 1700px;
    margin: 20px auto;
    padding: 20px;
    border-left: 1px solid #24a5d4; /* Bingkai kiri */
    border-right: 1px solid #24a5d4; /* Bingkai kanan */
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}


header {
    position: relative;
    color: rgb(180, 9, 9);
    padding: 100px 100px;
    text-align: center;
}




nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}



footer {
    text-align: center;
    padding: 10px;
    background-color: #ddd;
    margin-top: 20px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    background-color: #007b5e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #005c48;
}
.slider img {
  width: 100%;
  height: 350px;
  object-fit: cover;
display: flex;
justify-content: space-around;
}

.sambutan {
  background-color: #4f963b;
  text-align: center;
  padding: 5px;
}

.highlight-layanan {
  background-color: #f9f9f9;
  padding: 10px 10px;
  text-align: center;
}

.layanan-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


.layanan-box {
  width: 100%;
  margin: 15px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px #ccc;
  border-radius: 10px;
}

.layanan-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
}



.berita-foto {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.slide {
    position: relative;
    width: 80%;
    max-width: 900px;
    overflow: hidden;
    border: 5px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    background: #fff;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.visi-layanan {
  background-color: #b5aeae;
  padding: 10px 10px;
  text-align: center;
}

.visi-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}


.visi-box {
  width: 50%;
  margin: 5px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px #24a5d4;
  border-radius: 5px;
}

.visi-box img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 5px;
}


/* ====== SIDEBAR STYLES ====== */
/* ===== SIDEBAR IMAGE ===== */
.sidebar-banner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-img {
  width: 280px;
  height:auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.sidebar-img:hover {
  transform: scale(1.03);
}


/* RESPONSIVE SIDEBAR */
@media (max-width: 768px) {
  main.container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    order: 2;
  }
}

.marquee-container {
  background-color: #add8e6;
  border-top: 1px solid #1e3a8a;
  border-bottom: 1px solid #1e3a8a;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  text-align: center;
}

/* Bar utama */
nav {
  background-color: linear-gradient(90deg,var(--primary),var(--accent));
  border-bottom: 0px solid #1e3a8a;
}

/* Sidebar */
.sidebar {
  background-color: #add8e6;
  border-right: 1px solid #1e3a8a;
  border-left: 1px solid #1e3a8a;
}

/* ===== LAYOUT UTAMA ===== */
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

/* Bar utama */
.content {
  flex: 1;
  min-width: 300px;
  background-color: #add8e6; /* biru muda */
  border-right: 2px solid #003366; /* garis pembatas biru gelap */
  padding: 15px;
  border-radius: 8px;
}

/* Sidebar */
.sidebar {
  width: 280px;
  min-width: 250px;
  background-color: #add8e6; /* biru muda */
  border-left: 2px solid #003366; /* garis pembatas biru gelap */
  padding: 16px;
  border-radius: 8px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
  .content, .sidebar {
    width: 100%;
    border: none;
  }
}


