* { 
  box-sizing: border-box; 
}
html, body { 
  margin: 0; 
  padding: 0; 
}

ul { 
  list-style: none; 
  margin: 0; 
  padding: 0; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

body { 
  font-family: 'Inter'; 
  color: #222; 
  background: #fff; 
}

.logo img {   
  height: 270px;
  display: block;
}

.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;
}

.menu { 
  display: flex; 
  align-items: center; 
  gap: 22px; 
}

.menu > li { 
  position: relative; 
}

.menu > li > a { 
  font-size: 14px; 
  letter-spacing: -0.5px;  
  color: #000; 
  padding: 6px 2px; 
}

.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;
}

/*FIN DE MENU*/

/*POLAROIDS GALERIA*/

.polaroids-gallery {
  padding: 60px 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.grid img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.grid img:hover {
  transform: scale(1.04);
  opacity: 0.9;
}



.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.98);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}
.modal.closing {
  animation: fadeOut 0.4s ease forwards;
}
.modal-content img {
  max-width: 600px;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
  animation: zoomIn 0.4s ease;
}

.modal-content img,
#modalImg {
  max-width: 85vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal p {
  margin-top: 20px;
  font-weight: ligth;
  text-align: center;
  letter-spacing: 0.5px;
}

.modal-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.modal-nav button {
  background: none;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  padding: 6px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.nav-buttons button {
  background: none;
  border: none;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.3s ease;
}


.modal-nav button:hover {
  background: #000;
  color: #fff;
}

.nav-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.nav-btn {
  background: none;
  border: none;
  outline: none;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  padding: 6px 8px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-btn:hover {
  background: #000;
  color: #fff;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .nav-buttons,
  .modal-nav {
    display: none !important;
  }
}





.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 36px;
  cursor: pointer;
}

@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);} }

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
}




/*ABOUT-EXPLORE*/

.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; 
}

/*ABOUT-EXPLORE*/


@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); }
}

.fade-in{
  opacity: 1;
  transition: opacity 0.1s ease-in;
}

.fade-out{
  opacity: 1;
  transition: opacity 0.1s ease-out;
}


/* 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; 
  }
}



/* STAND MOBILE (max 767px) */
@media (max-width: 767px) {

  .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;
  }
}

  .modal-content img {
    width: 90%;
    max-width: 360px;
    height: auto;
    border-radius: 8px;
  }

 .modal-content img,
  #modalImg {
    width: 95vw;
    height: auto;
    max-height: 80vh;
    margin: 0 auto;
    display: block;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
  }

  .modal p {
    font-size: 13px;
    margin-top: 12px;
  }

  .modal-nav {
    display: none;
  }


  .modal img {
    max-width: 90vw;
    max-height: 70vh;
    object-fit: contain;
  }

  .close {
    display: block !important;
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 36px;
    color: #000;
    cursor: pointer;
    z-index: 10000;

  }

/*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;
  }

}