/* Charlys Brothers - Custom Styles */
:root {
    --primary: #2C3E50;
    --secondary: #ECF0F1;
    --accent: #E74C3C;
    --success: #27AE60;
    --warning: #F39C12;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #333;
}

/* Header */
.navbar-brand img {
    max-height: 45px;
}

.cart-badge {
    font-size: 0.65rem;
}

/* Hero */
.hero-slide {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.min-vh-50 {
    min-height: 50vh;
}

.min-vh-40 {
    min-height: 40vh;
}

.hero-default {
    background: linear-gradient(135deg, var(--primary) 0%, #3498DB 100%);
    color: white;
}

.hero-default .text-muted {
    color: rgba(255,255,255,0.8) !important;
}

/* Categories */
.category-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background: var(--secondary);
    border-radius: 50%;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

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

.product-image {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

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

/* Feature Icons */
.feature-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Variation Options */
.variation-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variation-option .btn.btn-secondary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

/* Cart */
.cart-item {
    transition: background-color 0.2s;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

/* Forms */
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.15);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #1a252f;
    border-color: #1a252f;
}

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

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

/* Badges */
.badge.bg-success-subtle {
    background-color: rgba(39, 174, 96, 0.15);
}

.badge.bg-danger-subtle {
    background-color: rgba(231, 76, 60, 0.15);
}

/* Gallery */
.thumb-image {
    transition: border-color 0.2s;
    border: 2px solid transparent;
}

.thumb-image:hover, .thumb-image.active {
    border-color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide {
        min-height: 300px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .navbar-brand img {
        max-height: 35px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon i {
        font-size: 1.2rem !important;
    }
}

@media (max-width: 576px) {
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-card h6 {
        font-size: 0.85rem;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
}

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

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

/* Print */
@media print {
    .navbar, footer, .whatsapp-float, .btn {
        display: none !important;
    }
}
