/* DreamBridge Media - Contact Page Styles */

/* Contact Form Styles */
.dreambridge-form {
    position: relative;
    overflow: hidden;
}

.dreambridge-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(99, 102, 241, 0.05), transparent, rgba(236, 72, 153, 0.05), transparent);
    animation: rotate 30s linear infinite;
    opacity: 0.7;
}

/* Form Steps */
.form-step {
    display: none;
    animation: slideInRight 0.5s ease-out;
}

.form-step.active {
    display: block;
}

.form-step.prev {
    animation: slideInLeft 0.5s ease-out;
}

/* Step Header */
.step-header {
    position: relative;
    z-index: 2;
}

.step-number {
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.progress-bar {
    background: rgba(229, 231, 235, 0.3);
    border-radius: 1rem;
    overflow: hidden;
}

.progress-fill {
    transition: width 0.5s ease-in-out;
}

/* Form Controls */
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark .form-label {
    color: #d1d5db;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(229, 231, 235, 0.5);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.dark .form-input,
.dark .form-select,
.dark .form-textarea {
    background: rgba(31, 41, 55, 0.8);
    border-color: rgba(75, 85, 99, 0.5);
    color: #f9fafb;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.dark .form-input:focus,
.dark .form-select:focus,
.dark .form-textarea:focus {
    background: rgba(31, 41, 55, 0.95);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
    font-style: italic;
}

.dark .form-input::placeholder,
.dark .form-textarea::placeholder {
    color: #6b7280;
}

/* Path Selection */
.path-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.path-btn::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.6s ease;
}

.path-btn:hover::before {
    left: 100%;
}

.path-btn.active {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Service Checkboxes */
.services-grid {
    position: relative;
    z-index: 2;
}

.service-checkbox {
    cursor: pointer;
}

.service-checkbox input {
    display: none;
}

.checkbox-card {
    display: flex;
    align-items: center;
    space-x: 1rem;
    padding: 1rem;
    border: 2px solid rgba(229, 231, 235, 0.5);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.dark .checkbox-card {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(75, 85, 99, 0.5);
}

.checkbox-card i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.service-checkbox:hover .checkbox-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.service-checkbox input:checked + .checkbox-card {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.dark .service-checkbox input:checked + .checkbox-card {
    background: rgba(99, 102, 241, 0.2);
}

/* Contact Methods */
.contact-methods {
    position: relative;
    z-index: 2;
}

.contact-method {
    cursor: pointer;
}

.contact-method input {
    display: none;
}

.method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border: 2px solid rgba(229, 231, 235, 0.5);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.dark .method-card {
    background: rgba(31, 41, 55, 0.6);
    border-color: rgba(75, 85, 99, 0.5);
}

.method-card i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #6366f1;
}

.contact-method:hover .method-card {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #6366f1;
}

.contact-method input:checked + .method-card {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.dark .contact-method input:checked + .method-card {
    background: rgba(99, 102, 241, 0.2);
}

/* Navigation Buttons */
.nav-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-btn::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.6s ease;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Step Indicators */
.step-indicators {
    position: relative;
    z-index: 2;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}

.step-dot.active {
    background: linear-gradient(45deg, #6366f1, #ec4899);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.step-dot.completed {
    background: #10b981;
}

/* Alternative Options */
.option-card {
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 1rem;
}

.option-card:hover::before {
    opacity: 1;
}

.option-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dark .option-card:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.option-icon {
    position: relative;
    z-index: 2;
}

/* Contact Info */
.contact-item {
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-4px);
}

.contact-icon {
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

/* Form Field Specific Styles */
.creator-specific,
.brand-specific {
    position: relative;
    z-index: 2;
}

.brand-specific.hidden {
    display: none;
}

/* Loading State */
.form-loading {
    position: relative;
}

.form-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.5rem;
    z-index: 10;
}

.dark .form-loading::after {
    background: rgba(31, 41, 55, 0.8);
}

/* Success Animation */
.success-icon {
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Form Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Error States */
.form-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.error-message {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .dreambridge-form {
        padding: 1.5rem;
    }
    
    .path-btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-indicators {
        order: -1;
    }
}

/* Print Styles */
@media print {
    .dreambridge-form,
    .option-card,
    .contact-info {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
    
    .nav-btn,
    .path-btn {
        background: #f3f4f6 !important;
        color: #374151 !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .form-input,
    .form-select,
    .form-textarea,
    .checkbox-card,
    .method-card {
        border: 2px solid #000;
        background: #fff;
    }
    
    .dark .form-input,
    .dark .form-select,
    .dark .form-textarea,
    .dark .checkbox-card,
    .dark .method-card {
        border: 2px solid #fff;
        background: #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .form-step,
    .nav-btn,
    .option-card,
    .contact-item {
        animation: none !important;
        transition: none !important;
    }
    
    .dreambridge-form::before {
        animation: none !important;
    }
}