/* Global Styles */
body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background: #222;
    background-color: #F2F2F2;
    margin: 0;
    padding: 0;
}
*{
    margin: 0;
    box-sizing: border-box;
}

/* NavBar */

header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 22px;
    padding-top: 10px;
    padding-bottom: 3px;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #074441;
    padding: 10px 35px 10px 35px;
    border-radius: 10px;
    width: 100%;
}

.logo img {
    display: block;
    height: 55px;
    width: auto;
    padding: 0;
    margin: 0;
}
.navbar a {
    text-decoration: none;
}
.contact-button {
    background-color: transparent;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight:600 !important;
    padding: 9px 20px;
    border-radius: 9px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    border-color: #ffffff;
    border-style:solid;
    color: #ffffff;
}
.contact-button img {
    margin-right: 5px;
}

.search-bar {
    flex: 1;
    max-width: 650px;
    height: 45px;
    display: flex;
    align-items: center;
    background: white;
    padding: 5px 10px;
    border-radius: 10px;
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}
.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    margin-left: 10px;
}

@media (max-width: 768px) {
    .search-bar {
        max-width: 200px;
        height: 40px;
    }
}


.container {
    max-width: 70%;
    background: white;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-top: 40px;
}

h1 {
    font-size: 35px;
    font-weight: 700;
    margin-left: 10px;
    position: relative;
    display: inline-block;
}
.content h1::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background-color: #05312F;
    position: absolute;
    bottom: -1px;
    left: 0;
    border-radius: 10px;
}

.icons {
    display: flex;
    gap: 75px;
    cursor: pointer;
    position: relative;
}
@media (max-width: 768px) {
    .search-bar {
        max-width: 400px;
        height: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }
    header {
        padding: 7px;
    }
    .contact-button {
        font-size: 10px;
        padding: 6px 13px;
    }
    .container{
        padding: 30px;
    }
    .navbar {
        padding:5px 15px 5px 15px;
       
    }
    .slider {
        display: none !important;
    }
   .menu{
         width: 100%!important;
   }
   .arrow{
    rotate: 90deg!important;
}



}
@media (max-width: 480px) {
    .search-bar {
        max-width: 250px;
        height: 30px;
        border-radius: 6px;
    }
    .search-bar input{
        font-size: 12px;
    }
    .container h1 {
        font-size: 30px;
    }
    .container {
        padding: 10px!important;
        margin-top: 20px!important;
    }
    .container  h2{
        font-size: 11px;
    }
    .container p {
        font-size: 11px;
    }
    .container ul {
        font-size: 11px;
    }
    .logo img {
        height: 35px;
    }
    .hamburger img{
        margin-top: 3px;
        width: 30px;
        height: 30px;
       } 
       .contact-info{
        justify-content: center!important;
       }
}

.icon-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.icon {
    width: 28px;
    height: 28px;
}

.tooltip {
    position: absolute;
    top: 35px; /* Poziționează exact sub iconiță */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    margin-top: 5px;
}

.icon-container:hover .tooltip {
    opacity: 1;
}
@media (max-width: 768px) {

    .icons, .contact-button {
        display: none;
    }
    
}
.submenu a{
    text-decoration: none;
    color: black;
}

.submenu > li {
    position: relative; /* Asigură poziționarea relativă pentru fiecare element din submenu */
}

.submenu > li:hover > .sub-submenu {
    left: 100%; /* Sub-submenu-ul apare în dreapta elementului părinte */
    top: 0; /* Aliniază sub-submenu-ul la partea de sus a elementului părinte */
    display: block; /* Afișează sub-submenu-ul */
    z-index: 20; /* Asigură-te că apare deasupra altor elemente */
}

.hamburger {
    display: none;
    cursor: pointer;
}
.side-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #05312F;
    color: white;
    padding-top: 20px;
    transition: 0.3s;
    z-index: 22;
}
.side-menu a {
    display: block;
    color: white;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #ffffff;
}
.side-menu a:hover {
    background-color: #05312F;
}
.side-menu .close-btn {
    position: absolute;
    top: 1px;
    right: 20px;
    font-size: 25px;
    cursor: pointer;
}
@media (max-width: 770px) {
 
    .hamburger {
        display: block;
    }

 }



/* BADI */

.container {
    max-width: 1700px;
    margin: 50px auto;
    background: white;
    padding: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 35px;
    font-weight: bold;
}

.cercetas {
    border: 2px solid #2c6e49;
    width: 170px;
    border-radius: 5px;
    margin: 2px auto 20px;
}

/* contacte */
.contact-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.casalot {
    margin-top: 20px;
    width: 30%;
    min-width: 250px;
}

.casalot h2 {
    font-size: 18px;
    font-weight: bold;
}

.casalot p {
    font-size: 14px;
    line-height: 1.5;
}

/* harta aceia pizdoasa */
.harta {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}







/* Footer */
.footer {
    margin-top: 50px;
    background: #222;
    padding: 50px 0 20px;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 40px;
    gap: 50px;
}

.footer-section:first-child {
    flex: 1.2;
    max-width: 350px;
}

/* Footer Section */
.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-section .logo-section {
    margin-bottom: 15px;
    margin-left: 54px;
}
.logo-section img{
    width: 150px;
    height: auto;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Headings */
.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #59DD97;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Footer Links */
.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
}

.footer-section ul li a:hover {
    color: #59DD97;
}

/* Contact & Work Schedule */
.footer-section p strong {
    color: #59DD97;
}

/* Social Media */
.social-media {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons {
    display: flex;
    gap: 15px;
    padding: 10px 0;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    width: 40px;
    height: 30px;
    border-radius: 50%;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #05312F;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 14px;
    padding: 15px 0;
    color: #bbb;
    border-top: 1px solid #444;
}

.leeadgrow{
    border-top: 1px solid #444;
    padding-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #bbb;
}

.leeadgrow a{
    text-decoration: none;
    font-weight: 500;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section .logo-section {
        margin-left: 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-section {
        margin-bottom: -20px!important;
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding: 0 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        display: flex;
        align-items: center;
        flex-direction: column;
        margin-right: 0%;
    }

    .footer-section {
        margin-bottom: 15px;
    }

    .footer-section h3 {
        font-size: 15px;
    }
    .footer-section:first-child {
        margin-right: 0;
    }

    .footer-section p {
        font-size: 10px;
        color: #fff;
    }

    .footer-section ul li {
        margin: 0px 0;
    }

    .footer-section ul li a {
        font-size: 10px;
    }

    .social-icons a {
        width: 25px;
        height: 25px;
    }
    .socialSvg {
        width: 20px;
    }
    .socialContainer{
        width: 40px !important;
        height: 40px !important;
        
    }
    .recommended-product-card {
        margin-right: 0px;
    }

    .copyright {
        font-size: 12px;
        margin-top: 26px;
    }
    .container {
        padding: 25px;
    }
}

.card {
    width: fit-content;
    height: fit-content;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }
  
 /* for all social containers*/
 .socialContainer {
    width: 52px;
    height: 52px;
    background-color: #25586f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition-duration: 0.3s;
    border-radius: 30px;
  }
  /* instagram */
  .containerOne:hover {
    background-color: #d62976;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  /* facebook */
  .containerThree:hover {
    background-color: #0072b1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* viber */
  .containerTwo:hover {
    background-color: #7F4EA1;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }

  /* whatsapp */
  .containerFour:hover {
    background-color: #128c7e;
    transition-duration: 0.3s;
    transform: scale(1.2);
  }
  
  .socialContainer:active {
    transform: scale(0.9);
    transition-duration: 0.3s;
  }
  
  .socialSvg {
    width: 22px;
  }
  
  .socialSvg path {
    fill: rgb(255, 255, 255);
  }
  
  .socialContainer:hover .socialSvg {
    animation: slide-in-top 0.3s both;
  }
  
  @keyframes slide-in-top {
    0% {
      transform: translateY(-50px);
      opacity: 0;
    }
  
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }


/* Responsive Design */
@media (max-width: 675px) {
    .contact-button, .icons {
        display: none;
    }

}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    display: none;
  }
  
  .search-suggestions a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .search-suggestions a:hover {
    background-color: #f0f0f0;
  }


.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 999;
    display: none;
  }
  
  .search-suggestions a {
    display: block;
    padding: 10px;
    color: black;
    text-decoration: none;
  }
  
  .search-suggestions a:hover {
    background-color: #f0f0f0;
  }




