body {
    font-family: 'Inter', sans-serif;
    background-color: #fafafa;
    color: #333;
}

/* Minimalist Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px; /* Tighter gap for mobile */
    }
}

.gallery-item {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    opacity: 0.85;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Force square display */
    object-fit: cover;
    display: block;
    border: 1px solid #f0f0f0;
}

.gallery-item .details {
    padding: 18px 0;
    text-align: left;
}

.gallery-item .title {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .gallery-item .title {
        font-size: 0.95rem; /* Smaller font for 2-column mobile layout */
    }
    .gallery-item .price {
        font-size: 0.85rem;
    }
}

.gallery-item .price {
    font-size: 1rem;
    color: #777;
}

/* Product Page */
.product-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 80vh;
    border: 1px solid #f0f0f0;
}

/* Remove heavy bootstrap styles to make it minimalist */
.form-control, .btn, .card, .form-select {
    border-radius: 0;
    box-shadow: none !important;
}

.btn-dark {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
}

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
}

/* Hero Slider */
.hero-slider {
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
    background-color: #eee; /* Fallback color */
}

.mainSwiper {
    width: 100%;
    height: auto;
}

.slide-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-bg-img {
    width: 100%;
    height: 60vh; /* Slightly shorter for boxed view */
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: center;
    z-index: 2;
}

.hero-text {
    color: #fff;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
}

/* Mobile Adjustments for Slider */
@media (max-width: 768px) {
    .slider-bg-img {
        height: auto; /* Follow natural image height */
        max-height: none;
        min-height: 0; /* Remove desktop minimum height */
        object-fit: initial;
    }
    .hero-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 100%);
        display: flex;
        align-items: flex-end; /* Align text to bottom for a modern feel */
        padding-bottom: 2rem;
    }
    .hero-overlay .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .hero-text {
        max-width: 100%;
        padding: 0 10px;
        text-align: left;
    }
    .hero-text h1 {
        font-size: 1.35rem; /* ~10% further reduction */
        line-height: 1.2;
        margin-bottom: 0.5rem;
    }
    .hero-text .lead {
        display: none !important; /* Hide subtitle as requested */
    }
    .hero-text .btn {
        font-size: 0.7rem;
        padding: 6px 12px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
}

/* Slider Pagination Customization */
.mainSwiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}

.mainSwiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

/* Banners */
.banner-box {
    display: block;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    transition: all 0.4s ease;
}

.banner-box img {
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.banner-box:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.banner-box:hover img {
    transform: scale(1.05);
}

/* Featured Header */
.section-title h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.title-divider {
    width: 60px;
    height: 3px;
    background: #333;
}
