﻿/**
 * Contact Page Styles
 * 
 * @package Sports_Legacy
 */

/* Edit button styles are centralized in style.css */
/* See: "UNIFIED EDIT BUTTON STYLES" section */

/* Page Hero */
.contact-page .page-hero-section {
    padding: 80px 20px;
    color: white;
    text-align: center;
    margin-bottom: 0;
    position: relative;
}

.contact-page .page-hero-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-page .page-hero-subtitle {
    font-size: 1.3rem;
    color: var(--cf-primary);
}

/* Contact Main Section */
.contact-main-section {
    padding: 60px 20px;
    background: white;
    position: relative;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.contact-form-column {
    flex: 0 0 58.333%;
    max-width: 58.333%;
    padding: 0 15px;
}

.contact-info-column {
    flex: 0 0 41.667%;
    max-width: 41.667%;
    padding: 0 15px;
}

.contact-form-box,
.contact-info-box {
    border-radius: 8px;
    padding: 40px;
    background: #f5f5f5;
}

.contact-form-box h2,
.contact-info-box h2 {
    color: #1a1a1a;
    margin-bottom: 30px;
}

/* Form Styles */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1a1a1a;
    font-weight: 600;
}

.contact-form .form-control {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.contact-form .form-control:focus {
    outline: none;
    border-color: var(--cf-primary);
}

.contact-form textarea.form-control {
    resize: vertical;
}

.contact-form .checkbox-group {
    display: flex;
    align-items: flex-start;
}

.contact-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 5px;
}

.contact-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.contact-form .btn-submit {
    background: var(--cf-primary);
    color: white;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-form .btn-submit:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Contact Info Styles */
.contact-info-box .info-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.contact-info-box .info-item:last-child {
    border-bottom: none;
}

.contact-info-box .info-item h4 {
    color: #1a1a1a;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info-box .info-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-info-box .info-item a {
    color: var(--cf-primary);
}

.contact-info-box .info-item a:hover {
    color: #1a1a1a;
}

/* Social Links */
.contact-info-box .social-links {
    display: flex;
    gap: 15px;
}

.contact-info-box .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.contact-info-box .social-link:hover {
    background: var(--cf-primary);
}

/* FAQ Section */
.contact-faq-section {
    padding: 80px 20px;
    background: #f5f5f5;
    position: relative;
}

.contact-faq-section h2 {
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 50px;
}

.contact-faq-section .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.contact-faq-section .faq-item {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-faq-section .faq-item h3 {
    color: var(--cf-primary);
    margin-bottom: 15px;
}

.contact-faq-section .faq-item p {
    color: #666;
    line-height: 1.8;
}

/* Page Content */
.contact-page .page-content-section {
    padding: 60px 20px;
    background: white;
}

.contact-page .page-entry-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-page .page-hero-content h1 {
        font-size: 2rem;
    }

    .contact-form-box,
    .contact-info-box {
        margin-bottom: 30px;
    }

    .contact-form-column,
    .contact-info-column {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
