/* 
   =========================================
   QOWWAMNET - CUSTOM PREMIUM STYLE
   Elegant Herbal & Natural Luxury Theme
   =========================================
*/

:root {
    --primary-green: #0d3c26;
    --primary-green-light: #165c3c;
    --primary-green-dark: #061f13;
    --accent-gold: #cca43b;
    --accent-gold-light: #e5c158;
    --accent-gold-dark: #a37f24;
    --bg-cream: #e0fce7;
    --bg-cream-dark: #f3efe2;
    --text-dark: #202c25;
    --text-muted: #5e6b62;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--bg-cream);
    color: var(--text-dark);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.7;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    color: var(--primary-green-dark);
    font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* Glassmorphism Navbar */
.navbar-custom {
    background-color: rgba(22, 92, 60, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--accent-gold);
    transition: var(--transition-smooth);
    z-index: 1050;
}

.navbar-custom .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-custom .navbar-brand img {
    height: 40px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar-custom .navbar-brand:hover img {
    transform: rotate(10deg) scale(1.1);
}

.nav-link-custom {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    position: relative;
    transition: var(--transition-smooth);
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

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

.nav-link-custom:hover::after {
    width: 80%;
}

/* Hero Carousel Styles */
.hero-carousel {
    border-bottom: 5px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    background-color: var(--bg-cream);
}

.hero-slide-content {
    padding: 160px 0 100px 0;
    color: var(--text-dark);
    min-height: 620px;
    display: flex;
    align-items: center;
}

@media (max-width: 991.98px) {
    .hero-slide-content {
        padding: 130px 0 70px 0;
        min-height: auto;
    }
}

.hero-logo {
    max-height: 220px;
    filter: drop-shadow(0 10px 25px rgba(13, 60, 38, 0.15));
    animation: float 6s ease-in-out infinite;
}

.hero-product-img {
    max-height: 280px;
    filter: drop-shadow(0 15px 35px rgba(13, 60, 38, 0.15));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--accent-gold-dark);
    text-transform: uppercase;
    display: block;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary-green-dark) !important;
    text-shadow: none;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

/* Custom Controls for Indicators and Arrows */
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-green);
    border: 2px solid transparent;
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.hero-carousel .carousel-indicators .active {
    background-color: var(--primary-green);
    transform: scale(1.2);
    opacity: 1;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: var(--transition-smooth);
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 0.8;
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    background-color: rgba(13, 60, 38, 0.6);
    padding: 20px;
    border-radius: 50%;
    border: 1px solid rgba(204, 164, 59, 0.4);
    background-size: 40%;
    transition: var(--transition-smooth);
}

.hero-carousel .carousel-control-prev-icon:hover,
.hero-carousel .carousel-control-next-icon:hover {
    background-color: var(--accent-gold);
}

/* Beautiful Sequential CSS Micro-Animations per Slide */
.carousel-item .hero-subtitle,
.carousel-item .hero-title,
.carousel-item .lead,
.carousel-item .btn,
.carousel-item .hero-logo,
.carousel-item .hero-product-img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-item.active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.carousel-item.active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.carousel-item.active .lead {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.carousel-item.active .btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.carousel-item.active .hero-logo,
.carousel-item.active .hero-product-img {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/* Benefit Cards */
.card-premium {
    background: #ffffff;
    border: 1px solid rgba(13, 60, 38, 0.08);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(13, 60, 38, 0.03);
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 60, 38, 0.08);
    border-color: rgba(204, 164, 59, 0.3);
}

.card-premium:hover::before {
    width: 8px;
    background-color: var(--primary-green);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background-color: rgba(204, 164, 59, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-gold-dark);
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.card-premium:hover .benefit-icon-wrapper {
    background-color: var(--primary-green);
    color: var(--text-light);
    transform: scale(1.1) rotate(5deg);
}

/* Product Image styling */
.product-showcase {
    position: relative;
    padding: 20px;
}

.product-img-container {
    background: radial-gradient(circle, rgba(204, 164, 59, 0.1) 0%, transparent 70%);
    padding: 30px;
    border-radius: 30px;
}

.product-showcase img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 30px rgba(13, 60, 38, 0.15));
    transition: var(--transition-smooth);
}

.product-showcase:hover img {
    transform: scale(1.03) translateY(-5px);
}

/* Video Section */
.video-section {
    background-color: var(--bg-cream-dark);
    position: relative;
}

.video-wrapper {
    background: #000000;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 6px solid #ffffff;
    max-width: 800px; /* limits to reasonable desktop dimension */
    margin: 0 auto;
    position: relative;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

/* Ingredients Section (Bahan Baku) */
.ingredients-section {
    background-color: #ffffff;
}

.spice-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0,0,0,0.05);
    background: #ffffff;
}

.spice-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.spice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(13, 60, 38, 0.1);
}

.spice-card:hover img {
    transform: scale(1.08);
}

/* Herbs Badge Grid */
.herb-badge {
    background: var(--bg-cream-dark);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    transition: var(--transition-smooth);
    border-top: 1px solid rgba(13, 60, 38, 0.03);
    border-right: 1px solid rgba(13, 60, 38, 0.03);
    border-bottom: 1px solid rgba(13, 60, 38, 0.03);
}

.herb-badge:hover {
    background: rgba(13, 60, 38, 0.05);
    border-left-color: var(--primary-green);
    transform: translateX(5px);
}

.herb-icon {
    font-size: 1.3rem;
    color: var(--primary-green);
}

/* Gallery Section */
.gallery-section {
    background-color: var(--bg-cream);
}

.gallery-circle-img {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    border-radius: 50% !important;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 25px rgba(13, 60, 38, 0.12);
    transition: var(--transition-smooth);
    margin: 0 auto;
}

.gallery-img-container {
    position: relative;
    display: inline-block;
    padding: 10px;
    transition: var(--transition-smooth);
}

.gallery-img-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 2px dashed var(--accent-gold);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.gallery-item:hover .gallery-img-container::before {
    transform: translate(-50%, -50%) scale(1.02);
    opacity: 1;
}

.gallery-item:hover .gallery-circle-img {
    transform: scale(1.05);
    border-color: var(--primary-green);
}

/* Section Header Styles */
.section-title-container {
    margin-bottom: 50px;
    position: relative;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: var(--accent-gold-dark);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green) 0%, var(--accent-gold) 100%);
    border-radius: 2px;
}

.section-title-left::after {
    left: 0;
    transform: none;
}

/* Contact / Footer Styles */
.footer-section {
    background-color: var(--primary-green-light);
    color: rgba(255, 255, 255, 0.8);
    border-top: 5px solid var(--accent-gold);
    padding: 80px 0 30px 0;
    position: relative;
}

.footer-logo {
    max-height: 80px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.footer-heading {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--accent-gold-light);
    padding-left: 6px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.contact-info-item:hover .contact-icon {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
    transform: scale(1.1);
}

/* Floating Elements */
.whatsapp-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-floating:hover {
    transform: scale(1.1) rotate(10deg);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-green);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(13, 60, 38, 0.3);
    border: 1px solid var(--accent-gold);
    z-index: 999;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--accent-gold);
    color: var(--primary-green-dark);
    transform: translateY(-5px);
}

/* Custom buttons */
.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
    color: var(--primary-green-dark);
    border: none;
    padding: 12px 28px;
    font-weight: 700;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(204, 164, 59, 0.3);
    transition: var(--transition-smooth);
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
    color: var(--primary-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 164, 59, 0.5);
}

.btn-outline-green {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 28px;
    font-weight: 700;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.btn-outline-green:hover {
    background: var(--primary-green);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* Dropdown Menu Customization */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 10px !important;
}

.dropdown-item {
    border-radius: 8px;
    padding: 10px 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.hover-gold:hover {
    background-color: var(--accent-gold) !important;
    color: var(--primary-green-dark) !important;
    transform: translateX(5px);
}

.navbar-nav .dropdown-toggle::after {
    transition: var(--transition-smooth);
}

.navbar-nav .show .dropdown-toggle::after {
    transform: rotate(180deg);
}

@media (min-width: 992px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
        animation: slideUp 0.3s ease-out forwards;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations */
.fade-up-init {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up-active {
    opacity: 1;
    transform: translateY(0);
}
