/* Reset Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

header {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(120deg, #341e0e, #392415);
  color: #ede1d2;
}

.ml-header {
  font-size: 0.8rem;
}

.ml-header-phone {
  font-size: 0.7rem;
}

.left-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 20rem;
  justify-content: center;
}

.left-section img {
  max-width: 60px;
}

.brand-name {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: "Playfair Display", serif;
  color: #ede1d2;
  letter-spacing: 0.1rem;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.brand-name span {
  margin-bottom: 0;
  line-height: 2.2rem;
}

.brand-description {
  font-size: 0.55rem;
  margin: 0;
  padding: 0;
  letter-spacing: 0rem;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-items: center;
}

/* Dropdown styles */
.dropdown-container {
  position: relative;
}

.dropdown-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ede1d2;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 1rem;
  z-index: 1000;
  min-width: 200px;
  flex-direction: column;
}

.dropdown-container:hover .dropdown-links {
  display: flex;
}

.dropdown-link {
  color: #542700;
  padding: 0.5rem 0;
  transition: color 0.3s ease-in-out;
}

.dropdown-link:hover {
  color: #d4af37;
}

.language-toggle {
  background: linear-gradient(145deg, #ffde8b, #f0f0f0);
  padding: 0.4rem;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
}

.language-toggle i {
  font-size: 13px;
  color: #3a1c00;
}

.language-toggle select {
  font-size: 0.8rem;
  margin: 0.1rem;
  padding: 0.2rem;
  font-weight: 500;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #fff2d2;
  box-sizing: border-box;
  outline: none;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #ede1d2;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  background-color: #ede1d2;
  padding: 0.5rem 2rem;
  position: relative;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  color: #542700;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #d4af37;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #d4af37;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 6rem;
  left: 0;
  background: linear-gradient(120deg, #341e0e, #392415);
  color: white;
  width: 100%;
  padding: 1rem 1rem 0.2rem 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  padding: 0.8rem 0;
  border-bottom: 1px solid #ddd;
  text-decoration: none;
  color: white;
}

.mobile-nav a:last-child {
  border-bottom: 0 solid #ddd;
}

.message-dropdown {
  display: none;
}
.message-dropdown.active {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.message-dropdown a {
  color: #fff;
  font-size: 0.6rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease-in-out;
}

.message-dropdown a:hover {
  color: #d4af37;
}
/* Desktop dropdown */
.dropdown-links {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #c0b09b;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  min-width: 200px;
}

.dropdown-links.active {
  display: block; /* Show when active (via JavaScript click) */
}

/* Keep dropdown visible and MESSAGES link styled on hover */
.nav-link:hover + .dropdown-links,
.dropdown-links:hover {
  display: block;
}

.nav-link:hover,
.nav-link:has(+ .dropdown-links:hover) {
  color: #d4af37; /* Maintain hover color */
}

.nav-link:hover::after,
.nav-link:has(+ .dropdown-links:hover)::after {
  transform: scaleX(1); /* Maintain underline */
}

.dropdown-links a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
}

.dropdown-links a:hover {
  background-color: #ddd;
}

/* Remove the .dropdown-container styles as they are no longer needed */
.dropdown-container {
  position: relative;
}

.dropdown-container:hover .dropdown-links {
  display: flex; /* Remove or comment out if JavaScript click is preferred */
}

.nav-link.active-link::after {
  transform: scaleX(1); /* Show underline */
}
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
  }

  .brand-name {
    font-size: 1.5rem;
  }

  .brand-description {
    font-size: 0.4rem;
  }

  .right-section {
    align-items: end;
    flex-direction: column;
  }

  .mobile-nav {
    font-size: 0.7rem;
    z-index: 20;
  }
  .message-dropdown {
    display: none;
  }

  .language-toggle {
    background: linear-gradient(145deg, #ffde8b, #f0f0f0);
    border-radius: 8px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    height: 2rem;
  }

  .language-toggle i {
    font-size: 18px;
    color: #3a1c00;
  }

  .language-toggle select {
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fdf2d6;
    box-sizing: border-box;
    outline: none;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }
}

@media (max-width: 300px) {
  .brand-name {
    font-size: 1rem;
  }

  .language-toggle select {
    padding: 0.25rem 0.6rem;
    font-size: 0.9rem;
    margin: 0.1rem;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffde8b, #f0f0f0);
    outline: none;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav {
    font-size: 0.7rem;
    z-index: 20;
  }
}

@media (max-width: 270px) {
  .brand-name {
    font-size: 0.6rem;
  }

  header {
    padding: 1rem;
  }

  .language-toggle select {
    padding: 0.3rem;
    font-size: 0.9rem;
    margin: 0rem;
    font-weight: 500;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: linear-gradient(145deg, #ffde8b, #f0f0f0);
    outline: none;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
  }

  .mobile-nav {
    font-size: 0.7rem;
  }
}
