:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #16a34a;
    --warning: #f59e0b;
    --dark: #1e293b;
}

* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    padding-top: 0;
}

.announcement-bar {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

.navbar { box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 12px 0; }
.navbar-brand { font-size: 1.4rem; }
.navbar .input-group { max-width: 350px; }
.navbar .input-group .form-control { border-radius: 50px 0 0 50px; border: none; }
.navbar .input-group .btn { border-radius: 0 50px 50px 0; }

.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
    color: #fff;
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-search .input-group .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 1.1rem;
}

.hero-search .input-group .btn {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 15px 10px;
    backdrop-filter: blur(10px);
}

.popular-searches .badge {
    transition: all 0.3s;
    padding: 5px 12px;
    font-weight: normal;
}
.popular-searches .badge:hover { background: var(--warning) !important; color: #000 !important; }

.category-card .card {
    transition: all 0.3s;
    border-radius: 12px;
}
.category-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37,99,235,0.15) !important;
}
.category-icon { transition: transform 0.3s; }
.category-card .card:hover .category-icon { transform: scale(1.1); }

.project-card {
    transition: all 0.3s;
    border-radius: 12px;
    overflow: hidden;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}
.project-img-wrapper { position: relative; overflow: hidden; }
.project-card img { transition: transform 0.3s; }
.project-card:hover img { transform: scale(1.05); }

.featured-card {
    border-top: 4px solid var(--warning) !important;
}

.testimonial-card {
    border-radius: 12px;
    transition: all 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); }

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-5px); }

.blog-content { line-height: 1.8; }
.blog-content p { margin-bottom: 1.2rem; }

.accordion-item { border-radius: 10px !important; overflow: hidden; }
.accordion-button:not(.collapsed) { background: var(--primary); color: #fff; }
.accordion-button:focus { box-shadow: none; border-color: transparent; }

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 8px;
    transition: all 0.3s;
    text-decoration: none;
}
.social-links .social-link:hover { background: var(--primary); transform: translateY(-3px); }

.whatsapp-float {
    position: fixed;
    bottom: 20px; right: 20px;
    width: 55px; height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

#scrollTop {
    bottom: 85px; right: 20px;
    width: 45px; height: 45px;
    display: none;
    z-index: 999;
    opacity: 0.8;
}

.product-image-wrapper { position: relative; }

.page-header { margin-top: 0; }

.breadcrumb { background: transparent; padding: 0; margin-bottom: 20px; }
.breadcrumb-item + .breadcrumb-item::before { content: "›"; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; }

.share-buttons .btn { transition: all 0.2s; }
.share-buttons .btn:hover { transform: translateY(-2px); }

@media (max-width: 768px) {
    .hero-section .carousel-control-prev { left: 5px; }
    .hero-section .carousel-control-next { right: 5px; }
}
    .hero-section { padding: 50px 0; min-height: auto; text-align: center; }
    .hero-section .display-4 { font-size: 2rem; }
    .navbar .input-group { max-width: 100%; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}
