/* Custom Styles for Agunor - Professional & Elegant Design */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

/* Color Variables */
:root {
    --primary-color: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary-color: #FF6F00;
    --accent-color: #FFC107;
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #F5F5F5;
    --white: #FFFFFF;
    --success: #4CAF50;
    --gradient-primary: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    --gradient-hero: linear-gradient(135deg, rgba(46, 125, 50, 0.95) 0%, rgba(27, 94, 32, 0.9) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* Base Styles */
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 20px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-color);
    color: var(--text-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Feature Cards */
.features-section {
    padding: 100px 20px;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--shadow-md);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.7;
}

/* Product Section */
.product-section {
    padding: 100px 20px;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 60px;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.product-content {
    padding: 24px;
}

.product-badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-color);
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

/* Stats Section */
.stats-section {
    padding: 80px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials-section {
    padding: 100px 20px;
    background: var(--white);
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.testimonial-quote {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
}

.author-info h4 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '🥑';
    position: absolute;
    font-size: 400px;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

/* Footer Enhancement */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-widget h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-widget a:hover {
    color: var(--accent-color);
}

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section { min-height: 70vh; padding: 60px 20px; }
    .features-grid, .product-grid { grid-template-columns: 1fr; }
    .btn { padding: 14px 28px; font-size: 15px; }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* COLORES VIBRANTES Y GRADIENTES ADICIONALES */

/* Gradientes en headings */
.elementor-widget-heading .elementor-heading-title,
h1, h2 {
    background: linear-gradient(135deg, #2E7D32 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Botones con gradientes vibrantes */
.elementor-widget-button .elementor-button,
.woocommerce .button.alt,
.woocommerce-page .button.alt,
.btn-primary {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%) !important;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.35) !important;
    border: none !important;
    color: white !important;
}

.elementor-widget-button .elementor-button:hover,
.woocommerce .button.alt:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #66BB6A 0%, #9CCC65 100%) !important;
    box-shadow: 0 12px 32px rgba(76, 175, 80, 0.45) !important;
    transform: translateY(-5px) !important;
}

/* Icon boxes coloridos */
.elementor-widget-icon-box .elementor-icon {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%) !important;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3) !important;
}

.elementor-widget-icon-box:hover .elementor-icon {
    background: linear-gradient(135deg, #66BB6A 0%, #9CCC65 100%) !important;
    box-shadow: 0 15px 30px rgba(76, 175, 80, 0.4) !important;
}

/* WooCommerce colorido */
.woocommerce-products-header {
    background: linear-gradient(135deg, #F1F8E9 0%, #DCEDC8 100%);
    padding: 60px 20px !important;
    border-radius: 24px;
    margin-bottom: 40px;
}

.woocommerce ul.products li.product {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A, #4CAF50);
    z-index: -1;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.woocommerce ul.products li.product:hover::before {
    opacity: 1;
}

.woocommerce ul.products li.product .price {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800 !important;
    font-size: 1.8em !important;
}

.woocommerce span.onsale {
    background: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%) !important;
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4) !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Stats section con fondo vibrante */
.stats-section {
    background: linear-gradient(135deg, #2E7D32 0%, #4CAF50 50%, #66BB6A 100%) !important;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

/* Feature cards con bordes gradientes */
.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F9FBE7 100%);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #66BB6A);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::after {
    transform: translateX(0);
}

/* CTA section vibrante */
.cta-section {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #388E3C 100%) !important;
    position: relative;
}

.cta-section::before {
    content: '🥑';
    position: absolute;
    font-size: 500px;
    opacity: 0.03;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    animation: float 6s ease-in-out infinite;
}

/* Testimonials coloridos */
.testimonial-card {
    background: linear-gradient(135deg, #E8F5E9 0%, #C5E1A5 100%);
    border-left: 5px solid var(--primary-color);
}

/* Breadcrumbs con colores */
.breadcrumbs a:hover {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Input fields coloridos */
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15) !important;
}

/* Footer con degradado */
.site-footer {
    background: linear-gradient(135deg, #212121 0%, #1B5E20 100%) !important;
}

/* Añadir brillo a imágenes al hover */
.product-image,
.wp-post-image {
    transition: all 0.4s ease;
    filter: brightness(1);
}

.product-image:hover,
.wp-post-image:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

/* Efectos de shimmer en loading */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}
