/* Estilos personalizados para la aplicación de Catálogos WhatsApp */

:root {
    --theme-color: #4CAF50;
    --theme-color-dark: #388E3C;
    --theme-color-light: #C8E6C9;
    --whatsapp-color: #25D366;
    --whatsapp-color-dark: #128C7E;
}

/* Generales */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

.text-theme {
    color: var(--theme-color) !important;
}

.bg-theme {
    background-color: var(--theme-color) !important;
    color: white !important;
}

.btn-theme {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
}

.btn-theme:hover {
    background-color: var(--theme-color-dark);
    border-color: var(--theme-color-dark);
    color: white;
}

/* Hero section */
.hero {
    padding: 80px 0;
    background-color: #f8f9fa;
}

/* Características */
.features .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.features .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Pasos (How it works) */
.how-it-works .step-number {
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

.catalog-header {
  padding: 20px 0;
  background: linear-gradient(135deg, var(--theme-color), var(--theme-color-dark));
  color: white;
  border-radius: 0 0 15px 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.business-logo {
  max-height: 80px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Catálogo 
.product-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-price {
    font-weight: bold;
    color: var(--theme-color);
}*/

/* Añadir a style.css */
.product-card {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border: none;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image-container {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--theme-color);
}

.product-name {
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}
/*
.whatsapp-btn {
    background-color: var(--whatsapp-color);
    border-color: var(--whatsapp-color);
    color: white;
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-color-dark);
    border-color: var(--whatsapp-color-dark);
    color: white;
}*/

.whatsapp-btn {
  border-radius: 50px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn i {
  font-size: 1.2rem;
}

/* Panel de administración */
.admin-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    padding: 15px 0;
    margin-bottom: 30px;
}

/* Vista previa de imágenes */
.image-preview img, .logo-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Responsive ajustes */
@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .product-card {
        margin-bottom: 20px;
    }
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Hero Section Adjustments */
    .hero .display-4 {
        font-size: 2.5rem;
    }

    .hero .lead {
        font-size: 1rem;
    }

    /* Pricing Cards */
    .pricing-card {
        margin-bottom: 1rem;
    }

    /* Statistics Section */
    .stats-section .display-4 {
        font-size: 2rem;
    }

    .stats-section [class^="col-"] {
        margin-bottom: 1rem;
    }

    /* Comparisons and Features */
    .comparison-item, .features .card {
        margin-bottom: 1rem;
    }

    /* Testimonials */
    .testimonials .card {
        margin-bottom: 1rem;
    }

    /* Text Centering for Smaller Screens */
    .text-center-mobile {
        text-align: center !important;
    }

    /* Buttons Full Width on Mobile */
    .btn-mobile-full {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Reduce Padding and Margins */
    .py-mobile-reduced {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Image Sizing */
    .img-mobile-fluid {
        max-width: 100%;
        height: auto;
    }
}

/* WhatsApp CTA Button for Mobile */
.whatsapp-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .whatsapp-cta {
        display: none;
    }
}

/* Mobile Hero Section Specific Styling */
@media (max-width: 768px) {
    .hero-mobile-center {
        text-align: center !important;
    }

    .hero-mobile-center .display-4 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-mobile-center .lead {
        font-size: 1rem;
        line-height: 1.5;
    }

    .hero-mobile-buttons {
        justify-content: center !important;
    }

    .hero-mobile-image {
        max-width: 280px;
        margin: 2rem auto;
    }
}