@font-face {
    font-family: 'Serenata Vantages Light';
    src: url('serenata_vantages/Serenata Vantages Light.ttf') format("truetype");
}

@font-face {
    font-family: 'Garden Of Heaven';
    src: url('garden_of_heaven/GardenOfHeaven.otf') format("opentype");
    font-weight: normal;
    font-style: normal;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Serenata Vantages Light', sans-serif;
}


@media (prefers-reduced-motion: no-preference){
    *{
        scroll-behavior: smooth;
    }
}

a{
    text-decoration: none;
}

/* scroll-animation */
.container{
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

section{
    height: 100vh;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Navbar base */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 97%;
    z-index: 999;
    background: linear-gradient(#6394bf, #6394bf3a);
    color: white;
    padding: 10px 20px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
 
  #welcome-section {
    padding-top: 60px;
  }
  
  #name1, #nav-bar {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  #name3 {
    color: white;
    text-decoration: none;
    font-size: 30px;
  }
  
  #nav-bar {
    display: flex;
    gap: 20px;
  }
  
  #nav-bar li a {
    color: white;
    text-decoration: none;
    font-size: 19px;
    font-weight: 550;
  }
  
  /* Botón hamburguesa agregado con CSS ::before (sin modificar HTML) */
  .nav::after {
    content: "☰";
    font-size: 28px;
    display: none;
    cursor: pointer;
    color: white;
    left: 80%;
  }
  
  /* Estilos responsive */
  @media (max-width: 860px) {
  
    #nav-bar {
      display: none;
      flex-direction: column;
      background-color: #6394bf;
      position: absolute;
      top: 60px;
      right: 10%;
      width: 200px;
      padding: 10px;
      border-radius: 10px;
    }
    #nav-bar.active {
      display: flex;
    }
  
    .nav::after {
      display: block;
      position: absolute;
      top: 10px;
      right: 20px;
    }

    #welcome-section {
        padding-top: 70px; /* o lo que mida tu navbar */
    }
  }

/* Page-1 */
#welcome-section{
    background-size: cover;
    background-position: center;
    background-repeat: repeat;
    background: linear-gradient(180deg, #6394bf 10%, #bbd8f2 80%);
}

.title{
    max-width: 860px;
    margin: 10%;
    font-size: 30px;
}

h1{
    font-family: 'Garden Of Heaven', sans-serif;
    font-size: 150px;
    margin-top: 15%;
    font-weight: lighter;
    text-shadow: 2px 2px 2px  rgb(59, 35, 0);
    color: #f5ea25;
}

p{
    font-size: 35px;
}

@media (max-width: 1000px) {
    .title{
        max-width: 300px;
        margin: 10%;
        font-size: 20px;
    }

    h1{
        font-family: 'Garden Of Heaven', sans-serif;
        font-size: 80px;
        margin-top: 15%;
        font-weight: lighter;
        text-shadow: 2px 2px 2px  rgb(59, 35, 0);
        color: #f5ea25;
    }
}

/* Page-2 */
#Page-2{
    background: linear-gradient(180deg, #bbd8f2 80%, #6394bf);
    background-size: cover;
}

section {
    display: flex;
    gap: 20px;
}

.box {
    position: relative;
    width: 400px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.box:hover {
    transform: scale(1.1);
}
.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.text {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.text p {
    opacity: 0;
    transition: opacity 0.3s ease;
}
.box:hover .text p {
    opacity: 1;
}

@media (max-width: 860px){
    #Page-2{
        display: block;
        padding-top: 90px;
    }
    .box {
        margin: 0px auto 20px;
        width: 80%; /* ajusta esto como prefieras */
        max-width: 400px;
        height: 40%;
    }

    .text p {
        opacity: 1 !important;
        font-size: 15px;
      }
}

/* Page-3 */
#Page-3{
    background: linear-gradient(180deg,#6394bf 60%, #cdc4cc);
    background-size: cover;
    display: flex; flex-direction: column; align-items: center;
    gap: 0;
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.Works {
    max-width: 860px;
    height: 150px; /* Fija la altura para que no cambie */
    margin: 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow: hidden; /* Evita que el contenido sobresalga durante la transición */
    position: relative;
    background: radial-gradient(#e3dae2 80%, #cdc4cc);
}

.content {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.Works p {
    font-size: 20px;
    color: black;
    text-align: justify;
    margin-left: 20px;
    flex: 1;
    transition: opacity 0.5s ease-in-out;
    font-weight: 100;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

.Works img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

#next-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: yellow;
}

/* Ocultar contenido temporalmente en la transición */
.hidden {
    opacity: 0;
    transform: translateX(20px);
}

.titulo p{
    font-size:25px;
    max-width: 900px;
    text-align: left;
    margin-bottom: 25px;
    font-weight: bold;
}

#grande{
    font-size: 30px;
    color: yellow;
    text-shadow: 1px 1px 1px  rgb(59, 35, 0);
    margin: 0px;
}

#pagination {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.dot.active {
    background-color: white;
    transform: scale(1.3);
}


@media (max-width: 860px){
    .titulo{
        margin: 10px 30px 1px;
    }
    #grande{
          font-size: 22px;
    }
    .titulo>p{
        font-size: 18px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    #text-content{
        font-size: 15px;
    }

    #image-content{
        opacity: 0;
        position: fixed;
    }

}


/* Page-4 */
/* Estilo general de la sección */
#Page-4 {
    background: linear-gradient(145deg, #cdc4cc 60%, #6394bf);
    background-size: cover;
    padding: 50px 20px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Mueve los elementos hacia arriba */
    min-height: 100vh;
    padding-top: 20px; /* Podés ajustar este valor */
    font-weight: bold;
}

/* Título principal */
#pipo {
    font-family: 'Garden Of Heaven', sans-serif;
    font-size: 80px;
    font-weight: lighter;
    text-shadow: 3px 3px 5px rgba(59, 35, 0, 0.5);
    color: #f5ea25;
    margin-bottom: 10px;
    text-align: center;
    width: auto;
}


.titulin{
    max-width: 860px;
    width: 100%;
    text-align: center;
    margin-top: -50px;
}

/* Estilo para el subtítulo h2 */
#Page-4 h2 {
    font-size: 26px;
    color: black;
    text-align: left;
    margin: 10px 0;
    line-height: 1.4;
}

@media (max-width: 860px){
    #Page-4 {
        background: linear-gradient(#cdc4cc 6%, #6394bf, #cdc4cc 60%, #6394bf)
    
    }
    
    #pipo {
        font-size: 40px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
        padding-top: 70px;
    }

    #Page-4 h2 {
    font-size: 18px;
    max-width: 900px;
    text-align: left;
    margin-left: 10px;
    font-weight: bold;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
}

/* Caja desplegable */
#toggle-box {
    background: radial-gradient(#e3dae2 80%, #cdc4cc);
    color: #333;
    border-radius: 5px;
    padding: 15px;
    padding-left: 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    margin-top: 20px;
}

/* Estilo para la lista dentro del desplegable */
#toggle-box-content {
    display: none;
    margin-top: 15px;
    font-size: 16px;
    background:#add7fc ;
    padding: 15px;
    border-radius: 5px;
    color: #000000;
    max-height: 300px;
    text-align: left;
}

#toggle-box-content ul {
    list-style-type: none;
    padding: 0;
}

#toggle-box-content li {
    margin: 10px 0;
}

#toggle-box-content li::before {
    content: "🌸 "; /* Emoji antes de cada ítem */
}

/* Estilo para el botón */
.instagram-btn {
    background-color: #6394bf;
    color: black;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
    margin-top: 15px;
}

.instagram-btn:hover {
    background-color: yellow;
}

@media (max-width: 860px){
    .instagram-btn {
     background-color: yellow;
     font-weight: bold;
 }
}

/*Page-5*/

#footer {
    background: #5081ac;
    color: white;
    padding: 20px;
    text-align: center;
    height: 50vh;
    scroll-snap-align: end;
    display: flex;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items:flex-end;
    margin-bottom: 10px;
    margin-left: 50px;
    margin-top: 80px;
}

.footer-logo img {
    max-width: 80px;
    margin-bottom: 5px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    gap: 100px;
}

.footer-column {
    flex: 1;
    text-align: left;
    padding: 10px;
}

.social {
    flex: 2;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 5px 0;
}

.footer-column a:hover {
    color: #e56c2d;
}

.footer-column i {
    margin-right: 5px;
}

@media (max-width: 860px){
    #footer {
    display: block;
    }
}