:root {
    --primary-color: #2F6C66;
    --secondary-color: #D3A770;
    --light-bg: #F8F5EE;
    --dark-text: #333;
}

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

body {
    font-family: 'Calibri', sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    overflow-x: hidden;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Styling Navbar */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand {
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero-section {
    background-image: url("./images/hero-diamond-01-min.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: scroll;
    min-height: 85vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

@media (min-width: 992px) {
    .hero-section {
        background-attachment: fixed;
    }
}

/* Mobile Hero Background */
@media (max-width: 768px) {
    .hero-section {
        background-image: url("./images/hero-mobile-diamond-01.jpg");
        background-position: center top;
        background-size: cover;
        min-height: 70vh;
    }
}

/* .hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
} */

.hero-section .container {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

.hero-section .lead {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Tentang Section */
#tentang {
    background-color: white;
}

#tentang img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#tentang img:hover {
    transform: scale(1.05);
}

.text-primary-color {
    color: var(--primary-color);
}

/* Keunggulan Produk Section */
.feature-card {
    background-color: white;
    border-left: 5px solid var(--secondary-color);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Produk Section */
.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card img {
    transition: transform 0.5s ease;
    height: 300px;
    object-fit: cover;
}

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

.btn-primary-custom {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

/* Kontak Section */
#kontak ul li {
    font-size: 1.1rem;
    padding: 10px 0;
}

iframe {
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-color), #255550);
    color: var(--light-bg);
    padding: 40px 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: white;
}

/* Section Spacing */
section {
    padding: 80px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 70vh;
        padding: 20px;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

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

    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }

    section {
        padding: 50px 0;
    }

    .display-5 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    #tentang img {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 1.8rem;
    }

    .hero-section .lead {
        font-size: 0.95rem;
    }

    section {
        padding: 40px 0;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .product-card img {
        height: 220px;
    }

    iframe {
        height: 250px;
    }

    #kontak ul li {
        font-size: 0.95rem;
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: bounce 2s infinite;
}

.whatsapp-popup a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-popup a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-popup a svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

/* Responsive WhatsApp Popup */
@media (max-width: 768px) {
    .whatsapp-popup {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-popup a {
        width: 55px;
        height: 55px;
    }

    .whatsapp-popup a svg {
        width: 28px;
        height: 28px;
    }
}

/* Custom bg-light-bg class */
.bg-light-bg {
    background-color: var(--light-bg) !important;
}
