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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Top Bar */
.top-bar {
    background-color: #f5f5f5;
    padding: 8px 0;
    font-size: 14px;
}

.top-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.top-links a:hover {
    color: #777;
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

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

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 40%;
}

.search-bar input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search-bar button {
    padding: 10px 15px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.header-icons {
    display: flex;
    gap: 20px;
}

.header-icons a {
    font-size: 18px;
    color: #333;
    transition: color 0.3s;
}

.header-icons a:hover {
    color: #777;
}

/* Navigation */
nav {
    background-color: #333;
    color: white;
}

.main-menu {
    display: flex;
    justify-content: center;
}

.main-menu > li {
    position: relative;
}

.main-menu > li > a {
    display: block;
    padding: 15px 20px;
    color: white;
    font-weight: 500;
    transition: background-color 0.3s;
}

.main-menu > li > a:hover {
    background-color: #555;
}

.dropdown > a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

.mega-menu {
    position: absolute;
    left: 10%;
    width: 100%;
    background-color: white;
    color: #333;
    padding: 20px;
    display: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.dropdown:hover .mega-menu {
    display: flex;
}

.mega-menu-column {
    flex: 1;
    padding: 0 15px;
}

.mega-menu-column h4 {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}

.mega-menu-column ul li {
    margin-bottom: 8px;
}

.mega-menu-column ul li a {
    color: #555;
    transition: color 0.3s;
}

.mega-menu-column ul li a:hover {
    color: #333;
}

/* Hero Banner */
.hero-banner {
    background-image: url('../image/wooden-footwear-store-design-showcase-display-furniture-3-1440x900.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
}

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

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

.hero-banner h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.hero-banner p {
    font-size: 18px;
    margin-bottom: 25px;
}

.hero-banner .btn {
    background-color: #e63946;
    padding: 12px 30px;
    font-size: 16px;
}

.hero-banner .btn:hover {
    background-color: #c1121f;
}

/* Product Section */
.product-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #e63946;
}

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

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e63946;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.price {
    margin-bottom: 15px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
    margin-right: 10px;
}

.sale-price {
    color: #e63946;
    font-weight: bold;
    font-size: 18px;
}

.product-btn {
    width: 100%;
    text-align: center;
    background-color: #333;
    color: white;
}

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

/* Category Banners */
.category-banners {
    padding: 30px 0;
}

.banner-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.category-banner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 300px;
}

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

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.banner-overlay h3 {
    font-size: 28px;
    margin-bottom: 15px;
}

/* Sale Banner */
.sale-banner {
     background-image: url('../image/wooden-footwear-store-design-showcase-display-furniture-3-1440x900.jpg');
    background-size: cover;
    background-position: center;
    background-color: #e63946;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 40px 0;
}

.sale-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.sale-content p {
    font-size: 18px;
    margin-bottom: 25px;
}

.sale-content .btn {
    background-color: white;
    color: #e63946;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
}

.sale-content .btn:hover {
    background-color: #f8f9fa;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

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

.service-card {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 36px;
    color: #e63946;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    font-weight: 500;
}

/* Payment Methods */
.payment-methods {
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.payment-methods h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.payment-icons img {
    height: 30px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.payment-icons img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* Newsletter */
.newsletter {
    padding: 40px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.newsletter h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: #e63946;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
}

.newsletter-form button:hover {
    background-color: #c1121f;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

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

.footer-column ul li a {
    color: #bbb;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-column p {
    color: #bbb;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    color: #bbb;
    font-size: 14px;
}