:root {
    --primary-color: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
    --whatsapp-color: #25D366;
    --whatsapp-hover: #128C7E;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: linear-gradient(120deg, #0a58ca 0%, #003566 50%, #1d2b64 100%) !important;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: 1.6rem;
}

/* Sidebar */
.sidebar-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: var(--card-shadow);
}

.sidebar-header {
    background-color: white;
    color: var(--primary-color);
    padding: 15px 20px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.accordion-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
}

.accordion-button {
    font-weight: 600;
    color: #555;
    padding: 15px 20px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(13, 110, 253, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
}

.list-group-item {
    padding: 10px 20px 10px 30px;
    font-size: 0.95rem;
    color: #666;
    transition: all 0.2s;
}

.list-group-item:hover {
    color: var(--primary-color);
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(160deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 90px 0;
    margin-bottom: 0;
    border-radius: 0 0 50px 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Separate hero from navbar visually */
.hero-section {
    margin-top: 1px;
}



/* Ensure content is clickable above overlays */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    background-size: cover;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
    opacity: 0.4;
    pointer-events: none;
}

/* Hero background slideshow */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    border-radius: 0 0 50px 50px;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlide 16s infinite ease-in-out;
    filter: brightness(0.7) saturate(1.05) contrast(1.05);
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
    position: relative;
    font-weight: 300;
}

.hero-card {
    max-width: 820px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.hero-card .hero-title {
    color: #1f2d3d;
    text-shadow: none;
}

.hero-card .hero-subtitle {
    color: #3b4a5a;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

.hero-badge {
    background-color: #e7f1ff;
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Search Wrapper in Hero */
.search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 60px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.search-wrapper:hover {
    transform: translateY(-2px);
}

.search-wrapper input {
    padding-left: 25px;
    border-radius: 50px 0 0 50px;
    font-size: 1.1rem;
    background: transparent;
}

.search-wrapper button {
    border-radius: 50px;
    padding-left: 35px;
    padding-right: 35px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.hover-underline:hover {
    text-decoration: underline !important;
    opacity: 1;
}

/* Product Card */
.product-card {
    border: none;
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
}

.product-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background-color: #f8f9fa;
    border-bottom: 1px solid #f0f0f0;
}

.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.badge-model {
    background-color: #e7f1ff;
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #2c3e50;
    line-height: 1.4;
}

.card-text {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: var(--whatsapp-color);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-top: auto;
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* Footer */
footer {
    margin-top: 60px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

.site-footer {
    background: linear-gradient(135deg, #0a58ca, #003566);
    color: #e9ecef;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.15);
    color: #f8f9fa;
}

.footer-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.footer-sub {
    color: #ced4da;
    margin-bottom: 6px;
}

.footer-link {
    color: #f8f9fa;
    opacity: 0.85;
}

.footer-link:hover {
    opacity: 1;
    color: #fff;
}