@font-face {
    font-family: 'Brockers';
    src: url('../img/Brockers.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-blue: #3E517A;
    --secondary-blue: #5C73A1;
    --accent-gold: #D4AF37;
    --light-bg: #F0F2F5;
    --gold-color: #ffc107;
}

.text-gradient-gold {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

body {
    background-image: linear-gradient(rgba(11, 17, 32, 0.85), rgba(11, 17, 32, 0.95)), url('../img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--light-bg);
    min-height: 100vh;
}

.navbar {
    transition: all 0.3s ease-in-out;
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(11, 17, 32, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow:
        -2px -2px 0px rgba(212, 175, 55, 0.3),
        0 0 10px rgba(255, 193, 7, 0.4),
        2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link {
    font-weight: 500;
}

.hero {
    height: 100vh;
    padding-top: 56px;
    /* Navbar height */
    position: relative;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1,
.hero .display-1 {
    font-family: 'Space Grotesk', sans-serif !important;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em;
    margin: 0;
    position: relative;
    display: inline-block;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

main {
    background-color: transparent;
    position: relative;
    z-index: 1;
    padding-bottom: 3rem;
}

.product-card {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.product-card .product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.product-card .product-image-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

.product-card .card-body {
    color: var(--light-bg);
}

.product-card .card-title {
    font-weight: 600;
    color: #fff;
}

.product-card .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.modal-product-image {
    margin-bottom: 1rem;
}

.modal-product-image img {
    border-radius: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c09e2e;
    border-color: #c09e2e;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--light-bg);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--light-bg);
    color: var(--primary-blue);
}


footer {
    background-color: rgba(11, 17, 32, 0.7);
}

/* --- Modal Styling --- */
.modal-content {
    background-color: rgba(30, 41, 59, 0.8);
    /* Warna gelap dengan transparansi */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-bg);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close {
    background-color: var(--accent-gold);
    border-radius: 50%;
}

/* Features & Promo Section */
.feature-card,
.promo-card {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card:hover,
.promo-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.1);
    margin-bottom: 1.5rem;
}

.promo-section {
    position: relative;
    z-index: 1;
}

.stat-card {
    background-color: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Floating Icons */
.floating-icons {
    position: relative;
    height: 100px;
    width: 100%;
    /* max-width: 800px; Removed centering constraint */
}

.floating-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
}

.floating-icon.active {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    background: rgba(255, 193, 7, 0.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    z-index: 2;
    transform: translateY(-20px);
}

/* Animations */
.animate-slide-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Hero Image & Gradient Blending */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: auto;
    /* Mask for gradient blending effect - Fading out the right edge */
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* Alternative: Gradient Overlay if mask doesn't work well with the specific image */
.hero-image-overlay {
    display: none;
}

.floating-icon:hover {
    transform: translateY(-10px) scale(1.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Staggered Animation */
.floating-icon.icon-1 {
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    animation-delay: 0.5s;
}

.floating-icon.icon-3 {
    animation-delay: 1s;
}

.floating-icon.icon-4 {
    animation-delay: 1.5s;
}

.floating-icon.icon-5 {
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Hero Stats */
.hero-stats {
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: inline-flex;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Mobile Responsive Styles */
@media (max-width: 767px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero h1,
    .hero .display-1 {
        font-size: clamp(2rem, 10vw, 3.5rem) !important;
    }

    .hero .lead {
        font-size: 1rem;
    }

    .letter-spacing-2 {
        font-size: 0.75rem !important;
        letter-spacing: 1px;
        line-height: 1.4;
    }

    /* Stack stats in 2+1 layout on mobile */
    .hero-stats {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        padding: 1rem;
        gap: 0.75rem;
    }

    .hero-stats>div {
        border-left: none !important;
        border-top: none !important;
        padding: 0.75rem !important;
        margin: 0 !important;
        width: calc(50% - 0.5rem);
        background: rgba(74, 74, 74, 0.2);
        border-radius: 12px;
    }

    .hero-stats>div:nth-child(3) {
        width: calc(50% - 0.5rem);
    }

    .hero-stats i {
        font-size: 1.5rem !important;
    }

    /* Hide carousel on mobile or make it smaller */
    .hero-image-wrapper {
        display: none !important;
    }

    /* Adjust floating icons for mobile */
    .floating-icons {
        height: 60px;
        gap: 0.5rem !important;
    }

    .floating-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .floating-icon.active {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Adjust button size */
    .btn-lg {
        padding: 0.75rem 2rem !important;
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {

    .hero h1,
    .hero .display-1 {
        font-size: clamp(1.75rem, 12vw, 3rem) !important;
    }

    .floating-icons {
        height: 50px;
    }

    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }

    .floating-icon.active {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}