/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    padding-top:150px;
    background:#f5f5f5;
}

/* NAVBAR */
.navbar{
    position:fixed;
    top:0;
    width:100%;
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    background:white;
    box-shadow:0 2px 6px rgba(0,0,0,.1);
    z-index:1000;
}

nav a{
    margin:0 10px;
    text-decoration:none;
    color:#e5dddd;
}

.cart-btn{
    background:#87ccec;
    color:white;
    border:none;
    padding:8px 14px;
    border-radius:6px;
}

/* =========================
   FULL BACKGROUND HOME
========================= */
.hero{
    min-height:100vh;
    background:url("url(../img/tema2.jpg)") center/cover no-repeat fixed;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:40px;
}

.overlay{
    text-align:center;
    color:white;
    background:rgba(0,0,0,.55);
    padding:40px;
    border-radius:14px;
}

/* =========================
   SECTION (TRANSPARAN)
========================= */
.section{
    padding:60px 40px;
    background:rgba(187, 183, 183, 0.88);
    margin:40px;
    border-radius:20px;
}

.section h2{
    text-align:center;
    margin-bottom:30px;
}

/* =========================
   PRODUK
========================= */
.product-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
}

.product{
    background:white;
    padding:15px;
    border-radius:10px;
    text-align:center;
    transition:.3s;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.product:hover{
    transform:scale(1.05);
}

.product img{
    width:100%;
    height:160px;
    object-fit:cover;
    border-radius:8px;
}

.product button{
    margin-top:10px;
    background:#91d8f6;
    color:white;
    border:none;
    padding:8px;
    border-radius:6px;
}

/* =========================
   DARK SECTION
========================= */
.dark{
    background:rgba(145, 139, 139, 0.75);
    color:white;
}

/* FOOTER */
footer{
    text-align:center;
    padding:20px;
    background:rgba(0,0,0,0.8);
    color:white;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(248, 242, 242, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-content {
  background: #cebdbd;
  width: 400px;
  padding: 25px;
  border-radius: 16px;
  text-align: center;
  animation: scaleIn .3s ease;
}

@keyframes scaleIn {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close {
  float: right;
  font-size: 22px;
  cursor: pointer;
}



.about h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
}

.about p {
  max-width: 1000px;
  margin: auto;
  font-size: 17px;
  line-height: 1.8;
  text-align: justify;
  color: #444;
}



