/*
Theme Name: Revolks Premium Theme
Theme URI: https://revolks.com
Author: Revolks Team
Description: Tema premium, bersih, dan minimalis untuk katalog sandal Revolks.
Version: 1.0
Text Domain: revolks
*/

/* ==========================================
   1. RESET, FONTS & GLOBAL STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif; /* Font diubah ke tipe premium modern */
}

body {
    background-color: #0b0b0b;
    color: #ffffff;
    overflow-x: hidden;
}

/* ==========================================
   2. TOP ANNOUNCEMENT BAR
   ========================================== */
.top-bar {
    background-color: #111;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-around;
    padding: 10px 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #c3a774;
}

/* ==========================================
   3. NAVBAR & DROPDOWN SYSTEM
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #0b0b0b;
    border-bottom: 1px solid #1a1a1a;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
}

.logo span {
    font-size: 12px;
    vertical-align: super;
    color: #c3a774;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #c3a774;
}

/* Logika Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #111111;
    border: 1px solid #222222;
    min-width: 180px;
    border-radius: 6px;
    list-style: none;
    padding: 10px 0;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.dropdown-menu li a {
    color: #ffffff;
    padding: 10px 20px;
    display: block;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: background 0.2s, color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #c3a774;
    color: #000000;
}

/* Efek Muncul Saat Menu Shop di-Hover */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s;
}

.icon-btn:hover {
    transform: scale(1.1);
    color: #c3a774;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #c3a774;
    color: black;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
}

/* ==========================================
   4. HERO SECTION (HOMEPAGE)
   ========================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    min-height: 80vh;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.hero-content .highlight {
    color: #c3a774;
}

.hero-content p {
    color: #aaaaaa;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #c3a774;
    color: #000000;
    border: 1px solid #c3a774;
}

.btn-primary:hover {
    background-color: #b09362;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ==========================================
   5. FEATURES & BADGES
   ========================================== */
.features {
    background-color: #111;
    padding: 25px 8%;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.badge-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.badge {
    color: #c3a774;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ==========================================
   6. JENDELA LAYANG (MODAL)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}

.modal-content {
    background-color: #141414;
    border: 1px solid #c3a774;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    text-align: center;
    position: relative;
    animation: fadeInModal 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInModal {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaaaaa;
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #c3a774;
}

.modal h2 {
    color: #c3a774;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.modal p {
    color: #cccccc;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.5;
}

.modal-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-item {
    background-color: #1e1e1e;
    color: white;
    padding: 14px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid #2c2c2c;
}

.modal-item:hover {
    background-color: #c3a774;
    color: black;
    border-color: #c3a774;
    transform: translateY(-2px);
}

/* ==========================================
   7. RESPONSIVE DESIGN (TABLET & HP)
   ========================================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 40px 5%;
        gap: 40px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-buttons {
        justify-content: center;
    }
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
    }
    .nav-links {
        display: none;
    }
    .badge-container {
        justify-content: center;
        gap: 20px;
    }
}

/* ==========================================================================
   STYLE FLOATING CART & POPUP PANEL (PREMIUM DARK & GOLD)
   ========================================================================== */
.floating-cart {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #c3a774;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(195, 167, 116, 0.4);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart:hover {
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff3b30;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 10px;
    border: 2px solid #000;
}

/* PANEL KERANJANG BELANJA */
.cart-popup-panel {
    display: none; /* Dikontrol buka-tutup via JS */
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 360px;
    max-height: 500px;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    z-index: 9998;
    overflow: hidden;
    flex-direction: column;
}

.cart-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #222222;
    background: #161616;
}

.cart-popup-header h3 {
    margin: 0;
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.close-cart-popup {
    font-size: 24px;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.close-cart-popup:hover {
    color: #c3a774;
}

.cart-popup-items {
    padding: 20px;
    overflow-y: auto;
    max-height: 280px;
}

.empty-cart-text {
    color: #666;
    text-align: center;
    font-size: 13px;
    padding: 20px 0;
}

.cart-popup-footer {
    padding: 20px;
    border-top: 1px solid #222222;
    background: #161616;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

.cart-total #cartTotalAmount {
    color: #c3a774;
    font-size: 16px;
}

.btn-checkout {
    width: 100%;
    background-color: #c3a774;
    color: #111;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-checkout:hover {
    background-color: #b29562;
}

/* Responsive smartphone */
@media (max-width: 480px) {
    .cart-popup-panel {
        width: calc(100% - 40px);
        right: 20px;
        left: 20px;
        bottom: 95px;
    }
    .floating-cart {
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================================================
   EXCLUSIVE & LUXURY TESTIMONIALS (RADIAL GLOW & GOLD ACCENTS)
   ========================================================================== */
.testimonial-section {
    background: radial-gradient(circle at center, #141414 0%, #0b0b0b 100%);
    padding: 100px 20px;
    border-top: 1px solid #1a1a1a;
    border-bottom: 1px solid #1a1a1a;
    overflow: hidden;
}

.testimonial-container {
    max-width: 850px; /* Dibuat sedikit ramping agar fokus perhatian terpusat */
    margin: 0 auto;
    position: relative;
}

.testimonial-header {
    text-align: center;
    margin-bottom: 55px;
}

.testimonial-header .section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 5px; /* Memberikan aura eksklusif modern */
    color: #ffffff;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Garis pembatas emas halus di bawah judul */
.testimonial-header .section-title::after {
    content: '';
    display: block;
    width: 35px;
    height: 1.5px;
    background: #c3a774;
    margin: 15px auto 0 auto;
}

.testimonial-header .section-subtitle {
    font-size: 12px;
    color: #666666;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.testimonial-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Efek slide yang mulus */
    width: 100%;
}

.testimonial-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 50px 60px;
    background: #111111;
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

/* Ornamen tanda kutip besar yang transparan di latar belakang kartu */
.testimonial-card::before {
    content: "“";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Times New Roman', serif;
    font-size: 110px;
    color: rgba(195, 167, 116, 0.04);
    line-height: 1;
    pointer-events: none;
}

.testi-stars {
    color: #c3a774;
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 25px;
}

.testi-text {
    font-size: 17px;
    line-height: 1.9;
    color: #dcdcdc;
    font-weight: 300;
    font-style: normal; /* Mengubah miring menjadi tegak agar terlihat bersih & profesional */
    max-width: 680px;
    margin: 0 auto 35px auto;
}

.testi-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.testi-name {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Badge Centang Terverifikasi Minimalis */
.testi-status {
    font-size: 10px;
    color: #c3a774;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.testi-status::before {
    content: '✓';
    font-size: 9px;
    background: rgba(195, 167, 116, 0.12);
    color: #c3a774;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Penyesuaian Responsif Layar Kecil (Smartphone) */
@media (max-width: 600px) {
    .testimonial-section {
        padding: 70px 15px;
    }
    .testimonial-card {
        padding: 40px 20px;
        border-radius: 12px;
    }
    .testi-text {
        font-size: 15px;
        line-height: 1.7;
    }
    .testimonial-header .section-title {
        font-size: 20px;
        letter-spacing: 3px;
    }
}