/* ===== CONTACT PAGE STYLES ===== */
/* Extracted from style.css - only classes used in contact.php */

/* PERFORMANCE: Removed @import statements to eliminate render-blocking */
/* Variables and components are now preloaded in HTML head */

/* ===== PAGE HERO (CONTACT PAGE) ===== */
.page-hero-content h1 {
    color: var(--cosmic-gold);
    background: linear-gradient(90deg, #d4af37, #e6c46b, #f4e08a, #e6c46b, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

.golden-text {
    position: relative;
    background: linear-gradient(90deg, #d4af37, #e6c46b, #f4e08a, #e6c46b, #d4af37);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
}

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

/* ===== CONTACT CONTAINER ===== */
.contact-container {
    width: 100%;                       /* Full width */
    margin: 0;                         /* No auto centering */
    padding: 4rem 2rem;                /* Standard padding */
}

.contact-container > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container.dark-cosmic {
    background: rgba(11, 20, 38, 0.95);
    padding: 4rem 2rem !important;
    position: relative;
    z-index: 0;
}

/* ===== CONTACT FORM SECTIONS ===== */
.contact-form-section h2,
.contact-info-section h2 {
    font-size: 2rem;
    color: var(--cosmic-gold);
    margin-bottom: 1.5rem;
}

.contact-form-section p,
.contact-info-section p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* ===== CONTACT FORM COLUMN ===== */
.contact-form-column {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    background: rgba(11, 20, 38, 0.6);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    max-width: 800px;
    width: 100%;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-form .form-row .form-group {
    margin-bottom: 0;
}

.contact-form .form-group label {
    display: block;
    color: var(--cosmic-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--cosmic-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== RADIO BUTTON STYLING ===== */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    border: 2px solid var(--cosmic-gold);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    position: relative;
}

.radio-option input[type="radio"]:checked {
    background: var(--cosmic-gold);
}

.radio-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
}

.radio-option label {
    color: var(--text-white);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

/* ===== FORM VALIDATION ERRORS ===== */
.contact-form .form-group input.error,
.contact-form .form-group textarea.error,
.contact-form .form-group select.error {
    border-color: #ff4757;
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.3);
}

.error-message {
    color: #ff4757;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: block;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    background: rgba(83, 52, 131, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-info h3 {
    color: var(--cosmic-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--cosmic-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--text-white);
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

/* ===== CONTACT METHODS 1-COLUMN LAYOUT ===== */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 1rem;
}

.contact-item {
    text-align: left;
    transition: all 0.3s ease;
    min-width: 0;
    overflow: hidden;
}

.contact-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
}

.contact-details h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0.25rem 0;
    line-height: 1.4;
}

.contact-details span {
    color: var(--cosmic-gold);
    font-size: 0.8rem;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

.contact-details a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--cosmic-gold);
}

.final-cta h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: clamp(1.4rem, 4vw, 3rem);
}

/* ===== ENHANCED BUTTON STYLING FOR DARK COSMIC ===== */
.contact-container.dark-cosmic .cta-button.secondary {
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.3);
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 768px) {
    .contact-container.dark-cosmic {
        padding: 2.5rem 1rem !important;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.5rem;
    }

    /* Force single column on mobile - higher specificity */
    .contact-container .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
        text-align: center;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Center align contact items on mobile */
    .contact-item {
        text-align: center !important;
    }
    
    .contact-details {
        text-align: center;
    }
    
    /* Social section mobile styling */
    .social-section {
        margin-top: 3rem !important;
    }
    
    /* Also fix form row on mobile */
    .contact-form .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ===== CONTACT LAYOUT GRID ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

/* ===== RESPONSIVE - TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .contact-container.dark-cosmic {
        padding: 3rem 1.5rem !important;
    }
    
    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ===== CONTACT DETAILS STYLING ===== */
.contact-details h3 {
    color: var(--cosmic-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-details span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    text-align: center;
    margin-top: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.social-section h3 {
    color: var(--cosmic-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background: rgba(83, 52, 131, 0.3);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--cosmic-gold);
    color: var(--deep-space);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}