/* ========================================
   Agronomy Platform - Custom Styles
   Modern Agricultural Marketplace Design
   ======================================== */

/* ========================================
   1. HERO BANNER SECTION
   ======================================== */

.hero-banner-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 70vh;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 80px 0 40px;
}

.hero-title {
    font-size: 1.75rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 0.95rem;
}

/* Tablet */
@media (min-width: 768px) {
    .hero-content {
        padding: 100px 250px 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* Desktop */
@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.min-vh-70 {
    min-height: 70vh;
}

.bg-white-10 {
    background: rgba(255, 255, 255, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7);
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Stats Cards */
.stat-card {
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }
}

/* Hero Search Box */
.hero-search-box {
    animation: slideInRight 0.6s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 100%;
}

@media (min-width: 992px) {
    .hero-search-box {
        max-width: 550px;
        margin-left: auto;
    }
}

/* Hero Text - Add padding to move content right */
.hero-text {
    padding-left: 0;
}

@media (min-width: 992px) {
    .hero-text {
        padding-right: 2rem;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.rounded-lg {
    border-radius: 1rem !important;
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

/* Hero CTA Buttons Responsive */
.hero-cta-buttons .btn {
    white-space: nowrap;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .hero-cta-buttons .btn {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .hero-cta-buttons .btn {
        font-size: 1rem;
    }
}

/* Search Filter Options */
.search-filter-option {
    cursor: pointer;
    margin-bottom: 0;
}

.search-filter-option input[type="radio"] {
    display: none;
}

.search-filter-option .filter-label {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 12px;
    transition: all 0.3s;
    background: #fff;
}

.search-filter-option .filter-label:hover {
    border-color: var(--primary);
    background: rgba(var(--primary-rgb), 0.05);
}

.search-filter-option input[type="radio"]:checked + .filter-label {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Search Suggestions Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-down-btn {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
    transition: all 0.3s;
}

.scroll-down-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   2. ECOSYSTEM CARDS SECTION
   ======================================== */

.ecosystem-cards-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.ecosystem-card {
    text-decoration: none;
    display: block;
    height: 100%;
}

.ecosystem-card .card {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ecosystem-card:hover .card {
    transform: translateY(-8px);
}

.hover-shadow-lg:hover {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

.icon-wrapper {
    position: relative;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.ecosystem-card:hover .icon-circle {
    transform: scale(1.1);
}

.icon-circle i {
    font-size: 40px;
}

/* Soft Background Colors */
.bg-soft-primary {
    background-color: rgba(var(--primary-rgb), 0.1);
}

.bg-soft-success {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-soft-info {
    background-color: rgba(23, 162, 184, 0.1);
}

.bg-soft-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-soft-purple {
    background-color: rgba(111, 66, 193, 0.1);
}

.bg-soft-danger {
    background-color: rgba(220, 53, 69, 0.1);
}

/* Text Colors */
.text-purple {
    color: #6f42c1;
}

/* Badge Colors */
.badge-soft-purple {
    background-color: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

/* Transition Utility */
.transition-all {
    transition: all 0.3s ease;
}

/* ========================================
   3. NAVIGATION ENHANCEMENTS
   ======================================== */

.header_menu_links i {
    font-size: 16px;
    vertical-align: middle;
}

.animate-underline-white {
    position: relative;
}

.animate-underline-white::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: currentColor;
    transition: width 0.3s ease;
}

.animate-underline-white:hover::after,
.animate-underline-white .active::after {
    width: 80%;
}

/* ========================================
   4. MOBILE RESPONSIVE
   ======================================== */

@media (max-width: 767px) {
    .hero-banner-section {
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta-buttons .btn {
        font-size: 14px;
        padding: 10px 20px !important;
    }
    
    .stat-card {
        padding: 12px !important;
    }
    
    .stat-number {
        font-size: 1.25rem !important;
    }
    
    .stat-label {
        font-size: 11px !important;
    }
    
    .ecosystem-cards-section .col-sm-6:nth-child(odd) {
        padding-right: 8px;
    }
    
    .ecosystem-cards-section .col-sm-6:nth-child(even) {
        padding-left: 8px;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .icon-circle i {
        font-size: 30px;
    }
}

/* ========================================
   5. UTILITY CLASSES
   ======================================== */

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.gap-4 {
    gap: 1.5rem;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-32 {
    font-size: 32px !important;
}

.fs-36 {
    font-size: 36px !important;
}

@media (min-width: 768px) {
    .fs-md-14 {
        font-size: 14px !important;
    }
    
    .fs-md-16 {
        font-size: 16px !important;
    }
    
    .fs-md-20 {
        font-size: 20px !important;
    }
    
    .fs-md-32 {
        font-size: 32px !important;
    }
    
    .fs-md-36 {
        font-size: 36px !important;
    }
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

/* ========================================
   6. ANIMATIONS
   ======================================== */

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

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

/* ========================================
   7. PRINT STYLES
   ======================================== */

@media print {
    .hero-banner-section,
    .ecosystem-cards-section,
    .scroll-indicator {
        display: none;
    }
}

