/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-image: url('images/ZMEbackground.jpg');
  background-repeat: no-repeat;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  padding-bottom: 3rem;
}

/* Header */
header {
  background: White;
  color: SeaGreen;
  text-align: center;
  padding: 0.5rem 0.5rem 0.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
header h1 {
  font-size: 2rem;
}
.subtitle {
  font-size: 1rem;
  color: #e0e0e0;
  margin-top: 0.5rem;
}

/* Navigation Buttons */
nav {
  background: #fff;
  padding: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  border-bottom:5px solid SeaGreen;
}
nav button {
  background: SeaGreen;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: background 0.3s ease;
  cursor: pointer;
}
nav button:hover {
  background: MediumSeaGreen;
}

/* Content Area */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.3s ease-in-out;
}

/* Products */
.product {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.product img {
  width: 120px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.product h3 {
  margin-bottom: 0.3rem;
}

/* Team */
.team-member {
  text-align: center;
  margin-bottom: 2rem;
}
.team-member img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 0.5rem;
}
.team-member h3 {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
}
.team-member p {
  font-size: 0.9rem;
  color: #555;
}
.contactus button {
  background: SeaGreen;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  transition: background 0.3s ease;
  cursor: pointer;
}
.contactus button:hover {
  background: MediumSeaGreen;
}
/* News */
.news {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.news img {
  width: 120px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.news h3 {
  margin-bottom: 0.3rem;
}

/* Animation */
.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #888;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.05);
}


#lang-select select {
  background-color: SeaGreen;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#lang-select select:hover {
  background-color: MediumSeaGreen;
}
* {
  box-sizing: border-box;
}

/* Create four equal columns that floats next to each other */
.column {
  float: left;
  width: 25%;
  padding: 10px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}
.left, .right {
  width: 25%;
}
.left50, .right50 {
  width: 50%;
}

.middle {
  width: 50%;
}
.middle25 {
  width: 15%;
}

/* Responsive layout - makes the four columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    width: 100%;
  }
}
.menu_imgdiv
{
    display:inline-block;
    padding-top:20px;
    padding-left:20px;
    padding-right:20px;
}

.menu_imgdiv p
{
    padding-top:4px;
    text-align:center;
    font-size:larger;
}

.menu_img
{
    width:128px;
    height:128px;
}

.menu_imgdiv:hover .menu_img,
.menu_imgdiv:hover .menu_imgdiv p
{
    margin: -15px 0px 15px;
}

.imgcenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
  height: auto;

}
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 150px; /* Adjust spacing */
    margin-top: 50px;
    flex-wrap: wrap; /* Allows wrapping */
}

.image-item {
    display: flex;
    flex-direction: column; /* Ensures text stays below the image */
    align-items: center;
    text-align: center;
}
.image-item img:hover { 
    transform: scale(1.1); /* Add hover effect */ 
}


.genfoot button {
  background: white;
  color: black;
  border: none;
  padding: 0,3rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  transition: background 0.3s ease;
  cursor: pointer;
}
.genfoot button:hover {
  background: LightGray;
}
.video-container {
    position: relative;
    width: 50%;
    padding-bottom: 28.125%; /* 16:9 aspect ratio, adjusted for 50% width */
    height: 0;
    margin: auto; /* Centers the container */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}