:root {
    --primary: #e74c3c;
    --dark: #2c3e50;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.navbar-logo {
    height: 32px;
    width: auto;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    margin-bottom: 1rem;
    min-height: 400px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 1rem;
}

.hero-content h1 {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.card-cube {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-cube:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.display-3 span {
    display: inline-block;
    transition: transform 0.2s;
}

.display-3 span:hover {
    transform: scale(1.3) rotate(-10deg);
}

.card-vendu {
    opacity: 0.7;
}

.card-vendu .card-img-top,
.card-vendu > .position-relative > .card-img-top,
.card-vendu > .position-relative > div {
    filter: grayscale(50%);
}

.badge-vendu {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 1px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        font-size: 1.2rem;
        padding: 0.75rem 0;
    }

    .navbar-nav .dropdown-item {
        font-size: 1.2rem;
        padding: 0.75rem 1.5rem;
    }
}
