/* Importamos tipografías elegantes */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Playfair+Display:wght@400;700&display=swap');

/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body y contenedor principal */
body, html {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f3f3;
    font-family: 'Dancing Script', cursive;
}

/* Contenedor del teléfono */
.content_phone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.phone {
    width: 380px;
    height: 780px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('https://babyshower.intiexpeditions.com/descarga.jpeg') no-repeat center center;
    background-size: cover;
}

/* Overlay con degradado para resaltar el texto */
.phone::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
}
.phone::before,
.phone::after {
  pointer-events: none;
}
/* Overlay de brillos mágicos */
.phone::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 2;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Contenedor de texto */
.content_info {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    padding: 0 40px;
    width: 100%;
}

/* Estilo de títulos */
.title {
    font-size: 42px;
    color: #b57c8f;
    font-weight: 900;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.1);
    transform: translateY(20px);
    transition: all 0.8s ease;
}

/* Clase para mostrar el texto con animación */
.title.show {
    opacity: 1;
    transform: translateY(0);
}

/* Swiper */
.swiper-slide {
    height: 100vh !important;
}

/* Títulos específicos */
.title2{
    position: absolute;
    text-align: center;
    right: 0;
    width: 210px;
    font-weight: 600;
    top: -93px;
    font-size: 45px;
}

.title3{
        position: absolute;
    bottom: 0;
    left: 32px;
    width: 150px;
    font-weight: 600;
    transform: translate(0%, 85%);
    font-size: 45px;
}

.texts-slide4 {
  text-align: center;
  margin-top: 20rem;
}

.title-highlight {
    font-size: 40px;
    color: #5a3e4c;
}

/* Animación para imágenes flotantes */
.animated-image {
    width: 150px;
    animation: floatRotate 4s infinite ease-in-out;
}

@keyframes floatRotate {
    0% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
    25% { transform: translateY(-10px) rotate(2deg); opacity: 1; }
    50% { transform: translateY(-15px) rotate(-2deg); opacity: 0.95; }
    75% { transform: translateY(-10px) rotate(2deg); opacity: 1; }
    100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
}

/* Slides de eventos */
.event-info {
    text-align: center;
    margin-top: 3rem;
    color: #5a3e4c;
}

.event-info p {
    font-size: 22px;
    margin: 0.5rem 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.event-info p.show {
    opacity: 1;
    transform: translateY(0);
}

/* Botón confirmación */
.buttons-event {
    opacity: 0;
    text-align: center;
    margin-top: 20px;
}

.buttons-event a {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ff69b4, #ff85c1);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    font-family: monospace;
    letter-spacing: 0;
    font-size: 13px;
    display: inline-block;
}

.buttons-event.show a {
    transform: scale(1);
    opacity: 1;
}

.buttons-event a:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Slides de agradecimiento */
.texts-slide5 { 
    margin-top: 22rem; 
}
.floating-heart, .floating-star {
    position: absolute;
    width: 40px;
    opacity: 0.6;
    animation: floatRotate 5s ease-in-out infinite;
}
p#typed13{
    font-size: 30px;
}
p#typed14 {
    letter-spacing: 3px;
    color: #888;
    margin-bottom: 0;
    font-family: monospace;
    font-size: 12px;
}
p#typed15 {
    font-size: 28PX;
    color: #d7a1b0;
    margin: 0;
    margin-top: -10px;
    margin-bottom: -10px;
}
p#typed20 {
    font-family: monospace;
    font-size: 12px;
    margin: 0;
    color: #888;
}
p#typed16 {
    margin-top: 12px;
    font-size: 21px;
    color: #777;
}
.confirm-text {
  font-size: 16px;
  color: #444;
  margin-bottom: 25px;
  font-weight: 500;
  text-align: center;
}

.note-text {
  font-size: 12px;
  color: #888;
  margin-top: 30px;
  text-align: center;
  font-style: italic;
}