@font-face {
  font-family: CourirPrime;
  src: url('assets/CourierPrime-Regular.ttf') format('truetype');
  font-display: swap;
}

body {
    margin: 0;
    padding: 0;
    font-family: CourirPrime, "sans-serif";
    color: #565656;
    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: #565656;
    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: #565656;
    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;
    object-position: right center;
    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;
}

#hero-image-logo-wrapper{
  display: flex;
  align-items: center;
  position: absolute;
  height: 100%;
  left: 70px;
}

#hero_image_logo{
  height: 60%;
}

/* 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;
    align-items: center;
    margin: auto;
}

.product-tile {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
    width: 180px;
    height: 180px;
    box-shadow: -3px -3px 5px #565656;
}

.product-tile img {
    width: 100%;
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
}

.product-tile.active:hover {
    transform: translateY(-5px);
}

.product-tile-wrapper{
	display: flex;
  	justify-content: center;
}

/* 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-excerpt {
    font-size: 12px;
    display: inline;
}

.blog-meta {
    font-size: 10px;
    color: #565656;
    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;
    }
}

/* KAIZEN Intro SEO Text Section */
.kaizen-intro {
    padding: 40px 20px 20px;
    max-width: 840px;
    margin: 0 auto;
    color: #565656;
}

.kaizen-intro-inner {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.kaizen-intro h2 {
    font-size: 20px;
    margin-bottom: 15px;
    text-transform: none;
    letter-spacing: 0.03em;
}

.kaizen-intro p {
    font-size: 13px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .kaizen-intro {
        padding: 30px 16px 10px;
    }
    .kaizen-intro h2 {
        font-size: 18px;
    }
    .kaizen-intro p {
        font-size: 12px;
    }
}

/* ► ONLY SEO TITLE + TEXT CENTERED */
.kaizen-intro h2,
.kaizen-intro p {
    text-align: center;
}

/* Mobile landscape fixes: keep SEO headline large and 4 tiles in a row */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .kaizen-intro h2 {
        font-size: 20px !important;
    }
    .product-tiles {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 25px;
    }
}
