/* Page Specific Styles for Contact Page */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #064E3B 0%, #065F46 50%, #10B981 100%);
    color: white;
    padding: 140px 0 60px;
    text-align: left;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.page-header h1,
.page-header h2,
.page-header p {
    color: white;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff10" width="50" height="50"/><rect fill="%23ffffff10" x="50" y="50" width="50" height="50"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Contact Overview */
.contact-overview {
    padding: 100px 0;
    background: var(--card-bg);
}

.overview-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.overview-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-stat {
    text-align: center;
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.contact-stat h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-stat p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Office Locations */
.office-locations {
    padding: 100px 0;
    background: #f8fafc;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.office-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.office-card.featured {
    grid-column: span 2;
}

.office-header {
    padding: 2rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.office-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.office-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex: 1;
}

.office-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.office-content {
    padding: 2rem;
}

.office-content h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.office-details {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 600;
    min-width: 80px;
    flex-shrink: 0;
}

.detail-value {
    color: var(--text-primary);
    line-height: 1.6;
}

.office-map {
    height: 200px;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-weight: 600;
}

.map-placeholder {
    text-align: left;
    padding: 2rem;
}

/* Contact Form */
.contact-form-section {
    padding: 100px 0;
    background: var(--card-bg);
}

.google-maps {
    margin: 3rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.google-maps iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 16px;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.form-text h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.form-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.contact-quick h4 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.quick-items {
    display: grid;
    gap: 1rem;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--card-bg);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.quick-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.quick-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.quick-item span {
    color: var(--text-primary);
    font-weight: 500;
}

.form-container {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

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

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

.form-group label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

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

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

/* Project Inquiry */
.project-inquiry {
    padding: 100px 0;
    background: var(--card-bg);
}

.inquiry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.inquiry-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.inquiry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.inquiry-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dc2626, #ef4444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 1.5rem;
}

.inquiry-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.inquiry-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    text-decoration: none;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--accent-red);
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .page-header {
        padding: 140px 0 60px;
    }

    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .office-card.featured {
        grid-column: span 1;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 480px) {
    .contact-overview,
    .office-locations,
    .contact-form-section,
    .project-inquiry {
        padding: 60px 0;
    }

    .office-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .office-content,
    .form-container {
        padding: 1.5rem;
    }

    .contact-stat {
        padding: 2rem 1.5rem;
    }
}
