@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --orange-old: #ff7f50; /* Coral */
  --orange: rgba(248, 117, 55, 1);
  --black: #2c2c2c;
  --white: #f9f9f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-image: url('img/bg_blur.png');
  background-size: cover;
  color: var(--black);
  line-height: 1.6;
}

nav {
  text-align: center;
  padding: 1.75rem;
}

nav a {
  color: var(--black);
  margin: 0 1.75rem;
  text-decoration:wavy;
  font-weight: 300;
  font-size: 18px;
}

.hero-header {
  position: relative;
  height: 70vh;
  max-height: 550px;
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  width: 50%;
  padding: 2rem;
  text-align: center;
}

.hero-content.left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content.right {
  position:relative;
}

.blob-background {
  background-image: url('img/shape.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.info-box {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 2;
}

/* Position each box manually */
.box1 {
  top: 100px;
  left: 38%;
}
.box2 {
  top: 40%;
  right: 30%;
}
.box3 {
  bottom: 105px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-content h1 {
  font-weight: 400;
  font-size: 7rem;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--orange);
  margin-bottom: 0rem;
}

.hero-content.left p {
  font-size: 1.5rem;
  font-weight: 300;
  margin: 0;
  color: var(--black);
}

.hero {
  /*background-color: var(--white);*/
  color: var(--black);
  padding: 2rem 2rem;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.section {
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  /*background-color: var(--white);*/
}

.panel {
  background-color: #ffffff;
  border-left: 5px solid var(--orange);
  padding: 1rem;
  max-width: 300px;
  flex: 1 1 250px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.panel h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}

/* Category Header */
.category-header {
  width: 100%;
  margin-top: 20px;
  font-size: 18px;
  font-weight: bold;
  color: var(--orange);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 5px;
  text-align: left;
  padding-left: 20px;
  background-color: #f4f4f4;
  box-sizing: border-box;
  margin-bottom: 15px; /* Adds space after the category header */
}

/* Grid for Products */
.products-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Category Products Grid - Keep items aligned */
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 30px; /* Ensures each category is spaced out */
}

/* Product Card Styling */
.product-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background-color: #fff;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  height: 100%;  /* Ensures that product cards remain at a consistent height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.product-card.selected {
  border-color: var(--orange);
  box-shadow: 0 4px 8px var(--orange);
}

.product-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-content h4 {
  font-size: 16px;
  font-weight: 600;
}

.product-content p,
.product-content small {
  font-size: 14px;
  color: #555;
}

/* Hover effect for product cards */
.product-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.product-content {
  padding: 1rem;
  text-align: center;
}

.product-content img {
  max-width: 80px;
  margin-bottom: 0.5rem;
  font-size: 9px;
  font-weight: 300;
  color: gray;
}

.product-content h4 {
  margin: 0.5rem 0 0.25rem;
  color: #333;
}

.product-content p {
  margin: 0;
  color: var(--orange);
  font-weight: bold;
}

.product-content small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: #666;
}

.contact {
  background-color: var(--black);
  color: var(--white);
  padding: 2rem;
  text-align: center;
}

.contact a {
  color: var(--orange);
  text-decoration: underline;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1rem;
}

.contact-details {
  flex: 1 1;
}

.contact-map {
  flex: 2 1;
}

.contact iframe {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

input[type="text"],
input[type="number"],
input[type="time"] {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

button.btn {
  background-color: #f57c00;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.alert.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 5px solid #66bb6a;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.alert.error {
  background: #ffebee;
  color: #c62828;
  border-left: 5px solid #ef5350;
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.product-table th,
.product-table td {
  border: 1px solid #ddd;
  padding: 0.5rem;
}

.product-table th {
  background: #f5f5f5;
}

/* Select Dropdown Styling */
select {
  -webkit-appearance: none;  /* Remove default styling in Safari */
  -moz-appearance: none;     /* Remove default styling in Firefox */
  appearance: none;          /* Remove default styling in modern browsers */
  background-color: #fff;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"%3E%3Cpath fill="none" stroke="%23333" stroke-width="1" d="M0 0l5 5 5-5" /%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding: 10px 40px 10px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s ease;
}

select:focus {
  border-color: #3498db;
}

/* Select dropdown icon */
select:focus {
  background-color: #fafafa;
}


/* Modal */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto; 
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 80%;
  max-width: 960px;
  position: relative;
}

.close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover {
  color: black;
}

body.modal-open {
  overflow: hidden;
}

#termsOfServicePopup {
  color: var(--orange);
  cursor: pointer;
}




.flex-container {
  display: flex;
  gap: 1rem;
}

.flex-container .form-group {
  flex: 1;
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.order {
  padding: 2rem;
}

.order h2, .order h3 {
  text-align: center;
  margin-bottom: 1rem;
}

form {
  margin: 0 auto;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 15px;
  background-color: var(--white);
}

.form-group {
  display: flex;
  flex-direction: column;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"] {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.products {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 6px;
}

.products label {
  font-weight: 500;
}

button {
  background-color: var(--orange);
  color: var(--white);
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #e5673a;
}


@media (max-width: 768px) {
  nav a {
    margin: 5px;
  }
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .section {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-content h1 {
    font-size: 4rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }

  .hero-content.left {
    width: 100%;
  }
  
  .hero-content.right {
    display: none;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .products-grid {
    flex-direction: column;
  }
  
  .product-card {
    flex: 1 1 100%;
  }

  .flex-container {
    display: block;
  }
}


/* Visual cues for sortable */
.sortable-handle {
  cursor: grab;
  width: 26px;
  height: 26px;
  background: #ccc;
  display: inline-block;
  border-radius: 50%;
  text-align: center;
}
.sortable-handle:active {
  cursor: grabbing;
}
.sortable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  padding: 10px;
  background: #f9f9f9;
}
.sortable-item input {
  flex: 1;
  margin-right: 10px;
  padding: 5px;
}
.sortable-item button {
  margin-left: 10px;
  padding: 5px 10px;
  background-color: #e74c3c;
  color: white;
  border: none;
  cursor: pointer;
}
.sortable-item button:hover {
  background-color: #c0392b;
}