/* ===== Contact Page Styles - Cazno Relay Theme ===== */

/* Contact Hero Section */
.contact-hero-section {
    min-height: 60vh;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

.contact-hero-section .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(245, 158, 11, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.contact-hero-section .container {
    z-index: 2;
    position: relative;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--dark-bg);
    position: relative;
}

.contact-form-container {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

/* Form Styles */
.contact-form {
    position: relative;
    z-index: 2;
}

.form-header h2 {
    color: var(--text-primary);
}

.form-header p {
    color: var(--text-secondary);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-label i {
    color: var(--primary-color);
}

.form-control {
    background: var(--dark-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    background: var(--dark-surface);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1.1rem;
}

/* Submit Button */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Thank You Message */
.thank-you-message {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.thank-you-content h2 {
    color: var(--text-primary);
}

.thank-you-content p {
    color: var(--text-secondary);
}

.contact-info p {
    color: var(--text-secondary);
}

.contact-info i {
    color: var(--primary-color);
}

/* Contact Information Section */
.contact-info-section {
    background: var(--dark-surface) !important;
}

.contact-info-card {
    background: var(--dark-card);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-info-card h5 {
    color: var(--text-primary);
}

.contact-info-card p {
    color: var(--text-secondary);
}

.contact-info-card .btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

/* Contact Icon Large */
.contact-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 2rem;
        margin: 1rem;
    }
    
    .contact-hero-section {
        min-height: 50vh;
        padding-top: 80px;
    }
    
    .contact-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .contact-info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .contact-form-container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .contact-hero-section h1 {
        font-size: 2rem;
    }
    
    .form-control-lg {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Form Group Spacing */
.form-group {
    margin-bottom: 1.5rem;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success Animation */
.thank-you-message.animate-fade-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.form-control.is-valid {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.invalid-feedback {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    color: var(--secondary-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Floating Elements for Contact Page */
.contact-hero-section .floating-element {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.contact-hero-section .floating-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-hero-section .floating-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.contact-hero-section .floating-3 {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
