/* Updated style.css to match The Pusaka EXACTLY */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: white;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Navbar */

.navbar {
    background: white;
    
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}


.navbar-brand img {
    height: 50px;
}
.navbar-nav .nav-link {
    color: black !important;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px 15px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
    color: black !important;
}

/* Hero Section */
.hero-section {
    height: 100vh; /* Full height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 20px;
    position: relative;
   
    background-size: cover; /* Default: Cover entire area */
}

/* Dark overlay to improve text visibility */
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* Product Cards */
.products-section {
    padding: 50px 0;
    background-color: #fff;
}
.card {
    border: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}
.card img {
    width: 100%;
    height: auto;
    border-bottom: 2px solid #ffcc00;
}
.card-body {
    padding: 20px;
    text-align: center;
}
.card-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #222;
}
.card-text {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
}
.btn-dark {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}
.btn-dark:hover {
    background-color: #333;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;
}
.custom-navbar {
    background: rgba(0, 0, 0, 0); /* Fully transparent */
    transition: background 0.3s ease-in-out;
}

.custom-navbar .nav-link {
    color: white; /* Ensure links are visible */
}

.custom-navbar .nav-link:hover {
    color: lightgray;
}

.product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        padding: 20px;
    }

    /* Individual Product Item */
    .product-item {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

    .product-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        transition: transform 0.3s ease-in-out;
    }

    .product-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        text-align: center;
        padding: 20px;
    }

    /* Hover Effects */
    .product-item:hover img {
        transform: scale(1.1);
    }

    .product-item:hover .product-overlay {
        opacity: 1;
    }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh; /* Reduce height */
        background-size: contain; /* Ensure full image is visible */
    }

    .hero-section h1 {
        font-size: 2rem; /* Reduce title size */
    }

    .hero-section p {
        font-size: 1rem; /* Reduce paragraph size */
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 50vh; /* Further reduce height */
        background-size: contain; /* Ensure the full image remains visible */
    }

    .hero-section h1 {
        font-size: 1.5rem; /* Even smaller title */
    }

    .hero-section p {
        font-size: 0.9rem; /* Adjust paragraph size */
    }
}