/* General Styles */
:root {
    --primary-color: #e74c3c; /* Red */
    --secondary-color: #34495e; /* Dark Blue/Gray */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --dark-gray: #777;
    --white: #fff;
    --border-radius: 5px;
    --transition-speed: 0.3s ease;
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--light-gray);
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.top-bar .logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.top-bar .search-bar {
    display: flex;
    flex-grow: 1;
    margin: 0 20px;
    max-width: 400px;
}

.top-bar .search-bar input {
    border: none;
    padding: 8px 15px;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    width: 100%;
    font-size: 1rem;
}

.top-bar .search-bar button {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: background var(--transition-speed);
}

.top-bar .search-bar button:hover {
    background: darken(var(--secondary-color), 10%);
}

.top-bar .contact-info {
    display: flex;
    align-items: center;
}

.top-bar .contact-info .btn-buy {
    background: #f39c12; /* Orange */
    color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    margin-right: 15px;
    font-weight: bold;
    transition: background var(--transition-speed);
}

.top-bar .contact-info .btn-buy:hover {
    background: darken(#f39c12, 10%);
}

.top-bar .social-icons a {
    color: var(--white);
    margin: 0 5px;
    font-size: 1.2rem;
    transition: color var(--transition-speed);
}

.top-bar .social-icons a:hover {
    color: var(--light-gray);
}

.top-bar .contact-info span {
    margin-left: 15px;
    font-weight: bold;
}

.top-bar .cart-icon {
    color: var(--white);
    font-size: 1.5rem;
    margin-left: 15px;
    position: relative;
}

.main-nav {
    background: var(--white);
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.main-nav .container ul {
    display: flex;
    justify-content: center;
}

.main-nav .container ul li a {
    color: var(--text-color);
    padding: 10px 20px;
    display: block;
    font-weight: bold;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.main-nav .container ul li a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius);
}

/* Hero Banner */
.hero-banner {
   background: url(\'hero-banner-bg.svg\') no-repeat center center/cover;    color: var(--white);
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 40px;
    position: relative;
}

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

.hero-banner .container {
    position: relative;
    z-index: 1;
}

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

.hero-banner p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.hero-banner .btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
    font-weight: bold;
    transition: background var(--transition-speed);
}

.hero-banner .btn-primary:hover {
    background: darken(var(--primary-color), 10%);
}

/* Featured Products */
.featured-products {
    text-align: center;
    margin-bottom: 40px;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

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

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

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

.product-card img {
    max-width: 100%;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-card .price {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.product-card .btn-add-cart {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition-speed);
}

.product-card .btn-add-cart:hover {
    background: darken(var(--secondary-color), 10%);
}

/* Footer */
.main-footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 40px 0 20px;
    font-size: 0.9rem;
}

.main-footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.footer-col.about-us img {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.footer-col.navigation ul li a {
    color: var(--white);
    padding: 5px 0;
    display: block;
    transition: color var(--transition-speed);
}

.footer-col.navigation ul li a:hover {
    color: var(--primary-color);
}

.footer-col.contact-form input[type="text"],
.footer-col.contact-form input[type="email"],
.footer-col.contact-form input[type="tel"],
.footer-col.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #555;
    border-radius: var(--border-radius);
    background: #444;
    color: var(--white);
}

.footer-col.contact-form textarea {
    resize: vertical;
    min-height: 80px;
}

.footer-col.contact-form .btn-quote {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background var(--transition-speed);
    width: 100%;
}

.footer-col.contact-form .btn-quote:hover {
    background: darken(var(--primary-color), 10%);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom .payment-methods i {
    font-size: 2rem;
    margin: 0 5px;
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .top-bar .logo,
    .top-bar .contact-info {
        margin-bottom: 15px;
    }

    .top-bar .search-bar {
        margin: 15px 0;
        width: 100%;
        max-width: none;
    }

    .main-nav .container ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav .container ul li {
        margin-bottom: 5px;
    }

    .hero-banner h1 {
        font-size: 2.5rem;
    }

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

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom p {
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .top-bar .contact-info {
        flex-direction: column;
    }

    .top-bar .contact-info .btn-buy {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .top-bar .contact-info span {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero-banner {
        padding: 60px 15px;
    }

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

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

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-col.contact-form input,
    .footer-col.contact-form textarea,
    .footer-col.contact-form .btn-quote {
        font-size: 0.9rem;
    }
}
