/*
Theme Name: Augro Fresh Panama
Theme URI: https://augrofreshpanama.com
Author: Augro Fresh Panama
Author URI: https://augrofreshpanama.com
Description: Tema personalizado para Augro Fresh Panama - Producción de Piña Premium Panameña. Diseñado para trabajar con Elementor y ofrecer una experiencia visual moderna y profesional.
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: augrofresh
Tags: one-column, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, theme-options, translation-ready

Augro Fresh Panama Theme - Premium Pineapple Production
*/

/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */

:root {
    /* Gold Colors */
    --augrofresh-gold-primary: #D4AF37;
    --augrofresh-gold-light: #FFD700;
    --augrofresh-gold-dark: #B8941F;
    
    /* Green Colors */
    --augrofresh-green-primary: #4a7c2c;
    --augrofresh-green-dark: #2d5016;
    --augrofresh-green-light: #6b9d45;
    
    /* Neutral Colors */
    --augrofresh-black-primary: #1a1a1a;
    --augrofresh-black-soft: #2d2d2d;
    --augrofresh-gray-50: #fafafa;
    --augrofresh-gray-100: #f5f5f5;
    --augrofresh-gray-200: #e5e5e5;
    --augrofresh-gray-600: #525252;
    --augrofresh-gray-800: #262626;
    --augrofresh-gray-900: #171717;
    --augrofresh-white: #ffffff;
    
    /* Typography */
    --augrofresh-font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --augrofresh-spacing-xs: 0.5rem;
    --augrofresh-spacing-sm: 1rem;
    --augrofresh-spacing-md: 1.5rem;
    --augrofresh-spacing-lg: 2rem;
    --augrofresh-spacing-xl: 3rem;
    --augrofresh-spacing-2xl: 4rem;
    
    /* Border Radius */
    --augrofresh-radius-sm: 0.375rem;
    --augrofresh-radius-md: 0.5rem;
    --augrofresh-radius-lg: 0.75rem;
    --augrofresh-radius-xl: 1rem;
    --augrofresh-radius-2xl: 1.5rem;
    --augrofresh-radius-full: 9999px;
    
    /* Shadows */
    --augrofresh-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --augrofresh-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --augrofresh-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --augrofresh-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --augrofresh-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Transitions */
    --augrofresh-transition-fast: 150ms ease;
    --augrofresh-transition-normal: 300ms ease;
    --augrofresh-transition-slow: 500ms ease;
    
    /* Container */
    --augrofresh-container-max: 1280px;
    --augrofresh-container-padding: 1rem;
}

@media (min-width: 768px) {
    :root {
        --augrofresh-container-padding: 2rem;
    }
}

@media (min-width: 1024px) {
    :root {
        --augrofresh-container-padding: 3rem;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--augrofresh-font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--augrofresh-black-primary);
    background-color: var(--augrofresh-white);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--augrofresh-font-family);
    line-height: 1.2;
    color: var(--augrofresh-black-primary);
    margin-top: 0;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 2rem;
    font-weight: 700;
}

h4 {
    font-size: 1.5rem;
    font-weight: 700;
}

h5 {
    font-size: 1.25rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--augrofresh-gray-800);
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--augrofresh-gold-primary);
    text-decoration: none;
    transition: color var(--augrofresh-transition-fast);
}

a:hover {
    color: var(--augrofresh-gold-dark);
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    p {
        font-size: 1rem;
    }
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */

.augrofresh-container {
    width: 100%;
    max-width: var(--augrofresh-container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--augrofresh-container-padding);
    padding-right: var(--augrofresh-container-padding);
}

.augrofresh-section {
    padding-top: var(--augrofresh-spacing-2xl);
    padding-bottom: var(--augrofresh-spacing-2xl);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.augrofresh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--augrofresh-font-family);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--augrofresh-radius-lg);
    cursor: pointer;
    transition: all var(--augrofresh-transition-normal);
}

.augrofresh-btn-primary {
    background: linear-gradient(135deg, var(--augrofresh-gold-primary) 0%, var(--augrofresh-gold-light) 100%);
    color: var(--augrofresh-white);
}

.augrofresh-btn-primary:hover {
    background: linear-gradient(135deg, var(--augrofresh-gold-dark) 0%, var(--augrofresh-gold-primary) 100%);
    color: var(--augrofresh-white);
    transform: scale(1.02);
    box-shadow: var(--augrofresh-shadow-xl);
}

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

.augrofresh-btn-secondary:hover {
    background-color: var(--augrofresh-gold-primary);
    color: var(--augrofresh-white);
}

.augrofresh-btn-green {
    background: linear-gradient(135deg, var(--augrofresh-green-dark) 0%, var(--augrofresh-green-primary) 100%);
    color: var(--augrofresh-white);
}

.augrofresh-btn-green:hover {
    background: linear-gradient(135deg, var(--augrofresh-green-primary) 0%, var(--augrofresh-green-light) 100%);
    color: var(--augrofresh-white);
    transform: scale(1.02);
    box-shadow: var(--augrofresh-shadow-xl);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.augrofresh-card {
    background-color: var(--augrofresh-white);
    border-radius: var(--augrofresh-radius-xl);
    box-shadow: var(--augrofresh-shadow-lg);
    padding: var(--augrofresh-spacing-lg);
    transition: all var(--augrofresh-transition-normal);
}

.augrofresh-card:hover {
    box-shadow: var(--augrofresh-shadow-xl);
}

.augrofresh-card-bordered {
    border: 1px solid var(--augrofresh-gray-200);
}

.augrofresh-card-bordered:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

/* Text Colors */
.text-gold { color: var(--augrofresh-gold-primary); }
.text-gold-light { color: var(--augrofresh-gold-light); }
.text-gold-dark { color: var(--augrofresh-gold-dark); }
.text-green { color: var(--augrofresh-green-primary); }
.text-green-dark { color: var(--augrofresh-green-dark); }
.text-white { color: var(--augrofresh-white); }
.text-gray { color: var(--augrofresh-gray-600); }

/* Background Colors */
.bg-gold { background-color: var(--augrofresh-gold-primary); }
.bg-gold-light { background-color: var(--augrofresh-gold-light); }
.bg-green { background-color: var(--augrofresh-green-primary); }
.bg-green-dark { background-color: var(--augrofresh-green-dark); }
.bg-gray-50 { background-color: var(--augrofresh-gray-50); }
.bg-gray-100 { background-color: var(--augrofresh-gray-100); }
.bg-white { background-color: var(--augrofresh-white); }
.bg-black { background-color: var(--augrofresh-black-primary); }

/* Gradients */
.bg-gradient-gold {
    background: linear-gradient(135deg, var(--augrofresh-gold-primary) 0%, var(--augrofresh-gold-light) 100%);
}

.bg-gradient-green {
    background: linear-gradient(135deg, var(--augrofresh-green-dark) 0%, var(--augrofresh-green-primary) 100%);
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--augrofresh-gold-primary) 0%, var(--augrofresh-gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

/* Flex Utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* Spacing */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-6 { padding-top: 3rem; padding-bottom: 3rem; }
.px-2 { padding-left: 1rem; padding-right: 1rem; }
.px-4 { padding-left: 2rem; padding-right: 2rem; }

/* Border Radius */
.rounded { border-radius: var(--augrofresh-radius-md); }
.rounded-lg { border-radius: var(--augrofresh-radius-lg); }
.rounded-xl { border-radius: var(--augrofresh-radius-xl); }
.rounded-2xl { border-radius: var(--augrofresh-radius-2xl); }
.rounded-full { border-radius: var(--augrofresh-radius-full); }

/* Shadows */
.shadow-sm { box-shadow: var(--augrofresh-shadow-sm); }
.shadow-md { box-shadow: var(--augrofresh-shadow-md); }
.shadow-lg { box-shadow: var(--augrofresh-shadow-lg); }
.shadow-xl { box-shadow: var(--augrofresh-shadow-xl); }

/* Width */
.w-full { width: 100%; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--augrofresh-gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--augrofresh-gold-primary);
    border-radius: var(--augrofresh-radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--augrofresh-gold-dark);
}

/* Hide scrollbar for carousels */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ==========================================================================
   Animations
   ========================================================================== */

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

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-scaleIn {
    animation: scaleIn 0.3s ease forwards;
}

/* Animation delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* ==========================================================================
   Elementor Overrides & Compatibility
   ========================================================================== */

/* Ensure Elementor sections use our colors */
.elementor-section {
    --e-global-color-primary: var(--augrofresh-gold-primary);
    --e-global-color-secondary: var(--augrofresh-green-primary);
    --e-global-color-text: var(--augrofresh-black-primary);
    --e-global-color-accent: var(--augrofresh-gold-light);
}

/* Elementor buttons */
.elementor-button {
    font-family: var(--augrofresh-font-family);
    font-weight: 600;
}

/* Elementor headings */
.elementor-heading-title {
    font-family: var(--augrofresh-font-family);
}

/* Full width sections */
.elementor-section.elementor-section-full_width {
    padding-left: 0;
    padding-right: 0;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

/* Alignment */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

figure {
    margin: 0 0 1rem;
}

figcaption {
    font-size: 0.875rem;
    color: var(--augrofresh-gray-600);
    margin-top: 0.5rem;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--augrofresh-gray-100);
    clip: auto !important;
    clip-path: none;
    color: var(--augrofresh-black-primary);
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
