@charset "utf-8";
/* CSS Document */

html {
  font-family: "Arial Narrow", Arial, sans-serif;
  background-color: #000;
  overflow-x: hidden;
}

body {
  font-size: 1.25rem; 
  margin: 0;
  padding: 0;
  height: 100vh;
  background-image: url('../images/hero.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  height: 100vh;
}

.container {
  display: grid;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: #00000030;
}

.item {
  padding: 20px;
  text-align: center;
}

.item2 {
  font-size: 1.5rem;
  color: #ffffff;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 3rem;
}

span {
  color: white;
}

.icons {
    justify-content: center;
}

.icons img {
  max-width: 2rem;
  padding: 0 0.25rem;
}

img {
  max-width: 80%;
}

.item5 {
  grid-area: item5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
  position: static;
  margin: 0;
  padding: 0;
}

.item4 {
  color: #fff;
  text-align: left;
  flex-direction: column;
}

.item4 span {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.5rem;
}

.orange {
    color: rgb(215,176,121);
}

/* Centered big links in item4 */
.centered-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 2rem;
}
.big-link {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  letter-spacing: 0.2em;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  background: rgba(0,0,0,0.5);
  border-radius: 1.5rem;
  padding: 1rem 3rem;
  margin: 0.5rem 0;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
.big-link:hover {
  background: rgba(255,255,255,0.15);
  color: rgb(215,176,121);
  transform: scale(1.05);
}

/* Modal styles */
.custom-modal {
  display: none;
  position: fixed;
  z-index: 1004;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
}
.custom-modal.active {
  display: flex;
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: rgba(20,20,20,0.95);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  max-width: 600px;
  width: 90vw;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  position: relative;
  font-size: 1.5rem;
  overflow-y: auto;
  max-height: 80vh;
}
.modal-content h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  letter-spacing: 0.1em;
}
.close-modal {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-size: 2.5rem;
  color: rgb(215,176,121);
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.close-modal:hover {
  color: #fff;
}

.lang-btn {
    background:none; 
    border:none; 
    cursor:pointer;
    color: #fff;
    font-size: 1.25rem;
}

/* Language toggle styles */
.lang-toggle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.lang-btn {
  font-weight: bold;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
  transition: color 0.2s;
}
.lang-btn:focus {
  outline: none;
}
.lang-btn.active {
  color: rgb(215,176,121);
}
.lang-slash {
  color: #fff;
  font-size: 1.1rem;
  font-weight: normal;
  padding: 0 4px;
}

/* Hamburger menu styles */

.hamburger {
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1002;
  margin-left: auto;
  margin-right: 0;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
/* Dropdown menu styles */
.dropdown-menu {
  position: absolute;
  top: 58px;
  right: auto;
  background: #222;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  min-width: 180px;
  max-width: 320px;
  width: 100%;
  padding: 12px 0 8px 0;
  z-index: 1003;
  display: none;
}
.dropdown-menu .nav-btn,
.dropdown-menu a.nav-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  text-align: left;
  font-size: 1rem;
  padding: 8px 20px;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.dropdown-menu .nav-btn:hover,
.dropdown-menu a.nav-btn:hover {
  background: #333;
  color: #e67e22;
}
.dropdown-menu .lang-toggle {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding-left: 20px;
}
.dropdown-menu .lang-btn {
  color: #fff;
  background: none;
  border: none;
  font-size: 0.95rem;
  padding: 0 2px;
  cursor: pointer;
  font-weight: normal;
}
.dropdown-menu .lang-btn.active {
  color: #e67e22;
}
.dropdown-menu .lang-slash {
  color: #fff;
  font-size: 0.95rem;
  font-weight: normal;
  padding: 0 2px;
}

/* Navigation overlay styles */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1001;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.nav-content {
  background: #fff;
  padding: 32px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 240px;
}
.nav-content .big-link {
  font-size: 1.3em;
  margin: 16px 0;
  text-decoration: none;
  color: #222;
  font-family: 'Cinzel', serif;
  transition: color 0.2s;
}
.nav-content .big-link:hover {
  color: #e67e22;
}
.nav-content .lang-toggle {
  margin-top: 16px;
}

@media (min-width: 900px) {
  .nav-content {
    min-width: 320px;
    padding: 48px 40px;
  }
  .hamburger {
    width: 40px;
    height: 40px;
  }
  .hamburger span {
    width: 36px;
    height: 5px;
  }
}

@media (min-width: 768px) {
  .container {
    display: grid;
    grid-template-areas:
      "item1 item2 item3 item6"
      ".     item4 .    .   "
      "item5 item5 item5 item5";
    grid-template-columns: auto 1fr auto auto;
    grid-template-rows: auto 1fr auto;
    height: 100vh;
    align-items: start;
  }
  .item1 { grid-area: item1; text-align: left; }
  .item2 { grid-area: item2; }
  .item3 { grid-area: item3; text-align: right; }
  .item4 { grid-area: item4; }
  .item5 { grid-area: item5; }
  .item6 { grid-area: item6; position: relative; }

  .item1 {
    grid-area: item1;
    text-align: left;
  }

  .item2 {
    grid-area: item2;
  }

  .item3 {
  grid-area: item3;
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  }

  .item4 {
    grid-area: item4;
    color: #fff;
    text-align: left;
    flex-direction: column;
    overflow: auto; /* Enable scrolling */
    height: 100%; /* Fill available space */
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .item4 img {
    max-width: 529px;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .container {
    background: #00000030;
        display: grid;
        grid-template-areas:
        "item1 item6"
        "item2 item2"
        "item5 item5"
        "item3 item3";
        height: 100vh;
        align-content: stretch;
        justify-items: center;
        align-items: start;
  }
    .item1 { grid-area: item1 / item1 / item1 / span 2; display: flex; align-items: center; justify-content: center; width: 100%; }
  .item2 { grid-area: item2; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; letter-spacing: 0.5em; }
  .item3 { grid-area: item3; display: flex; align-items: center; justify-content: center; margin-bottom: 5rem; }
  .item5 { grid-area: item5; display: flex; align-items: flex-end; justify-content: center; }
  .item4 { display: none; }
  .avail-en, .avail-es { width: 100%; text-align: center; font-size: 1.2rem; letter-spacing: 0.3em; }
  .icons img { max-width: 2.2rem; }
    .item6 { grid-area: item6; display: flex; align-items: center; justify-content: flex-end; width: 100%; margin-right: 1rem; position: relative; padding: 20px 0 20px; }

  .item2 {
    font-size: 0.9rem;
    margin: 0 auto;
    padding: 0;
    letter-spacing: 2rem;
  }

  .item1,
  .item4 {
    flex-shrink: 0;
  }

  .item2,
  .item3 {
    flex-shrink: 0;
    margin-top: auto; /* Pushes item2 and item3 to the bottom */
  }

  .item4 {
    flex-grow: 1; /* Allows item4 to take up remaining space and be centered */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .names-bottom img {
    width: auto;
  }
}
