/* 
 * Contact Page Specific Styles
 */ 

/* Hero Section */
.contact-hero-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}



.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}


/* Hero Contact Card */
.hero-contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 90px;
}

.quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
}

.contact-details {
    text-align: center;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-details h6 {
    margin: 0 0 0.25rem 0;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.contact-link {
    color: #f1c40f;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    transition: all 0.2s ease;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
}

.contact-link:hover {
    color: white;
    text-decoration: underline;
}

.contact-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    margin: 0;
}

/* Theme-specific contact details */
.dark-theme .contact-details h6 {
    color: rgba(255, 255, 255, 0.95);
}

.light-theme .contact-details h6 {
    color: rgba(0, 0, 0, 0.9);
}

.light-theme .contact-link {
    color: var(--primary);
}

.light-theme .contact-link:hover {
    color: var(--arcade-red);
}

.light-theme .contact-text {
    color: rgba(0, 0, 0, 0.7);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--bg-color);
    padding: 80px 0;
}

.contact-form-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

.form-header h2 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.contact-form-modern .form-floating {
    margin-bottom: 0;
}

.contact-form-modern .form-floating > label {
    padding: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.contact-form-modern .form-control,
.contact-form-modern .form-select {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1rem;
    font-size: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.contact-form-modern .form-control:focus,
.contact-form-modern .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(209, 32, 38, 0.1);
    background: var(--bg-color);
}

.contact-form-modern .form-control::placeholder {
    color: var(--text-muted);
}

/* Contact Info Section */
.contact-info-section {
    background: var(--light-bg);
}

/* Dark theme override for contact info section */
.dark-theme .contact-info-section.bg-light {
    background: rgba(33, 37, 41, 0.95) !important;
}

.info-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d, #495057);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

.info-card h4 {
    color: var(--text-color);
    font-weight: 700;
}

.info-card .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.address-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.social-links .btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 0.25rem;
}

/* FAQ Preview Section */
.faq-preview-section {
    background: var(--bg-color);
    padding: 80px 0;
}

.faq-preview-section h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.faq-preview-section .lead {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.faq-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6c757d, #495057);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(108, 117, 125, 0.3);
}

.faq-item h5 {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.faq-item p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Tablet Optimizations */
@media (max-width: 991px) and (min-width: 769px) {
    .hero-contact-card {
        padding: 1.5rem;
        max-width: 100%;
    }

    .quick-contact-item {
        padding: 1.1rem;
        min-height: 85px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        margin-right: 0.875rem;
    }

    .contact-details {
        min-height: 65px;
    }

    .contact-details h6 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .contact-link {
        font-size: 0.8rem;
    }

    .contact-text {
        font-size: 0.85rem;
    }
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .contact-hero-section {
        padding: 100px 0 60px;
        text-align: center;
    }

    .contact-hero-section .display-3 {
        font-size: 2.5rem;
    }

    .hero-stats {
        justify-content: center !important;
    }

    .quick-contact-item {
        padding: 1rem;
        min-height: 80px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .contact-details {
        min-height: 55px;
    }

    .contact-details h6 {
        font-size: 0.9rem;
    }

    .contact-link {
        font-size: 0.75rem;
    }

    .contact-text {
        font-size: 0.8rem;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }

    .contact-form-card .h1 {
        font-size: 1.8rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }

    .social-links .btn {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .btn-instagram,
    .btn-youtube {
        width: 46px;
        height: 46px;
        font-size: 1rem;
    }

    .faq-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}

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

    .contact-hero-section .display-3 {
        font-size: 2rem;
    }

    .hero-contact-card {
        padding: 1.5rem;
    }

    .quick-contact-item {
        padding: 0.5rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    .contact-form-card {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ========================================
   DARK THEME STYLES - CONTACT PAGE ONLY
======================================== */

/* Dark theme hero uses the theme's dark gradient */
.dark-theme .contact-hero-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.dark-theme .contact-hero-section .text-white {
    color: white !important;
}

.dark-theme .contact-hero-section .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

.dark-theme .contact-hero-section .text-gradient {
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}


.dark-theme .hero-contact-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.dark-theme .quick-contact-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.dark-theme .quick-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dark-theme .contact-icon {
    background: rgba(255, 255, 255, 0.15);
}

.dark-theme .contact-form-card {
    background: var(--darker-bg);
    border-color: var(--border-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.dark-theme .contact-form-card h2 {
    color: white;
}

.dark-theme .form-floating > label {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme .contact-form-modern .form-control,
.dark-theme .contact-form-modern .form-select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.dark-theme .contact-form-modern .form-control:focus,
.dark-theme .contact-form-modern .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    color: white;
}

.dark-theme .contact-form-modern .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.dark-theme .contact-info-section {
    background: rgba(33, 37, 41, 0.95);
}

.dark-theme .info-card {
    background: var(--darker-bg);
    border-color: var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dark-theme .info-card h4 {
    color: white;
}

.dark-theme .info-card .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.dark-theme .address-text p {
    color: rgba(255, 255, 255, 0.8);
}

.dark-theme .faq-preview-section {
    background: var(--bg-color);
}

.dark-theme .faq-preview-section h2 {
    color: white;
}

.dark-theme .faq-preview-section .lead {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme .faq-item {
    background: var(--darker-bg);
    border-color: var(--border-color);
}

.dark-theme .faq-item h5 {
    color: white;
}

.dark-theme .faq-item p {
    color: rgba(255, 255, 255, 0.7);
}

.dark-theme .faq-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
}

/* Alert styling for contact page dark theme */
.dark-theme .alert {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.dark-theme .alert-success {
    background: rgba(25, 135, 84, 0.2);
    border-color: rgba(25, 135, 84, 0.3);
    color: #d1e7dd;
}

.dark-theme .alert-danger {
    background: rgba(220, 53, 69, 0.2);
    border-color: rgba(220, 53, 69, 0.3);
    color: #f5c6cb;
}

.dark-theme .alert-warning {
    background: rgba(255, 193, 7, 0.2);
    border-color: rgba(255, 193, 7, 0.3);
    color: #fff3cd;
}

/* Button fixes for contact page dark theme */
.dark-theme .info-card .btn-outline-primary {
    background-color: var(--arcade-blue) !important;
    color: white !important;
    border-color: var(--arcade-blue) !important;
}

.dark-theme .info-card .btn-outline-primary:hover {
    background-color: var(--arcade-blue) !important;
    color: white !important;
    transform: translateY(2px);
}

/* Form validation states for dark theme */
.dark-theme .contact-form-modern .form-control.is-valid,
.dark-theme .contact-form-modern .form-select.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73 3.42-3.42c.2-.2.5-.2.7 0s.2.5 0 .7L2.73 7.77c-.1.1-.2.15-.35.15-.13 0-.26-.05-.35-.15L.65 5.48c-.2-.2-.2-.5 0-.7s.5-.2.7 0L2.3 6.73z'/%3e%3c/svg%3e");
}

.dark-theme .contact-form-modern .form-control.is-invalid,
.dark-theme .contact-form-modern .form-select.is-invalid {
    border-color: #dc3545;
    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='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* Ensure all text in contact page is properly colored in dark theme */
.dark-theme .contact-form-card p,
.dark-theme .contact-form-card .text-muted {
    color: var(--text-muted) !important;
}

/* Fix any remaining hardcoded colors */
.dark-theme .contact-info-section .bg-light {
    background-color: rgba(33, 37, 41, 0.95) !important;
}

/* ========================================
   LIGHT THEME STYLES
======================================== */

.light-theme .contact-hero-section {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
}

.light-theme .text-white {
    color: white !important;
}

.light-theme .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.light-theme .hero-contact-card {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.light-theme .quick-contact-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
}

.light-theme .quick-contact-item:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.light-theme .contact-icon {
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary);
}

.light-theme .contact-form-card {
    background: white;
    border-color: #e9ecef;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.light-theme .contact-form-card h2 {
    color: #212529;
}

.light-theme .form-floating > label {
    color: #6c757d;
}

.light-theme .contact-form-modern .form-control,
.light-theme .contact-form-modern .form-select {
    background: white;
    border-color: #dee2e6;
    color: #212529;
}

.light-theme .contact-form-modern .form-control:focus,
.light-theme .contact-form-modern .form-select:focus {
    background: white;
    border-color: var(--primary);
    color: #212529;
}

.light-theme .contact-form-modern .form-control::placeholder {
    color: #adb5bd;
}

.light-theme .contact-info-section {
    background: #f8f9fa;
}

.light-theme .info-card {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.light-theme .info-card h4 {
    color: #212529;
}

.light-theme .info-card .text-muted {
    color: #6c757d !important;
}

.light-theme .address-text p {
    color: #495057;
}

.light-theme .faq-preview-section {
    background: white;
}

.light-theme .faq-preview-section h2 {
    color: #212529;
}

.light-theme .faq-preview-section .lead {
    color: #6c757d;
}

.light-theme .faq-item {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme .faq-item h5 {
    color: #212529;
}

.light-theme .faq-item p {
    color: #6c757d;
}

/* Select dropdown theme optimization */
.dark-theme .form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
}

.dark-theme .form-select:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--primary) !important;
    color: white !important;
    box-shadow: 0 0 0 0.2rem rgba(22, 104, 253, 0.25) !important;
}

.dark-theme .form-select option {
    background-color: var(--darker-bg) !important;
    color: white !important;
}

.light-theme .form-select {
    background-color: white !important;
    border-color: #dee2e6 !important;
    color: #212529 !important;
}

.light-theme .form-select:focus {
    background-color: white !important;
    border-color: var(--primary) !important;
    color: #212529 !important;
}

.light-theme .form-select option {
    background-color: white !important;
    color: #212529 !important;
}

/* Social Media Buttons with Brand Colors */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border: none !important;
    color: white !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.btn-instagram:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(187, 24, 136, 0.4);
}

.btn-youtube {
    background: #ff0000 !important;
    border: none !important;
    color: white !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.btn-youtube:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.social-links .btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin: 0 0.25rem;
}

/* Fix FAQ lead text color in dark theme */
.dark-theme .faq-preview-section .lead.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix stat labels in light theme - make them dark for readability */

/* Fix hero text colors in light theme for contact page */
.light-theme .contact-hero-section h1.text-white,
.light-theme .contact-hero-section .display-3.text-white {
    color: #000000 !important;
}

.light-theme .contact-hero-section .text-white-50,
.light-theme .contact-hero-section p.lead.text-white-50 {
    color: rgba(0, 0, 0, 0.6) !important;
}


.light-theme .contact-hero-section .text-gradient {
    color: white !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}


/* Form validation states for light theme */
.light-theme .contact-form-modern .form-control.is-valid,
.light-theme .contact-form-modern .form-select.is-valid {
    border-color: #198754;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='m2.3 6.73 3.42-3.42c.2-.2.5-.2.7 0s.2.5 0 .7L2.73 7.77c-.1.1-.2.15-.35.15-.13 0-.26-.05-.35-.15L.65 5.48c-.2-.2-.2-.5 0-.7s.5-.2.7 0L2.3 6.73z'/%3e%3c/svg%3e");
}

.light-theme .contact-form-modern .form-control.is-invalid,
.light-theme .contact-form-modern .form-select.is-invalid {
    border-color: #dc3545;
    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='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

/* Alert styling for contact page light theme */
.light-theme .alert-success {
    background-color: rgba(25, 135, 84, 0.1);
    border-color: rgba(25, 135, 84, 0.2);
    color: #0f5132;
}

.light-theme .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.2);
    color: #842029;
}

.light-theme .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.2);
    color: #664d03;
}

/* Button hover effects for light theme */
.light-theme .info-card .btn-outline-primary:hover {
    transform: translateY(2px);
}

/* Winners Section Skeleton Loaders */
.winner-skeleton {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(90deg, #e0e0e0 25%, #d0d0d0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    flex-shrink: 0;
    margin: 0 1rem;
}

.dark-theme .winner-skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #1a1a1a 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Dynamic winner images */
.winner-img {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.winner-img[style*="opacity: 1"] {
    opacity: 1 !important;
    visibility: visible !important;
} 