/* ========================================
   Agro Colombia App Landing Page - Custom Styles
   ======================================== */

:root {
    --primary: #10B981;
    --primary-dark: #059669;
    --dark: #1F2937;
    --light: #F3F4F6;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar */
#mainNav {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.navbar-scrolled {
    background: rgba(31, 41, 55, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

#mainNav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

#mainNav .nav-link:hover {
    color: var(--primary) !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(16, 185, 129, 0.15) 100%),
                url('../img/hero-bg.jpg') center/cover no-repeat;
    background-color: var(--dark);
    padding-top: 80px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

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

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.15);
    border-color: var(--primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

/* Pricing Cards */
.pricing-card {
    background: #fff;
    transition: transform 0.3s;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: scale(1.03);
}

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.08);
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: #fff;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

/* Testimonials */
.testimonial-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Form Styles */
.form-control, .form-select {
    border: 2px solid #e5e7eb;
    padding: 0.75rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

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

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

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

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

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding: 120px 0 80px;
    }
    
    .hero-section .d-flex {
        justify-content: center;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .hero-section .d-flex.align-items-center.gap-4 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-section .vr {
        display: none;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}
