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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Header and Navbar */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

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

.nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: url('https://via.placeholder.com/1200x400') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.btn {
    background: #f39c12;
    color: #fff;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #d35400;
}

/* Featured Products */
.featured-products {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    text-align: center;
}

.featured-products h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.product-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    border-radius: 5px;
}

.product-card h3 {
    margin: 0.5rem 0;
}

.product-card p {
    font-size: 1rem;
    color: #f39c12;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

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

/* Hero Section for About Us */
.about-hero {
    background: url('https://via.placeholder.com/1200x400') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
}

/* About Content */
.about-content {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
}

.about-section {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.about-section.reverse {
    flex-direction: row-reverse;
}

.about-img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design for About Content */
@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
    }

    .about-section.reverse {
        flex-direction: column;
    }

    .about-img {
        max-width: 100%;
    }
}


/* Hero Section for Contact Us */
.contact-hero {
    background: url('https://via.placeholder.com/1200x400') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2, 
.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info p, .contact-info h3 {
    margin-bottom: 0.8rem;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links li {
    background-color: #f39c12;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.social-links a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Contact Form */
.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

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

.contact-form textarea {
    resize: none;
}

.contact-form .btn {
    background-color: #f39c12;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form .btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
    }
}


/* Hero Section for Products */
.products-hero {
    background: url('https://via.placeholder.com/1200x400') no-repeat center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
}

/* Product List */
.product-list {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
}

.product-card {
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    transition: box-shadow 0.3s;
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 0.5rem 0;
}

.product-card p {
    font-size: 1rem;
    color: #333;
}

.product-card .btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background-color: #f39c12;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.product-card .btn:hover {
    background-color: #bd7706;
}

/* Product Detail */
.product-detail {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 1rem;
    align-items: center;
}

.product-detail-image {
    flex: 1;
    min-width: 300px;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-detail-info {
    flex: 1;
    min-width: 300px;
}

.product-detail-info h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.product-detail-info .price {
    font-size: 1.5rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.product-detail-info .description {
    margin-bottom: 2rem;
    line-height: 1.5;
}

.product-detail-info .btn {
    padding: 0.8rem 1.5rem;
    background-color: #f39c12;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.product-detail-info .btn:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
    }
}
