/* ================= RESET ================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* ================= BODY ================= */

body{

    background: url('assets/bgcoffe2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: 100vh;

    overflow-x: hidden;

    position: relative;
}

/* ================= OVERLAY ================= */

.overlay{

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.55);

    z-index: 1;
}

/* ================= NAVBAR ================= */

.navbar{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    padding: 20px 60px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background: rgba(0,0,0,0.3);

    backdrop-filter: blur(10px);

    z-index: 999;
}

.logo{

    color: white;

    font-size: 34px;

    font-family: 'Pacifico', cursive;
}

.navbar ul{

    display: flex;

    gap: 30px;

    list-style: none;
}

.navbar a{

    color: white;

    text-decoration: none;

    font-size: 18px;

    font-weight: 500;

    transition: 0.3s;
}

.navbar a:hover{

    color: #D7CCC8;
}

/* ================= HERO ================= */

.hero{

    width: 100%;
    min-height: 100vh;

    display: flex;

    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 100px 20px;

    position: relative;

    z-index: 2;
}

.hero-content h1{

    color: white;

    font-size: 70px;

    font-family: 'Pacifico', cursive;

    margin-bottom: 20px;
}

.hero-content p{

    color: #eee;

    font-size: 22px;

    margin-bottom: 35px;
}

.hero-btn{

    display: inline-block;

    padding: 15px 35px;

    border-radius: 40px;

    background: #6D4C41;

    color: white;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.hero-btn:hover{

    transform: scale(1.05);

    background: #5D4037;
}

/* ================= MENU ================= */

.menu-section{
    padding: 120px 8%;
    position: relative;
    z-index: 2;
}

.menu-section h2{
    text-align: center;
    color: white;
    font-size: 42px;
    margin-bottom: 50px;
}

.menu-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
}

.menu-card{
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: 0.3s;
    transition: 
    0.4s ease,
    opacity 0.4s ease,
    transform 0.4s ease;
    }


.menu-card:hover{
    transform: translateY(-10px);
}

.menu-card img{
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.menu-card h3{
    color: white;
    font-size: 28px;
    margin-top: 20px;
}

.menu-card p{
    color: #f1f1f1;
    margin-top: 10px;
    font-size: 18px;
}

/* ================= ORDER ================= */

.container{

    width: 100%;

    max-width: 1200px;

    margin: auto;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 30px;

    padding: 50px;

    position: relative;

    z-index: 2;
}

.card,
.table-card{

    background: rgba(255,255,255,0.12);

    border-radius: 30px;

    padding: 35px;

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.card h1{

    color: white;

    text-align: center;

    font-size: 45px;

    margin-bottom: 10px;

    font-family: 'Pacifico', cursive;
}

.subtitle{

    text-align: center;

    color: #eee;

    margin-bottom: 30px;
}

/* ================= FORM ================= */

.input-group{

    margin-bottom: 20px;
}

.input-group label{

    display: block;

    color: white;

    margin-bottom: 8px;

    font-weight: 600;
}

input,
select{

    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 15px;

    outline: none;

    background: rgba(255,255,255,0.9);

    font-size: 15px;
}

.radio-group{

    display: flex;

    gap: 20px;

    color: white;

    margin-top: 10px;
}

button{

    width: 100%;

    padding: 15px;

    border: none;

    border-radius: 18px;

    background: #5D4037;

    color: white;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}

button:hover{

    background: #4E342E;

    transform: scale(1.02);
}

/* ================= TABLE ================= */

.table-card{

    background: rgba(255,255,255,0.10);

    border-radius: 30px;

    padding: 35px;

    backdrop-filter: blur(12px);

    box-shadow: 0 10px 25px rgba(0,0,0,0.3);

    overflow-x: auto;
}

.table-card h2{

    color: white;

    margin-bottom: 25px;

    text-align: center;

    font-size: 32px;
}

table{

    width: 100%;

    border-collapse: collapse;

    border-spacing: 0;
}

th{

    background: rgba(255,255,255,0.15);

    color: white;

    padding: 16px;

    font-size: 16px;

    font-weight: 600;

    backdrop-filter: blur(10px);
}

td{

    padding: 16px 12px;

    text-align: center;

    color: white;

    border-bottom: 1px solid rgba(255,255,255,0.1);

    background: rgba(255,255,255,0.03);
}

tr{

    transition: 0.3s;
}

tr:hover td{

    background: rgba(255,255,255,0.08);
}

/* ================= AKSI BUTTON ================= */

.aksi{

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;
}

.edit,
.hapus{

    padding: 8px 16px;

    border-radius: 12px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;

    transition: 0.3s;

    background: transparent;

    border: 1px solid rgba(255,255,255,0.25);

    color: white;

    backdrop-filter: blur(5px);
}

.edit:hover{

    background: rgba(255, 166, 0, 0.2);

    border-color: orange;

    transform: scale(1.05);
}

.hapus:hover{

    background: rgba(220, 20, 60, 0.2);

    border-color: crimson;

    transform: scale(1.05);
}

/* ================= CONTACT ================= */

.contact-section{

    width: 100%;

    padding: 100px 20px;

    position: relative;

    z-index: 2;

    text-align: center;
}

.contact-section h2{

    color: white;

    font-size: 42px;

    margin-bottom: 15px;
}

.contact-section p{

    color: #eee;
}

.contact-box{

    margin-top: 30px;
}

.wa-btn{

    display: inline-block;

    background: #25D366;

    color: white;

    padding: 15px 30px;

    border-radius: 20px;

    text-decoration: none;

    font-weight: 600;

    margin-bottom: 25px;

    transition: 0.3s;
}

.wa-btn:hover{

    transform: scale(1.05);
}

.info p{

    margin: 10px 0;
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

    .container{

        grid-template-columns: 1fr;

        padding: 20px;
    }

    .navbar{

        padding: 20px;
    }

    .navbar ul{

        gap: 15px;
    }

    .hero-content h1{

        font-size: 50px;
    }

    .menu-title{

        font-size: 35px;
    }

    .coffee-menu{

        padding: 80px 20px;
    }

    .menu-card img{

        height: 180px;
    }
}
   .search-box{
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-box input{
    width: 400px;
    max-width: 90%;
    padding: 15px 20px;
    border: none;
    outline: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 16px;
}

.search-box input::placeholder{
    color: rgba(255,255,255,0.7);
}

/* ================= MOBILE TABLE ================= */

@media(max-width:768px){

    table{

        font-size: 13px;
    }

    th,
    td{

        padding: 10px 6px;
    }

    .aksi{

        flex-direction: column;
    }

    .edit,
    .hapus{

        width: 100%;
    }
}
    #not-found{

    display: none;

    color: white;

    text-align: center;

    margin-top: 20px;

    font-size: 20px;

    font-weight: 600;
}
