

* {
  box-sizing: border-box;
}

body {
  margin: 0px;
  font-family: Arial, sans-serif;
}

h1 , h2 , h3 , h4 {
	font-family: Arial, sans-serif;
}

.products {
	width: 70%;
	border: none;
	vertical-align: top;
}

table {
	border: 1px solid;
	width: 50%;
	padding: 1%;
	text-align: left;
}

th {
	width: 33.33%;
	padding: 1%;
}

td {
	width: 33.33%;
	padding: 1%;
	text-align: left;
}

a {
	text-decoration: none;
	color: black;
}

{
  box-sizing: border-box;
}

.column2 {
  float: left;
  width: 33.33%;
  padding: 5px;
}

.column {
  float: left;
  width: 33.33%;
  padding: 5px;
}

/* Clearfix (clear floats) */
.row::after {
  content: "";
  clear: both;
  display: table;
}

p {
  margin: 100px;
  font-family: 'Poppins', sans-serif;
}

/* HEADER */
.header {
  background: linear-gradient(to left, #66bb6a, white); /* Horizontal gradient */
  color: #000;
  text-align: center;
  padding: 20px 10px;
  font-family: Arial, sans-serif;
}

.inquire-button {
  margin-top: 20px;
  padding: 10px 16px;
  background-color: transparent;
  border: 2px solid black;
  color: black;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1em;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  text-decoration: none;
}

.inquire-button:hover {
  background-color: #66bb6a;
  color: white;
  border-color: #66bb6a;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 2000;
  background-color: #333;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}

.navbar .logo a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
}

.navbar .nav-links a {
  color: white;
  padding: 20px 24px; /* Increased from 14px 16px to make it bigger */
  text-decoration: none;
  display: block;
  font-size: 1.1em; /* Slightly larger text */
}

.navbar .nav-links a:hover {
  background-color: #575757;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #444;
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  top: 100%;
  left: 0;
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: white;
  padding: 16px 20px; /* Increased from 12px 16px */
  text-decoration: none;
  font-size: 1em; /* Increase font size if desired */
}

.dropdown-content a:hover {
  background-color: #555;
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 14px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px;
  transition: all 0.3s ease;
}

/* OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1500;
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -50%;
    width: 50%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
    z-index: 2000;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 20px;
    font-size: 1.2em;
  }

  .nav-links.active {
    right: 0;
  }

  .overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .burger.toggle div:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .burger.toggle div:nth-child(2) {
    opacity: 0;
  }
  .burger.toggle div:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  /* Hide dropdown content for mobile until clicked */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: rgba(68, 68, 68, 0.9);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.fade-in:nth-child(1) {
  animation-delay: 0.2s;
}
.fade-in:nth-child(2) {
  animation-delay: 0.4s;
}
.fade-in:nth-child(3) {
  animation-delay: 0.6s;
}

/* SEARCH BAR*/
.search-form {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.search-form input[type="text"] {
  padding: 6px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.search-form button {
  padding: 6px 10px;
  border: none;
  background-color: #66bb6a; /* Lighter green to match theme */
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: #4caf50; /* Slightly darker green */
}
