/* ================= GLOBAL ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f9f9f9;
    color: #111;
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    gap: 70px;
}

.logo {
    display: flex;
    align-items: center;
    position: absolute;
    left:10px;
}

.logo img {
    height: 90px;
    width: auto;
}
.logo-text {
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-left: 10px;
    align-items: center;
    display: flex;
    
}
.navbar a
{
color: white;
text-decoration: none;
font-weight: 500;
font-size: 19px;
}
/* ===== DROPDOWN ===== */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar-logo {
    height: 30px;           /* tinggi navbar tetap */
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible;      /* biar logo bisa keluar */
}

/* GAMBAR LOGO */
.navbar-logo img {
    height: 60px;           /* BESARIN LOGO */
    width: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.navbar-logo img {
    filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.6));
}


/* ===== DROPDOWN ===== */
.navbar nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* CONTAINER */
.dropdown {
    position: relative;
}


/* BUTTON */
.dropbtn {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    position: relative;
}

/* ARROW */
.dropbtn::after {
    content: "▾";
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* ROTATE ARROW */
.dropdown:active .dropbtn::after {
    transform: rotate(180deg);
}
.dropdown-content {
z-index: 1000;
}

/* DROPDOWN BOX */
.dropdown-content {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    opacity: 0;
    pointer-events: none;

    background: rgba(20,20,20,0.85);
    backdrop-filter: blur(12px);
    min-width: 200px;
    border-radius: 12px;
    overflow: hidden;

    box-shadow:
        0 15px 35px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);

    transition: all 0.35s ease;
    z-index: 999;
}

/* SHOW */
.dropdown-content.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


/* ITEM */
.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* SEPARATOR */
.dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* HOVER EFFECT */
.dropdown-content a:hover {
    background: linear-gradient(90deg, #79ce18);
    color: #000;
    padding-left: 26px;
}

/* ================= HERO ================= */
.hero-store {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* IMAGE (KANAN FULL) */
.hero-img {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: auto;
object-fit: contain;
}
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    margin-top: 120px;
}
.slideshow {
    position: relative;
    width: 90%;
    height: auto;
}
.slideshow img {
  width: 100%;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fadeSlide 12s linear infinite;
  object-fit: cover;
}
.slideshow img:nth-child(1) {
  animation-delay: 0s;
}
.slideshow img:nth-child(2) {
  animation-delay: 5s;
}
.slideshow img:nth-child(3) {
  animation-delay: 9s;
}
@keyframes fadeSlide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  45% { opacity: 1; }
  55% { opacity: 0; }
  100% { opacity: 0; }
}


/* PANEL PUTIH KIRI */
.hero-left-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    height: 100%;
    background: #fff;
    z-index: 2;
}

/* TEXT (INI YANG DIPAKAI - SAMA KAYAK NEWS) */
.hero-overlay-store {
    position: absolute;
    bottom: 30%;
    left: 10%;
    max-width: 420px;
    z-index: 3;
}

.hero-overlay-store h1 {
    font-size: 56px;
    font-weight: 900;
    color: #111;
    margin-bottom: 15px;
}

.hero-overlay-store p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
}

/* BUTTON */
.btn-shop {
    display: inline-block;
    padding: 14px 30px;
    background: #000;
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-shop:hover {
    background: #79ce18;
}

/* ================= SECTION TITLE ================= */
.news-title {
    padding: 100px 8px 50px;
    text-align: center;
}

.news-title h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: 2px;
}

.news-title p {
    font-size: 18px;
    color: #666;
}

/* ================= GRID CARDS ================= */
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 8%;
}

/* ================= NEWS CARD ================= */
.card {
    width: 100%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

/* IMAGE */
.card-image {
    height: 600px; 
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CARD CONTENT */
.card-content {
    padding: 20px;
    color: #111;
    flex: 1;
}

.card-content h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.card-content small {
    font-size: 13px;
    color: #777;
    display: block;
    margin-bottom: 10px;
}

.card-content p {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

/* SEE MORE BUTTON */
.card-content .see-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 18px;
    background-color: #79ce18;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-content .see-more:hover {
    background: #00ff99;
    color: #000;
    transform: scale(1.05);
}
.status {
    margin: 8px 10px;
}

.status-ready {
    background: #28a745;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-notready {
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

/* CONTAINER */
.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding: 0 8%;
    flex-wrap: wrap;
}

/* LEFT */
.footer-left h4,
.footer-center h4,
.footer-right h4 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-line {
    width: 60px;
    height: 2px;
    background: #bbb;
    margin: 10px 0 20px;
}

.footer-left p {
    font-size: 14px;
    margin-bottom: 5px;
}

.footer-left .privacy {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    color: #ccc;
    text-decoration: none;
}

.footer-left .privacy:hover {
    color: #fff;
}

/* CENTER */
.footer-center ul {
    list-style: none;
    padding: 0;
}

.footer-center ul li {
    margin-bottom: 8px;
}

.footer-center ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.footer-center ul li a:hover {
    color: #fff;
}

/* RIGHT */
.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: #999696;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #79ce18;
}

/* BOTTOM */
.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #aaa;
}

/* LOGO */
.logo-img {
    width: 120px;
    margin-bottom: 10px;
    transition: 0.3s;
}

.footer-modern {
    background: #3c3f41;
    color: #ddd;
    padding-top: 60px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .hero-left-panel {
        width: 100%;
        background: rgba(255,255,255,0.95);
    }

    .hero-img {
        width: 100%;
        opacity: 0.4;
    }

    .hero-overlay-store {
        left: 5%;
        bottom: 20%;
    }

    .hero-overlay-store h1 {
        font-size: 36px;
    }

    .hero-overlay-store p {
        font-size: 16px;
    }

    .news-title h1 {
        font-size: 40px;
    }

    .card-image {
        height: 300px;
    }
}