
  @media (min-width: 1025px) and (max-width: 2570px){
.desktop-header {
  font-family: "Futura", sans-serif;
  font-size: clamp(1em, 0.8em + 0.5vw, 1.2em);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #E6C3A0;
  height: 100px;
  padding-right: 20px;
   position: fixed;
  top: 0;
  z-index: 1001;
  width: 100%;
  box-shadow: 4px 0 8px rgba(0,0,0,0.4);
  
}
  }

/* Desktop logo */
.logo-desktop {
  display: block;
  height: 60px;    /* Set the height you want */
  width: auto;     /* Keep aspect ratio */
  padding-left: 40px;
}

/* Mobile logo */
.logo-mobile {
  display: block;   /* Hidden by default, shown in media query */
  height: 30px;    /* Smaller height for mobile */
  width: auto;     /* Keep aspect ratio */
  z-index: 3;
}

@media (min-width: 1500px) {
  .desktop-header {
    font-size: clamp(1.2em, 1em + 0.4vw, 1.4em);
  }

  .main-menu > li > a {
    font-size: clamp(15px, 13px + 0.3vw, 18px);
  }
}

 @media (min-width: 1025px) and (max-width: 2570px){
.main-menu { 
  justify-content: flex-end; 
  list-style: none; 
  margin: 0 auto; 
  padding-left: 0 100px; 
  display: flex; 
  gap: .8rem;
 }
 /* optional: extra spacing only for very last item */
  .main-menu > li:last-child {
    padding-right: 40px;
  }
.main-menu > li { position: relative; }
.main-menu > li > a { color: #865E47; 
  text-decoration: none; 
  padding: 1rem 1.5rem; 
  transition: color 0.3s ease;
font-size: clamp(13px, 11px + 0.4vw, 15px); }
.main-menu > li > a:hover { color: #C29470; }
.has-dropdown .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #E6C3A0; min-width: 200px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 999; }
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown:hover .arrow { transform: rotate(180deg); transition: transform 0.3s ease; }
 }

  @media (min-width: 1367px) and (max-width: 1440px){
.main-menu { 
  justify-content: flex-end; list-style: none; margin: 0; padding-left: 100px; display: flex; gap: .2rem; }
.main-menu > li { position: relative; }
.main-menu > li > a { color: #865E47; text-decoration: none; padding: .5rem 1rem; transition: color 0.3s ease; font-size: 16px; }
.main-menu > li > a:hover { color: #C29470; }
.has-dropdown .dropdown { display: none; position: absolute; top: 100%; left: 0; background: #E6C3A0; min-width: 200px; box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 999; }
.has-dropdown:hover .dropdown { display: block; }
.has-dropdown:hover .arrow { transform: rotate(180deg); transition: transform 0.3s ease; }
 }

/* Remove bullets */
.dropdown {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
}

.dropdown li {
  list-style: none !important;
}

/* Button link */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #E6C3A0, #D4AA87, #C29470);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 2px;
  box-shadow: 0 0.5px 2px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.cta:hover {
  background: linear-gradient(135deg,#C29470, #865E47) !important ;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: #E6C3A0 !important;
}

.cta .phone-icon {
  margin-left: 0.5em;
  font-size: 1.1em;
  color: #E6C3A0;
  transition: color 0.3s ease;
}

.cta:hover .phone-icon {
  color: #E0E0E0;
}

/* Nav link underline animation */
.nav-link {
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: #C29470;
  padding-bottom: 15px;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #C29470;
  transform: translateX(-50%);
  transition: width 0.4s ease-in-out, box-shadow 0.4s ease;
}

.nav-link:hover::after {
  width: 100%;
  animation: pulseGlow 0.8s ease forwards;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0px 0px #C29470; }
  50% { box-shadow: 0 0 10px 2px #C29470; }
  100% { box-shadow: 0 0 0px 0px #C29470; }
}

.dropdown li a { padding: 0.75rem 1rem; display: block; color: #865E47; text-decoration: none; }
.dropdown li a:hover { color: #C29470; background: #865E47; }


/* CTA Button Desktop */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  margin-right: 10px;
  background: linear-gradient(135deg, #E6C3A0, #D4AA87, #C29470);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  box-shadow: 0 0.5px 2px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  color: #865E47;
}
.cta:hover {
  background: linear-gradient(135deg,#C29470, #865E47);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: #E6C3A0;
}

/* Mobile Hamburger */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 35px;
  height: 30px;
  cursor: pointer;
  z-index: 1000;
  display: none;
}
.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #865E47;
  border-radius: 2px;
  transition: 0.4s ease;
}
.menu-toggle span { top: 50%; transform: translateY(-50%); }
.menu-toggle::before { top: 0; }
.menu-toggle::after { bottom: 0; }
.menu-toggle.active span { background: transparent; }
.menu-toggle.active::before { top: 50%; transform: rotate(45deg); }
.menu-toggle.active::after { bottom: 50%; transform: rotate(-45deg); }

/* Mobile Menu Container */
.menu-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    font-family: 'Futura', sans-serif;
 font-weight: bold; 
  font-size: 1.5rem;
    transform: scaleX(0);
    transform-origin: left;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    letter-spacing: 2px;
    z-index: 1;
    overflow-y: auto;   

}
.menu-container.active {  transform: scaleX(1);
    opacity: 1; }
.menu-container nav {   width: 390px;           /* <<< Full screen width */
  max-width: 1200px;       /* <<< Full screen width */
  height: 100%;
  background: linear-gradient( to right,
  #D4AA87,#E6C3A0,#E6C3A0, #E6C3A099);
  box-shadow: 0px 0 6px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 999;
  padding-top: 1rem;
    display: flex;
    flex-direction: column;
    width: 390px;
    overflow-y: auto;
  -webkit-overflow-scrolling: touch; }
.menu-container nav a, 
.menu-container nav button {
    position: relative;
    color: #865E47;
    text-decoration: none;
    padding: 16px 20px;
    font-size: 16px;
    text-align: left;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
  .menu-container.active nav a,
  .menu-container.active nav button {
    opacity: 1;
    transform: translateX(0);
  }
nav ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0 0;
}

nav ul li {
  border-bottom: 0.5px solid #865E47;
  position: relative;
}

nav ul li .item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: #865E47;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  flex: 1;
}


  /* Left bookmark line on hover */
  nav a::before,
  nav button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: #E0E0E0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
  }
  nav a:hover::before,
  nav button:hover::before {
    transform: scaleY(1);
  }
  nav a:hover:not(.cta),
  nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: width 0.4s ease;
    z-index: 0;
  }

  /* disable for consultation button */
nav a:has(.language-mobile)::before {
  content: none !important;
}

.submenu { 
  max-height:0; 
  overflow:hidden; 
  transition:max-height 0.4s ease; }

  /* Optional: smooth scrollbar style */
.submenu::-webkit-scrollbar {
  width: 6px;
}
.submenu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.submenu::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.submenu a {  display: block;
  padding: 14px 20px 14px 40px;
font-family: 'Futura', sans-serif;
 font-weight: 500; 
  font-size: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15); }
.submenu.open {   max-height: 400px;
    background: linear-gradient( to right,
  #D4AA87,#D4AA8700);
}

/* Arrow indicator */
nav button::after {
  content: '▶';
  position: absolute;
  right: 50px;
  font-size: 20px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
}
nav button.open::after {
  transform: rotate(-90deg);
}

@media (min-width: 320px) and (max-width: 1024px) {
  /* Mobile Header Container */
.mobile-header {
   position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between; /* logo left, toggle right */
  align-items: flex-start;
  background: #E6C3A0;
 padding-top: 10px;
 padding-left: 40px;
 z-index: 999;
 box-shadow: 4px 0 8px rgba(0,0,0,0.4);
 cursor: pointer;
}
}

/* Hamburger Button */
.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Menu – hidden by default */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #E6C3A0;
  width: 100%;
  padding: 1rem;
}

/* Show menu when active */
.mobile-menu.active {
  display: flex;
}
  .mobile-logo {
    display: show;
  }

/* General button style */
#projects-button {
 font-family: "Futura", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  background: none;        
  color: #865E47;                  /* text color */
  
}

#projects-button::after { 
  content:'▶'; float:right; transition:0.3s; }
#projects-button.open::after { transform: rotate(90deg); }

/* Animated Buttons */
.animated-button { position: relative; display:inline-block; padding:0.75rem 1.5rem; margin-top:1rem; color:#E0E0E0; text-decoration:none; border:2px solid transparent; transition: color 0.3s ease; font-weight:medium; letter-spacing:2px; }
.animated-button::before { content:""; position:absolute; inset:0; border:2px solid #E6C3A0; transform: scaleX(0); transform-origin:left; transition: transform 0.3s ease; pointer-events:none; }
.animated-button:hover { color:#E6C3A0; }
.animated-button:hover::before { border-radius:50px; transform: scaleX(1); }

/* Responsive Breakpoints */
/* Mobile 390px - 1024px */
@media (max-width:1024px){
  .desktop-header{display:none;}
  .menu-toggle{display:block;}
  
}

/* Button Styling */
.animated-button {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  color: #E0E0E0;
  text-decoration: none;
  border: 2px solid transparent;
  transition: color 0.3s ease;
  font-family: Futura;
  font-weight: medium;
  letter-spacing: 2px;
}

/* Animated Border on Hover */
.animated-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #E6C3A0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  pointer-events: none;
}

/* Hover State */
.animated-button:hover {
  color: #E6C3A0;
}

.animated-button:hover::before {
  border-radius: 50px;
  transform: scaleX(1);
}



  /* Language Switcher */
.language-switcher {
  position: relative;
  display: inline-block;
}

/* The button */
.language-btn {
  background: none;
  border: 1px solid #C29470;   /* ✅ border */
  padding: 0.5rem 1rem;
  border-radius: 50px;
  cursor: pointer;
  color: #C29470;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.language-btn:hover {
  background: #C29470;
  color: #E6C3A0;
}

/* Dropdown menu */
.language-options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #E6C3A0;
  list-style: none !important;   /* ✅ kill bullets */
  padding: 0;
  margin: 5px 0 0 0;
  min-width: 120px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  border: 1px solid #C29470;     /* ✅ add border */
  z-index: 1000;
}

.language-switcher.active .language-options {
  display: block;
}

/* Dropdown items */
.language-options li {
  list-style: none !important;   /* ✅ double kill bullets */
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.language-options li:hover {
  background: #C29470;
  color: #E6C3A0;
}



div.language-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 1rem;
  padding-right: 20px;
  background: linear-gradient(135deg, #E6C3A0, #D4AA87, #C29470);
  border-radius: 50px;         /* Makes it fully rounded */
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 2px;
  font-weight: 700;
  width: 250px;
  box-shadow: 0 .5px 2px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
   color: #865E47;
}

div.language-mobile:hover {
  background: linear-gradient(135deg,#C29470, #865E47) !important ;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  color: #E6C3A0;
}

div.language-mobile::before {
  transform: scaleY(1);
  background: #fff;
}

@media (max-width: 1024px) {
  /* Mobile-specific CTA button */
  div.language-mobile {
    width: 70px;               /* full width on mobile */
    padding: .4rem .04rem;      /* adjust padding for smaller screens */
   padding-left: 15px;
   padding-right: 15px;
    margin-left: 20px;
    margin-top: 10px;
    font-size: 15px;           /* slightly smaller text */
    border-radius: 50px;       /* keep rounded */
    letter-spacing: 1px;       /* reduce spacing */
    border: 2px solid #C29470;  /* visible border */
    background: none;           /* no background */
    color: #C29470;         
  }

  div.language-mobile:hover {
    /* Optional: keep the same hover gradient or tweak */
    background: #865E47;           /* no background */
    color: #E6C3A0;
    box-shadow: 0 0.5px 2px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  }

  div.language-mobile::before {
    display: none;             /* remove pseudo-element if needed */
    content: none;
  }
}
