@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
    
    
}



.section-main{
    background-color:#e7f6ff;
    padding: 3em;
    padding-top: 8em;
    display: flex;
    gap: 5em;
    
    
    
    
    
    
    
    
    
    
}


.products{
    
    height: 20em;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
}
.product-link{
    
    color:#ff6347;
    font-weight: 600;
  
    margin-top: 10em;
    width: 25%;
    display:none;
    transition: 0.5s ease-in-out;
    
    

    
    
    
}

.navbar {
  position: fixed;
  top: 0;
  width: 95%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #e63946;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5em;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  padding: 8px 10px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #e63946;
}

/* Dropdown styles */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  list-style: none;
  padding: 10px 0;
  z-index: 1000;
  min-width: 160px;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #222;
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background-color: #f4f4f4;
  color: #e63946;
}

/* ОПРАВЕНО DROPDOWN МЕНЮ */
.dropdown {
  position: relative;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  position: absolute;
  top: 100%; /* веднага под бутона */
  left: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  list-style: none;
  padding: 10px 0;
  z-index: 1000;
  min-width: 160px;
  display: none;
}

/* За да не изчезва, когато курсорът е върху него */
.dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

/* Responsive menu toggle */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

@media (max-width: 768px) {
  .navbar{
    width: 88%;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }

  .nav-links li {
    text-align: center;
  }

  .menu-toggle {
    display: block;
    color: #222;
  }

  .nav-active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: none;
  }
}

.link{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}
.products:hover{
    box-shadow: 5px 5px 15px 5px rgba(0 ,0 ,0, 0.4);
    transform: scale(1.2);
    
}


.products:hover .product-link{
    display: inline-block;
}


.section-products{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 8em;
    padding: 4em;
}

#orals-info{
    color:#f2f5fa;
    width: 66ch;
    font-size: 0.5em;
    margin: 0 auto;
}
h1{
    text-align: center;
    color: #ff6347;
}
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #f4f4f4;
}

.catalog {
  padding: 3em 1em;
  max-width: 1200px;
  margin: auto;
}

.catalog-title {
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 2em;
  color: #333;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.product-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5em;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 1em;
}

.product-card h2 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: #222;
}

.product-card p {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 1em;
}

.product-btn {
  text-decoration: none;
  background-color: #2f80ed;;
  color: white;
  padding: 0.7em 1.2em;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  
}

.product-btn:hover {
  background-color: #e5533c;
}



#lottie{
    width: 300px;
    height: 300px;
    margin: 0 auto ;
}

footer {
  background-color: #111;
  color: #ccc;
  padding: 4em 2em 2em;
  font-family: "Montserrat", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3em;
}

.footer-col h4 {
  color: #ff6347;
  margin-bottom: 1em;
  font-size: 1.2em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.8em;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ff6347;
}
.newsletter {
  display: flex;
  margin-top: 1em;
}

.newsletter input {
  padding: 0.5em;
  flex: 1;
  border: none;
  border-radius: 4px 0 0 4px;
}

.newsletter button {
  padding: 0.5em 1em;
  background: #ff6347;
  border: none;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.socials {
  margin-top: 1.5em;
}

.socials a img {
  width: 24px;
  margin-right: 1em;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.socials a img:hover {
  opacity: 1;
}

.footer-bottom {
  margin-top: 2em;
  text-align: center;
  font-size: 0.8em;
  border-top: 1px solid #333;
  padding-top: 1em;
  color: #777;
}

.block {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.block.visible {
  opacity: 1;
  transform: translateY(0);
}



