/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    text-align: center;
    color: #333;
    line-height: 1.6;
}

/* Header Styling */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #8b5a2b;
    padding: 10px 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 0 auto;
}

/* Logo Styling */
.logo {
    flex-shrink: 0;
    margin-right: auto;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffdd57;
}

/* Auth Buttons (Login & Producer Application) */
.auth-buttons {
    display: flex;
    gap: 10px;
}

.producer-btn {
    background-color: #4caf50;
    color: white;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.producer-btn:hover {
    background-color: #3e8e41;
}

/* Hero Section */
.hero {
    background-image: url('/images/frontDesk.png');
    background-size: cover;
    background-position: center top;
    color: white;
    text-align: center;
    padding: 150px 20px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button, .secondary-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button {
    background-color: #8b5a2b;
    color: white;
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.8);
    color: #8b5a2b;
}

.cta-button:hover {
    background-color: #6a4320;
    transform: translateY(-3px);
}

.secondary-button:hover {
    background-color: white;
    transform: translateY(-3px);
}

/* Featured Products */
.featured-products {
    padding: 80px 20px;
    background-color: white;
}

.featured-products h2 {
    color: #8b5a2b;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.product-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.category:hover {
    transform: translateY(-10px);
}

.category img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category h3 {
    color: #8b5a2b;
    margin: 20px 0 10px;
    font-size: 1.5rem;
}

.category p {
    padding: 0 20px 20px;
    color: #555;
}

.view-all {
    display: inline-block;
    margin-top: 40px;
    color: #8b5a2b;
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.view-all:hover {
    color: #6a4320;
}

/* PMA Info Section */
.pma-info {
    background-color: #f5f5f5;
    padding: 80px 20px;
    text-align: center;
}

.pma-info h2 {
    color: #8b5a2b;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.pma-info p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: #444;
}

.join-btn {
    display: inline-block;
    background-color: #8b5a2b;
    color: white;
    padding: 15px 30px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.join-btn:hover {
    background-color: #6a4320;
}

/* Why Shop Local Section */
.why-local {
    padding: 80px 20px;
    background-color: white;
}

.why-local h2 {
    color: #8b5a2b;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.benefit {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefit h3 {
    color: #8b5a2b;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.benefit p {
    color: #555;
}

/* Testimonials Section */
.testimonials {
    background-color: #f5f5f5;
    padding: 80px 20px;
    text-align: center;
}

.testimonials h2 {
    color: #8b5a2b;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.testimonial p {
    color: #444;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
}

.testimonial .customer {
    color: #8b5a2b;
    font-weight: bold;
    font-style: normal;
    text-align: right;
}

/* Location Section */
.location {
    padding: 80px 20px;
    background-color: white;
}

.location h2 {
    color: #8b5a2b;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.location p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: #444;
}

.address {
    font-weight: bold;
    margin-bottom: 30px;
}

.map-container {
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer Styling */
footer {
    background-color: #8b5a2b;
    color: white;
    padding: 60px 20px 20px;
    text-align: left;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 40px;
    gap: 40px;
}

.footer-info, .footer-links, .social-links {
    flex: 1;
    min-width: 250px;
}

.footer-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffdd57;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ffdd57;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.social-icon:hover {
    color: #ffdd57;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero .subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .featured-products h2,
    .pma-info h2,
    .why-local h2,
    .testimonials h2,
    .location h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 15px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-button, .secondary-button, .join-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
