/* General Styles */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #0dcaf0;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Product Card */
.product-card {
    cursor: default;
    pointer-events: auto;
}

.product-card * {
    pointer-events: auto;
}

/* Product Images */
.product-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    pointer-events: none;
}

.product-image img {
    transition: transform 0.3s ease, filter 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Product Card Buttons */
.product-card .btn {
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    position: relative;
}

.product-card .btn:hover {
    pointer-events: auto;
}

.product-card .btn-add-to-cart {
    pointer-events: auto;
    cursor: pointer;
}

.product-card a.btn {
    pointer-events: auto;
    cursor: pointer;
}

/* Top Bar */
.top-bar {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.top-bar small a {
    transition: color 0.3s ease;
}

.top-bar small a:hover {
    color: var(--primary-color) !important;
}

/* Navigation */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
}

.navbar-brand {
    font-size: 1.3rem;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.navbar .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
}

/* Hero Banner Section */
.hero-banner {
    background: url('/images/header/hero-background 3.png') center/cover no-repeat !important;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
}


@media (max-width: 768px) {
    .hero-banner {
        background: url('/images/header/hero-background 3.png') center/cover no-repeat !important;
        min-height: 350px;
        display: flex;
        align-items: center;
        color: white;
    }

    .navbar-brand img {
        height: 100px !important;
    }
}

.hero-banner h1 {
    font-weight: 700;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-banner .lead {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Highlights Banner */
.highlights-banner {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem 0 !important;
}

.highlights-banner h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.highlights-banner i {
    margin-right: 0.5rem;
}

/* Inspection Section */
.inspection-section {
    background-color: #f8f9fa;
    padding: 4rem 0 !important;
}

.inspection-section h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.inspection-section p {
    color: #666;
    line-height: 1.8;
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: #fff;
    padding: 4rem 0 !important;
}

.why-choose-us h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.why-choose-us > .text-center.lead {
    color: #666;
    margin-bottom: 3rem !important;
}

.feature-box {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.1);
}

.feature-box h5 {
    font-weight: 600;
    color: #1a1a1a;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
}

/* Categories Section */
.categories-section {
    background-color: #f8f9fa;
    padding: 4rem 0 !important;
}

.categories-section h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.category-card {
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.category-card .card-body {
    padding: 2rem 1.5rem;
}

.category-card i {
    color: var(--primary-color);
}

/* Featured Products Section */
.featured-products {
    background-color: #fff;
    padding: 4rem 0 !important;
}

.featured-products h2 {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.product-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.product-image {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.product-card .card-body {
    padding: 1.5rem;
}

.product-card .card-title {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.product-card .card-text {
    font-size: 0.85rem;
}

/* Products Section */
.products-preview {
    padding: 5rem 0;
}

.products-preview h2 {
    font-weight: 700;
    margin-bottom: 3rem;
    color: #333;
}

/* Contact CTA Section */
.contact-cta {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    padding: 3rem 0 !important;
}

.contact-cta h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-cta .lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    border-top: 3px solid var(--primary-color);
}

footer h5 {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 6px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.4);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-color);
}

.btn-outline-light {
    color: #fff;
    border-color: #fff;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
}

.card-header {
    border-radius: 8px 8px 0 0;
    font-weight: 600;
}

/* Forms */
.form-control {
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
}

.breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Accordion */
.accordion-button {
    font-weight: 600;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.accordion-button:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .features-section,
    .products-preview {
        padding: 3rem 0;
    }
}

/* Utility Classes */
.bg-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.text-muted {
    color: #6c757d !important;
}

.fw-bold {
    font-weight: 700;
}

.fw-600 {
    font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Alert Styles */
.alert {
    border-radius: 6px;
    border: none;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
    border-left: 4px solid #198754;
}

.alert-danger {
    background-color: #f8d7da;
    color: #842029;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background-color: #cfe2ff;
    color: #084298;
    border-left: 4px solid #0dcaf0;
}

.alert .btn-close {
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Cart Button Styles */
.btn-add-to-cart {
    transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.btn-add-to-cart i {
    margin-right: 0.5rem;
}

/* Product Card Enhancements */
.product-card {
    position: relative;
    overflow: hidden;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 999;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}
