/*MENU*/
* { box-sizing: border-box; 
    margin: 0; 
    padding: 0; }

body {
  font-family: 'Inter';
  color: #000;
  background: #fff;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  backdrop-filter: blur(12px) saturate(180%);

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  height: 80px;
}

.logo img { 
    height: 270px; 
}

.menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.menu > li { 
  position: relative; 
}

.menu > li > a { 
  font-size: 14px; 
  letter-spacing: -0.5px; 
  color: #333; 
  padding: 6px 2px; 
}

.menu a { 
    text-decoration: none; 
    color: #000; 
}

.menu > li > a:hover { 
    color: #c10c0c; 
}

/*SUBMENU USER */
#userIconContainer {
  width: 32px;
  height: 32px;
  visibility: hidden;
}

#userIconContainer img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
}

body.user-logged #userIconContainer {
  visibility: visible; 
}

body.user-logged .login {
  display: none; 
}

.user-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 45px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  border-radius: 8px;
  display: none;
  flex-direction: column;
  min-width: 150px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.user-dropdown.visible {
  display: flex;
}

.user-dropdown a {
  padding: 10px 14px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.user-dropdown a:hover {
  background: rgba(0,0,0,0.06);
}

/*CELULAR PROFILE */
@media (max-width: 768px) {

  #userIconContainer {
    position: relative;
  }

  .user-dropdown {
    position: fixed;
    top: 150px !important;
    right: 12px !important;
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    max-width: 90vw;  
    padding: 18px 20px;
    border-radius: 10px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    text-align: center;
    width: 240px;
  }

  .user-dropdown a {
    font-size: 15px;
    padding: 10px 0;
    display: block;
  }
}

/*SUBMENU USER */

.has-sub > a::after { 
    content: " ▾"; 
    font-size: 12px; 
}

.submenu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 200px;
  border-radius: 10px;
  padding: 8px 0;
  list-style: none;
  display: none;
  z-index: 999;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.submenu a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  letter-spacing: -0.3px;
  color: #000;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.submenu a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.has-sub:hover > .submenu {
  display: block;
}

.navbar.scrolled .submenu {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .submenu a {
  color: #000;
  text-shadow: none;
}

.navbar.scrolled .submenu a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
}


/*MENU*/

/* GALERÍA NATURE */
.nature-gallery {
  padding: 80px 40px;
  background: #fff;
  max-width: 1400px;
  margin: 0 auto;
}

.nature-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.nature-grid img {
  width: 100%;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nature-grid img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

.nature-grid .wide-image {
  width: 100%;
  border-radius: 6px;
  margin-top: 20px;
}

.nature-grid img:hover {
  transform: scale(1.02);
  opacity: 0.9;
}


.nature-grid img {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.nature-grid img.loaded {
  opacity: 1;
  transform: translateY(0);
}


/* RESPONSIVE */
@media (max-width: 1024px) {
  .nature-gallery {
    padding: 60px 30px;
  }

    .nature-grid img { 
    border-radius: 4px; 
  }
}

@media (max-width: 767px) {
  .nature-gallery {
    padding: 50px 20px;
  }

  .nature-grid img { 
    border-radius: 4px; 
  }
}

/*PIE DE PAGINA*/

.about-explore{ 
  background:#fff; 
  padding: 80px 40px 100px; 
}

.ae-grid{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;  
  column-gap: 80px;
  align-items:start;
  max-width: 1400px;
  margin: 0 auto;
}

.ae-title{
  margin:0 0 16px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -2px;
}

.ae-copy p{
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  color:#000;
  text-align: justify;
}

.ae-credits{
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.ae-credits li{
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.25;
  letter-spacing: -0.9px;
  color:#111;
}
.ae-credits li strong{
  font-weight: 500;
}

.ae-explore{
  margin: 0 0 12px;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -3px;
}

.ae-links{
  list-style:none; 
  margin: 0 0 24px; 
  padding:0;
}
.ae-links li{ 
  margin: 6px 0; 
}

.ae-links a{
  color:#111; 
  text-decoration:none; 
  font-size:14px; 
  font-weight:500;
  line-height: 3px; 
  letter-spacing:-0.9px;
}

.ae-links a:hover{ 
  text-decoration: underline; 
}

.ae-badge{
  margin: 18px 0 16px;
  width: 280px;                
  height: 80px;
}
.ae-badge img{
  width: 100%; 
  height: 100%; 
  object-fit: contain; 
  display:block;
}

.ae-brand{
  margin: 8px 0 12px;
  font-size: 14px; 
  font-weight: 500; 
  letter-spacing: -0.9px;
}

.ae-legal{
  margin: 0 0 22px;
  font-size: 14px; 
  line-height:1.3; 
  color:#111;
  letter-spacing: -0.9px;
}

.ae-address{
  margin: 0 0 28px;
  font-size: 14px; 
  line-height:1.6px; 
  color:#111;letter-spacing: -0.9px;
}

.ae-mark{
  width: 360px; height: 18px;
  background:#111;
  margin-left: auto;   
}

.ae-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  column-gap: 80px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}
.ae-address p { 
    margin: 6px 0; 
    line-height: 1.2; 
}

/*PIE DE PAGINA*/


/*RESPONSIVES*/

@media (max-width: 1024px) {
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .logo-grid { grid-template-columns: 1fr; }
  .ae-grid { grid-template-columns: 1fr; gap: 40px; }
  .logo-modal img { max-width: 85%; }
}

@keyframes zoomIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.9); }
}


/* TABLET (768px - 1024px) */
@media (max-width: 1024px) {
  .navbar { padding: 10px 20px; }
  .menu { gap: 10px; }
}

@media (max-width: 1024px) {
  .submenu { 
    display: none; 
  } 
  .has-sub.active > .submenu { 
    display: block; 
  }
}

@media (max-width: 1024px) {
  .nature-grid {
    grid-template-columns: 1fr; 
  }
}


/* STAND MOBILE (max 767px) */
@media (max-width: 767px) {
  .navbar {
    flex-direction: column;
    height: auto;
  }

  .logo img {
    height: 160px;
  }

  .menu {
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
  }

  .menu li a {
    font-size: 13px;
  }

  @media (max-width: 767px) {
  .nature-gallery {
    padding: 60px 20px;
  }

  .nature-grid img {
    border-radius: 4px;
  }
}

  /*AE TABLET - CELULAR*/

  .ae-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ae-title {
    font-size: 24px;
  }

  .ae-explore {
    font-size: 26px;
    text-align: center;
  }

  .ae-links a {
    font-size: 13px;
  }

  .ae-badge {
    width: 200px;
    height: 60px;
    margin: 0 auto;
  }

  .ae-mark {
    width: 100%;
    height: 12px;
  }
}

/*BURGER COMPLETO*/
.burger {
  display: none;
  position: absolute;
  right: 20px;
  top: 28px;
}

.burger span {
  height: 3px;
  width: 100%;
  background: #000;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

@media (max-width: 768px) {

  .navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    padding: 0 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(18px) saturate(160%);
    z-index: 2000;
  }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    position: absolute;
    left: 16px;
    top: 26px;
    z-index: 3000;
    cursor: pointer;
  }

  .burger span {
    height: 3px;
    background: #000;
    border-radius: 50px;
    transition: 0.3s ease;
  }

  .burger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
  .burger.active span:nth-child(2) { opacity: 0; }
  .burger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

  .logo img {
    height: 130px;
    position: absolute;
    left: 50%;
    top: -30px;
    transform: translateX(-50%);
    z-index: 1000;
  }

  #userIconContainer {
    visibility: hidden;
    position: absolute;
    list-style: none;
    right: 16px;
    top: 18px;
    z-index: 3000;
  }

  body.user-logged #userIconContainer {
    visibility: visible !important;
  }

  .menu {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    padding-top: 100px;
    background: rgba(32, 31, 31, 0.45);
    backdrop-filter: blur(12px) saturate(180%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1500;
  }

  .menu.active {
    opacity: 1;
    pointer-events: auto;
  }

  .menu li a {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
  }

  .submenu {
    display: none !important;
    flex-direction: column;
    gap: 10px;
  }

  .has-sub.active > .submenu {
    display: flex !important;
  }
}