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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    text-align: justify;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: rgba(50, 50, 50, 0.45); 
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;  
}

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

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 24, 16, 0.7), rgba(44, 24, 16, 0.7)), url('images/main.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c1810;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 3rem;
}

.about-content-reversed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #555;
}

.about-image {
    display: flex;
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

/* Products Section */
.products {
    padding: 80px 20px;
    background-color: #fef9e7;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c1810;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-btn {
    background: #2c1810;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: #1a0f0a;
}

.products-grid {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}

.products-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: calc(33.333% - 1rem);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.product-card h3 {
    color: #2c1810;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.product-card p {
    color: #666;
    font-size: 0.85rem;
}

/* News Section */
.news {
    padding: 80px 20px;
    background-color: #fff;
}

.news h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c1810;
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.news-fixed-image {
    display: flex;
    align-items: stretch;
    overflow: hidden;    
}

.news-fixed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: block;
}

.news-carousel-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-btn {
    background: #2c1810;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-btn:hover {
    background: #1a0f0a;
}

.news-grid {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
}

.news-grid::-webkit-scrollbar {
    display: none;
}

.news-card {
    background: #fef9e7;
    border-radius: 10px;
    padding: 1.5rem;
    scroll-snap-align: start;
    flex-shrink: 0;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
    display: block;
}

.news-card h3 {
    color: #2c1810;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.news-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: #fff;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c1810;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h3 {
    color: #2c1810;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #555;
}

.contact-info a {
    color: #d4af37;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #f4d03f;
    box-shadow: 0 0 5px rgba(244, 208, 63, 0.3);
}

.contact-form button {
    background-color: #2c1810;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #1a0f0a;
}

/* Footer */
footer {
    background-color: #2c1810;
    color: #fff;
    padding: 2rem;
    text-align: center;
}

footer a {
    color: #f4d03f;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* About */
    .about-content,
    .about-content-reversed {
        grid-template-columns: 1fr;
    }

    .about-content,
    .about-content-reversed,
    .contact-content {
        align-items: center;
    }

    .about h2,
    .products h2,
    .contact h2,
    .news h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .about-image {
        min-height: 250px;
    }

    .about-image img {
        height: 250px;
    }

    /* Products */
    .products {
        padding: 40px 20px;
    }

    .product-card {
        width: 85%;
    }

    .product-card img {
        height: 80px;
    }

    .product-card h3 {
        font-size: 0.95rem;
    }

    .product-card p {
        font-size: 0.8rem;
    }

    /* News */
    .news {
        padding: 40px 20px;
    }

    .news-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        background: #fef9e7;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .news-fixed-image {
        width: 100% !important;
        height: 180px !important;
        overflow: hidden;
    }

    .news-fixed-image img {
        width: 100% !important;
        height: 180px !important;
        object-fit: cover;
        border-radius: 0;
        box-shadow: none;
    }

    .news-carousel-wrapper {
        width: 100% !important;
    }

    .news-card {
        background: #fef9e7;
        box-shadow: none;
        border-radius: 0;
        min-height: 180px;
    }

    .news-card h3 {
        font-size: 0.95rem;
    }

    .news-card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: row;
        gap: 0.5rem;
        align-items: center;
    }

    .nav-links {
        flex-direction: row;
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .logo {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }
}
