* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background: linear-gradient(180deg, #050505, #0f0f0f);
    color: white;
    min-height: 100vh;
}

/* Navbar */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 80px;
    background: rgba(0, 0, 0, 0.466);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav h2 {
    color: #00ffcc;
    font-size: 26px;
    letter-spacing: 2px;
}

.logo {
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 2px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: "";
    width: 0;
    height: 2px;
    background: #00ffcc;
    position: absolute;
    bottom: -6px;
    left: 0;
    transition: 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    width: 35px;
    height: 30px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 10px;
}

/* Container */

.container {
    padding: 20px;
}

/* Hero */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 0 20px;

    background: url('img/rapati.jpg') center/cover no-repeat;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.568); /* 🔥 gelapin */
}

.hero * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 70px;
    font-weight: 700;
    line-height: 1.2;
}

.hero p,
.hero a {
    margin: 2;
}

.hero span {
    color: #00ffcc;
    font-family: 'Cinzel Decorative', serif;
}

/* Button */

.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background: #00ffcc;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px #00ffcc;
}

/* Grid */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 35px;
}

/* Card */

.card {
    width: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    border: 5px solid rgba(255,255,255,0.05);
    display:block;
    margin:auto
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,255,204,0.2);
}

.card img {
    width: 65%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    display:block;
    margin:auto;
}

.card h3 {
    margin: 15px 0 8px;
    font-size: 20px;
}

.card p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
}

/* Harga */

.price {
    color:#00ff9c;
    font-weight:bold;
    margin:5px 0;
}

/* Deskripsi */

.desc {
    font-size:14px;
    opacity:0.8;
}

/* Stok */

.stok {
    margin-top:8px;
    font-size:14px;
    font-weight:bold;
}

.stok.tersedia {
    color:#00ff9c;
}

.stok.habis {
    color:#ff4d4d;
}

.title-page{
    text-align:center;
    margin-bottom:40px;
    margin-top:20px;
}

.title {
    text-align:center;
}

/* ABOUT PAGE */
/* ========================= */

.about-box {
    width: 80%;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    overflow: hidden;
    padding: 25px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
    border: 5px solid rgba(255,255,255,0.05);
    display:block;
    margin:auto
}

.about-flex {
    display:flex;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
}

.about-photo img {
    width:200px;
    height:200px;
    object-fit:cover;
    border-radius:50%;
    border:3px solid #00ffcc;
    box-shadow:0 0 20px rgba(0,255,204,0.5);
}

.about-info {
    flex:1;
}

.dev-name {
    font-size:26px;
    margin-bottom:15px;
}

.about-data p {
    margin:5px 0;
}

.about-subtitle {
    margin-top:20px;
    margin-bottom:10px;
}

.about-contact p {
    margin:4px 0;
}

.about-desc {
    margin-top:20px;
    color:#aaa;
    line-height:1.6;
}

.comment{
    max-width:900px;
    margin:40px auto;
    display:flex;
    flex-direction:column;
    gap:25px;
    padding: 0 20px; /* kasih jarak kiri kanan */
}

/* FORM BOX (UPGRADE) */
.comment-form-box{
    background:rgba(255,255,255,0.05);
    padding:30px;
    border-radius:20px;
    backdrop-filter:blur(10px);
    border:1px solid rgba(255,255,255,0.1);
    box-shadow:0 10px 30px rgba(0,255,204,0.15);
    transition:0.3s;
    max-width: 700px;
    margin: auto;
}

.comment-form-box:hover{
    box-shadow:0 15px 40px rgba(0,255,204,0.25);
}

/* INPUT */
.comment-form-box input,
.comment-form-box textarea,
.comment-form-box select{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border-radius:10px;
    border:2px solid rgba(255,255,255,0.1);
    background:rgba(0,0,0,0.4);
    color:#fff;
    outline:none;
    transition:0.3s;
}

/* FOCUS EFFECT */
.comment-form-box input:focus,
.comment-form-box textarea:focus,
.comment-form-box select:focus{
    border-color:#00ffcc;
    box-shadow:0 0 10px rgba(0,255,204,0.6);
}

/* BUTTON */
.comment-form-box button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:linear-gradient(45deg,#00ffcc,#00ccaa);
    color:#000;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
}

.comment-form-box button:hover{
    transform:scale(1.05);
    box-shadow:0 10px 25px rgba(0,255,204,0.4);
}

/* CARD KOMENTAR */
.comment-card{
    background:rgba(255,255,255,0.05);
    padding:20px;
    border-radius:15px;
    border:1px solid rgba(255,255,255,0.1);
    transition:0.3s;
    position:relative;
}

/* HOVER */
.comment-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 35px rgba(0,255,204,0.2);
}

/* NAMA */
.comment-card h3{
    color:#00ffcc;
    margin-bottom:5px;
}

/* ISI */
.comment-card p{
    color:#ccc;
    margin-bottom:10px;
    line-height:1.5;
}

/* RATING */
.comment-card span{
    color:#00ffcc;
    font-size:0.9rem;
}

/* GARIS KECIL */
.comment-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    height:100%;
    width:5px;
    background:#00ffcc;
    border-radius:15px 0 0 15px;
}

.notif-sukses{
    max-width:700px;
    margin:20px auto;
    padding:15px;
    border-radius:10px;
    background:rgba(0,255,100,0.1);
    border:1px solid #00ff88;
    color:#00ff88;
    text-align:center;
    font-weight:bold;
    box-shadow:0 0 15px rgba(0,255,100,0.3);
}

.comment-meta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:10px;
    font-size:14px;
    opacity:0.8;
}

.comment-meta .rating{
    color:#ffd700;
}

.comment-meta .tanggal{
    color:#aaa;
    font-size:13px;
}

/* GARIS PEMBATAS SECTION */
.section-line{
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #00ffcc, #00ccaa);
    margin: 15px auto 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,255,204,0.5);
}

/* FOOTER */
.footer{
    background: rgba(255,255,255,0.03);
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 80px;
    padding-top: 50px;
    backdrop-filter: blur(10px);
}

.footer-container{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-box h2,
.footer-box h3{
    color: #00ffcc;
    margin-bottom: 15px;
}

.footer-box p{
    color: #bbb;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 10px;
}

.footer-btn{
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(45deg,#00ffcc,#00ccaa);
    color: #000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.footer-btn:hover{
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,255,204,0.4);
}

.footer-bottom{
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #888;
    font-size: 14px;
}

.footer-link{
    color: #00ffcc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover{
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0,255,204,0.8);
}

/* ABOUT PAGE NEW DESIGN */
.about-page{
    padding: 60px 20px;
}

.about-hero{
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.about-photo-box{
    position: relative;
}

.about-photo-box::before{
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(0,255,204,0.12);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    filter: blur(25px);
}

.about-photo img{
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00ffcc;
    box-shadow: 0 0 30px rgba(0,255,204,0.4);
    position: relative;
    z-index: 2;
}

.about-hero-text{
    max-width: 600px;
}

.about-label{
    display: inline-block;
    padding: 8px 18px;
    background: rgba(0,255,204,0.12);
    border: 1px solid rgba(0,255,204,0.3);
    border-radius: 30px;
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 14px;
}

.about-main-title{
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-tagline{
    color: #aaa;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 30px;
}

.about-buttons{
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.about-btn-secondary{
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.about-btn-secondary:hover{
    border-color: #00ffcc;
    color: #00ffcc;
    box-shadow: 0 0 20px rgba(0,255,204,0.2);
}

.about-grid{
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 50px;
}

.about-card{
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 25px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.about-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,255,204,0.12);
}

.about-card h2{
    color: #00ffcc;
    margin-bottom: 25px;
    font-size: 24px;
}

.info-item,
.contact-item{
    margin-bottom: 20px;
}

.info-item span,
.contact-item p{
    color: #00ffcc;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.info-item p{
    color: #ddd;
    line-height: 1.7;
}

.about-story{
    max-width: 1200px;
    margin: auto;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.about-story h2{
    color: #00ffcc;
    margin-bottom: 20px;
    font-size: 30px;
}

.about-story p{
    color: #bbb;
    line-height: 1.9;
    max-width: 850px;
    margin: auto;
}

@media(max-width:768px){
    .about-main-title{
        font-size: 36px;
    }

    .about-photo img{
        width: 200px;
        height: 200px;
    }

    .about-story{
        padding: 25px;
    }
}

.section {
    padding: 120px 20px;
}

@media(max-width:768px){

    nav {
        padding: 20px;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 22px;
        cursor: pointer;
        z-index: 99999;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 10px;
    }

    nav ul {
        display: none !important;
    }

    nav ul.active {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        width: 220px;
        background: rgba(0,0,0,0.95);
        padding: 20px;
        border-radius: 15px;
        gap: 15px;
        z-index: 9999;
    }
}
