/* Reset e Variáveis CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta Verde Oliva Moderna */
    --primary-color: #6B8E4E;        /* Verde oliva principal */
    --primary-light: #8FA86B;        /* Verde oliva claro */
    --primary-dark: #4F6B37;         /* Verde oliva escuro */
    --accent-color: #B8C5A1;         /* Verde oliva muito claro */
    --gold-accent: #D4AF37;          /* Dourado para detalhes */
    
    /* Cores neutras modernas */
    --white: #FFFFFF;
    --cream: #FAF8F5;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #333333;
    --text-gray: #666666;
    --text-light: #8B8B8B;
    
    /* Cores de fundo */
    --bg-primary: #FEFEFE;
    --bg-secondary: #F4F6F3;
    --bg-accent: rgba(107, 142, 78, 0.05);
    
    /* Fontes */
    --font-elegant: 'Dancing Script', cursive;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Poppins', sans-serif;
    
    /* Sombras modernas */
    --shadow-light: 0 2px 15px rgba(107, 142, 78, 0.08);
    --shadow-medium: 0 8px 30px rgba(107, 142, 78, 0.12);
    --shadow-strong: 0 15px 45px rgba(107, 142, 78, 0.2);
    --shadow-hero: 0 20px 60px rgba(0, 0, 0, 0.4);
    
    /* Transições */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--cream);
    overflow-x: hidden;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    position: relative;
}

/* Wedding Rings Animation */
.wedding-rings {
    position: relative;
    width: 120px;
    height: 60px;
    margin: 0 auto 2rem;
}

.ring {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 5px;
}

.ring::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 15px;
    width: 20px;
    height: 15px;
    background-color: var(--gold-accent);
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ring-left {
    left: 0;
    animation: slideRingLeft 2s ease-in-out infinite;
}

.ring-right {
    right: 0;
    animation: slideRingRight 2s ease-in-out infinite;
}

@keyframes slideRingLeft {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(35px) rotate(10deg); }
}

@keyframes slideRingRight {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    50% { transform: translateX(-35px) rotate(-10deg); }
}

/* Loading Heart */
.loading-heart {
    margin: 1rem 0;
    font-size: 2rem;
    color: var(--primary-color);
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1.2); }
    75% { transform: scale(1.1); }
}

/* Loading Text */
.loading-text {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 1rem;
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Music Modal */
.music-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeInModal 0.5s ease-out;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.music-modal-content {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: var(--shadow-strong);
    position: relative;
    animation: slideInModal 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInModal {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.music-header {
    margin-bottom: 2rem;
}

.music-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    animation: musicPulse 2s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.music-header h2 {
    font-family: var(--font-elegant);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.music-header p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.5;
}

.music-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.music-btn {
    flex: 1;
    padding: 1.2rem 1rem;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.music-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.music-btn:hover::before {
    left: 100%;
}

.music-yes {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-light);
}

.music-yes:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.music-no {
    background: linear-gradient(135deg, var(--medium-gray), #dee2e6);
    color: var(--text-gray);
}

.music-no:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #dee2e6, #ced4da);
}

.music-btn i {
    font-size: 1.5rem;
}

.music-btn span {
    font-size: 0.9rem;
}

.music-note {
    color: var(--text-light);
    font-size: 0.8rem;
    font-style: italic;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    animation: slideInUp 0.5s ease-out;
}

.music-toggle-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 160px;
}

.music-text {
    font-size: 1rem;
    white-space: nowrap;
}

.music-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.music-toggle-btn.paused {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
}

/* Mobile Music Modal */
@media (max-width: 768px) {
    .music-modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    .music-header h2 {
        font-size: 2rem;
    }
    
    .music-options {
        flex-direction: column;
    }
    
    .music-btn {
        padding: 1rem;
    }
    
    .music-control {
        bottom: 20px;
        right: 20px;
    }
    
    .music-toggle-btn {
        min-width: 140px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .music-text {
        font-size: 0.9rem;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-elegant);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, 
        rgba(107, 142, 78, 0.05) 0%, 
        rgba(79, 107, 55, 0.1) 50%,
        rgba(107, 142, 78, 0.05) 100%),
        var(--cream);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%236B8E4E" opacity="0.02"><polygon points="0,0 1000,100 1000,0"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: slideInLeft 1s ease-out;
}

.couple-main-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 1;
}

.couple-main-img:hover {
    transform: scale(1.02);
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    margin-left: -50px; /* Sobreposição */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: var(--shadow-strong);
    animation: slideInRight 1s ease-out 0.3s both;
    color: var(--dark-gray);
    border: 1px solid rgba(107, 142, 78, 0.1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.blessing-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
    animation: slideDown 1s ease-out 0.5s both;
}

.wedding-date-hero {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 6px;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    text-align: center;
    animation: slideDown 1s ease-out 0.7s both;
}

.couple-names {
    margin-bottom: 1.5rem;
    text-align: center;
    animation: slideUp 1s ease-out 0.9s both;
}

.bride-name, .groom-name {
    display: block;
    font-family: var(--font-script);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
}

.ampersand {
    font-family: var(--font-elegant);
    font-size: 2rem;
    margin: 0.5rem;
    color: var(--gold-accent);
    display: inline-block;
    animation: bounce 2s ease-in-out 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: center;
    animation: fadeIn 1s ease-out 1.1s both;
}

/* Countdown Hero */
.countdown-hero {
    animation: fadeIn 1s ease-out 1.3s both;
    text-align: center;
}

.countdown-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.time-unit {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem 0.8rem;
    border-radius: 12px;
    min-width: 70px;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.time-unit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.time-unit:hover::before {
    left: 100%;
}

.time-unit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.time-unit .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-body);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.time-unit .label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    color: var(--primary-color);
    z-index: 10;
}

.scroll-indicator i {
    font-size: 1.8rem;
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover i {
    opacity: 1;
    transform: translateY(3px);
    color: var(--primary-dark);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-family: var(--font-elegant);
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Ceremony & Party Sections */
.ceremony-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.party-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.event-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.event-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.event-day,
.event-location,
.event-address {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.event-day h3,
.event-location h3,
.event-address h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.event-day p,
.event-location p,
.event-address p {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-calendar,
.btn-map,
.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: var(--font-body);
}

.btn-calendar:hover,
.btn-map:hover,
.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.event-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    aspect-ratio: 1;
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.event-image:hover .location-img {
    transform: scale(1.05);
}

/* Story Section */
.story-section {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.story-quote {
    text-align: center;
    font-family: var(--font-elegant);
    font-size: 1.8rem;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.story-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.story-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.story-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.story-image:hover .story-img {
    transform: scale(1.05);
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: center;
    width: 100%;
}

.story-text p {
    margin-bottom: 1.5rem;
}

/* Story Buttons */
.story-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.story-btn {
    padding: 1rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 160px;
    justify-content: center;
}

.story-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 90, 60, 0.3);
}

.story-btn i {
    font-size: 0.9rem;
}

.bride-btn:hover {
    background: #d63384;
    border-color: #d63384;
    box-shadow: 0 5px 15px rgba(214, 51, 132, 0.3);
}

.groom-btn:hover {
    background: #0d6efd;
    border-color: #0d6efd;
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

/* Story Modal */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.story-modal.active {
    opacity: 1;
    visibility: visible;
}

.story-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.story-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.story-modal.active .story-modal-content {
    transform: scale(1);
}

.story-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    background: var(--bg-accent);
}

.story-modal-header h2 {
    margin: 0;
    font-family: var(--font-elegant);
    color: var(--primary-color);
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.story-modal-header i {
    color: #d63384;
}

.story-modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.story-modal-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    text-align: justify;
}

.story-modal-text .story-signature {
    text-align: right;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
}

.story-modal-text .signature-name {
    font-family: var(--font-elegant);
    font-size: 1.4rem;
    color: var(--primary-color);
    font-weight: 600;
}

.story-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: center;
    border-radius: 0 0 20px 20px;
    background: var(--bg-accent);
}

.btn-back {
    padding: 0.8rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background: #7a4b32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 90, 60, 0.4);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-smooth);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

/* Mobile responsive para story modal */
@media (max-width: 768px) {
    .story-buttons {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .story-btn {
        flex: 1;
        min-width: 140px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .story-modal-content {
        width: 95%;
        margin: 1rem;
        max-height: 85vh;
    }
    
    .story-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .story-modal-header h2 {
        font-size: 1.5rem;
    }
    
    .story-modal-body {
        padding: 1.5rem;
        max-height: calc(85vh - 120px);
    }
    
    .story-modal-footer {
        padding: 1rem 1.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

/* Carrossel de Fotos */
.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    background: var(--white);
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 500px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botões de navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(139, 90, 60, 0.9);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Controles de play/pause */
.carousel-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.carousel-control {
    background: rgba(139, 90, 60, 0.9);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Indicadores */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(139, 90, 60, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .carousel-slides {
        height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-controls {
        top: 10px;
        right: 10px;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Party Details Section */
.party-details {
    padding: 6rem 0;
    background-color: var(--bg-primary);
}

.party-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--gold-accent));
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-light);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-feature {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
}

.btn-feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" fill="%23ffffff" opacity="0.05"><circle cx="10" cy="10" r="2"/><circle cx="30" cy="10" r="2"/><circle cx="50" cy="10" r="2"/><circle cx="70" cy="10" r="2"/><circle cx="90" cy="10" r="2"/></svg>') repeat;
}

.cta h2 {
    font-family: var(--font-elegant);
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-medium);
    font-family: var(--font-body);
}

.btn-cta.primary {
    background-color: var(--gold-accent);
    color: var(--white);
}

.btn-cta.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-cta.primary:hover {
    background-color: #C19B26;
}

.btn-cta.secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

.footer i {
    color: #ff6b6b;
    margin: 0 0.3rem;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .event-details {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .story-content {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .party-features {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Hero responsive */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        margin-left: 0;
        margin-top: -30px; /* Sobreposição na versão mobile */
    }
    
    .couple-main-img {
        max-width: 350px;
    }
    
    .bride-name, .groom-name {
        font-size: 2.8rem;
    }

    .wedding-date-hero {
        font-size: 1.1rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .countdown {
        gap: 1rem;
    }

    .time-unit {
        min-width: 70px;
        padding: 1rem 0.5rem;
    }

    .time-unit .number {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    .party-features {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .ceremony-section,
    .party-section,
    .story-section,
    .gallery-section,
    .party-details {
        padding: 4rem 0;
    }

    .event-details {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .event-image {
        order: -1;
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }

    .hero-container {
        padding: 1rem;
        gap: 1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
        margin-top: -40px; /* Maior sobreposição no mobile */
    }
    
    .couple-main-img {
        max-width: 280px;
    }
    
    .blessing-text {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .wedding-date-hero {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .bride-name, .groom-name {
        font-size: 2.2rem;
    }

    .ampersand {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .time-unit {
        min-width: 60px;
        padding: 0.8rem 0.3rem;
    }

    .time-unit .number {
        font-size: 1.5rem;
    }

    .time-unit .label {
        font-size: 0.7rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 15px;
    }

    .story-img,
    .location-img {
        height: 250px;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-strong);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition-smooth);
}

.close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.modal h2 {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Suggestion Form */
.suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.suggestion-form input,
.suggestion-form textarea {
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

.suggestion-form input:focus,
.suggestion-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 142, 78, 0.1);
}

/* Fix para cursor no modal de música */
.suggestion-form input {
    position: relative;
    z-index: 1;
    caret-color: var(--primary-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.suggestion-form input:focus {
    position: relative;
    z-index: 2;
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(107, 142, 78, 0.1) !important;
}

/* Garantir que cada input tenha seu próprio contexto */
#musicForm input[type="text"] {
    isolation: isolate;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

#musicForm textarea {
    isolation: isolate;
    caret-color: var(--primary-color);
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* Fix específico para mobile */
@media (max-width: 768px) {
    .suggestion-form input {
        font-size: 16px; /* Evita zoom no iOS */
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: text;
    }
    
    .suggestion-form input:focus {
        transform: none !important;
        -webkit-transform: none !important;
    }
    
    /* Forçar reset de estilos problemáticos no mobile */
    #musicForm input:not(:focus) {
        border-color: var(--medium-gray) !important;
        box-shadow: none !important;
        background-color: white !important;
    }
}

/* Fix para autocomplete e problemas de foco */
.suggestion-form input:-webkit-autofill,
.suggestion-form input:-webkit-autofill:hover,
.suggestion-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    -webkit-text-fill-color: var(--dark-gray) !important;
}

/* ========================================
   MODAL DE SUGESTÃO DE MÚSICA - VERSÃO ORIGINAL
   ======================================== */

.music-suggestion-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.music-suggestion-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.music-suggestion-content {
    position: relative;
    background: white;
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.music-suggestion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.music-suggestion-header h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-btn:hover {
    background: var(--light-gray);
    color: var(--primary-color);
}

.music-suggestion-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
    color: var(--dark-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 142, 78, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.form-actions button {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: var(--light-gray);
    color: var(--text-gray);
}

.btn-cancel:hover {
    background: var(--medium-gray);
    color: var(--dark-gray);
}

.btn-submit {
    background: var(--primary-color);
    color: white;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-submit:disabled {
    background: var(--medium-gray);
    color: var(--text-gray);
    cursor: not-allowed;
    transform: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .music-suggestion-content {
        margin: 1rem;
        padding: 1.5rem;
        max-height: calc(100vh - 2rem);
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 16px; /* Previne zoom no iOS */
        padding: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions button {
        width: 100%;
    }
}

/* Dress Code Content */
.dress-code-content h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.dress-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.dress-option {
    text-align: center;
    padding: 1.5rem;
    border-radius: 15px;
    background-color: var(--light-gray);
}

.dress-option i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dress-option h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.dress-option p {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hashtag Content */
.hashtag-content {
    text-align: center;
}

.hashtag-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.hashtag-display {
    font-family: var(--font-elegant);
    font-size: 2rem;
    color: var(--primary-color);
    background-color: var(--light-gray);
    padding: 1rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 2px dashed var(--primary-color);
}

.hashtag-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.social-links {
    margin-bottom: 2rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #E1306C, #F56040);
    color: var(--white);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Modal Actions */
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn-confirm,
.btn-cancel {
    flex: 1;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-body);
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-cancel {
    background-color: var(--medium-gray);
    color: var(--text-gray);
}

.btn-cancel:hover {
    background-color: #dee2e6;
}

/* Toast Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
}

/* Mobile Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 1.5rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .dress-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hashtag-display {
        font-size: 1.5rem;
    }
    
    /* Específico para o modal de música no mobile */
    .suggestion-form {
        gap: 1.2rem;
    }
    
    .suggestion-form input,
    .suggestion-form textarea {
        padding: 1rem;
        font-size: 16px; /* Previne zoom no iOS */
        border-radius: 8px;
        border: 2px solid var(--medium-gray);
        background-color: white;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        transition: all 0.2s ease;
    }
    
    /* Forçar reset de estilos problemáticos */
    .suggestion-form input:not(:focus) {
        border-color: var(--medium-gray) !important;
        box-shadow: none !important;
        background-color: white !important;
    }
    
    .suggestion-form input:focus {
        border-color: var(--primary-color) !important;
        box-shadow: 0 0 0 3px rgba(107, 142, 78, 0.15) !important;
        outline: none !important;
        background-color: white !important;
    }
    
    /* Melhorar botões no mobile */
    .modal-actions button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        margin: 0.25rem 0;
    }
}