:root {
    --bg-light: #FAF7F2; /* Tom off-white clarinho quente */
    --bg-dark: #1A1A1A;
    --accent: #C5A059; /* Dourado Pomus */
    --accent-hover: #b38f4d;
    --text-main: #2C2825; /* Marrom ultra escuro */
    --text-muted: #6B635A;
    --card-bg: #FFFFFF;
    --font-heading: 'Nanum Myeongjo', serif;
    --font-body: 'Outfit', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100vw;
}

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

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100vw;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mt-2 { margin-top: 1rem; }
.full-width { width: 100%; }

/* --- MUSIC BUTTON --- */
.music-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1000;
    font-family: var(--font-body);
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.music-btn:hover {
    background: var(--accent);
    color: #fff;
}

/* --- FLOATING NAV --- */
.floating-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 50px;
    padding: 1rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link svg {
    width: 20px;
    height: 20px;
}

.nav-link:hover, .nav-link.highlight {
    color: var(--accent);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-nav {
        left: 50%;
        top: auto;
        bottom: 20px;
        transform: translateX(-50%);
        flex-direction: row;
        padding: 0.8rem 1.5rem;
        width: max-content;
    }
    .music-btn {
        top: auto;
        bottom: 90px;
        right: 20px;
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff; /* Texto branco no Hero */
    overflow: hidden;
}

.hero-bg-slider {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeAnim 15s infinite;
}

.hero-bg-slider .slide-1 { animation-delay: 0s; }
.hero-bg-slider .slide-2 { animation-delay: 5s; }
.hero-bg-slider .slide-3 { animation-delay: 10s; }

@keyframes fadeAnim {
    0% { opacity: 0; transform: scale(1); }
    15% { opacity: 1; }
    33% { opacity: 1; }
    48% { opacity: 0; transform: scale(1.05); }
    100% { opacity: 0; transform: scale(1.05); }
}

.hero-bg-slider .overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    z-index: 1;
}

.hero-logo {
    height: 110px;
    margin-bottom: 2rem;
}

.pre-title {
    font-size: 1.2rem;
    letter-spacing: 6px;
    margin-bottom: 2.5rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.badge {
    display: inline-block;
    padding: 0.6rem 2.5rem;
    border: 2px solid var(--accent);
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.2); /* Fundo sutil para destacar a borda e o texto */
    backdrop-filter: blur(5px);
}

.main-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

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

/* --- COUNTDOWN & DETAILS --- */
.details-section {
    padding: 6rem 0;
    background: #fff;
}

.countdown-wrapper {
    text-align: center;
    margin-bottom: 5rem;
}

.countdown-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-box span {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--accent);
    line-height: 1;
}

.time-box p {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 10px;
}

.event-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    text-align: center;
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.7;
}

.action-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--bg-light);
    border: 1px solid var(--accent);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-link:hover {
    background: var(--accent);
    color: #fff;
}

/* --- STORY SECTION --- */
.story-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.story-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-image {
    position: relative;
}

.aesthetic-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.img-backdrop {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 20px;
    z-index: 1;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; }
    .countdown { gap: 1rem; }
    .time-box span { font-size: 2.5rem; }
}

/* --- GALLERY SECTION --- */
.gallery-section {
    padding: 6rem 0;
    background: #fff;
}

.gallery-slider {
    margin-top: 3rem;
    padding-bottom: 4rem !important;
}

.swiper-slide {
    width: 300px;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--accent) !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
}

/* --- TIMELINE SECTION --- */
.timeline-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.timeline {
    max-width: 600px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0; left: 100px;
    width: 1px; height: 100%;
    background: var(--accent);
    opacity: 0.5;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item .time {
    width: 100px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    padding-right: 20px;
    text-align: right;
    position: relative;
}

.timeline-item .time::after {
    content: '';
    position: absolute;
    top: 5px; right: -5px;
    width: 11px; height: 11px;
    background: var(--bg-light);
    border: 2px solid var(--accent);
    border-radius: 50%;
}

.timeline-item .content {
    flex: 1;
    padding-left: 30px;
}

.timeline-item .content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-item .content p {
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- RSVP SECTION --- */
.rsvp-section {
    padding: 8rem 0;
    background: url('assets/identidade.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.rsvp-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(26, 15, 11, 0.7);
}

.rsvp-card {
    background: #fff;
    max-width: 650px;
    margin: 0 auto;
    padding: 4rem;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

input, select {
    width: 100%;
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    border-color: var(--accent);
    background: #fff;
}

.submit-btn {
    width: 100%;
    background: var(--text-main);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent);
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.hidden { display: none; }

@media (max-width: 768px) {
    .rsvp-card { padding: 2rem; }
    .input-row { grid-template-columns: 1fr; gap: 0; }
}

/* --- FOOTER --- */
.footer {
    background: #a2cbe5; /* Azul Céu elegante */
    padding: 4rem 0;
    color: var(--text-main);
}

.footer-logo {
    height: 90px;
    max-width: 90%;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.footer p {
    color: rgba(44, 40, 37, 0.8);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-logo {
        height: auto;
        max-width: 80%;
    }
}
