/* ===== RSVP ENGINE v3.0 - ESTILOS CONSOLIDADOS ===== */

/* ===== RESET E VARI�VEIS GLOBAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --transition: all 0.3s ease;
    --radius: 8px;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

#rsvp-container {
    width: 100%;
    min-height: 100vh;
}

/* ===== COMPONENTES COMUNS ===== */

.rsvp-page {
    width: 100%;
    min-height: 100vh;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label,
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.required {
    color: #e74c3c;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #7f8c8d;
}

.form-errors {
    margin-bottom: 20px;
}

.error-message {
    padding: 12px;
    background: #ffe6e6;
    color: #c0392b;
    border-left: 4px solid #e74c3c;
    border-radius: var(--radius);
    font-size: 14px;
}

.guest-lookup-banner {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: #e6f7ec;
    color: #1e8449;
    border-left: 4px solid #27ae60;
    border-radius: var(--radius);
    font-size: 14px;
}

.guest-lookup-banner i {
    margin-right: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.phone-input-group {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
}

.country-select {
    width: 100%;
}

/* ===== BOT�ES ===== */

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== RSVP OPTIONS ===== */

.rsvp-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.rsvp-option {
    position: relative;
    cursor: pointer;
}

.rsvp-option input[type="radio"] {
    display: none;
}

.rsvp-label {
    display: block;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
    font-weight: 600;
}

.rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #3498db;
    background: #ecf0f1;
}

.rsvp-options-large {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.rsvp-option-large {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    transition: var(--transition);
}

.rsvp-option-large input[type="radio"] {
    display: none;
}

.rsvp-option-large input[type="radio"]:checked ~ .rsvp-icon,
.rsvp-option-large input[type="radio"]:checked ~ .rsvp-text {
    color: #3498db;
}

.rsvp-option-large:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.rsvp-icon {
    font-size: 32px;
    min-width: 40px;
}

.rsvp-text {
    font-size: 16px;
    font-weight: 600;
}

/* ===== CHECKBOX ===== */

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    cursor: pointer;
}

/* ===== LAYOUT 1: CARD-BASED ===== */

.layout-card-based {
    max-width: 900px;
    margin: 0 auto;
}

.card-based-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-header-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.event-header-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* links de navegacao (Waze e Google Maps) gerados junto com o endereco do evento */
.event-navigation-links {
    display: inline-flex;
    gap: 14px;
    margin-top: 6px;
}

.event-description {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.8;
}

.days-counter {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    background: #fff3e0;
    padding: 12px;
    border-radius: var(--radius);
    text-align: center;
}

.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-card {
    background: white;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.form-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #ecf0f1;
    padding-bottom: 10px;
}

/* ===== LAYOUT 2: TIMELINE ===== */

.layout-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.progress-bar {
    height: 6px;
    background: #ecf0f1;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.5s ease;
}

.steps-indicator {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding: 30px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #ecf0f1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: var(--transition);
}

.step.active {
    opacity: 1;
}

.step.current {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: #7f8c8d;
}

.step.active .step-number {
    background: #3498db;
    color: white;
}

.step.current .step-number {
    background: #2ecc71;
    color: white;
    box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.2);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    color: #7f8c8d;
}

.step.active .step-label {
    color: #2c3e50;
}

.event-banner {
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 20px;
    align-items: center;
}

.event-banner-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.event-banner-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.event-banner-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
}

.step-content {
    padding: 40px;
    min-height: 400px;
}

.step-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.step-navigation {
    display: flex;
    gap: 15px;
    padding: 30px;
    border-top: 1px solid #ecf0f1;
    background: #f8f9fa;
    justify-content: space-between;
}

.step-navigation .btn {
    flex: 1;
}

/* ===== LAYOUT 3: FULL-PAGE SCROLL ===== */

.layout-full-page {
    background: white;
}

.full-page-container {
    width: 100%;
}

.full-page-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 10px;
    opacity: 0.95;
}

.days-counter-hero {
    font-size: 20px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 30px;
    border-radius: var(--radius);
    display: inline-block;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.full-page-section {
    padding: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid #ecf0f1;
}

.full-page-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #2c3e50;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-section,
.description-section,
.gift-section {
    background: #f8f9fa;
}

.final-section {
    text-align: center;
}

.final-section .btn-primary {
    max-width: 300px;
    margin: 20px auto 0;
}

/* ===== GALERIA E CAROUSEL ===== */

.event-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.carousel-container {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-main {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8); /* Increased opacity for better visibility */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: var(--primary-color, #3498db);
}

.carousel-prev::before {
    content: '';
    width: 12px;
    height: 12px;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
    margin-left: 4px;
}

.carousel-next::before {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 3px solid currentColor;
    border-top: 3px solid currentColor;
    transform: rotate(45deg);
    margin-right: 4px;
}




.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}


.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: #3498db;
    width: 30px;
    border-radius: 6px;
}

/* ===== ACOMPANHANTES ===== */

.companions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.companion-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid #3498db;
}

.companion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.companion-header h4 {
    margin: 0;
    color: #2c3e50;
}

.btn-remove-companion {
    background: #e74c3c;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-remove-companion:hover {
    background: #c0392b;
}

.empty-message {
    text-align: center;
    color: #7f8c8d;
    padding: 20px;
    font-style: italic;
}

/* ===== LISTA DE PRESENTES ===== */

.gift-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.gifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gift-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.gift-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gift-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.gift-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecf0f1;
    font-size: 48px;
}

.gift-info {
    padding: 15px;
}

.gift-info h4 {
    margin-bottom: 8px;
    color: #2c3e50;
}

.gift-info p {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.gift-price {
    font-size: 18px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 8px;
}

.gift-availability {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 12px;
}

.gift-select-btn {
    width: 100%;
}

/* ===== P�GINA DE AGRADECIMENTO ===== */

.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
}

.thank-you-container {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.thank-you-header {
    margin-bottom: 30px;
}

.thank-you-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.thank-you-header h1 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.thank-you-header p {
    color: #7f8c8d;
    font-size: 16px;
}

.thank-you-event {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    text-align: left;
}

.thank-you-event h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

.event-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 15px;
}

.thank-you-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 15px;
}

.gallery-thumb {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
}

.confirmation-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-summary h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.confirmation-summary h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.summary-item label {
    font-size: 12px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.summary-item p {
    font-weight: 600;
    color: #2c3e50;
}

.companions-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.companion-summary-item {
    background: white;
    padding: 10px;
    border-radius: var(--radius);
    border-left: 3px solid #3498db;
}

.companion-summary-item p {
    margin: 0;
    font-size: 13px;
}

.companion-summary-item p:first-child {
    font-weight: 700;
    margin-bottom: 3px;
}

.qr-code-section {
    margin-bottom: 30px;
}

.qr-code-section h3 {
    margin-bottom: 15px;
    font-size: 16px;
}

.confirmation-id {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 15px;
    word-break: break-all;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    margin: 0 auto 15px;
    display: block;
}

/* ===== P�GINA DE IDENTIFICA��O ===== */

.identification-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.identification-container {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.identification-header {
    text-align: center;
    margin-bottom: 30px;
}

.identification-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.identification-header p {
    color: #7f8c8d;
}

.identification-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== TEMAS ===== */

/* TEMA 1: ELEGANT GOLD */
.theme-elegant-gold .btn-primary {
    background: #d4af37;
    color: #2c1810;
}

.theme-elegant-gold .btn-primary:hover {
    background: #c9a227;
}

.theme-elegant-gold .days-counter,
.theme-elegant-gold .days-counter-hero {
    background: #f4e4c1;
    color: #2c1810;
}

.theme-elegant-gold .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #d4af37;
    background: #f4e4c1;
}

.theme-elegant-gold .progress-fill {
    background: linear-gradient(90deg, #d4af37, #c9a227);
}

.theme-elegant-gold .step.current .step-number {
    background: #d4af37;
}

.theme-elegant-gold .event-banner {
    background: linear-gradient(135deg, #d4af37 0%, #2c1810 100%);
}

.theme-elegant-gold .thank-you-page {
    background: linear-gradient(135deg, #d4af37 0%, #2c1810 100%);
}

.theme-elegant-gold .identification-page {
    background: linear-gradient(135deg, #d4af37 0%, #2c1810 100%);
}

/* TEMA 2: VIBRANT PARTY */
.theme-vibrant-party .btn-primary {
    background: #ff006e;
}

.theme-vibrant-party .btn-primary:hover {
    background: #e6005c;
}

.theme-vibrant-party .days-counter,
.theme-vibrant-party .days-counter-hero {
    background: #ffbe0b;
    color: #333;
}

.theme-vibrant-party .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #ff006e;
    background: #ffe6f0;
}

.theme-vibrant-party .progress-fill {
    background: linear-gradient(90deg, #ff006e, #8338ec);
}

.theme-vibrant-party .step.current .step-number {
    background: #ff006e;
}

.theme-vibrant-party .event-banner {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
}

.theme-vibrant-party .thank-you-page {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
}

.theme-vibrant-party .identification-page {
    background: linear-gradient(135deg, #ff006e 0%, #8338ec 100%);
}

/* TEMA 3: PASTEL SOFT */
.theme-pastel-soft {
    background: #f1faee;
}

.theme-pastel-soft .btn-primary {
    background: #a8dadc;
    color: #1d3557;
}

.theme-pastel-soft .btn-primary:hover {
    background: #8fc7d9;
}

.theme-pastel-soft .days-counter,
.theme-pastel-soft .days-counter-hero {
    background: #f1faee;
    color: #1d3557;
    border: 2px solid #a8dadc;
}

.theme-pastel-soft .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #a8dadc;
    background: #e8f4f8;
}

.theme-pastel-soft .progress-fill {
    background: linear-gradient(90deg, #a8dadc, #457b9d);
}

.theme-pastel-soft .step.current .step-number {
    background: #a8dadc;
    color: #1d3557;
}

.theme-pastel-soft .event-banner {
    background: linear-gradient(135deg, #a8dadc 0%, #457b9d 100%);
}

.theme-pastel-soft .thank-you-page {
    background: linear-gradient(135deg, #a8dadc 0%, #457b9d 100%);
}

.theme-pastel-soft .identification-page {
    background: linear-gradient(135deg, #a8dadc 0%, #457b9d 100%);
}

/* TEMA 4: CORPORATE BLUE */
.theme-corporate-blue {
    background: #f0f4f8;
}

.theme-corporate-blue .btn-primary {
    background: #003d82;
}

.theme-corporate-blue .btn-primary:hover {
    background: #002d5c;
}

.theme-corporate-blue .days-counter,
.theme-corporate-blue .days-counter-hero {
    background: #e6f0ff;
    color: #003d82;
}

.theme-corporate-blue .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #003d82;
    background: #e6f0ff;
}

.theme-corporate-blue .progress-fill {
    background: linear-gradient(90deg, #003d82, #0066cc);
}

.theme-corporate-blue .step.current .step-number {
    background: #003d82;
}

.theme-corporate-blue .event-banner {
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
}

.theme-corporate-blue .thank-you-page {
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
}

.theme-corporate-blue .identification-page {
    background: linear-gradient(135deg, #003d82 0%, #0066cc 100%);
}

/* TEMA 5: NATURE GREEN */
.theme-nature-green {
    background: #f1faee;
}

.theme-nature-green .btn-primary {
    background: #2d6a4f;
}

.theme-nature-green .btn-primary:hover {
    background: #1f4d38;
}

.theme-nature-green .days-counter,
.theme-nature-green .days-counter-hero {
    background: #d8f3dc;
    color: #2d6a4f;
}

.theme-nature-green .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #2d6a4f;
    background: #d8f3dc;
}

.theme-nature-green .progress-fill {
    background: linear-gradient(90deg, #2d6a4f, #52b788);
}

.theme-nature-green .step.current .step-number {
    background: #2d6a4f;
}

.theme-nature-green .event-banner {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
}

.theme-nature-green .thank-you-page {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
}

.theme-nature-green .identification-page {
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
}

/* TEMA 6: MODERN DARK */
.theme-modern-dark {
    background: #1e1e1e;
    color: #0080FF;
}

.theme-modern-dark .form-input,
.theme-modern-dark .form-select,
.theme-modern-dark .form-textarea {
    background: #2d2d2d;
    color: #fff;
    border-color: #404040;
}

.theme-modern-dark .form-label,
.theme-modern-dark .form-group label,
.theme-modern-dark .form-help,
.theme-modern-dark .step-label {
    color: #696969;
}

.theme-modern-dark .step-content {
    background: #1e1e1e;
    color: #e5e5e5;
}

.theme-modern-dark .step-form h3 {
    color: #00d4ff;
}

.theme-modern-dark .timeline-container {
    background: #1e1e1e;
}

.theme-modern-dark .steps-indicator {
    background: #2d2d2d;
    border-bottom-color: #404040;
}

.theme-modern-dark .progress-bar {
    background: #404040;
}

.theme-modern-dark .btn-primary {
    background: #00d4ff;
    color: #1e1e1e;
}

.theme-modern-dark .btn-primary:hover {
    background: #00b8d4;
}

.theme-modern-dark .days-counter,
.theme-modern-dark .days-counter-hero {
    background: #00d4ff;
    color: #1e1e1e;
}

.theme-modern-dark .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #00d4ff;
    background: #2d2d2d;
}

.theme-modern-dark .progress-fill {
    background: linear-gradient(90deg, #00d4ff, #0099cc);
}

.theme-modern-dark .step.current .step-number {
    background: #00d4ff;
    color: #1e1e1e;
}

.theme-modern-dark .event-banner {
    background: linear-gradient(135deg, #1e1e1e 0%, #00d4ff 100%);
}

.theme-modern-dark .thank-you-page {
    background: linear-gradient(135deg, #1e1e1e 0%, #00d4ff 100%);
}

.theme-modern-dark .identification-page {
    background: linear-gradient(135deg, #1e1e1e 0%, #00d4ff 100%);
}

/* TEMA 7: LUXURY PLATINUM */
.theme-luxury-platinum {
    background: #f5f5f5;
}

.theme-luxury-platinum .btn-primary {
    background: #c0c0c0;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.theme-luxury-platinum .btn-primary:hover {
    background: #a9a9a9;
}

.theme-luxury-platinum .days-counter,
.theme-luxury-platinum .days-counter-hero {
    background: #e8e8e8;
    color: #2c3e50;
    border: 2px solid #c0c0c0;
}

.theme-luxury-platinum .rsvp-option input[type="radio"]:checked + .rsvp-label {
    border-color: #c0c0c0;
    background: #f0f0f0;
}

.theme-luxury-platinum .progress-fill {
    background: linear-gradient(90deg, #c0c0c0, #2c3e50);
}

.theme-luxury-platinum .step.current .step-number {
    background: #c0c0c0;
    color: #2c3e50;
}

.theme-luxury-platinum .event-banner {
    background: linear-gradient(135deg, #c0c0c0 0%, #2c3e50 100%);
}

.theme-luxury-platinum .thank-you-page {
    background: linear-gradient(135deg, #c0c0c0 0%, #2c3e50 100%);
}

.theme-luxury-platinum .identification-page {
    background: linear-gradient(135deg, #c0c0c0 0%, #2c3e50 100%);
}

/* ===== RESPONSIVO ===== */

@media (max-width: 768px) {
    .form-row,
    .phone-input-group,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-options {
        grid-template-columns: 1fr;
    }

    .event-header-card {
        grid-template-columns: 1fr;
    }

    .event-banner {
        grid-template-columns: 1fr;
    }

    .event-banner-image {
        width: 100%;
        height: 200px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .gifts-grid {
        grid-template-columns: 1fr;
    }

    .steps-indicator {
        grid-template-columns: repeat(3, 1fr);
    }

    .step-label {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .full-page-section {
        padding: 40px 20px;
    }

    .thank-you-container {
        padding: 30px 20px;
    }

    .identification-container {
        padding: 30px 20px;
    }

    .carousel-main {
        height: 250px;
    }

    .thank-you-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .rsvp-page {
        padding: 10px;
    }

    .form-card,
    .event-header-card {
        padding: 15px;
    }

    .form-card h2 {
        font-size: 18px;
    }

    .event-header-content h1 {
        font-size: 24px;
    }

    .btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .full-page-hero {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-main {
        height: 200px;
    }

    .thank-you-gallery {
        grid-template-columns: 1fr;
    }

    .steps-indicator {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 10px;
    }

    .step-content {
        padding: 20px;
        min-height: auto;
    }

    .step-navigation {
        flex-direction: column;
        padding: 15px;
    }

    .step-navigation .btn {
        width: 100%;
    }
}
/* ===== HEADER E FOOTER DA EMPRESA ===== */

/* HEADER */
.organizer-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.organizer-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.organizer-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 5px;
}

.organizer-info {
    flex: 1;
    color: white;
}

.organizer-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.organizer-contacts {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
}

.contact-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* FOOTER */
.organizer-footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7));
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.organizer-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    text-align: center;
}

.footer-section h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.footer-organizer-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contacts a,
.social-media-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-contacts a:hover,
.social-media-links a:hover {
    color: #ffd700;
    transform: translateX(5px);
}

.social-media-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.social-link {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .organizer-header-content {
        flex-direction: column;
        text-align: center;
    }

    .organizer-contacts {
        justify-content: center;
    }

    .organizer-footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-link {
        font-size: 12px;
    }
}

/* TEMAS - AJUSTES DE COR */

/* Elegant Gold */
.theme-elegant-gold .organizer-header {
    background: linear-gradient(135deg, #8B6914, #D4AF37);
}

.theme-elegant-gold .organizer-header-content {
    border-left: 4px solid #FFD700;
}

.theme-elegant-gold .organizer-footer {
    background: linear-gradient(135deg, #8B6914, #654321);
    border-top-color: #D4AF37;
}

/* Vibrant Party */
.theme-vibrant-party .organizer-header {
    background: linear-gradient(135deg, #FF6B9D, #C44569);
}

.theme-vibrant-party .organizer-footer {
    background: linear-gradient(135deg, #FF6B9D, #C44569);
    border-top-color: #FF1493;
}

/* Pastel Soft */
.theme-pastel-soft .organizer-header {
    background: linear-gradient(135deg, #FFB3D9, #B3E5FC);
}

.theme-pastel-soft .organizer-header-content {
    color: #333;
}

.theme-pastel-soft .organizer-name,
.theme-pastel-soft .contact-link {
    color: #333;
}

.theme-pastel-soft .contact-link {
    background: rgba(0, 0, 0, 0.05);
}

.theme-pastel-soft .contact-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

.theme-pastel-soft .organizer-footer {
    background: linear-gradient(135deg, #FFB3D9, #B3E5FC);
    color: #333;
    border-top-color: #FF69B4;
}

.theme-pastel-soft .footer-section h4,
.theme-pastel-soft .footer-organizer-name {
    color: #333;
}

/* Corporate Blue */
.theme-corporate-blue .organizer-header {
    background: linear-gradient(135deg, #003366, #0066CC);
}

.theme-corporate-blue .organizer-footer {
    background: linear-gradient(135deg, #003366, #0066CC);
    border-top-color: #0099FF;
}

/* Nature Green */
.theme-nature-green .organizer-header {
    background: linear-gradient(135deg, #2D5016, #558B2F);
}

.theme-nature-green .organizer-footer {
    background: linear-gradient(135deg, #2D5016, #558B2F);
    border-top-color: #7CB342;
}

/* Modern Dark */
.theme-modern-dark .organizer-header {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-left: 4px solid #00d4ff;
}

.theme-modern-dark .organizer-footer {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-top-color: #00d4ff;
}

/* Luxury Platinum */
.theme-luxury-platinum .organizer-header {
    background: linear-gradient(135deg, #C0C0C0, #E8E8E8);
}

.theme-luxury-platinum .organizer-header-content {
    color: #333;
}

.theme-luxury-platinum .organizer-name,
.theme-luxury-platinum .contact-link {
    color: #333;
}

.theme-luxury-platinum .contact-link {
    background: rgba(0, 0, 0, 0.05);
}

.theme-luxury-platinum .contact-link:hover {
    background: rgba(0, 0, 0, 0.1);
}

.theme-luxury-platinum .organizer-footer {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #fff;
    border-top-color: #FFD700;
}

.theme-luxury-platinum .footer-section h4,
.theme-luxury-platinum .footer-organizer-name {
    color: #fff;
}
/* ===== CR�DITO DO BUFFET MAIS ===== */

.footer-credit {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.credit-text {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-style: italic;
}

.credit-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.credit-link:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* TEMAS - AJUSTES DE COR DO CR�DITO */

.theme-elegant-gold .footer-credit {
    border-top-color: rgba(255, 215, 0, 0.3);
}

.theme-elegant-gold .credit-text {
    color: rgba(255, 255, 255, 0.8);
}

.theme-elegant-gold .credit-link {
    color: #FFD700;
    border-bottom-color: rgba(255, 215, 0, 0.5);
}

.theme-vibrant-party .footer-credit {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.theme-vibrant-party .credit-link {
    color: rgba(255, 255, 255, 0.95);
}

.theme-pastel-soft .footer-credit {
    border-top-color: rgba(0, 0, 0, 0.1);
}

.theme-pastel-soft .credit-text {
    color: rgba(0, 0, 0, 0.6);
}

.theme-pastel-soft .credit-link {
    color: rgba(0, 0, 0, 0.8);
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.theme-corporate-blue .footer-credit {
    border-top-color: rgba(0, 153, 255, 0.3);
}

.theme-corporate-blue .credit-link {
    color: #0099FF;
    border-bottom-color: rgba(0, 153, 255, 0.5);
}

.theme-nature-green .footer-credit {
    border-top-color: rgba(124, 179, 66, 0.3);
}

.theme-nature-green .credit-link {
    color: #7CB342;
    border-bottom-color: rgba(124, 179, 66, 0.5);
}

.theme-modern-dark .footer-credit {
    border-top-color: rgba(0, 212, 255, 0.2);
}

.theme-modern-dark .credit-link {
    color: #00d4ff;
    border-bottom-color: rgba(0, 212, 255, 0.3);
}

.theme-luxury-platinum .footer-credit {
    border-top-color: rgba(255, 215, 0, 0.3);
}

.theme-luxury-platinum .credit-text {
    color: rgba(255, 255, 255, 0.8);
}

.theme-luxury-platinum .credit-link {
    color: #FFD700;
    border-bottom-color: rgba(255, 215, 0, 0.5);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    .footer-credit {
        padding-top: 15px;
        margin-top: 15px;
    }

    .credit-text {
        font-size: 11px;
    }
}


/* ===== IMAGEM DO CONVITE (INVITATION HERO) ===== */

.invitation-hero {
    width: 100%;
    max-width: 600px;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 40px auto 50px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.invitation-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.invitation-hero:hover .invitation-image {
    transform: scale(1.02);
}

/* Ajuste para Full-Page Scroll */
.full-page-container .invitation-hero {
    max-width: 800px;
    margin: 60px auto 50px;
    padding: 20px;
}

/* Ajuste para Card-Based Layout */
.card-based-container .invitation-hero {
    margin: 0 auto 20px;
}

/* Responsividade para Tablet */
@media (max-width: 768px) {
    .invitation-hero {
        max-width: 100%;
        margin: 15px 0 20px 0;
    }
}

/* Responsividade para Tablet */
@media (max-width: 768px) {
    .invitation-hero {
        margin: 30px auto 40px;
        padding: 12px;
    }
}

/* Responsividade para Mobile */
@media (max-width: 480px) {
    .invitation-hero {
        aspect-ratio: 4 / 3;
        margin: 20px auto 30px;
        padding: 10px;
        border-radius: 8px;
    }
    
    .full-page-container .invitation-hero {
        margin: 30px auto 40px;
        max-width: 100%;
    }
}


/* ===== MELHORIAS DE GALERIA E IMAGENS ===== */

/* Timeline Gallery Wrapper */
.timeline-gallery-wrapper {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.timeline-gallery-wrapper .carousel-container {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    position: relative;
}

.timeline-gallery-wrapper .carousel-main {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.timeline-gallery-wrapper .carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Full-Page Hero Adaptativo */
.full-page-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px 20px;
    margin-top: 20px;
    background: #f8f9fa;
    min-height: auto;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 800px;
    width: 100%;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-content {
    text-align: center;
    color: #2c3e50;
    z-index: 2;
}

.hero-content h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.days-counter-hero {
    font-size: 18px;
    font-weight: 700;
    color: #e74c3c;
    background: #fff3e0;
    padding: 12px 24px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 15px;
}

/* Gallery Carousel Wrapper Responsivo */
.gallery-carousel-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-carousel-wrapper .carousel-container {
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
}

.gallery-carousel-wrapper .carousel-main {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: auto;
}

.gallery-carousel-wrapper .carousel-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 500px;
    display: block;
}

/* Event Gallery */
.event-gallery {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.carousel-indicators {
    display: flex;
    gap: 10px;
    justify-content: center;
    padding: 20px 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #3498db;
    width: 16px;
    height: 16px;
}

/* Responsividade para Tablet */
@media (max-width: 768px) {
    .timeline-gallery-wrapper {
        max-width: 100%;
    }

    .full-page-hero {
        padding: 30px 15px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .gallery-carousel-wrapper .carousel-image {
        max-height: 400px;
    }
}

/* Responsividade para Mobile */
@media (max-width: 480px) {
    .timeline-gallery-wrapper {
        max-width: 100%;
    }

    .full-page-hero {
        padding: 20px 10px;
    }

    .hero-image {
        max-width: 100%;
        border-radius: 8px;
    }

    .hero-content h1 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .days-counter-hero {
        font-size: 14px;
        padding: 8px 16px;
    }

    .gallery-carousel-wrapper .carousel-image {
        max-height: 300px;
    }
}


/* Timeline Gallery Section */
.timeline-gallery-section {
    width: 100%;
    padding: 30px 20px;
    display: flex;
    justify-content: center;
}

.timeline-gallery-section .timeline-gallery-wrapper {
    width: 100%;
}


/* ===== CORRE��O TIMELINE LAYOUT VERTICAL ===== */
.step-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.timeline-gallery-section {
    display: block !important;
    width: 100% !important;
}

.timeline-gallery-wrapper {
    display: block !important;
    width: 100% !important;
}

.step-navigation {
    width: 100%;
    display: flex;
    flex-direction: row;
}

/* Garantir que o step-content n�o fica lado a lado com galeria */
.step-content {
    display: block;
    width: 100%;
}


/* ===== PROTE��O CONTRA DUPLO SUBMIT ===== */

/* Spinner Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

/* Button Loading State */
.btn-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn.is-loading {
    pointer-events: none;
}

.btn.is-loading .btn-text {
    display: none;
}

.btn.is-loading .btn-loader {
    display: inline-flex;
}

/* ===== INTL-TEL-INPUT FIXES ===== */
.iti {
    width: 100%;
    display: block;
    margin-bottom: 20px;
}

.iti__country-list {
    z-index: 1000;
}

/* ===== PRINT STYLES ===== */
@media print {
    .no-print, 
    .organizer-header, 
    .organizer-footer, 
    .invitation-hero,
    .thank-you-actions,
    .btn,
    #share-whatsapp {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
        padding: 0 !important;
    }

    #rsvp-container {
        min-height: auto !important;
    }

    .thank-you-page {
        padding: 0 !important;
        min-height: auto !important;
    }

    .thank-you-container {
        box-shadow: none !important;
        border: 1px solid #eee !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .qr-code-image {
        width: 200px !important;
        height: 200px !important;
    }
}

.thank-you-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}



/* --- FULL PAGE SPLIT LAYOUT --- */
.layout-full-page .full-page-hero,
.layout-split-hero .full-page-hero {
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #f9f9f9;
}

.layout-full-page .hero-content-wrapper,
.layout-split-hero .hero-content-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    z-index: 2;
}

.layout-full-page .hero-image-container,
.layout-split-hero .hero-image-container {
    flex: 1;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px; /* Increased padding to prevent edge touching */
    background: #fff;
}

.layout-full-page .hero-image,
.layout-split-hero .hero-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Ensures the whole image is visible */
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: block;
}

.layout-full-page .hero-content-container,
.layout-split-hero .hero-content-container {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.layout-full-page .hero-content,
.layout-split-hero .hero-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
}

.layout-full-page .hero-content h1,
.layout-split-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.layout-full-page .hero-content p,
.layout-split-hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #555;
}

.layout-full-page .days-counter-hero,
.layout-split-hero .days-counter-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #0b0101;
    border-radius: 50px;
    font-weight: bold;
}

.layout-full-page .full-page-section,
.layout-split-hero .full-page-section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
}

@media (max-width: 992px) {
    .layout-full-page .hero-content-wrapper,
    .layout-split-hero .hero-content-wrapper {
        flex-direction: column;
    }
    .layout-full-page .hero-image-container,
    .layout-split-hero .hero-image-container {
        height: auto;
        width: 100%;
        padding: 40px 20px;
    }
    .layout-full-page .hero-content-container,
    .layout-split-hero .hero-content-container {
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }
    .layout-full-page .hero-content h1,
    .layout-split-hero .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* ===== DIALOGO MODAL (substitui o alert() do navegador) ===== */

.rsvp-dialog-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.55);
    animation: rsvp-dialog-fade-in 0.2s ease;
}

.rsvp-dialog {
    width: 100%;
    max-width: 380px;
    padding: 28px 24px 24px;
    border-radius: 12px;
    background: #fff;
    color: #333;
    text-align: center;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
    animation: rsvp-dialog-pop-in 0.2s ease;
}

.rsvp-dialog-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 12px;
    color: #e67e22;
}

.rsvp-dialog-title {
    margin-bottom: 8px;
    font-size: 18px;
}

.rsvp-dialog-message {
    margin-bottom: 20px;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.rsvp-dialog .rsvp-dialog-ok {
    min-width: 120px;
}

.theme-modern-dark .rsvp-dialog {
    background: #2d2d2d;
    color: #f0f0f0;
}

@keyframes rsvp-dialog-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rsvp-dialog-pop-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .rsvp-dialog-overlay,
    .rsvp-dialog {
        animation: none;
    }
}
