/**
 * Contact Us Page Styles
 * Supports light/dark theme switching
 *
 * @package Beond_Custom
 */

/* ============================================
   Contact Page Container
   ============================================ */

.contact-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ============================================
   Hero Section
   ============================================ */

.contact-hero {
    background-color: #F9FAFB;
    padding: 100px 0 80px;
    text-align: center;
}

[data-theme="dark"] .contact-hero {
    background-color: var(--navy-deep);
}

.hero-label {
    display: inline-block;
    color: #D4AF37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

[data-theme="dark"] .hero-label {
    color: #F4CA64;
}

.hero-title {
    font-family: var(--font-headline), Georgia, serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1F2937;
}

[data-theme="dark"] .hero-title {
    color: #F3F4F6;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    color: #6B7280;
    max-width: 700px;
    margin: 0 auto;
}

[data-theme="dark"] .hero-subtitle {
    color: #9CA3AF;
}

/* ============================================
   Contact Main Section
   ============================================ */

.contact-main {
    padding: 100px 0;
    background-color: #FFFFFF;
}

[data-theme="dark"] .contact-main {
    background-color: var(--navy-deep);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

/* ============================================
   Contact Info
   ============================================ */

.contact-info .section-title {
    font-family: var(--font-headline), Georgia, serif;
    font-size: 36px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 16px;
}

[data-theme="dark"] .contact-info .section-title {
    color: #F3F4F6;
}

.contact-info .section-subtitle {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 40px;
}

[data-theme="dark"] .contact-info .section-subtitle {
    color: #9CA3AF;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background-color: #F9FAFB;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .info-card {
    background-color: var(--faq-card-bg);
}

.info-card:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .info-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #D4AF37;
    color: #FFFFFF;
    border-radius: 10px;
}

[data-theme="dark"] .info-icon {
    background-color: #F4CA64;
    color: #0A0E17;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

[data-theme="dark"] .info-content h3 {
    color: #F3F4F6;
}

.info-content p {
    font-size: 15px;
    color: #4B5563;
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}

[data-theme="dark"] .info-content p {
    color: #D1D5DB;
}

.info-note {
    font-size: 13px;
    color: #9CA3AF;
    font-style: italic;
}

[data-theme="dark"] .info-note {
    color: #6B7280;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.social-links a {
    font-size: 14px;
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

[data-theme="dark"] .social-links a {
    color: #F4CA64;
}

.social-links a:hover {
    color: #0A0E17;
}

[data-theme="dark"] .social-links a:hover {
    color: #FFFFFF;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form-wrapper {
    background-color: #F9FAFB;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .contact-form-wrapper {
    background-color: var(--faq-card-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form-header {
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

[data-theme="dark"] .form-header h2 {
    color: #F3F4F6;
}

.form-header p {
    font-size: 15px;
    color: #6B7280;
}

[data-theme="dark"] .form-header p {
    color: #9CA3AF;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

[data-theme="dark"] .form-group label {
    color: #E5E7EB;
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    font-size: 15px;
    color: #1F2937;
    background-color: #FFFFFF;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    color: #F3F4F6;
    background-color: #111827;
    border-color: #374151;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group select:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: #F4CA64;
    box-shadow: 0 0 0 3px rgba(244, 202, 100, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: #4B5563;
}

[data-theme="dark"] .checkbox-label span {
    color: #D1D5DB;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #D4AF37;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

[data-theme="dark"] .submit-btn {
    background-color: #F4CA64;
    color: #0A0E17;
}

.submit-btn:hover {
    background-color: #B8941F;
    transform: translateY(-2px);
}

[data-theme="dark"] .submit-btn:hover {
    background-color: #FFD700;
}

.submit-btn:active {
    transform: translateY(0);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(4px);
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #D1FAE5;
    color: #065F46;
    border: 1px solid #10B981;
}

[data-theme="dark"] .form-message.success {
    background-color: #064E3B;
    color: #6EE7B7;
}

.form-message.error {
    display: block;
    background-color: #FEE2E2;
    color: #991B1B;
    border: 1px solid #EF4444;
}

[data-theme="dark"] .form-message.error {
    background-color: #7F1D1D;
    color: #FCA5A5;
}

/* ============================================
   FAQ Section
   ============================================ */

.contact-faq {
    padding: 100px 0;
    background-color: #F9FAFB;
}

[data-theme="dark"] .contact-faq {
    background-color: var(--navy-deep);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: #D4AF37;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

[data-theme="dark"] .section-label {
    color: #F4CA64;
}

.section-title {
    font-family: var(--font-headline), Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    color: #1F2937;
}

[data-theme="dark"] .section-title {
    color: #F3F4F6;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background-color: #FFFFFF;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .faq-item {
    background-color: var(--faq-card-bg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .faq-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

[data-theme="dark"] .faq-item h3 {
    color: #F3F4F6;
}

.faq-item p {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.7;
}

[data-theme="dark"] .faq-item p {
    color: var(--cream);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1200px) {
    .contact-page .container {
        padding: 0 40px;
    }
    
    .contact-grid {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-page .container {
        padding: 0 30px;
    }
    
    .contact-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .contact-main {
        padding: 80px 0;
    }
    
    .contact-info .section-title {
        font-size: 32px;
    }
    
    .contact-faq {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .contact-page .container {
        padding: 0 20px;
    }

    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .stat-item {
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-label {
        font-size: 12px;
    }

    .contact-main {
        padding: 50px 0;
    }
    
    .contact-grid {
        gap: 40px;
    }
    
    .contact-info .section-title {
        font-size: 28px;
    }
    
    .contact-info .section-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .info-card {
        padding: 20px;
        gap: 16px;
    }
    
    .info-icon {
        width: 44px;
        height: 44px;
    }
    
    .info-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .info-content h3 {
        font-size: 16px;
    }
    
    .info-content p {
        font-size: 14px;
    }

    .contact-form-wrapper {
        padding: 30px 24px;
    }
    
    .form-header h2 {
        font-size: 24px;
    }
    
    .form-header p {
        font-size: 14px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .contact-form {
        gap: 16px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px 28px;
        font-size: 15px;
        width: 100%;
    }

    .contact-faq {
        padding: 50px 0;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .faq-item {
        padding: 24px;
    }
    
    .faq-item h3 {
        font-size: 18px;
    }
    
    .faq-item p {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }
    
    .section-label {
        font-size: 12px;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .contact-page .container {
        padding: 0 12px;
    }
    
    .contact-hero {
        padding: 40px 0 25px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .hero-label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }
    
    .contact-main {
        padding: 30px 0;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .contact-info .section-title {
        font-size: 20px;
    }
    
    .contact-info .section-subtitle {
        font-size: 14px;
    }
    
    .info-cards {
        gap: 12px;
    }
    
    .info-card {
        padding: 14px 12px;
        gap: 12px;
        border-radius: 10px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }
    
    .info-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .info-content h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .info-content p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .info-note {
        font-size: 11px;
    }
    
    .social-links {
        gap: 10px;
        margin-top: 6px;
    }
    
    .social-links a {
        font-size: 12px;
    }
    
    .contact-form-wrapper {
        padding: 20px 16px;
        border-radius: 12px;
    }
    
    .form-header {
        margin-bottom: 20px;
    }
    
    .form-header h2 {
        font-size: 20px;
    }
    
    .form-header p {
        font-size: 13px;
    }
    
    .contact-form {
        gap: 12px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 100px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 6px;
    }
    
    .contact-faq {
        padding: 35px 0;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .section-header {
        margin-bottom: 25px;
    }
    
    .faq-grid {
        gap: 16px;
    }
    
    .faq-item {
        padding: 18px;
        border-radius: 10px;
    }
    
    .faq-item h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .faq-item p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 375px) {
    .contact-page .container {
        padding: 0 12px;
    }
    
    .contact-hero {
        padding: 40px 0 25px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .contact-main {
        padding: 35px 0;
    }
    
    .contact-info .section-title {
        font-size: 22px;
    }
    
    .contact-info .section-subtitle {
        font-size: 14px;
    }
    
    .info-card {
        padding: 14px;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
    }
    
    .info-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .info-content h3 {
        font-size: 14px;
    }
    
    .info-content p {
        font-size: 12px;
    }
    
    .contact-form-wrapper {
        padding: 20px 16px;
    }
    
    .form-header h2 {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .faq-item {
        padding: 18px;
    }
    
    .faq-item h3 {
        font-size: 15px;
    }
    
    .faq-item p {
        font-size: 12px;
    }
    
    .info-note {
        font-size: 10px;
    }
    
    .social-links {
        gap: 8px;
    }
    
    .social-links a {
        font-size: 11px;
    }
    
    .form-header {
        margin-bottom: 16px;
    }
    
    .form-header p {
        font-size: 12px;
    }
    
    .contact-form {
        gap: 10px;
    }
    
    .form-group label {
        font-size: 11px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 9px 10px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 11px 18px;
        font-size: 13px;
    }
    
    .section-label {
        font-size: 10px;
    }
}

@media (max-width: 320px) {
    .contact-page .container {
        padding: 0px 20px;
    }
    
    .contact-hero {
        padding: 30px 0 20px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .hero-label {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    
    .hero-title {
        font-size: 18px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .contact-main {
        padding: 20px 0;
    }
    
    .contact-grid {
        gap: 20px;
    }
    
    .contact-info .section-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .contact-info .section-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
    }
    
    .info-cards {
        gap: 8px;
    }
    
    .info-card {
        padding: 10px 8px;
        gap: 8px;
        border-radius: 8px;
        min-height: 120px;
    }
    
    .info-card:hover {
        transform: translateX(4px);
    }
    
    .info-icon {
        width: 28px;
        height: 28px;
        border-radius: 6px;
    }
    
    .info-icon svg {
        width: 12px;
        height: 12px;
    }
    
    .info-content h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }
    
    .info-content p {
        font-size: 14px;
        line-height: 1.3;
        margin-bottom: 2px;
    }
    
    .info-note {
        font-size: 9px;
    }
    
    .social-links {
        gap: 6px;
        margin-top: 4px;
    }
    
    .social-links a {
        font-size: 10px;
    }
    
    .contact-form-wrapper {
        padding: 14px 10px;
        border-radius: 8px;
    }
    
    .form-header {
        margin-bottom: 14px;
    }
    
    .form-header h2 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .form-header p {
        font-size: 13px;
        color: var(--cream);
    }
    
    .contact-form {
        gap: 8px;
    }
    
    .form-row {
        gap: 8px;
    }
    
    .form-group label {
        font-size: 10px;
        margin-bottom: 4px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .form-group textarea {
        min-height: 80px;
    }
    
    .submit-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .contact-faq {
        padding: 30px 0;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .section-label {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .faq-grid {
        gap: 12px;
    }
    
    .faq-item {
        padding: 14px;
        border-radius: 8px;
    }
    
    .faq-item h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .faq-item p {
        font-size: 13px;
        line-height: 1.4;
    }
}
