@import url('variables.css');


/*#####################################*/
/* ########## BUTTONS ########## */
/*#####################################*/
.button-wrapper {
    display: block;
  }
  
  .content-block {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 1.5rem;
    width: fit-content;
    margin: auto;
  }
  
  .btn-primary {
    background-color: var(--vert-olive);
    color: var(--white);
    padding: 16px 80px;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
  }
  
  .btn-primary:hover {
    opacity: 0.9;
  }
  
  .btn-section {
    background-color: var(--vert-olive);
    color: var(--white);
    padding: 12px 30px;
    width: fit-content;
  }
  
  .btn-section:hover {
    background-color: white;
    color: var(--color-text);
  }
  
  .btn-contact {
    background-color: var(--beige);
    color: var(--black);
    padding: 12px 30px;
    width: fit-content;
  }
  
  .btn-contact:hover {
    background-color: white;
    color: var(--color-text);
  }

/*#####################################*/
/* ########## ICONS ########## */
/*#####################################*/
.icon-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    height: 200px;
    width: 200px;
  }
  
  .icon-arch, .icon-cactus, .icon-cactus-2, .icon-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .icon-arch img, .icon-cactus img, .icon-cactus-2 img, .icon-profile img {
    height: 200px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }


  .icon-container {
    margin-bottom: 20px;
  }
  
  .icon-container svg {
    width: 100%;
    height: 100%;
    color: white;
  }
  

/*#####################################*/
/* ########## FOOTER ########## */
/*#####################################*/
.footer {
    padding: 40px 0;
    background-color: var(--beige);
  }
  
  .footer-heading {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
  }
  
  .footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 480px;
  }
  
  .footer-input {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0,0,0,0.5);
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    outline: none;
    width: 100%;
  }
  
  .footer-input::placeholder {
    color: var(--color-text);
  }
  
  .footer-button {
    background-color: var(--vert-olive);
    color: white;
    padding: 0.75rem 2rem;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
  }
  
  .footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem;
    margin-top: 0.5rem;
  }
  
  
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.1);
  }
  
  .footer-legal {
    display: flex;
    gap: 2rem;
  }
  
  .footer-legal-link, .footer-social-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
  }
  
  .footer-phone {
    font-size: 0.9rem;
  }
  
  .footer-copyright p {
    margin: 0;
  }
  

/*#####################################*/
/* ############## NAVBAR ############## */
/*#####################################*/


.fade-navbar {
  transition: opacity 0.3s ease;
  width: 100%;
}

.navbar {
  width: 100%;
  padding: 15px 0;

  @media (max-width: 768px) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--blanc-casse);
    z-index: 100;
  }
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo h3 {
  margin: 0;
  color: var(--black);
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.navbar-links {
  display: flex;
  gap :80px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-links li {
  margin-left: 30px;
}

.navbar-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 200;
  transition: color 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.navbar-link:hover {
  color: var(--vert);
}

/* Mobile menu styles */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--beige-dark);
  border-radius: 3px;
  opacity: 1;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-nav {
    position: fixed;
    height: 99vh;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--blanc-casse);
    padding: 20px;
    border-bottom: 1px solid var(--beige-dark);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav .navbar-links {
    flex-direction: column;
    align-items: center;
  }
  
  .mobile-nav .navbar-links li {
    margin: 15px 0;
  }
}
