/* Variables */
:root {
    --primary-color: #00b4d8;
    --secondary-color: #0077b6;
    --dark-color: #023e8a;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 0;
}

.section-padding {
    padding: 60px 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--dark-color);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar a {
    color: white;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--primary-color);
}

/* Main Header */
.main-header {
    padding: 20px 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
}

.cart-icon {
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

/* Navigation */
.main-nav {
    background-color: var(--primary-color);
}

.main-nav .nav-link {
    color: white;
    font-weight: 500;
}

.main-nav .nav-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: white;
    padding: 80px 0;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-buttons .btn {
    margin-right: 10px;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.badge-oferta {
    background-color: var(--danger-color);
    color: white;
}

.badge-nuevo {
    background-color: var(--success-color);
    color: white;
}

.badge-popular {
    background-color: var(--warning-color);
    color: var(--dark-color);
}

.product-image {
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
}

.product-image img {
    max-height: 200px;
    width: auto;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    height: 40px;
    overflow: hidden;
}

.product-info h3 a {
    color: var(--dark-color);
    text-decoration: none;
}

.product-price {
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.current-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-price {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: bold;
    margin: 15px 0;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    margin-right: 10px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    z-index: 100;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
}

/* Cart Page */
.cart-table img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .section-padding {
        padding: 30px 0;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}
/* Logo styles */
.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-color);
}