/* assets/css/style.css */

/* General Premium Feel */
body {
    background-color: #f8f9fa;
    color: #2d3748;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: #1a202c;
}

/* Glassmorphism Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    height: 80px;
    object-fit: contain;
    transition: height 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 50px;
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-card-img-wrapper {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: #f7fafc;
}

.product-card-img-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or cover depending on preference */
    transition: transform 0.5s ease;
    padding: 10px;
}

.card:hover .product-card-img-wrapper img {
    transform: scale(1.05);
}

/* Buttons */
.btn-primary {
    background-color: #4f46e5;
    /* Indigo 600 */
    border-color: #4f46e5;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #4338ca;
    /* Indigo 700 */
    border-color: #4338ca;
}

.btn-outline-primary {
    color: #4f46e5;
    border-color: #4f46e5;
}

.btn-outline-primary:hover {
    background-color: #4f46e5;
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.carousel-caption {
    background: none;
    backdrop-filter: none;
    padding: 20px;
    bottom: 20%;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Category Grid */
.category-card {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #edf2f7;
}

.category-card:hover {
    background: #ebf4ff;
    border-color: #4f46e5;
    transform: translateY(-5px);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.category-title {
    font-weight: 600;
    color: #2d3748;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.text-shadow-white {
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}