/* Category Page Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f5f5f5;
}

/* =====================
   Header Styles
   ===================== */
   .logo-container{
    background: #fff;
    padding: 1em 0 0.5em 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .logo{
    width: 250px;
    max-width: 90vw;
    height: auto;
    display: block;
  }
  .desktop-navigation-container{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #20371e;
    gap: 2em;
    padding: 0.7em 0;
  }
  .nav-item{
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em;
    letter-spacing: 0.04em;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
  }
  .nav-item:hover{
    background-color: #152414;
  }
  .nav-link{
    text-decoration: none;
    color: white;
    box-sizing: content-box;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    display: block;
  }
  .info-container {
    background-color: #191919;
    color: white;
    padding: 1em;
    text-align: center;
    font-family: Montserrat, sans-serif;
    font-size: 1.1em;
    letter-spacing: 0.04em;
    font-weight: 500;
  }
  .info-container:hover {
    text-decoration: underline solid;
    cursor: pointer;
  }
  
  /* Mobile Header/Nav Styles */
  .mobile-navigation-container{
    justify-content: center;
    align-items: center;
    background-color: #20371e;
  }
  .mobile-nav-item{
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1em;
    text-align: center;
  }
  .mobile-image-container{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mobile-menu-container{
    display: none;
  }
  .mobile-menu-icon{
    display: none;
    width: 5em;
    height: 5em;
    cursor: pointer;
    border-radius: 10px;
  }
  .mobile-menu-icon:hover{
    background-color: #152414;
  }
  .mobile-nav-item:hover{
    background-color: #152414;
  }
  .mobile-nav-link{
    text-decoration: none;
    color: white;
    box-sizing: content-box;
  }

  @media screen and (max-width: 768px) {
    .desktop-navigation-container{
      display: none;
    }
    .mobile-menu-icon{
      display: block;
    }
  }
  
  
  /* End Header Styles */

/* Product Display Section */
.product-display-section {
    padding: 4em 2em;
    max-width: 1400px;
    margin: 0 auto;
}

.category-header {
    text-align: center;
    font-size: 2.5em;
    color: #20371e;
    margin-bottom: 1.5em;
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    padding: 1em;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-bottom: 1px solid #eee;
}

.product-info {
    padding: 1.5em;
}

.product-title {
    font-size: 1.5em;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5em;
}

.product-description {
    color: #666;
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 1em;
}

.product-price {
    font-size: 1.25em;
    font-weight: 700;
    color: #20371e;
    margin-bottom: 1em;
}

.product-button {
    display: inline-block;
    padding: 0.8em 1.5em;
    background-color: #20371e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: #152414;
}


/* Footer */
.site-footer {
    background-color: #191919;
    color: white;
    padding: 3em 2em;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2em;
}

.footer-content {
    flex: 1;
    min-width: 250px;
}

.footer-content h3 {
    font-size: 1.2em;
    margin-bottom: 1em;
    color: #fff;
}

.footer-content p {
    margin: 0.5em 0;
    color: #ccc;
}

/* Media Queries */
@media screen and (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5em;
    }
    
    .category-header {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 900px) {
    .product-display-section {
        padding: 3em 1.5em;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.2em;
    }
    
    .product-image {
        height: 220px;
    }
    
    .category-header {
        font-size: 2em;
    }
    .logo {
        width: 180px;
    }
    .hamburger {
        display: block;
    }
    .mobile-menu {
        display: flex;
        flex-direction: column;
        margin-top: 120px; /* header + info bar */
        top: 0;
    }
    .info-container {
        font-size: 1em;
        padding: 0.5em 0;
    }
}

@media screen and (max-width: 600px) {
    .product-display-section {
        padding: 2em 1em;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-title {
        font-size: 1.3em;
    }
    
    .product-price {
        font-size: 1.1em;
    }
    
    .category-header {
        font-size: 1.8em;
    }
    .logo {
        width: 120px;
    }
    .info-container {
        font-size: 0.95em;
        padding: 0.4em 0;
    }
    
    .desktop-navigation-container {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }
    .mobile-menu {
        margin-top: 100px;
    }
}

/* Dropdown Menu Fixes */
.main-nav {
    position: relative;
    width: 100%;
    z-index: 1000;
}
.hamburger {
    position: absolute;
    right: 1.5em;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
}
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    background: #20371e;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    z-index: 2000;
    transition: max-height 0.3s ease;
    overflow: hidden;
    max-height: 0;
    margin-top: 70px; /* space for header */
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.mobile-menu.open {
    max-height: 400px;
    padding-bottom: 1em;
}

.mobile-menu .nav-item {
    color: white;
    padding: 1em 2em;
    font-size: 1.2em;
    border-bottom: 1px solid #2e4d2a;
    text-align: left;
    background: none;
}

.mobile-menu .nav-item:last-child {
    border-bottom: none;
}

@media screen and (min-width: 901px) {
    .mobile-menu,
    .hamburger {
        display: none !important;
    }
}
