﻿.gallery-agri-section {
    padding: 60px 20px;
    background: url('/Content/Images/robotic-strawberry-harvesting-with-drone-surveillance.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    position: relative;
}

.gallery-agri-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.gallery-agri-section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffeb3b;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.section-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #fff9c4;
}

.gallery-agri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    justify-content: center;
}

.gallery-agri-item {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}

.gallery-agri-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.6);
}

.gallery-agri-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s ease;
}

.gallery-caption {
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #43cea2, #185a9d);
}

.view-more-btn {
    margin-top: 40px;
}

.btn-view-more {
    background: #ff9800;
    color: #fff;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 30px;
    transition: 0.3s ease;
}

.btn-view-more:hover {
    background: #e65100;
    color: #fff;
}
