/* Contact Page Styles - PrinTex™ Theme */

/* Import PrinTex™ Brand Colors */
@import 'brand-colors.css';

/* Hero Section with QR Code */
.contact-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--brand-secondary-light) 0%, var(--brand-white) 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, var(--brand-accent-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--brand-secondary-lighter) 0%, transparent 50%);
    pointer-events: none;
}

.contact-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--brand-text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--brand-accent);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--brand-text-secondary);
    line-height: 1.6;
}

.qr-code-section {
    text-align: center;
}

.qr-code-container {
    background: var(--brand-white);
    border-radius: var(--brand-radius-xl);
    padding: 40px;
    box-shadow: var(--brand-shadow-medium);
    margin-bottom: 20px;
    display: inline-block;
}

.qr-code-image {
    width: 200px;
    height: 200px;
    border-radius: var(--brand-radius-lg);
    border: 3px solid var(--brand-accent);
    display: block;
    margin: 0 auto 15px auto;
}

.qr-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-text-primary);
    margin: 0 0 5px 0;
}

.qr-code-container small {
    color: var(--brand-text-secondary);
    font-size: 0.9rem;
}

.qr-instruction {
    color: var(--brand-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Contact Methods Section */
.contact-methods-section {
    padding: 80px 0;
    background: var(--brand-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--brand-text-primary);
    margin-bottom: 50px;
    font-weight: 600;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--brand-text-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-method-card {
    background: var(--brand-white);
    border-radius: var(--brand-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--brand-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--brand-border-light);
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--brand-shadow-medium);
}

.contact-method-card.primary {
    background: linear-gradient(45deg, var(--brand-accent), var(--brand-accent-light));
    color: var(--brand-white);
    border: none;
}

.contact-method-card.primary h3,
.contact-method-card.primary p {
    color: var(--brand-white);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.contact-method-card h3 {
    font-size: 1.3rem;
    color: var(--brand-text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-method-card p {
    color: var(--brand-text-secondary);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-method-card a {
    color: var(--brand-accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-method-card a:hover {
    color: var(--brand-text-primary);
    text-decoration: underline;
}

.contact-method-card.primary a {
    color: var(--brand-white);
}

.contact-method-card.primary a:hover {
    color: var(--brand-white-alpha-90);
}

.method-note {
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
}

/* Consultation Form Section */
.consultation-form-section {
    padding: 80px 0;
    background: var(--brand-secondary-light);
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--brand-white);
    padding: 50px;
    border-radius: var(--brand-radius-xl);
    box-shadow: var(--brand-shadow-medium);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--brand-text-primary);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--brand-border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--brand-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px var(--brand-accent-lighter);
}

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

.form-actions {
    text-align: center;
}

.primary-btn {
    background: linear-gradient(45deg, var(--brand-accent), var(--brand-accent-light));
    color: var(--brand-white);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.primary-btn:hover {
    background: linear-gradient(45deg, var(--brand-accent-dark), var(--brand-accent));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--brand-shadow-medium);
}

.response-promise {
    margin-top: 15px;
    color: var(--brand-text-secondary);
    font-size: 0.95rem;
    font-style: italic;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: var(--brand-white);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.expertise-card {
    background: var(--brand-white);
    border-radius: var(--brand-radius-lg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--brand-shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--brand-border-light);
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--brand-shadow-medium);
}

.expertise-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.expertise-card h3 {
    font-size: 1.3rem;
    color: var(--brand-text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

.expertise-card p {
    color: var(--brand-text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-methods-grid {
        grid-template-columns: 1fr;
    }

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

    .consultation-form {
        padding: 30px;
        margin: 0 20px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }

    .qr-code-image {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .contact-hero-section,
    .contact-methods-section,
    .consultation-form-section,
    .expertise-section {
        padding: 50px 0;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .consultation-form {
        padding: 20px;
        margin: 0 10px;
    }
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}