*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

body{
background-image:url('bg.jpg');
background-color:#180033;
background-size:cover;
background-position:center;
background-attachment:fixed;
color:white;
min-height:100vh;
}

/* NAVBAR */

.glass-navbar{
background:rgba(255,255,255,0.03);
backdrop-filter:blur(25px);
-webkit-backdrop-filter:blur(25px);
border-bottom:1px solid rgba(255,255,255,0.1);
padding:15px 30px;
display:flex;
justify-content:space-between;
align-items:center;
position:sticky;
top:0;
z-index:1000;
}

.logo h1{
color:#FFC400;
font-size:22px;
}

.menu-navigasi{
display:flex;
gap:15px;
}

.menu-navigasi a{
text-decoration:none;
color:rgba(255,255,255,0.7);
padding:8px 15px;
font-size:14px;
transition:0.3s;
}

.menu-navigasi a:hover{
color:#FFC400;
}

.menu-navigasi .active{
color:#FFC400;
font-weight:bold;
}

/* KONTEN */

.konten-utama{
padding:60px 20px;
display:flex;
flex-direction:column;
align-items:center;
min-height:80vh;
gap:40px;
}

/* HEADER HALAMAN */

.header-halaman{
text-align:center;
max-width:700px;
}

.header-halaman h2{
font-size:32px;
margin-bottom:10px;
}

.header-halaman p{
opacity:0.8;
}

/* CONTAINER */

.glass-container{
background:rgba(255,255,255,0.05);
backdrop-filter:blur(35px);
-webkit-backdrop-filter:blur(35px);
border:1px solid rgba(255,255,255,0.15);
border-radius:28px;
padding:40px;
width:100%;
box-shadow:0 20px 40px rgba(0,0,0,0.4);
text-align:center;
}

.home-box{
max-width:700px;
}

.contact-box{
max-width:400px;
}

/* BOX DALAM */

.glass-inner-box{
background:rgba(0,0,0,0.2);
padding:15px;
border-radius:15px;
margin-bottom:30px;
}

.glass-inner-box p{
color:#FFC400;
}

.home-buttons{
display:flex;
gap:15px;
justify-content:center;
}

/* BUTTON */

.btn-login-style{
background:linear-gradient(135deg,#8C00FF,#450693);
color:white;
text-decoration:none;
padding:12px 25px;
border-radius:14px;
font-weight:600;
transition:0.3s;
border:none;
cursor:pointer;
}

.btn-outline{
text-decoration:none;
color:#FFC400;
border:1px solid #FFC400;
padding:11px 25px;
border-radius:14px;
transition:0.3s;
display:inline-block;
margin-top:auto;
}

.btn-outline:hover{
background:#FFC400;
color:#180033;
}

/* GRID */

.grid-artikel{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
width:100%;
max-width:1100px;
}

/* CARD */

.glass-card{
background:rgba(255,255,255,0.04);
backdrop-filter:blur(20px);
-webkit-backdrop-filter:blur(20px);
border:1px solid rgba(255,255,255,0.1);
border-radius:20px;
padding:20px;
display:flex;
flex-direction:column;
height:100%;
}

.glass-card h3{
margin-bottom:10px;
}

.glass-card p{
opacity:0.85;
margin-bottom:20px;
line-height:1.6;
}

/* GAMBAR */

.gambar-artikel{
width:100%;
height:170px;
object-fit:cover;
border-radius:12px;
margin-bottom:15px;
background:#2a0a44;
}

/* FORM */

.form-kontak{
display:flex;
flex-direction:column;
gap:15px;
}

.input-glass{
width:100%;
background:rgba(255,255,255,0.05);
border:1px solid rgba(255,255,255,0.1);
border-radius:14px;
padding:14px 18px;
color:white;
outline:none;
transition:0.2s;
}

.input-glass::placeholder{
color:white;
opacity:0.7;
}

/* Mencegah background "gerak" saat focus */

input:focus,
textarea:focus{
transform:none;
}

/* FOOTER */

.footer{
text-align:center;
padding:30px;
opacity:0.6;
font-size:14px;
}

/* MOBILE */

@media(max-width:768px){

.glass-navbar{
flex-direction:column;
gap:15px;
}

.home-buttons{
flex-direction:column;
}

}
/* =========================================
   TAMBAHAN UNTUK HALAMAN RESEP & FILTER
========================================= */

/* FILTER BUTTONS */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.filter-btn:hover, .filter-btn.active {
    background: #FFC400;
    color: #180033;
    border-color: #FFC400;
    font-weight: 600;
}

/* RECIPE META INFO (Pembuat, Kategori, Ukuran) */
.resep-meta {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.resep-meta span {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
}

/* TOMBOL PREMIUM */
.btn-premium {
    background: linear-gradient(135deg, #FF007F, #99004D); /* Warna Pink/Merah Elegan */
    color: white;
    text-decoration: none;
    padding: 11px 25px;
    border-radius: 14px;
    transition: 0.3s;
    display: inline-block;
    margin-top: auto;
    text-align: center;
    border: none;
    font-weight: 600;
}

.btn-premium:hover {
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
    transform: translateY(-2px);
}
/* =========================================
   TAMBAHAN UNTUK HALAMAN DETAIL RESEP
========================================= */

.glass-table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.1);
}

.glass-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: white;
}

.glass-table th, .glass-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-table th {
    background: rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: #FFC400;
}

.glass-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.total-hpp {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: #FFC400;
    margin-top: 15px;
    padding-right: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.cara-pembuatan {
    text-align: left;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cara-pembuatan h3 {
    color: #FFC400;
    margin-bottom: 20px;
    font-size: 22px;
}

.cara-pembuatan ol {
    padding-left: 20px;
    line-height: 1.8;
}

.cara-pembuatan li {
    margin-bottom: 12px;
    opacity: 0.9;
}
/* =========================================
   TAMBAHAN UNTUK PANEL ADMIN
========================================= */

.admin-body {
    display: flex;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Sidebar Admin */
.admin-sidebar {
    width: 250px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar h2 {
    color: #FFC400;
    font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
}

.admin-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-menu a {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.admin-menu a:hover, .admin-menu a.active {
    background: rgba(255, 196, 0, 0.2);
    color: #FFC400;
    font-weight: 600;
}

.admin-logout {
    margin-top: auto;
    background: rgba(255, 0, 0, 0.1) !important;
    color: #ff4d4d !important;
}

.admin-logout:hover {
    background: #ff4d4d !important;
    color: white !important;
}

/* Area Konten Admin */
.admin-content {
    margin-left: 250px;
    padding: 40px;
    width: calc(100% - 250px);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

/* Tombol Aksi Tabel */
.btn-action {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 8px;
    border: 1px solid;
    background: transparent;
    cursor: pointer;
    transition: 0.3s;
}

.btn-edit {
    color: #FFC400;
    border-color: #FFC400;
}

.btn-edit:hover {
    background: #FFC400;
    color: #180033;
}

.btn-delete {
    color: #ff4d4d;
    border-color: #ff4d4d;
}

.btn-delete:hover {
    background: #ff4d4d;
    color: white;
}

/* Responsif Admin */
@media (max-width: 768px) {
    .admin-body {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .admin-content {
        margin-left: 0;
        width: 100%;
        padding: 20px;
    }
}
/* =========================================
   TAMBAHAN UNTUK PAGINATION
========================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.page-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
}

.page-link:hover, .page-link.active {
    background: #FFC400;
    color: #180033;
    border-color: #FFC400;
}