/**
 * =====================================================
 * ESTILOS CUSTOMIZADOS - LISTA VIP
 * Design Moderno e Responsivo para Festas e Eventos
 * =====================================================
 */

/* =====================================================
   CONFIGURAÇÕES GLOBAIS
   ===================================================== */

:root {
    /* Cores principais - CUSTOMIZE AQUI para mudar o esquema de cores */
    --primary-color: #8b5cf6;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-party: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);

    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background-color: #f8f9fa;
}

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

.hero-section {
    position: relative;
    min-height: 100vh;
    /* Imagem de fundo - CUSTOMIZE AQUI */
    background: url('../images/hero-background.jpg') center/cover no-repeat;
    background-attachment: fixed;
    /* Fallback caso não tenha imagem */
    background-color: #667eea;
    background-image: var(--gradient-primary);
}

/* Caso não tenha imagem, usa um gradiente animado */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

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

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

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    padding: 20px;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Animações de entrada */
.animate-fade-in {
    animation: fadeIn 1s ease-in;
}

.animate-fade-in-delay-1 {
    animation: fadeIn 1s ease-in 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

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

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

/* =====================================================
   CARD DO FORMULÁRIO
   ===================================================== */

.form-card {
    background: white;
    border-radius: 25px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.35);
}

.form-header {
    margin-bottom: 30px;
}

.form-icon {
    font-size: 60px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =====================================================
   ESTILOS DO FORMULÁRIO
   ===================================================== */

.form-label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: 12px 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    outline: none;
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: var(--danger-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-valid,
.form-select.is-valid {
    border-color: var(--success-color);
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--danger-color);
    font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Checkboxes customizados */
.form-check-input {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-check-label {
    margin-left: 8px;
    cursor: pointer;
    user-select: none;
}

.horario-group {
    background: #f9fafb;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
}

.horario-group .form-check {
    margin-bottom: 8px;
}

.horario-group .form-check:last-child {
    margin-bottom: 0;
}

/* =====================================================
   BOTÃO DE ENVIO
   ===================================================== */

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

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

/* =====================================================
   ALERTAS
   ===================================================== */

.alert {
    border-radius: 12px;
    padding: 16px 20px;
    border: none;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

/* =====================================================
   SEÇÃO DE BENEFÍCIOS
   ===================================================== */

.benefits-section {
    background: white;
    position: relative;
}

.benefit-card {
    padding: 30px 20px;
    border-radius: 20px;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: rotate(360deg) scale(1.1);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer-section {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
}

/* =====================================================
   RESPONSIVIDADE
   ===================================================== */

@media (max-width: 991px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .form-card {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .form-icon {
        font-size: 50px;
    }

    .btn-primary {
        font-size: 14px;
        padding: 12px 24px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* =====================================================
   ANIMAÇÕES DE LOADING
   ===================================================== */

@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    vertical-align: text-bottom;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

.spinner-border-sm {
    width: 0.875rem;
    height: 0.875rem;
    border-width: 2px;
}

/* =====================================================
   CLASSES UTILITÁRIAS
   ===================================================== */

.d-none {
    display: none !important;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   CUSTOMIZAÇÃO DE IMAGENS
   ADICIONE SUAS PRÓPRIAS IMAGENS NA PASTA /images/
   ===================================================== */

/*
  Para personalizar a imagem de fundo do hero:
  1. Coloque sua imagem na pasta /images/
  2. Edite a linha 50 alterando 'hero-background.jpg' para o nome da sua imagem

  Exemplo de outras imagens que você pode adicionar:
  - Logo da empresa
  - Ícones customizados
  - Imagens de produtos/serviços
  - Banner promocional
*/
