/* ===== Reset & Base Styles ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  }
  
  body {
    
    background-size: cover;
  }
  
  .nav-links {
    list-style: none;
  }
  
  .body-title {
    font-size: 2em;
    color: rgb(0, 84, 60);
    text-align: left;
    margin: 20px;
  }
  
  .body-subtitle {
    font-size: 1.5em;
    color: rgb(0, 84, 60);
    text-align: left;
    margin: 10px;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  a {
    text-decoration: none;
  }

  @media (max-width: 600px) {
  * {
    font-size: 1em;
    font-family: Arial, Helvetica, sans-serif;
  }
}
  
  /* ===== Footer ===== */

  .space {
    height: 800px;
  }

  footer {
    width: 100%;
    height: 50px;
    background-color: rgb(0, 29, 20);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    bottom: 0;
    left: 0;
  }
  
  /* ===== Header ===== */
  
  #logo {
    width: 75px;
    height: 75px;
    display: block;
    margin: auto;
    border-radius: 50%;
    margin-bottom: 10px;
  }
  
  #header-container {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(50px);
    padding: 10px 0 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    width: 100%;
  }
  
  #title {
    font-size: 2em;
    color: rgb(0, 84, 60);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  #subtitle {
    font-size: 1em;
    color: rgb(0, 84, 60);
    margin: 10px;
    margin-bottom: 20px;
  }
  
  
  /* ===== Navbar ===== */

.nav-links {
  font-size: larger;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  padding: 10px 0;
}

/* Default horizontal layout */
.nav-button {
  position: relative;
  text-decoration: none;
  color: rgb(0, 84, 60);
  padding: 10px 15px;
  border-radius: 25px;
  transition: color 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

/* Animated underline */
.nav-button::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: rgb(0, 84, 60);
  transition: transform 0.3s ease;
}

.nav-button:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-button:hover {
  color: rgb(0, 84, 60);
}

/* ===== Mobile: vertical layout ===== */
@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .nav-button {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

  /* ===== Post Section ===== */
  
  .post-container {
    background-color: rgb(253, 253, 253);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .post-container-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1000px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 20px;
    background-color: rgb(254, 254, 254);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

  .post-title-container {
    font-weight: bold;
    font-size: 3.5em;
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Tw Cen MT';
  }

  .post-content-container {
    font-size: 1em;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    margin-bottom: 1px;
    text-align: center;
  }
  .post-container:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  }
  
  .post-title {
    font-size: 1.5em;
    color: rgb(0, 84, 60);
    margin-bottom: 10px;
    font-family: 'Tw Cen MT';
    text-transform: uppercase;
  }
  
  .post-content {
    font-size: 1em;
    color: rgb(0, 84, 60);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin: 0;
    margin-bottom: 20px;
    box-shadow: none;
  }
  
  .post-button-container {
    margin-top: auto;
    text-align: right;
  }
  .post-button {
    display: inline-block;
    font-size: 1em;
    color: rgb(255, 255, 255);;
    background-color: rgb(0, 84, 60);
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  .scroller{
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    padding-top: 200px;
    padding-bottom: 200px;
  }
  .post-button:hover {
    background-color: rgb(0, 44, 32);
  }
  .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    width: 90%;
    margin: 2em auto;
  }
  
  .post-container {
    width: 100%;
    margin: 0;
  }
  
  @media (max-width: 600px) {
    .post-grid {
      grid-template-columns: 1fr;
    }
  }

 /* ===== ABOUT US SECTION ===== */
  .section-container-aboutus {
    background-color: rgb(0, 84, 60);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    padding: 30px 20px;
    margin: auto;
    color: white;
  }

  #aboutus-title {
    text-align: center;
    font-size: 1.8em;
    margin-top: 10px;
    margin-bottom: 5px;
  }

  #aboutus-owner {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 30px;
  }

  hr {
    height: 2px;
    background-color: white;
    border: none;
    width: 80%;
    margin: 0 auto 30px auto;
  }

  .aboutus-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #aboutus-image2 {
    border-radius: 30px;
    width: 90%;
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
  }

  #aboutus-content {
    text-indent: 3em;
    font-size: 1.1em;
    line-height: 1.6;
    text-align: justify;
    padding: 0 10px;
    max-width: 800px;
  }

/* ===== DESKTOP (Responsive Breakpoint) ===== */
  @media (min-width: 768px) {
    .aboutus-content-container {
      flex-direction: row;
      align-items: flex-start;
      justify-content: center;
      gap: 40px;
    }

    #aboutus-image2 {
      margin-bottom: 0;
    }

    #aboutus-content {
      padding: 0;
    }

    #aboutus-owner {
      font-size: 3.5em;
    }

    hr {
      width: 70%;
      margin-bottom: 40px;
    }
  }

  
/* ===== CONTACT FORM ===== */



 /* Main form container */
 body {
  background-color: #d1f3e7;
}

  #title-Tag-Line {
    font-size: 20px;
  }

  /* form animation starts */
  .form {
    background: #fff;
    box-shadow: 0 30px 60px 0 rgba(90, 116, 148, 0.4);
    border-radius: 27px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    padding-top: 5px;
    padding-bottom: 5px;
    left: 0;
    right: 0;
    position: absolute;
    border-top: 5px solid #0e3721;
  /*   z-index: 1; */
    animation: bounce 1.5s infinite;
  }
  ::-webkit-input-placeholder {
    font-size: 1.3em;
  }

  .title{
    display: block;
    font-family: sans-serif;
    margin: 10px auto 5px;
    width: 300px;
  }
  .termsConditions{
    margin: 0 auto 5px 80px;
  }

  .pageTitle{
    font-size: 2em;
    font-weight: bold;
  }
  .secondaryTitle{
    color: grey;
  }

  .name {
    background-color: #ebebeb;
    color: rgb(0, 0, 0);
  }
  .name:hover {
    border-bottom: 5px solid #0e3721;
    height: 30px;
    width: 380px;
    transition: ease 0.5s;
  }

  .email {
    background-color: #ebebeb;
    height: 2em;
  }

  .email:hover {
    border-bottom: 5px solid #0e3721;
    height: 30px;
    width: 380px;
    transition: ease 0.5s;
  }

  .message {
    background-color: #ebebeb;
    overflow: hidden;
    height: 10rem;
  }

  .message:hover {
    border-bottom: 5px solid #0e3721;
    height: 12em;
    width: 380px;
    transition: ease 0.5s;
  }

  .formEntry {
    display: block;
    margin: 30px auto;
    min-width: 300px;
    padding: 10px;
    border-radius: 2px;
    border: none;
    transition: all 0.5s ease 0s;
  }

  .submit {
    width: 200px;
    color: white;
    background-color: #0e3721;
    font-size: 20px;
  }

  .submit:hover {
    box-shadow: 15px 15px 15px 5px rgba(78, 72, 77, 0.219);
    transform: translateY(-3px);
    width: 300px;
    border-top: 5px solid #0e3750;
    border-radius: 0%;
  }

  @keyframes bounce {
    0% {
      tranform: translate(0, 4px);
    }
    50% {
      transform: translate(0, 8px);
    }
  } 


/* ===== MENU SECTION ===== */

#header-container-menu  {
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(50px);
  padding: 10px 0 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  text-align: center;
  width: 100%;
}

.menu-header {
  position: relative;
  text-decoration: none;
  color: rgb(255, 255, 255);
  padding: 10px 15px;
  border-radius: 25px;
  transition: color 0.3s ease;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}

/** Animated underline */
.menu-header::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 60%;
  height: 2px;
  background-color: rgb(255, 255, 255);
  transition: transform 0.3s ease;
}

.menu-white {
  color: #ffffff;
  text-align: center;
}

.menu-header:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu-header:hover {
  color: rgb(255, 255, 255);
}
@media (max-width: 600px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .menu-header {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
.menu-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: whitesmoke;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  padding: 30px;
  width: 90%;
  max-width: 600px;
  margin: 40px auto;
  color: rgb(0, 84, 60);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.menu-container h1 {
  font-size: 2rem;
  text-align: left;
  color: rgb(0, 84, 60);
  position: relative;
  font-family: Oregon;
  text-transform: uppercase;
}

#menu-sub {
  font-size: 1rem;
  text-align: left;
  margin-bottom: 30px;
  color: rgb(0, 84, 60);
  position: relative;
  padding-bottom: 15px;
  text-transform: lowercase;
  font-family: Monotype Corsiva;
}

.section {
  margin-bottom: 30px;
}

.section-title {
  font-weight: bold;
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 5px;
}

.item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed rgb(0, 84, 60, 0.3);
  transition: transform 0.2s ease;
}

.item:hover {
  transform: translateX(5px);
}

.item-name {
  flex: 1;
}

.item-price {
  font-weight: bold;
  margin-left: 20px;
}

.drinks-header {
  font-weight: bold;
  margin: 20px 0 10px;
  font-size: 1.3rem;
  color: rgb(0, 80, 64);
  text-align: center;
  font-family: 'Tw Cen MT';
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .menu-container {
    padding: 20px;
    width: 95%;
  }
  
  .menu-container h1 {
    font-size: 1.5rem;
  }
  
  .item {
    flex-direction: column;
  }
  
  .item-price {
    margin-left: 0;
    margin-top: 5px;
    align-self: flex-end;
  }
}

/* Animation for menu items */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  animation: fadeIn 0.5s ease forwards;
}

.section:nth-child(2) { animation-delay: 0.1s; }
.section:nth-child(3) { animation-delay: 0.2s; }
.section:nth-child(4) { animation-delay: 0.3s; }

.ul-aboutus {
  display: flex;
  justify-content: center;
  position: relative;
  top: 50%;
  left: 50%;
  margin-top: 70px;
  transform: translate(-50%, -50%);
}

.ul-aboutus .li-aboutus {
  list-style: none;
}

.ul-aboutus .li-aboutus .a-aboutus {
  width: 65px;
  height: 65px;
  background-color: #fff;
  text-align: center;
  line-height: 65px;
  font-size: 35px;
  margin: 0 10px;
  display: block;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  border: 3px solid #fff;
  z-index: 1;
}

.ul-aboutus .li-aboutus .a-aboutus .icon {
  position: relative;
  color: #262626;
  transition: .5s;
  z-index: 3;
}

.ul-aboutus .li-aboutus .a-aboutus:hover .icon {
  color: #fff;
  transform: rotateY(360deg);
}

.ul-aboutus .li-aboutus .a-aboutus:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f00;
  transition: .5s;
  z-index: 2;
}

.ul-aboutus .li-aboutus .a-aboutus:hover:before {
  top: 0;
}

.ul-aboutus .li-aboutus:nth-child(1) .a-aboutus:before{
  background: #3b5999;
}

.ul-aboutus .li-aboutus:nth-child(2) .a-aboutus:before{
  background: #55acee;
}

.ul-aboutus .li-aboutus:nth-child(3) .a-aboutus:before {
  background: #0077b5;
}

.ul-aboutus .li-aboutus:nth-child(4) .a-aboutus:before {
  background: #dd4b39;
}