body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: #7F7F7F;
    background-color: white;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Navigation Styles */
.menu-toggle {
    position: absolute;
    top: 15px;
    left: 15px;
    cursor: pointer;
    z-index: 999;
}

.hamburger span {
    display: block;
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 7px 0;
    transition: 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 250px;
    height: 100vh;
    background: white;
    transition: left 0.3s ease;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    padding-top: 20px;
    z-index: 1001;
}

.nav-menu.active {
    left: 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    border-bottom: 1px solid #eee;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #7F7F7F;
    text-decoration: none;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #f5f5f5;
}

.dropdown-menu {
    display: none;
    background-color: #f9f9f9;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    padding-left: 40px;
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    left: 0;
    right: 0;
}

.hero-image {
    width: 100vw;
    height: 45vh;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 60px;
}

.hero-overlay h1 {
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 0;
    color: white;
    text-align: center;
}

/* Products Section */
.products-section {
    padding-top: 20px;
    margin: auto;
    max-width: 840px;
}

.product-tiles {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    margin: 0 auto;
}

.product-tile {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    width: 180px;
}

.product-tile img {
    width: 100%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.product-tile.active:hover {
    transform: translateY(-5px);
}

.product-tile.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Blog Preview Section */
.blog-preview {
    padding: 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.blog-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.blog-item:hover {
    background-color: #f9f9f9;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 8px;
}

.blog-title {
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-right: 5px;
}

.blog-excerpt {
    font-size: 12px;
    display: inline;
}

.blog-meta {
    font-size: 10px;
    color: #999;
    margin-top: 8px;
    line-height: 1.2;
}

/* Footer Ribbon */
.footer-ribbon {
    background-color: white;
    border-top: 5px solid #ccc;
    padding: 2px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.home-icon {
    flex-shrink: 0;
}

.home-icon img {
    height: 35px;
    width: auto;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.social-icons img {
    height: 30px;
    width: auto;
    transition: opacity 0.3s;
}

.social-icons img:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-overlay h1 {
        font-size: 1.8em;
    }
    
    .product-tiles {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .home-icon {
        order: 2;
    }
    
    .social-icons {
        order: 1;
        justify-content: center;
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-overlay h1 {
        font-size: 1.4em;
    }
    
    .social-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}