﻿/* Running Photos Carousel Styles */
.cultivation-section {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

.section-title {
    font-size: 2rem;
    color: #2c5f2d;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
}

.running-photos-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
    padding: 20px 0;
}

.photos-carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    cursor: grab;
    padding: 0 10px;
}

    .photos-carousel:active {
        cursor: grabbing;
    }

.photo-card {
    flex: 0 0 calc(100% - 20px);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .photo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

/* Responsive card sizes */
@media (min-width: 768px) {
    .photo-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (min-width: 1024px) {
    .photo-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (min-width: 1280px) {
    .photo-card {
        flex: 0 0 calc(25% - 20px);
    }
}

.photo-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

    .photo-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.photo-card:hover .photo-card-image img {
    transform: scale(1.08);
}

.photo-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.photo-card:hover .photo-card-overlay {
    opacity: 0.6;
}

.photo-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: white;
    text-align: left;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.photo-card:hover .photo-card-content {
    transform: translateY(-5px);
}

.photo-title {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.photo-description {
    margin: 0;
    font-size: 0.875rem;
    opacity: 0.95;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(44, 95, 45, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

    .carousel-nav:hover {
        background: rgba(44, 95, 45, 1);
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Dots Indicator */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

    .carousel-dots .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255,255,255,0.6);
        cursor: pointer;
        transition: all 0.3s ease;
    }

        .carousel-dots .dot.active {
            background: #4CAF50;
            width: 28px;
            border-radius: 5px;
            box-shadow: 0 0 5px rgba(76,175,80,0.5);
        }

        .carousel-dots .dot:hover {
            background: #fff;
            transform: scale(1.2);
        }

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .photo-card-image {
        height: 220px;
    }

    .photo-title {
        font-size: 1rem;
    }

    .photo-description {
        font-size: 0.75rem;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .prev-btn {
        left: 10px;
    }

    .next-btn {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .photo-card-image {
        height: 200px;
    }

    .photo-card-content {
        padding: 12px;
    }
}
