@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
  scroll-behavior: smooth;
}
/* Navbar Styles */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background-color: #f2f2f2;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 1000;
  width: 100%;
}
.logo {
  height: 50px;
  width: 200px;
  background-image: url("logo.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.navbar {
  width: 60%;
  margin-left: 27%;
}
nav .navbar a {
  text-decoration: none;
  margin: 0 15px;
  font-size: 18px;
  color: #333;
}
nav .navbar a:hover {
  color: #008083;
}
.navbar a#active {
  color: #008083;
}
.lang-menu{
  position: absolute;
  right: 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  top: 20%;
  padding: .5rem;
}
.toggle-lang i{
  font-size: 2rem;
}
.toggle-lang i:hover{
  color: #008083;
}
.lang-details{
  display: none;
}
.lang-details.active{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: .5rem;
  background-color: #f2f2f2;
  padding: .8rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 1rem 0 1rem 1rem;
  height: 100px;
}
.lang-details a{
  text-decoration: none;
  color: #333;
  font-size: 1rem;
}
.lang-details a:hover{
  color: #008083;
}
.lang-details a#active{
  color: #008083;
}


/* Intro Section */
main {
  width: 100%;
  height: auto;
  z-index: 1;
}
.ballina {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100vh;
  z-index: 1;
}
.introtext {
  width: 40%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.introtext h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
}
.introtext p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.5rem;
  flex-wrap: nowrap;
}
.side-img img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  margin-right: 2rem;
  border-radius: 1rem;
}
.explore {
  text-align: center;
  text-decoration: none;
  width: fit-content;
  padding: 0.7rem 1.5rem;
  background-color: #008083;
  color: white;
  border: none;
  border-radius: 0.7rem;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
}
.explore:hover {
  background-color: #006a6c;
  transition: 0.3s ease-in-out;
}

/* Card Styles */
.top-deals{
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.title{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 2rem;
    width: 50%
}
.title h2{
    font-size: 3rem;
    margin-bottom: 1rem;
}
.title p{
    font-size: 1.2rem;
    color: #555;
    line-height: 1.5rem;
    text-align: center;
}

.cards{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    width: 80%;
    height: 100%;
    gap: 1rem;
    padding: 2rem;
}
.card{
    background-color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
    border-radius: 1rem;
    transition: 0.3s;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.card-img{
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f2f2f2;
    
}
.card-img img{
    width: 100%;
    transition: 0.3s;
}
.card-desc{
    padding: 1rem;
    width: 100%;
    font-family: "Montserrat", sans-serif;

}
.card-desc h3{
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.card-desc p{
    font-size: 1.0rem;
    color: #555;
    line-height: 1.5rem;
    text-decoration: line-through;
}
.discount{
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 0.5rem;
    text-decoration: none;
    background-color: #008083;
    padding: 10px 25px;
    width: fit-content;
    border-radius: 1rem;
}
.service{
    padding: 2rem;
    font-family: "Montserrat", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.elements{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding: 2rem;
}
.element{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 33%;
    padding: 1rem;

  }
.element i{
    font-size: 3rem;
    color: #008083;
    margin-bottom: 1rem;
}
.element h3{
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.element p{
    font-size: 1rem;
    color: #555;
    line-height: 1.5rem;
}
footer{
    background-color: #f2f2f2;
    padding: 1rem;
    text-align: center;
    font-size: 1rem;
    color: #555;
    position: relative;
    bottom: 0;
    width: 100%;
}
.footer-content{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: row;
}
.footer-firstsection{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.footer-firstsection p{
    margin-bottom: 1rem;
}
.footer-linksection{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    flex-direction: column;
}
.footer-linksection div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.footer-linksection div a{
    text-decoration: none;
    color: #888;
    margin-bottom: 0.5rem;
}
.footer-linksection div a:hover{
    color: #008083;
    transition: 0.1s ease-in-out;
}
.footer-contact{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.footer-contact h3{
    margin-bottom: 1rem;
    color: #333;
}
.contact-links{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    flex-direction: column;
}
.contact-links p{
    margin-bottom: 0.5rem;
    color: #555;
}
.contact-links a{
    text-decoration: none;
    color: #555;
    margin-bottom: 0.5rem;
}
.contact-links i{
  color: #555;
}
.contact-links button{
  border: none;
  font-size: 1rem;
  color: #555;
  cursor: pointer;
}
.contact-links button:hover{
    color: #008083;
    transition: 0.1s ease-in-out;
}
.footer-contact a:hover{
    color: #008083;
    transition: 0.1s ease-in-out;
}
.footer-social{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-direction: column;
}
.social-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}
.social-links a{
    text-decoration: none;
    color: #555;
    font-size: 1.6rem;
}
.social-links a:hover{
    color: #008083;
    transition: 0.1s ease-in-out;
}

/* Lapotp View */    
@media only screen and (max-width: 1800px) {
    .navbar{
        width: 65%;
    }
    .side-img img {
        width: 350px;
        height: 350px;
        object-fit: cover;
    }
    .ballina{
      padding-top: 2rem;
    }

    .introtext h1 {
        font-size: 3rem;
    }
    .introtext {
        width: 50%;
        padding: 1rem;
    }
    .introtext p {
        font-size: 1rem;
}
    .cards{
        gap: 1rem;
        flex-wrap: nowrap;
        width: 90%;
    }
    .card{
        width: 350px;
    }
    .card-img img{
        height: 100px;
    }
    .title{
        width: 70%;
    }
    .title h2{
        font-size: 2.5rem;
    }
    .title p{
        font-size: 1rem;
    }

}
@media only screen and (max-width: 760px) {
  .navbar {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-direction: column;
    width: 15%;
    margin-right: .5rem;
  }
  .nav-menu {
    display: none;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
  }
  .nav-menu .nav-link {
    font-size: 1rem;
    padding: 0.2rem;
  }
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    opacity: 1;
    z-index: -1;
    box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.2);
    background-color: #f2f2f2;
  }
  .toggle-nav .bar {
    display: block;
    background-color: #333;
    width: 25px;
    height: 3px;
    margin: 5px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
  }
  #mobile-menu.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  #mobile-menu.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #mobile-menu.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .lang-menu{
    right: .5rem;
  }
  .toggle-lang i{
    font-size: 1.5rem;
  }

  main{
    padding-top: 3rem;
  }
  .logo{
    width: 150px;
    height: 40px;
  }
  .ballina {
    flex-direction: column-reverse;
    height: 110vh;
    justify-content: center;
  }
  .introtext h1 {
    font-size: 2rem;
    text-wrap: nowrap;
  }
  .introtext p{
    font-size: .9rem;
  }
  .side-img img {
    width: 300px;
    height: 300px;
    margin: 1rem 0;
  }
  .introtext {
    width: 80%;
    text-align: center;
    align-items: center;
  }
  .title{
    width: 80%;
  }
  .title h2{
    font-size: 2rem;
    text-wrap: nowrap;
  }
  .title p{
    font-size: 1rem;
  }
  .cards{
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
  }
  .card{
    width: 100%;
    margin-bottom: 2rem;
  }
  .card-img img{
    height: 200px;
    width: 100%;
  }
  .card-desc h3{
    font-size: 1.3rem;
  }
  .card-desc p{
    font-size: 0.9rem;
  }
  .discount{
    font-size: 1rem;
  }

  .service{
    padding: 0;
  }
  .title{
    width: 100%;
    width: 100%;
  }
  .title h2{
    font-size: 1.5rem;
  }
  .title p{
    font-size: 0.9rem;
    width: 100%;
    padding: 0;
  }
  .elements{
    flex-direction: column;
    gap: 2rem;
  }
  .element{
    width: 80%;
  }
  .element h3{
    font-size: 1.2rem;
  }
  .element p{
    font-size: 0.9rem;
  }
  .element i{
    font-size: 2rem;
  }
  footer {
    font-size: 0.9rem;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .footer-firstsection,
  .footer-linksection,
  .footer-contact,
  .footer-social,
  .contact-links {
    align-items: flex-start;
  }
  .footer-contact{
    border-bottom: 1px solid black;
    width: 100%;
  }

  .footer-contact h3 {
    margin-bottom: 0.5rem;
  }
  .footer-contact a,
  .contact-links a,
  .contact-links button {
    font-size: 0.9rem;
  }
}
  @keyframes dropdown {
    from {
      height: 0;
    }
    to {
      height: 120px;
    }

  }

@keyframes FadeUp {
  0% {
    opacity: 0;
    transform: translateY(100px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

  
.animation {
  opacity: 0;
}
