/*
Theme Name: Bali Arabica
Theme URI: https://baliarabica.com/
Author: Bali Arabica Team
Author URI: https://baliarabica.com/
Description: Custom WordPress Theme for Authentic Bali Kintamani Coffee.
Version: 1.0.0
Text Domain: bali-arabica
*/

/* ==========================================================================
   1. VARIABLES & ROOT SETUP
   ========================================================================== */
:root {
    --bs-body-font-family: 'Plus Jakarta Sans', sans-serif;
    --primary-color: #1A1512;
    --secondary-color: #2D241E;
    --accent-gold: #D4AF37;
    --accent-bronze: #C89D7C;
    --bg-cream: #FBF9F5;
    --bg-card: #FFFFFF;
}

/* ==========================================================================
   2. GLOBAL / BASE STYLES
   ========================================================================== */
body {
    background-color: var(--bg-cream);
    color: #4A403A;
    font-family: var(--bs-body-font-family);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* ==========================================================================
   3. NAVIGATION / NAVBAR
   ========================================================================== */
.navbar {
    background-color: rgba(26, 21, 18, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar-brand {
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--accent-bronze) !important;
}

.nav-link {
    color: #E0D0C0 !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--accent-gold) !important;
}

/* ==========================================================================
   4. HEADERS & HERO CAROUSEL
   ========================================================================== */
.hero-carousel, 
.carousel-inner, 
.carousel-item {
    min-height: 90vh;
}

/* Tambahkan atau perbarui bagian ini di style.css */
.carousel-control-prev,
.carousel-control-next {
    z-index: 10; /* Memastikan tombol ada di atas caption */
}

.carousel-item {
    background-position: center;
    background-size: cover;
    position: relative;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(26, 21, 18, 0.75), rgba(26, 21, 18, 0.75));
    z-index: 1;
}

.carousel-caption-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #ffffff;
    width: 100%;
    left: 0;
    right: 0;
}

/* Subpage Header Banner */
.page-header {
    background: linear-gradient(rgba(26, 21, 18, 0.8), rgba(26, 21, 18, 0.8)), url('images/slides/bali-volcano.jpg') center/cover no-repeat;
    padding: 160px 0 80px 0;
    color: #ffffff;
    text-align: center;
}

.hero-badge {
    background: rgba(200, 157, 124, 0.15);
    border: 1px solid var(--accent-bronze);
    color: var(--accent-bronze);
    padding: 0.5rem 1.25rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   5. BUTTONS & UI COMPONENTS
   ========================================================================== */
.btn-gold {
    background-color: var(--accent-bronze);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
}

.btn-gold:hover {
    background-color: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.btn-outline-gold {
    border: 1px solid var(--accent-bronze);
    color: var(--accent-bronze);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-outline-gold:hover {
    background-color: var(--accent-bronze);
    color: var(--primary-color);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(200, 157, 124, 0.1);
    color: var(--accent-bronze);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   6. PRODUCT CARDS & LISTINGS
   ========================================================================== */
.product-card {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-img-wrapper {
    overflow: hidden;
    height: 280px;
    position: relative;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(26, 21, 18, 0.8);
    color: var(--accent-bronze);
    padding: 0.3rem 0.8rem;
    font-size: 0.75rem;
    border-radius: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Taste Badge Component */
.taste-badge {
    display: inline-block;
    background: rgba(200, 157, 124, 0.12);
    color: var(--secondary-color);
    border: 1px solid rgba(200, 157, 124, 0.3);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.25rem;
    font-weight: 500;
}

/* ==========================================================================
   7. STORY, SUBAK & SPEC SECTIONS
   ========================================================================== */
.story-img-container {
    position: relative;
}

.story-img-container img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-bronze);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.spec-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    height: 100%;
    border-top: 4px solid var(--accent-bronze);
}

.spec-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.8rem;
    color: #4A403A;
}

.spec-list li::before {
    content: "\F26A";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-bronze);
    font-weight: bold;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
footer {
    background-color: var(--primary-color);
    color: #A09080;
    padding: 5rem 0 2rem;
}

footer h5 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.social-icon:hover {
    background: var(--accent-bronze);
    color: var(--primary-color);
}

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 991.98px) {
    .experience-badge {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1.5rem;
    }
}