* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Georgia';
}

/* Full-screen background section */
.hero {
  background-image: url('./fotos/hero.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flex-container{
    display: flex;
    flex-direction: row;
    width: 70vw;
    justify-self: center;
    gap: 3vw;
    padding: 10vh 0 10vh 0;
}

.photo{
    max-width: 30vw;
    height:auto;
}


/* Transparent navbar */
nav {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

/* Logo */
.logo {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Desktop menu */
.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffcc00;
}

/* Centered phrase */
.center-text {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
}

/* Hamburger menu icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    flex-direction: column;
    width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .flex-container {
    flex-direction: column; /* vertical layout on smaller screens */
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  /* Animated hamburger -> X */
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}
