﻿/**
 * Contact Page Styles
 * @version 1.2
 * @path /asset/css/templates/contact.css
 * 
 * CHANGES IN v1.2 (2026-02-09):
 * - ADDED: .contact-hero-headline class alongside h1 selectors (4 locations)
 *   for SEO fix (hero H1 changed to P tag, header H1 is now only H1)
 * 
 * Color scheme matches resume-writing-service.php:
 * - Hero: Light blue gradient
 * - Primary buttons: Green #02c153
 * - Navy text: #1f295e
 * - Accent blue: #0284c7
 */

/* ==========================================
   HERO SECTION
   ========================================== */

.contact-hero {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    padding: 60px 24px 80px;
}

.contact-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-eyebrow {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0284c7;
    margin-bottom: 20px;
}

/* v1.2: Added .contact-hero-headline for SEO (h1→p tag change) */
.contact-hero-content h1,
.contact-hero-content .contact-hero-headline {
    font-size: 52px;
    font-weight: 700;
    color: #1f295e;
    line-height: 1.15;
    margin-bottom: 40px;
}

.contact-hero-content h1 .highlight,
.contact-hero-content .contact-hero-headline .highlight {
    color: #02c153;
    white-space: nowrap;
}

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

.contact-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-benefit svg {
    flex-shrink: 0;
    margin-top: 3px;
    width: 26px;
    height: 26px;
}

.contact-benefit span {
    font-size: 19px;
    color: #1f295e;
    line-height: 1.5;
}

/* Hero Testimonials */
.hero-testimonials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 60px;
    max-width: 540px;
}

.hero-testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
}

.hero-testimonial-image {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 12px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-testimonial-card blockquote {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333;
    margin: 0 0 12px 0;
    font-style: italic;
}

.hero-testimonial-card blockquote strong {
    color: #059669;
    font-style: normal;
}

.hero-testimonial-card cite {
    font-size: 0.85rem;
    color: #666;
    font-style: normal;
    font-weight: 600;
}

/* ==========================================
   FORM STYLES
   ========================================== */

.contact-form-wrapper {
    display: flex;
    justify-content: flex-end;
}

.contact-form-container {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 480px;
}

.contact-form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 28px;
    text-align: center;
}

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

.form-group {
    position: relative;
}

.form-group input[type=text], .form-group input[type=email], .form-group input[type=tel] {
    width: 100%;
    padding: 18px;
    font-size: 17px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #0284c7;
}

.form-group input.invalid {
    border-color: #ef4444;
}

.error-message {
    font-size: 14px;
    color: #ef4444;
    margin-top: 8px;
}

/* Dropdown */
.dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    background: white;
    transition: border-color 0.2s ease;
}

.dropdown-trigger:hover {
    border-color: #0284c7;
}

.dropdown-trigger span {
    color: #64748b;
    font-size: 17px;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.dropdown-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 4px;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-options.show {
    display: block;
}

.dropdown-option {
    padding: 16px 18px;
    cursor: pointer;
    font-size: 16px;
    color: #1f295e;
    transition: background 0.2s ease;
}

.dropdown-option:hover {
    background: #f1f5f9;
}

.dropdown-option:first-child {
    border-radius: 6px 6px 0 0;
}

.dropdown-option:last-child {
    border-radius: 0 0 6px 6px;
}

/* Selected values */
.selected-value {
    margin-bottom: 10px;
}

.selected-tag,
.file-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e0f2fe;
    color: #0284c7;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 15px;
}

.selected-tag button,
.file-name button {
    background: none;
    border: none;
    color: #0284c7;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* File upload */
.file-upload-label {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 2px dashed #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.file-upload-label:hover {
    border-color: #0284c7;
    background: #f8fafc;
}

.file-upload-label svg {
    color: #64748b;
    flex-shrink: 0;
}

.file-upload-label span {
    font-size: 16px;
    color: #64748b;
}

.file-upload-label input[type=file] {
    display: none;
}

/* Submit buttons */
.btn-submit {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-next,
.btn-final {
    background: #02c153;
    color: white;
}

.btn-next:hover,
.btn-final:hover {
    background: #01a347;
    transform: translateY(-1px);
}

.form-disclaimer {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-top: 20px;
    line-height: 1.5;
}

/* Thank you state */
.thank-you {
    text-align: center;
    padding: 40px 20px;
}

.thank-you svg {
    margin-bottom: 20px;
}

.thank-you h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 16px;
}

.thank-you p {
    font-size: 17px;
    color: #64748b;
    margin-bottom: 28px;
    line-height: 1.6;
}

.thank-you .btn-primary {
    display: inline-block;
    background: #02c153;
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease;
}

.thank-you .btn-primary:hover {
    background: #01a347;
}

/* ==========================================
   METHOD SECTION
   ========================================== */

.contact-method {
    padding: 100px 24px;
    background: #f8fafc;
}

.contact-method-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.method-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #0284c7;
    text-align: center;
    margin-bottom: 16px;
}

.contact-method h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1f295e;
    text-align: center;
    margin-bottom: 20px;
}

.contact-method h2 .highlight {
    color: #02c153;
}

.method-intro {
    font-size: 20px;
    color: #475569;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
    line-height: 1.6;
}

.method-intro em {
    color: #1f295e;
    font-style: italic;
}

.method-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.method-step {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #02c153 0%, #01a347 100%);
    color: white;
    font-size: 22px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.method-step h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1f295e;
    margin-bottom: 14px;
}

.method-step p {
    font-size: 17px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.step-quote {
    font-style: italic;
    color: #0284c7 !important;
    margin-top: 16px !important;
    padding-left: 16px;
    border-left: 3px solid #0284c7;
}

.method-result {
    background: linear-gradient(135deg, #1f295e 0%, #2a3a7d 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.method-result p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

.method-result p strong {
    color: white;
}

.result-statement {
    font-size: 22px !important;
    margin-top: 12px !important;
    color: white !important;
}

.result-statement .highlight {
    color: #02c153;
}

/* ==========================================
   CUSTOMER STORIES SECTION
   ========================================== */

.contact-stories {
    padding: 100px 24px;
    background: #f8fafc;
}

.contact-stories-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-stories h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1f295e;
    text-align: center;
    margin-bottom: 56px;
}

.contact-stories h2 .highlight {
    color: #02c153;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

.story-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.story-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.story-card:hover .play-icon {
    background: rgba(2, 193, 83, 0.9);
}

.play-icon svg {
    margin-left: 4px;
}

.story-card p {
    padding: 24px;
    font-size: 17px;
    color: #1f295e;
    line-height: 1.5;
    margin: 0;
}

.stories-cta {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    background: white;
    color: #0284c7;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #0284c7;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #0284c7;
    color: white;
}

/* ==========================================
   FINAL CTA SECTION
   ========================================== */

.contact-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, #1f295e 0%, #2a3a7d 100%);
    text-align: center;
}

.contact-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.contact-cta h2 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.contact-cta p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.contact-cta .btn-primary {
    display: inline-block;
    background: #02c153;
    color: white;
    padding: 18px 36px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-cta .btn-primary:hover {
    background: #01a347;
    transform: translateY(-2px);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1024px) {
    .contact-hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-hero-content {
        text-align: center;
    }
    
    /* v1.2: Added .contact-hero-headline */
    .contact-hero-content h1,
    .contact-hero-content .contact-hero-headline {
        font-size: 42px;
    }
    
    .contact-benefits {
        align-items: center;
    }
    
    .hero-testimonial {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-form-wrapper {
        justify-content: center;
    }
    
    .contact-form-container {
        max-width: 520px;
    }
    
    .contact-method h2,
    .contact-stories h2,
    .contact-cta h2 {
        font-size: 36px;
    }
    
    .method-steps {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 70px 20px;
    }
    
    /* v1.2: Added .contact-hero-headline */
    .contact-hero-content h1,
    .contact-hero-content .contact-hero-headline {
        font-size: 32px;
    }
    
    .contact-benefit span {
        font-size: 16px;
    }
    
    .hero-testimonials {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 40px;
    }
    
    .hero-testimonial-card {
        padding: 20px 16px;
    }
    
    .hero-testimonial-image {
        width: 48px;
        height: 48px;
    }
    
    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-method,
    .contact-stories,
    .contact-cta {
        padding: 70px 20px;
    }
    
    .contact-method h2,
    .contact-stories h2,
    .contact-cta h2 {
        font-size: 30px;
    }
    
    .method-steps {
        grid-template-columns: 1fr;
    }
    
    .method-intro {
        font-size: 18px;
    }
    
    .method-step {
        padding: 28px;
    }
    
    .contact-cta p {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 28px 22px;
    }
    
    /* v1.2: Added .contact-hero-headline */
    .contact-hero-content h1,
    .contact-hero-content .contact-hero-headline {
        font-size: 28px;
    }
    
    .contact-benefit span {
        font-size: 15px;
    }
    
    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="tel"] {
        padding: 16px;
        font-size: 16px;
    }
    
    .btn-submit {
        padding: 16px 20px;
        font-size: 17px;
    }
}