/* Custom Styles for Repuestos Coromoto */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* Top Bar */
.top-bar {
    font-size: 0.85rem;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
}

.navbar-brand h5 {
    line-height: 1.2;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #0d6efd !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.8rem;
}

/* Hero Section */
.hero-section {
    position: relative;
}

.hero-section h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

.product-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.btn-outline-primary:hover {
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease forwards;
}

/* Card Hover Effects */
.card {
    transition: all 0.3s ease;
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Section Headers */
section h2 {
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #0d6efd;
    margin: 1rem auto 0;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
}

/* Footer */
footer a {
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0d6efd !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .navbar-brand h5 {
        font-size: 1rem;
    }
}

/* Loading Animation */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Image Hover Effects */
.img-hover-zoom {
    overflow: hidden;
}

.img-hover-zoom img {
    transition: transform 0.5s ease;
}

.img-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Badge Styles */
.badge {
    padding: 0.4em 0.8em;
    font-weight: 500;
}

/* Alert Styles */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Pagination */
.pagination .page-link {
    color: #0d6efd;
    border-radius: 0.25rem;
    margin: 0 2px;
    border: none;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: #0d6efd;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0b5ed7;
    transform: translateY(-3px);
}

/* Stats Counter */
.stat-item {
    padding: 2rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #0d6efd;
}

/* Team Member Card */
.team-member {
    text-align: center;
    padding: 2rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 5px solid #f8f9fa;
}

/* Services List */
.service-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e9ecef;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Pricing Cards */
.pricing-card {
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: #0d6efd;
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: #0d6efd;
    background-color: #f8f9ff;
}

/* Gallery */
.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-item img {
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Contact Info */
.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* Blog Post Card */
.blog-post-card {
    transition: all 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 1;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box input {
    padding-right: 3rem;
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #0d6efd;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}

/* Tags */
.tag-cloud a {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background-color: #f8f9fa;
    border-radius: 2rem;
    margin: 0.25rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #0d6efd;
    color: white;
    text-decoration: none;
}

/* Sidebar */
.sidebar-widget {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

/* Newsletter */
.newsletter-form input {
    border-radius: 2rem;
    padding: 0.8rem 1.5rem;
}

.newsletter-form button {
    border-radius: 2rem;
    padding: 0.8rem 2rem;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 0.5rem;
    overflow: hidden;
}

/* Working Hours */
.working-hours {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid #e9ecef;
}

.working-hours-item:last-child {
    border-bottom: none;
}

/* Responsive Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Utility Classes */
.text-primary-custom {
    color: #0d6efd !important;
}

.bg-primary-custom {
    background-color: #0d6efd !important;
}

.rounded-custom {
    border-radius: 0.5rem !important;
}

.shadow-custom {
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1) !important;
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
    }
}