@font-face {
    font-family: 'valentine-cute';
    src: url('/fonts/Valentine Cute.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lemon-milk';
    src: url('/fonts/LEMONMILK-Light.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'beaming';
    src: url('/fonts/Beaming.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'vortigra';
    src: url('/fonts/Vortigra.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

* {
  cursor: url('/img/cursor.png') 0 0, auto !important;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: linear-gradient(-45deg, #d291bc, #f3c6e0, #f9a1bc, #c38edb);
    background-size: 2000% 2000%;
    animation: romanticGradient 8s ease-in-out infinite;
    color: #333;
    user-select: none;
    cursor: url('/img/cursor.png'), auto;
}

.article{
  margin-top:4rem!important;
}

@keyframes romanticGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title {
    font-size: 2.5rem;
    color: #b30059;
    font-family: 'lemon-milk', sans-serif;
    margin-top: 2.5rem!important;
}

.main{
  margin-top: 5rem;
  border-radius: 0.9375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(180, 50, 100, 0.2);
  margin-bottom: 5rem;
}

.subtitles {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-top: 5rem;
    color: #b30059;
    font-family: 'vortigra', sans-serif;
}

header {
    padding: 0.625rem; /* 10px */
}

.logo {
    height: 3.4375rem; /* 55px */
    transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
    filter: drop-shadow(0.125rem 0.25rem 0.375rem rgba(0, 0, 0, 0.2));
    transform: scale(1.1);
}

.nav-buttons {
    padding-right: 5rem;
}

.nav-buttons a {
    display: inline-block;
    margin: 0 1rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #ff758c, #eb6ca1);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 1.5625rem; /* 25px */
    box-shadow: 0 0.25rem 0.4375rem rgba(255, 92, 145, 0.3); /* 4px 7px */
    transition: background 0.4s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    user-select: none;
    letter-spacing: 0.03em;
    font-family: 'lemon-milk', sans-serif;
}

.nav-buttons a:hover {
    background: linear-gradient(135deg, #e6005c, #ff1a75);
    box-shadow: 0 0.5rem 1.25rem rgba(230, 0, 92, 0.3); /* 8px 20px */
    transform: scale(1.08);
}

.gallery-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    transition: box-shadow 0.3s ease;
}

.gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    border-radius: 1rem;
}

.gallery-img:hover {
    overflow: visible;
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.gallery-img:hover img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: 150%;    /* Ajusta cuánto quieres que crezca */
    max-height: 150%;   /* Igual aquí */
    transform: translate(-50%, -50%);
    object-fit: contain;
    border-radius: 1rem;
}

/* MEDIA QUERIES - TABLET */
@media (max-width: 900px) {

  .title {
    font-size: 3rem;
  }

  .subtitles {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .logo {
    height: 45px;
  }
}

/* MEDIA QUERIES - MÓVIL */
@media (max-width: 767px) {

  .main{
    margin-top: 1rem;
    width:90%;
  }

  .nav-buttons {
        display: none !important;
    }

    .mobile-nav.show {
        display: flex;
    }

  .nav-buttons a {
      display: inline-block;
      padding: 2%;
      font-size: 44%;
  }

  .modal-dialog{
    margin:1rem;
  }

  .fs-5{
    font-size: 1rem!important;
  }

  .title {
    font-size: 1.5rem;
  }

  .logo {
    height: 2.5rem;
  }
}


/* Estilo del botón hamburguesa */
.hamburger-btn {
    position: absolute;
    top: 1.2rem;
    right: 1rem;
    z-index: 1001;
    font-size: 2rem;
    background: none;
    border: none;
    color: #b30059;
    cursor: pointer;
}

/* Menú móvil oculto por defecto */
.mobile-nav {
    display: none;
    position: absolute;
    top: 4.5rem; /* debajo del botón */
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    flex-direction: column;
    padding: 1rem;
    z-index: 1000;
}

.mobile-nav a {
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ff758c, #eb6ca1);
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    text-align: center;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-family: 'lemon-milk', sans-serif;
}

.mobile-nav a:hover {
    background: linear-gradient(135deg, #e6005c, #ff1a75);
}