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

body {
    overflow-x: hidden;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f7f3f4;
    color: #2b2b2b;
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.45));
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    z-index: 2;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(60px, 8vw, 120px);
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 20px;
}

.hero p {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 300;
    opacity: .9;
}

.layer {
    height: 180vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.layer h2 {
    font-size: 56px;
    text-align: center;
    max-width: 800px;
}

.layer::before,
.final::before {
    content: "";
    position: absolute;
    width: min(280px, 70vw);
    height: 280px;
    background: radial-gradient(circle, rgba(231,184,193,0.4), transparent 70%);
    filter: blur(60px);
    animation: pulse 8s infinite ease-in-out;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: translateX(-50%) scale(0.9); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(0.9); }
}

.carousel-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-inner {
    position: relative;
    width: 40vw;
    height: 90vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    border: 4px solid rgba(231,184,193,0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.carousel-caption {
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: clamp(24px, 4vw, 36px);
    text-align: center;
    color: #2b2b2b;
    min-height: 40px;
    padding: 0 10px;
    line-height: 1.3;
}

.hearts-section {
    height: 220vh;
    position: relative;
}

#hearts {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: block;
}

.final {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(48px, 10vw, 72px);
    text-align: center;
    position: relative;
    background: transparent;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero {
        height: 100svh;
    }

    .hero h1 {
        font-size: clamp(50px, 12vw, 80px);
    }

    .hero p {
        font-size: 20px;
    }

    .layer {
        height: 150svh;
    }

    .layer h2 {
        font-size: 40px;
        padding: 0 18px;
    }

    .carousel-inner {
        width: min(90vw, 420px);
        aspect-ratio: 9 / 16;
        height: auto;
        max-height: 85svh;
    }

    .carousel-caption {
        font-size: clamp(20px, 5vw, 26px);
        padding: 0 16px;
    }

    .final {
        height: 100svh;
        font-size: clamp(36px, 8vw, 48px);
    }
}

@media (max-width: 420px) {
    .carousel-inner {
        width: 92vw;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .carousel-inner {
        width: min(60vw, 520px);
        aspect-ratio: 9 / 16;
        max-height: 85svh;
    }
}
