/* Styling Navbar */
.navbar {
    background-color: #8b0000 !important;
}
.navbar-brand, .nav-link {
    color: white !important;
    font-weight: bold;
}
.nav-link:hover {
    text-decoration: underline;
}

/* Styling Carousel */
.carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    width: 100%;
}

.carousel {
    width: 80%;
    max-width: 1000px;
    border-radius: 15px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-item {
    display: flex;
    justify-content: center;
}

.carousel-item img {
    width: 100%;
    height: 60vh;
    min-height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

/* Overlay efek untuk teks di atas gambar */
.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 15px;
    color: white;
}

/* Section Selamat Datang */
.welcome-section {
    margin: 30px auto;
    text-align: center;
    padding: 60px 20px;
    background-color: #FA8072;
    border-radius: 10px;
    max-width: 80%;
}
.welcome-section h1 {
    font-size: 45px;
    font-weight: bold;
}
.welcome-section p {
    font-size: 18px;
    color: #555;
}

/* Tombol Lihat Makanan */
.btn-primary {
    background-color: #ff6600 !important;
    border: none !important;
}
.btn-primary:hover {
    background-color: #cc5200 !important;
}

.sosial-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.sosial-icon a {
    font-size: 70px;
    color: black;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #ff6600;
}

/* Styling Kartu Produk */
#produk {
    padding: 20px;
}
.card {
    transition: 0.3s;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 20px;
}
.card:hover {
    transform: scale(1.05);
}
.card img {
    height: 200px;
    object-fit: cover;
}

iframe {
    width: 100%;
}

/* Styling Footer */
.footer {
    background-color: #a3362f;
    color: #f5d5b5;
    padding: 40px 0;
    margin-top: 40px;
}
.footer a {
    color: #f5d5b5;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.footer .social-icons a {
    font-size: 24px;
    margin-right: 10px;
    color: #f5d5b5;
}
.footer-bottom {
    background-color: #5e5e5e;
    color: white;
    padding: 10px 0;
    text-align: center;
}

/* Membuat produk dalam bentuk grid yang responsif */
@media (min-width: 768px) {
    .produk-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        flex-direction: column;
        align-items:center ;
        gap: 20px;
    }

    .carousel {
        width: 95%;
    }

    .carousel-item img {
        height: 350px;
    }

    .carousel-caption {
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .carousel {
        width: 100%;
    }

    .carousel-item img {
        height: 250px;
    }

    .carousel-caption {
        padding: 5px;
        font-size: 12px;
    }

    .carousel-caption h5 {
        font-size: 16px;
    }

    .carousel-caption p {
        font-size: 12px;
    }
}