html {
    scroll-behavior: smooth;
  }
  
/* Style for overlay */
.position-relative {
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.position-relative:hover .overlay {
    opacity: 1;
}

.text {
    color: white;
    font-size: 18px;
    text-align: center;
}
/* General Styles for Mobile */
@media (max-width: 768px) {
    /* Ensure all images are full width on small screens */
    .img-fluid {
        width: 100%;
        height: auto;
    }

    /* Style for overlay text on smaller screens */
    .text {
        font-size: 14px; /* Adjust font size for mobile */
    }

    /* Ensure headings have good margins */
    h1, h2 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* Center align buttons */
    .btn {
        width: 100%; /* Make buttons full width on mobile */
        margin-bottom: 10px; /* Space between buttons */
    }
}
#about img {
    transition: transform 0.3s ease;
}

#about img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

#about h2 {
    font-weight: bold;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
}
/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh; /* Ukuran tinggi dikurangi untuk membuatnya lebih kecil */
    background-image: url('/img/bg.jpg'); /* Add your preferred image URL */
    background-size: cover;
    background-position: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for better text visibility */
    z-index: 1;
}

.hero-section .content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: #d8955a; /* Warna latar belakang tombol */
    border: none; /* Menghilangkan border default */
    border-radius: 25px; /* Sudut membulat untuk tampilan yang lebih lembut */
    padding: 10px 20px; /* Menambahkan padding untuk ukuran tombol */
    font-size: 1rem; /* Ukuran font yang konsisten */
    transition: all 0.3s ease; /* Efek transisi halus */
}

.btn-primary:hover {
    background-color: #c2834f; /* Warna saat hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Menambahkan bayangan saat hover */
    transform: translateY(-2px); /* Sedikit mengangkat tombol saat hover */
}

.btn-primary:focus {
    outline: none; /* Menghilangkan outline default saat tombol fokus */
    box-shadow: 0 0 5px rgba(216, 149, 90, 0.5); /* Menambahkan bayangan saat fokus */
}

/* Button Styles */
.animated-button {
    border-radius: 30px; /* Rounded corners */
    padding: 10px 30px; /* Increase padding for a better feel */
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light {
    border: 2px solid #fff; /* White border */
    color: #fff; /* White text color */
}

.btn-outline-light:hover {
    background-color: #fff; /* White background on hover */
    color: #000; /* Black text color on hover */
}

.btn-primary {
    background-color: #d8955a; /* Elegant blue */
    border: none; /* No border */
    color: #fff; /* White text color */
}

.btn-primary:hover {
    background-color: #d8955a; /* Darker blue on hover */
    color: #fff; /* Keep text white on hover */
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .animated-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}
.filter-container {
    max-width: 300px; /* Adjust width as needed */
    position: relative; /* Allows for positioning of elements */
}

.filter-container .form-label {
    font-size: 1.2rem;
    color: #6c757d; /* Adjust color for better visibility */
    margin-bottom: 8px; /* Add space below the label */
}

.filter-container .form-select {
    padding: 12px 20px; /* Increase padding for a more spacious look */
    font-size: 1rem; /* Ensure the font size is consistent */
    border-radius: 25px; /* Round corners for a softer look */
    background-color: #f8f9fa; /* Light background color */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    border: 1px solid #ced4da; /* Default border for the select */
}

/* New styles for hover and focus states */
.filter-container .form-select:hover,
.filter-container .form-select:focus {
    border-color: #d8955a; /* Highlight border color on hover/focus */
    box-shadow: 0 0 5px rgba(216, 149, 90, 0.5); /* Soft shadow for focus */
    background-color: #ffffff; /* Change background on focus for contrast */
    outline: none; /* Remove default outline */
}

/* Add custom styles for the dropdown options */
.filter-container .form-select option {
    padding: 10px; /* Add padding for dropdown options */
}

/* Optional: Style for when an option is selected */
.filter-container .form-select option:checked {
    background-color: #d8955a; /* Background color for the selected option */
    color: #ffffff; /* Text color for the selected option */
}

.product-container {
    opacity: 1; /* Opasitas awal */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* Transisi halus untuk opasitas dan transformasi */
}

.product-container.fade-out {
    opacity: 0; /* Efek fade out */
    transform: translateY(-10px); /* Sedikit geser ke atas saat fade out */
}

.product-container.fade-in {
    opacity: 1; /* Efek fade in */
    transform: translateY(0); /* Kembali ke posisi normal saat fade in */
}

.separator {
    text-align: center;
    margin: 50px 0; /* Space above and below the separator */
    position: relative;
}

.separator h3 {
    font-size: 1.75rem;
    color: #555; /* Adjust color as needed */
    margin-bottom: 10px;
}

.separator .line {
    height: 2px;
    background: linear-gradient(to right, #ff7e5f, #feb47b); /* Elegant gradient line */
    width: 80%; /* Width of the line */
    margin: 0 auto; /* Center the line */
    border-radius: 5px; /* Slightly rounded edges */
    position: relative;
    top: 50%; /* Center the line vertically */
}
/* About Us Section */
#about {
    background-color: #f9f9f9; /* Light gray background for contrast */
    padding: 50px 20px; /* Extra padding for more space */
    border-radius: 15px; /* Rounded corners for the section */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.about-content h2 {
    font-size: 2.5rem; /* Larger font size for the heading */
    color: #3f3f3f; /* Elegant color for the heading */
    margin-bottom: 20px; /* Space below the heading */
}

.about-content p {
    font-size: 1.2rem; /* Slightly larger font size for paragraphs */
    line-height: 1.6; /* Better line height for readability */
    color: #333; /* Dark gray color for text */
}

img {
    border: 1px solid #d8955a; /* Border around the image */
    transition: transform 0.3s; /* Smooth scaling effect */
}

img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

@media (max-width: 768px) {
    #about {
        text-align: center; /* Center text on smaller screens */
    }
    
    .about-content h2 {
        font-size: 2rem; /* Smaller heading on mobile */
    }
    
    .about-content p {
        font-size: 1rem; /* Smaller paragraph on mobile */
    }
}
/* General Styles */
h2.text-primary {
    color: #d8955a; /* Primary color for headings */
}

/* Contact Form Styles */
form {
    background-color: #f8f9fa; /* Light background for form */
    border-radius: 10px; /* Rounded corners */
}

.form-label {
    font-weight: 600; /* Bolder label */
    color: #555; /* Darker color for readability */
}

input, textarea {
    border: 1px solid #d8955a; /* Primary color for borders */
    transition: border-color 0.3s; /* Smooth transition */
}

input:focus, textarea:focus {
    border-color: #d8955a; /* Change border color on focus */
    box-shadow: 0 0 5px rgba(216, 149, 90, 0.5); /* Subtle glow effect */
}

/* Button Styles */
.btn-primary {
    background-color: #d8955a; /* Primary button color */
    border: none; /* Remove default border */
    transition: background-color 0.3s, transform 0.3s; /* Smooth transitions */
}

.btn-primary:hover {
    background-color: #b57b4a; /* Darker shade on hover */
    transform: scale(1.05); /* Slight enlargement on hover */
}

/* Map Container Styles */
.map-container {
    background-color: #fff; /* White background for map container */
    border-radius: 10px; /* Rounded corners */
    overflow: hidden; /* Ensure no overflow */
}

/* Social Media Container Styles */
.social-container h4 {
    color: #d8955a; /* Primary color for social heading */
}

.social-container {
    margin-top: 20px; /* Add some space above the social links */
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: grayscale(100%); /* Apply grayscale filter for black and white */
    transition: transform 0.3s ease, filter 0.3s ease; /* Smooth transition for hover effects */
}

.social-icon:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    filter: grayscale(0%); /* Color on hover */
}

.social-container h4 {
    color: #d8955a; /* Match the heading color with the other sections */
    font-weight: bold; /* Bold heading for emphasis */
}
footer {
    background: linear-gradient(180deg, #333, #444); /* Subtle gradient for depth */
    border-top: 3px solid #d8955a; /* Accent border at the top */
}

footer h5 {
    font-weight: bold;
    text-transform: uppercase; /* Uppercase for emphasis */
    letter-spacing: 1px; /* Spacing between letters for elegance */
}

.footer-link {
    position: relative;
    padding: 0 5px; /* Add padding for better click area */
    transition: color 0.3s ease;
}

.footer-link::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #d8955a; /* Accent line */
    transform: scaleX(0);
    transition: transform 0.3s ease;
    margin-top: 2px;
}

.footer-link:hover {
    color: #d8955a; /* Change text color on hover */
}

.footer-link:hover::after {
    transform: scaleX(1); /* Show the line on hover */
}

.social-icons a {
    transition: transform 0.3s ease; /* Animation for icons */
}

.social-icons a:hover {
    transform: scale(0.5); /* Scale icons on hover for effect */
}
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-5px); /* Mengangkat card saat hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Bayangan lebih dalam saat hover */
  }
  
  .card-body {
    padding: 10px; /* Tambah padding di dalam card */
  }