/* ============================================
   LULU SPACE - CONVITE CHÁ DE BEBÊ v3
   Design: Modern Elegance + Infantil
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    background: linear-gradient(to bottom, #faf8f9, #ffffff, #faf8f9);
    color: #2d1b2e;
    overflow-x: hidden;
}

/* ============================================
   EFEITOS INFANTIS
   ============================================ */

.effects-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.bubble {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 192, 203, 0.2));
    border: 2px solid rgba(255, 105, 180, 0.15);
    animation: floatUp 10s infinite ease-in;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.1);
}

.heart-icon {
    position: absolute;
    font-size: 2rem;
    animation: floatHeart 8s infinite ease-in;
    opacity: 0.7;
}

.star-icon {
    position: absolute;
    font-size: 1.8rem;
    animation: floatStar 9s infinite ease-in;
    opacity: 0.6;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    95% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100vh) translateX(80px) scale(0.8);
        opacity: 0;
    }
}

@keyframes floatHeart {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
    }
    95% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatStar {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.85;
    }
    95% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-100vh) translateX(60px) rotate(360deg);
        opacity: 0;
    }
}

/* ============================================
   CONVITE SYSTEM STYLES
   ============================================ */

.convite-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(2px);
}

.convite-overlay.hidden {
    display: none !important;
}

.convite-overlay.active {
    display: flex !important;
}

.convite-card {
    max-width: 520px;
    width: 100%;
    border-radius: 20px;
    padding: 32px 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fff5f9 100%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    animation: slideInUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#convite-title {
    margin: 0 0 12px 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #2d1b2e;
    font-family: 'Playfair Display', serif;
}

#convite-msg {
    margin: 0;
    font-size: 15px;
    opacity: 0.75;
    line-height: 1.6;
    color: #4a3a4b;
}

.convite-nomes-container {
    text-align: center;
    margin: 12px 0;
    animation: fadeIn 0.6s ease-out;
}

.convite-nomes-container.hidden {
    display: none;
}

.convite-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#convite-nomes {
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 0.3px;
    font-size: 18px;
    line-height: 1.15;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 12px rgba(0, 0, 0, 0.15);
    display: inline-block;
    padding: 8px 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.35) 0%, rgba(255, 182, 193, 0.25) 100%);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    animation: nomeFloat 2s ease-in-out infinite;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 20px 80px 20px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    z-index: 0;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.hero-text {
    margin-bottom: 30px;
    animation: fadeIn 0.8s ease-out;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.hero-circle {
    width: 140px;
    height: 140px;
    margin: 40px auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    ring: 4px solid rgba(255, 255, 255, 0.5);
    animation: bounceGentle 3s ease-in-out infinite;
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-invitation {
    margin: 30px 0;
}

.hero-arriving {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
    font-weight: 300;
}

.hero-invite {
    font-size: 1.6rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 700;
    margin-bottom: 12px;
}

.hero-event {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    text-align: center;
    z-index: 20;
}

.scroll-indicator p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.arrow-icon {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ============================================
   DETAILS SECTION - COM FUNDO LEGAL
   ============================================ */

.details {
    padding: 60px 20px;
    position: relative;
    z-index: 5;
    background: linear-gradient(135deg, #fff9fb 0%, #f5e6f0 50%, #fff9fb 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.container {
    max-width: 600px;
    margin: 0 auto;
}

.detail-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 105, 180, 0.15);
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.detail-card:hover {
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.2);
    transform: translateY(-5px);
}

.detail-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ff69b4;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    position: relative;
    z-index: 1;
}

.detail-text {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.6;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.detail-link {
    font-size: 1.2rem;
    color: #ff69b4;
    text-decoration: none;
    line-height: 1.8;
    font-weight: 400;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.detail-link:hover {
    color: #ff1493;
    text-decoration: underline;
}

.cta-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #ff69b4 0%, #ff1493 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 18px 30px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
    cursor: pointer;
    border: none;
    position: relative;
    z-index: 1;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 105, 180, 0.4);
}

.cta-button:active {
    transform: scale(0.98);
}

/* ============================================
   ABOUT SECTION - COM ACCORDIONS
   ============================================ */

.about {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
    z-index: 5;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #2d1b2e;
    font-family: 'Playfair Display', serif;
}

.accordion-container {
    display: grid;
    gap: 20px;
}

.accordion-item {
    background: #ffffff;
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-item:hover {
    border-color: rgba(255, 105, 180, 0.4);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.15);
}

.accordion-header {
    width: 100%;
    background: linear-gradient(135deg, #fff5f9 0%, #ffe6f0 100%);
    border: none;
    padding: 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d1b2e;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #ffe6f0 0%, #ffccdd 100%);
}

.accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: #ff69b4;
    font-size: 1.2rem;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-body {
    padding: 30px;
    background: #ffffff;
    border-top: 2px solid rgba(255, 105, 180, 0.1);
}

.accordion-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 20px;
    font-weight: 300;
}

.accordion-media {
    margin-top: 20px;
}

.footer-message {
    text-align: center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.footer-message p {
    font-size: 1.4rem;
    color: #666;
    margin: 10px 0;
    font-weight: 300;
}

.footer-message .highlight {
    color: #ff69b4;
    font-weight: 600;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

@keyframes bounceGentle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
        opacity: 1;
    }
}

@keyframes nomeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ============================================ */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-arriving {
        font-size: 1.1rem;
    }

    .hero-invite {
        font-size: 1.4rem;
    }

    .hero-event {
        font-size: 1.2rem;
    }

    .detail-title {
        font-size: 1.5rem;
    }

    .detail-text,
    .detail-link {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .accordion-header {
        font-size: 1rem;
        padding: 18px;
    }

    .accordion-body {
        padding: 20px;
    }

    .footer-message p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 16px 70px 16px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-circle {
        width: 100px;
        height: 100px;
        margin: 25px auto;
    }

    .hero-bg {
        background-size: cover;
        background-position: center;
        background-attachment: scroll;
    }

    .hero-arriving {
        font-size: 1rem;
    }

    .hero-invite {
        font-size: 1.2rem;
    }

    .hero-event {
        font-size: 1.1rem;
    }

    .scroll-indicator p {
        font-size: 0.9rem;
    }

    .arrow-icon {
        width: 24px;
        height: 24px;
    }

    .detail-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .detail-title {
        font-size: 1.3rem;
    }

    .detail-text,
    .detail-link {
        font-size: 1rem;
    }

    .cta-button {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.6rem;
        margin-bottom: 40px;
    }

    .accordion-header {
        font-size: 0.95rem;
        padding: 16px;
    }

    .accordion-body {
        padding: 16px;
    }

    .accordion-text {
        font-size: 1rem;
    }

    .footer-message p {
        font-size: 1.1rem;
    }
}

/* Hero Mobile Fix */
@media (max-width: 600px) {
    .hero {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-bg {
        background-size: cover;
        background-position: center center;
        background-attachment: scroll !important;
    }

    .hero-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}
