/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #2d5016;
    background: linear-gradient(135deg, #f8fdf5 0%, #e8f5e8 100%);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    justify-content: center;
}

/* Header styles */
.header {
    margin-bottom: 2rem;
}

.logo {
    max-width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(71, 118, 59, 0.1));
}

.welcome-title {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #47763b;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Intro section */
.intro {
    margin-bottom: 2.5rem;
}

.intro-text, .visit-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #2d5016;
    max-width: 600px;
}

.intro-text strong {
    color: #47763b;
    font-weight: 600;
}

/* Gallery section */
.gallery {
    margin-bottom: 2.5rem;
    width: 100%;
}

.image-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* Carousel navigation arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.1s ease;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
}

.carousel-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-arrow:active {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow.left {
    left: 15px;
}

.carousel-arrow.right {
    right: 15px;
}

/* Products section */
.products {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(71, 118, 59, 0.1);
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 800px;
}

.products-title {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: #47763b;
    margin-bottom: 2rem;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-card {
    background: rgba(248, 253, 245, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(71, 118, 59, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(71, 118, 59, 0.15);
    border-color: rgba(71, 118, 59, 0.3);
}

.product-name {
    font-family: 'Merriweather', serif;
    font-size: 1.3rem;
    color: #47763b;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.product-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}

.product-type, .product-flesh {
    background: rgba(71, 118, 59, 0.1);
    color: #47763b;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-taste {
    color: #2d5016;
    font-style: italic;
    line-height: 1.4;
}

.payment-info {
    background: rgba(71, 118, 59, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(71, 118, 59, 0.1);
    text-align: center;
}

.payment-title {
    font-family: 'Merriweather', serif;
    font-size: 1.2rem;
    color: #47763b;
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #47763b;
    font-weight: 600;
}

.payment-method i {
    font-size: 1.2rem;
}

/* Contact section */
.contact-info {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(71, 118, 59, 0.1);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-title {
    font-family: 'Merriweather', serif;
    font-size: 1.8rem;
    color: #47763b;
    margin-bottom: 1.5rem;
}

.contact-details {
    font-style: normal;
}

.farm-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #47763b;
    margin-bottom: 1rem;
}

.address, .phone, .email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.address i, .phone i, .email i {
    color: #47763b;
    width: 20px;
}

.address a, .phone a, .email a {
    color: #2d5016;
    text-decoration: none;
    transition: color 0.3s ease;
}

.address a:hover, .phone a:hover, .email a:hover {
    color: #47763b;
    text-decoration: underline;
}

/* Closing section */
.closing {
    margin-bottom: 2rem;
}

.closing-text {
    font-size: 1.1rem;
    color: #2d5016;
}

.closing-text em {
    color: #47763b;
    font-style: italic;
}

/* Social links */
.social-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: rgba(71, 118, 59, 0.1);
    border-radius: 25px;
    text-decoration: none;
    color: #47763b;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 44px; /* Minimum touch target size for mobile */
    -webkit-tap-highlight-color: transparent;
}

.social-link:hover,
.social-link:focus,
.social-link:active {
    background: #47763b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(71, 118, 59, 0.3);
    outline: none;
}

.social-link i {
    font-size: 1.2rem;
}

.instagram:hover,
.instagram:focus,
.instagram:active {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border: 2px solid transparent;
}

.instagram:hover i,
.instagram:hover span,
.instagram:focus i,
.instagram:focus span,
.instagram:active i,
.instagram:active span {
    background: transparent !important;
    color: white !important;
}

.facebook:hover,
.facebook:focus,
.facebook:active {
    background: #1877f2;
}

/* Desktop: Show carousel arrows on hover */
@media (hover: hover) and (pointer: fine) {
    .image-carousel:hover .carousel-arrow {
        opacity: 1;
    }
}

/* Mobile responsive styles */
@media (hover: none) and (pointer: coarse) {
    .carousel-arrow {
        opacity: 0.6;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-arrow:active {
        opacity: 1;
    }
    
    /* Mobile-specific social link styles */
    .social-link {
        min-height: 48px; /* Larger touch target for mobile */
        padding: 1rem 1.5rem;
    }
    
    .social-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .instagram:active {
        background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    }
    
    .facebook:active {
        background: #1877f2 !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .welcome-title {
        font-size: 1.8rem;
    }
    
    .logo {
        width: 250px;
    }
    
    .intro-text, .visit-text {
        font-size: 1rem;
    }
    
    .products {
        padding: 1.5rem;
    }
    
    .products-title {
        font-size: 1.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-card {
        padding: 1.2rem;
    }
    
    .payment-methods {
        gap: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .carousel-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 200px;
    }
    
    .products {
        padding: 1rem;
    }
    
    .products-title {
        font-size: 1.3rem;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .payment-info {
        padding: 1rem;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
    
    .address, .phone, .email {
        flex-direction: column;
        gap: 0.2rem;
    }
    
    .carousel-container {
        height: 300px;
    }
}/* No image
s message */
.no-images-message {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #47763b;
    font-style: italic;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 2px dashed #47763b;
}