@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;600&display=swap');

:root {
    --color-black: #121212;
    --color-gold: #FFD700;
    --color-white: #ffffff;
    --color-gray: #B0B0B0;
    --color-dark-gray: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'BarlowCondensed-Light';
    src: url('./BarlowCondensed-Light.ttf') format('truetype');
  }
  

body {
    font-family: 'Barlow', sans-serif;
    color: var(--color-white);
    background: var(--color-black);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Styles */
#main-header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
    padding: 20px 0;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); */
}

#main-header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    height: 40px;
    margin-bottom: 5px;
}

.brand-name {
    font-family: 'BarlowCondensed-Light', 'Arial', sans-serif;
    display: block;
    color: var(--color-gold);
    font-size: 20px;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
}

nav a:hover {
    color: var(--color-gold);
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: 0.3s;
}

/* Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    --height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

/* Quote Sections */
.quote-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 13%;
    gap: 50px;
}

.quote-content {
    flex: 1;
    max-width: 600px;
}

.quote-image {
    flex: 1;
    max-width: 500px;
    position: relative;
}

.quote-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.quote-section.left {
    flex-direction: row;
}

.quote-section.right {
    flex-direction: row-reverse;
}

.quote-content h2 {
    font-size: 4rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.quote-content p {
    font-size: 1.8rem;
    color: var(--color-white);
}

/* Product Slider */
.product-slider {
    padding: 100px 0;
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    padding: 0 20px;
}

.product-card {
    flex: 1;
    background: var(--color-dark-gray);
    padding: 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.8s ease;
}

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

.product-card h3 {
    margin: 15px 0 10px;
    color: var(--color-white);
    font-size: 1.5rem;
}

.product-card p {
    color: var(--color-gold);
}

/* Footer */
footer {
    background-color: rgba(26, 26, 26, 0.95);
    padding: 60px 0 30px;
    border-top: 2px solid var(--color-gold);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.social-icon {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icon i {
    font-size: 24px;
}

.social-icon:hover {
    color: var(--color-gold);
}

.footer-menus {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-section {
    -width: 5%
}

.footer-section h4 {
    color: var(--color-gold);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--color-gray);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-white);
}

.footer-contact {
    width: 30%;
    color: var(--color-gray);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
    border-left: 2px solid gray; 
    padding-left: 20px;
    margin-left: 5px;
    font-size: 10pt;
}

.footer-contact h4 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 18px;
}

.footer-contact ul {
    list-style: none;
}

.footer-contact a:hover {
    color: var(--color-white);
}

.copyright {
    text-align: center;
    color: var(--color-gray);
    padding-top: 30px;
    border-top: 1px solid var(--color-gray);
    font-size: 14px;
}

.lazy-load {
    opacity: 0; /* Mengatur transparansi menjadi 0 saat gambar dimuat */
    transition: opacity 0.5s ease; /* Menambahkan transisi untuk efek transparansi */
}

.lazy-load.loaded {
    opacity: 1; /* Mengatur transparansi menjadi 1 setelah gambar dimuat */
    transition: opacity 0.5s ease; /* Menambahkan transisi untuk efek transparansi */
}

/* Responsive Design */
@media (max-width: 768px) {
    
    
    .header-content {
        display: block;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .left-menu, .right-menu {
        display: none;
    }

    .left-menu.active, .right-menu.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-black);
        padding: 20px;
    }

    .left-menu.active ul, .right-menu.active ul {
        flex-direction: column;
        gap: 15px;
    }

    .quote-section {
        flex-direction: column !important;
        text-align: center;
        padding: 20px;
        gap: 30px;
    }

    .quote-content {
        max-width: 100%;
    }

    .quote-content h2 {
        font-size: 3.5rem;
    }

    .quote-content p {
        font-size: 1.8rem;
    }

    .quote-image {
        max-width: 100%;
    }

    .slider-container {
        flex-direction: column;
    }

    .footer-menus {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .social-links {
        gap: 20px;
    }

    .social-icon i {
        font-size: 20px;
    }

    nav a {
        font-size: 16px;
    }
}