/* 
 * Moto Agricola Slaviero SA - Stylesheet
 * Build: Unique-v3.2.8
 * Generated: Dynamic
 */

/* ===== CSS Variables ===== */
:root {
    --transition-speed: 0.3s;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --border-radius: 8px;
    --header-height: 80px;
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.display-3 { font-size: clamp(2.5rem, 5vw, 4rem); }
.display-5 { font-size: clamp(2rem, 4vw, 3rem); }
.display-6 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* ===== Utilities ===== */
.section-padding {
    padding: 80px 0;
}

.pt-120 {
    padding-top: 120px;
}

.bg-light-alt {
    background-color: #f8f9fa;
}

.divider-custom {
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.divider-center {
    margin: 0 auto;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* ===== Preloader ===== */
#loader-wrapper {
    position: fixed;
    inset: 0;
    background: white;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s;
}

.spinner-grow {
    width: 60px;
    height: 60px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1.0s;
}

@keyframes sk-bounce {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1); }
}

.loader-text {
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 500;
}

/* ===== Navigation ===== */
.navbar-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    padding: 1rem 0;
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--text-color) !important;
    transition: transform var(--transition-speed);
}

.navbar-brand:hover {
    transform: translateX(5px);
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all var(--transition-speed);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* ===== Hero Section ===== */
#hero-area {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1b5e20 100%);
    overflow: hidden;
}

.overlay-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 107%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.badge-custom {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.875rem;
    display: inline-block;
}

.hero-image-wrapper {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* ===== Particles Animation ===== */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particle-float 20s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 50%; animation-delay: 5s; }
.particle:nth-child(3) { left: 80%; animation-delay: 10s; }

@keyframes particle-float {
    from { transform: translateY(100vh) rotate(0deg); }
    to { transform: translateY(-100vh) rotate(360deg); }
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
}

.experience-badge {
    position: absolute;
    top: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-box {
    text-align: center;
    padding: 1rem;
    border-radius: var(--border-radius);
    background: rgba(46, 125, 50, 0.1);
    transition: transform var(--transition-speed);
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box h4 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ===== Services Section ===== */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    color: var(--primary-color);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-speed);
    border-radius: var(--border-radius);
}

.service-card:hover .service-overlay {
    opacity: 0.1;
}

.services-list-alt .service-item-alt {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-speed);
}

.services-list-alt .service-item-alt:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(10px);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--primary-color);
}

/* ===== Testimonials ===== */
.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    text-align: center;
    padding: 2rem;
}

.quote-icon {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* ===== Contact Section ===== */
.contact-form-wrapper {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-floating label {
    color: var(--text-light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

.info-item {
    display: flex;
    gap: 1rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
}

.map-wrapper {
    height: 450px;
    position: relative;
}

/* ===== Footer ===== */
.footer-section {
    padding-top: 3rem;
    background: #1a1a1a;
}

.footer-widget h4,
.footer-widget h5 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all var(--transition-speed);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: #999;
}

.footer-contact a {
    color: #999;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links a {
    color: #999;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ===== Floating WhatsApp ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed);
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-speed);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* ===== Back to Top ===== */
.btn-back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed);
    z-index: 999;
}

.btn-back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-back-to-top.show {
    display: flex;
}

/* ===== Cookie Bar ===== */
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform var(--transition-speed);
    z-index: 1001;
}

#cookie-notice.show {
    transform: translateY(0);
}

#cookie-notice a {
    color: var(--primary-color);
}

/* ===== Policy Pages ===== */
.policy-content h2 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.policy-content p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* ===== Animations ===== */
.counter {
    font-weight: bold;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .navbar-custom {
        padding: 0.5rem 0;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .testimonials-grid {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
    
    .btn-back-to-top {
        bottom: 80px;
        right: 20px;
    }
    
    .stat-box {
        margin-bottom: 1rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        text-align: center;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar-custom,
    .whatsapp-float,
    .btn-back-to-top,
    #cookie-notice,
    .footer-section {
        display: none !important;
    }
}

/* ===== Custom Animations ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Loading States ===== */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spinner 0.6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* ===== Unique Elements for Fingerprint Variation ===== */
.badge-primary-soft {
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badges {
    margin-top: 2rem;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.timeline-mini {
    position: relative;
    padding-left: 2rem;
}

.timeline-mini::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item .year {
    position: absolute;
    left: -2rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* End of CSS */ 