/* General & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #F9F5F0;
    color: #4E1311;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #4E1311;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

header .logo img:hover {
    transform: scale(1.1);
}

/* Hamburger Menu Icon */
.hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #D19B52;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #D19B52;
    text-decoration: none;
    font-weight: 600; /* Adjusted font-weight */
    font-size: 16px;
    padding: 5px 10px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #F9F5F0;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 20px 80px;
}

.hero img {
    max-width: 180px;
    height: auto;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.8rem;
    color: #4E1311;
}

.hero p {
    margin: 15px 0;
    font-size: 1.3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #D19B52;
    color: #4E1311;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    background-color: #c28a45;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* About Section */
.about {
    padding: 80px 20px;
    text-align: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.about-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.about p {
    font-size: 1.1rem;
    text-align: justify;
}

/* Services Section */
#services {
    background-color: #F9F5F0;
    padding: 80px 20px;
    text-align: center;
}

#services h2 {
    color: #4E1311;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    color: #4E1311;
    margin: 15px 0 5px;
}

.product-card p {
    color: #555;
    padding: 0 15px 20px;
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    text-align: center;
}

.contact h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 500px;
    margin: auto;
    text-align: left;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact label {
    font-weight: 600;
    color: #4E1311;
}

.contact input, .contact select {
    padding: 12px;
    border: 1px solid #D19B52;
    border-radius: 8px;
    width: 100%;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.contact input:focus, .contact select:focus {
    outline: none;
    border-color: #4E1311;
}

.contact input[type="submit"] {
    background-color: #D19B52;
    color: #4E1311;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 10px;
}

.contact input[type="submit"]:hover {
    background-color: #c28a45;
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: #4E1311;
    color: #D19B52;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* --- Media Query for Mobile (max-width: 767px) --- */
@media (max-width: 767px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #4E1311;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        display: flex;
        transform: translateY(0);
    }
    
    .nav-links ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links ul li a {
        font-size: 18px;
        padding: 10px 0;
    }

    .hero, .about, #services, .contact {
        padding-top: 100px;
    }

    .about-content {
        flex-direction: column;
    }

    .about p {
        text-align: left;
    }
}

/* --- Media Query for Desktop (min-width: 768px) --- */
@media (min-width: 768px) {
    header {
        justify-content: space-between;
        padding: 10px 40px;
    }

    .nav-links {
        display: flex !important; /* Force display on desktop */
        position: static;
        flex-direction: row;
        transform: translateY(0);
    }
    
    nav ul {
        flex-direction: row;
        gap: 30px;
    }

    .hero {
        padding: 120px 20px 100px;
    }
    
    .hero img {
        height: 210px;
        width: 210px;
    }

    .hero h1 {
        font-size: 80px;
    }

    .hero p {
        font-size: 20px;
    }

    .about-content {
        flex-direction: row;
        gap: 80px;
        max-width: 1200px;
        margin: auto;
    }

    .about-content img {
        width: 500px;
    }

    .about p {
        text-align: justify;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
        margin: auto;
    }

    .product-card img {
        height: 400px;
    }
}
