:root{
    --bg-pink: #F8C8DC;
    --text-red: #D81B60; 
    --dark-blue: #263238;  
    --white: #FFFFFF;
}


body{
    margin: 0;
    padding: 0;
    background-color: var(--bg-pink);
    font-family: 'Poppins', sans-serif;
    color: var(--text-red);
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    display: flex;
}

.main-container{
    display: flex;
    width: 100%;
    height: 100%;
}

.sidebar{
    width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgba(216, 27, 96, 0.1);
    z-index: 1000;
    background-color: var(--bg-pink);
}

.pager{
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: 15px
}


.numbers{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-red);
}

.numbers span{
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s, font-size 0.3s;
}

.numbers span.active{
    opacity: 1;
    font-size: 1.3rem;
}

.arrow{
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.7;
    color: var(--text-red)
}

.content{
    flex: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.pinguin{
    width: 300px;
    justify-content: right;
}

.page1-wrapper{
    display: flex;
    align-items: center;
    gap: 0px;
    max-width: 1200px;
    width: 100%;
}

.text-group{
    flex: 1;
    text-align: left;
}

.text-group h1{
    font-size: 4rem;
    line-height: 1.1;
    margin: 0;
    font-weight: bold;
}

.text-group p {
    font-family: 'Poppins', sans-serif; 
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-red);
    opacity: 0.8;
    margin-top: 20px; 
    max-width: 500px; 
    font-style: italic; 
    position: relative;
    padding-left: 15px;
    border-left: 3px solid rgba(216, 27, 96, 0.3); 
}

.illustration-group{
    position: absolute; 
    top: 50%;
    right: 10%; 
    transform: translateY(-50%); 
    width: 400px; 
    height: 300px; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.cake-image {
    width: 550px; 
    height: auto;
    z-index: 10;
}

.balloon{
    position: absolute;
    width: 100px;
    z-index: 5;
}

.b1{ top: -50%; left: 1%; }
.b2{ top: -75%; left: 35%; }
.b3{ top: -55%; left: 75%; }

.dark-floor {
    position: absolute;
    bottom: 0;
    left: 0; 
    width: 100%;
    height: 20vh; 
    background-color: var(--dark-blue);
    border-top-left-radius: 50% 100%; 
    z-index: 1;
}

.scroller-container {
    flex: 1; 
    width: calc(100vw - 80px);
    overflow-x: hidden;
    scroll-snap-type: y mandatory; 
    scroll-behavior: smooth; 
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scroller-container::-webkit-scrollbar {
    display: none;
}

.page-section {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    scroll-snap-align: start; 
}

.section-2 {
    background-color: var(--bg-pink); 
    color: var(--dark-blue);
    min-height: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;     
    position: relative;
    padding: 60px 20px;      
    box-sizing: border-box;
    z-index: 10;
}

.page2-content {
    width: 100%;
    max-width: 1000px; 
    margin: 0 auto;
    text-align: center;
    z-index: 10;
}

.photo-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}
.photo-gallery img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.balloon {
    animation: float 4s ease-in-out infinite;
}
.b2 { animation-delay: 1s; }
.b3 { animation-delay: 0.5s; }


.special-title {
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--text-red);
    text-align: center;
}

.heart-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
}

.heart-border {
    width: 250px;
    height: 220px;
    position: relative;
    overflow: hidden;
    clip-path: path("M 125 40 C 125 15, 95 0, 65 20 C 35 40, 35 80, 65 110 L 125 170 L 185 110 C 215 80, 215 40, 185 20 C 155 0, 125 15, 125 40 Z");
    background: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.heart-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-box {
    width: 95%;        
    max-width: 1200px;       
    margin: -40px auto 60px; 
    padding: 40px;          
    font-family: 'Dancing Script', cursive;
    font-size: 0.9rem;
    line-height: 2;
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--text-red);
    border-radius: 20px;
    color: var(--dark-blue);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
    column-count: 2;
    column-gap: 50px;       
}

.message-box::before,
.message-box::after {
    content: "❤";
    position: absolute;
    font-size: 2rem;
    color: var(--text-red);
    animation: float 4s ease-in-out infinite;
}
.message-box::before { top: -10px; left: 20px; }
.message-box::after { bottom: -20px; right: 20px; }
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.swiper {
    width: 90%;
    max-width: 1000px;
    margin: -50px auto;
}

.swiper-wrapper {
    display: flex; 
}

.swiper-slide {
    flex-shrink: 0; 
    width: auto; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: auto;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


.section-2.animate .message-box {
    animation: fadeInUp 1.5s ease forwards;
}

@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.heart-photo.animate {
  animation: zoomIn 1.2s ease forwards;
}

@keyframes zoomIn {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}