/* Reset some default browser styling */
body, h1, h2, h3, p, ul, li, button, input, label {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }
  
  body {
    background-color: #f9f9f9;
    color: #333;
      overflow-x: hidden;
  }
  
  .container {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px; /* Adjusted padding for better spacing */
      box-sizing: border-box;
  }
  
  /* Header Styles */
  header {
      background-color: #fff;
      padding: 20px 0;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 1000;
  }
  
  
  header .header-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
  }
  
  header .logo {
      font-size: 1.8rem;
      color: #333;
      font-weight: bold;
      text-decoration: none;
      font-family: 'Cormorant Garamond', serif;
  }
  
  header .logo span {
      color: #2E8B57;
  }
  
  header nav a {
      color: #333;
      text-decoration: none;
      margin-left: 20px;
      padding-top: 10px;
      transition: color 0.2s ease;
  }
  
  header nav a:hover {
      color: #2E8B57;
  }
  
  header .header-button {
      margin-left: 20px;
  }
  /* Catalog Styling */
  
  .catalog {
    padding: 20px;
  }
  
  h2 {
      font-family: 'Cormorant Garamond', serif;
      font-size: 2.5rem;
      margin-bottom: 20px;
      text-align: center;
      color: #333;
      position: relative;
      display: inline-block;
  }
  h2::after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -10px;
      transform: translateX(-50%);
      width: 60px;
      height: 3px;
      background-color: #2E8B57;
      border-radius: 2px;
  }
  
  /* Filters */
  .filters {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      gap: 10px;
  }
  
  .filters label {
      font-weight: bold;
  }
  
  .filters input {
      padding: 10px;
      border: 1px solid #ddd;
      border-radius: 5px;
  }
  
  
  /* Product List */
  .product-list {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-top: 30px;
  }
  
  .product-card {
      background: #fff;
      padding: 15px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease;
      cursor: pointer;
      position: relative;
      overflow: hidden;
  }
  .product-card:hover{
      transform: translateY(-5px)
  }
  
  .product-image {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-radius: 6px;
  }
  
  .product-info {
      padding-top: 10px;
      text-align: center;
  }
  
  .product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
    font-family: 'Cormorant Garamond', serif;
  }
  
  .price {
      font-weight: 500;
      color: #2E8B57;
      font-size: 1rem;
  }
  .view-button {
    margin-top: 10px;
  }
  
  
  /* Popup Styling */
  
  .product-popup {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 1001;
  }
  
  .popup-content {
      background: #fff;
      border-radius: 10px;
      padding: 20px;
      max-width: 800px;
      width: 90%;
      max-height: 90%;
      overflow-y: auto;
  }
  .popup-product-details {
    display: flex;
      align-items: flex-start;
      gap: 20px;
  }
  .popup-image {
      width: 300px;
    height: auto;
    object-fit: cover;
      border-radius: 8px;
  }
  .popup-info {
      padding-left: 10px;
    flex: 1;
  }
  .popup-info h3 {
     font-size: 1.5rem;
      margin-bottom: 5px;
      color: #333;
      font-family: 'Cormorant Garamond', serif;
  }
  .popup-price {
      font-size: 1.2rem;
    font-weight: 500;
      color: #2E8B57;
      margin-bottom: 10px;
  }
  .popup-description {
    text-align: justify;
      margin-bottom: 10px;
      color: #555;
  }
  .popup-attributes {
      margin-bottom: 10px;
  }
  
  .popup-attributes ul {
      list-style: none;
      padding-left: 20px;
  }
  .popup-attributes h4{
      margin-bottom: 5px;
      font-size: 1.1rem;
    font-family: 'Cormorant Garamond', serif;
  }
  .phone-number {
      font-size: 1rem;
      font-weight: bold;
      color: #333;
  }
  
  
  .close-popup {
      display: block;
      margin-top: 20px;
      margin-left: auto;
    padding: 10px 20px;
  }
  /* Button Styles */
  .button {
      display: inline-block;
      padding: 12px 25px;
      text-decoration: none;
      background-color: #2E8B57;
      color: #fff;
      border: none;
      border-radius: 5px;
      transition: background-color 0.2s ease;
      cursor: pointer;
      font-weight: 500;
  }
  
  .button:hover {
      background-color: #1f6340;
  }
  /* Form Styling */
  .product-form-container {
      margin-bottom: 20px;
  }
  #product-form {
        display: flex;
      flex-direction: column;
      gap: 15px;
      max-width: 500px;
      margin: 0 auto;
  }
  
  #product-form input,
  #product-form textarea,
  #product-form .form-input {
      padding: 12px;
      border: 1px solid #ddd;
      border-radius: 5px;
      font-size: 1rem;
      transition: border-color 0.2s ease;
      width: 100%;
      box-sizing: border-box;
  }
  
  #product-form input:focus,
  #product-form textarea:focus,
  #product-form .form-input:focus {
      outline: none;
      border-color: #2E8B57;
  }
  
  #product-form textarea {
      height: 150px;
      resize: vertical;
  }
  .form-group {
      display: flex;
      flex-direction: column;
      margin-bottom: 15px;
      text-align: left;
  }
  
  .form-group label {
      margin-bottom: 5px;
      font-size: 1rem;
      font-weight: 500;
  }
  /* Burger Button Styles */
  .burger-menu-btn {
      display: none;
      background: none;
      border: none;
      font-size: 2rem;
      cursor: pointer;
      padding: 5px;
      color: #333;
      order: 0;
  }
  
  /* Navigation Styles */
  .nav-wrapper {
      display: flex;
    }
    
    .nav-wrapper nav {
        display: flex;
    }
  /* Mobile adjustments */
   @media (max-width: 768px) {
      .container {
           width: 100%;
          padding: 0 15px;
      }
       header .header-container {
          flex-wrap: wrap;
          justify-content: space-between;
      }
  
      header .logo {
          flex: 0 0 auto;
          text-align: center;
           order: 0;
      }
  
      header .header-button {
            margin: 10px auto;
          flex: 0 0 auto;
          text-align: center;
            order: 100;
      }
  
      .nav-wrapper {
          flex: 1 1 100%;
      }
  
      .nav-wrapper nav {
          display: flex;
           flex-direction: column;
          align-items: center;
          width: 100%;
           background: #fff;
           margin-top: 10px;
           transition: max-height 0.2s ease-out;
           max-height: 0;
          overflow: hidden;
      }
  
      .nav-wrapper nav.active {
          max-height: 500px;
      }
  
      .nav-wrapper nav a {
        margin: 10px 0;
      }
  
       .burger-menu-btn {
          display: block;
           /* margin: 10px 0 0 0; */
          flex: 0 0 auto;
       }
      .product-list {
       grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      }
      .product-card {
          padding: 10px;
      }
  }