/**
 * Contact Page Styles
 * EnergySage-inspired contact page design
 *
 * @package SICA_Theme
 */

/* ============================================
   CONTACT PAGE CONTAINER
   ============================================ */

.contact-page {
    background: #f3f4f6;
    min-height: 100vh;
}

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

.contact-hero {
    background: linear-gradient(135deg, #38522e 0%, #4d6f3d 100%);
    padding: 4rem 24px;
    text-align: center;
    color: white;
}

.contact-hero .container {
    max-width: var(--container-content, 1360px);
    margin: 0 auto;
}

.contact-hero-title {
    font-family: 'Bitter', serif;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    color: white;
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 3rem 16px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }
}

/* ============================================
   CONTACT OPTIONS SECTION
   ============================================ */

.contact-options {
    padding: 4rem 24px;
    background: white;
}

.contact-options .container {
    max-width: var(--container-content, 1360px);
    margin: 0 auto;
}

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

.contact-option-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-option-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    border-color: #ea9524;
}

.contact-option-icon {
    color: #ea9524;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.contact-option-icon svg {
    width: 48px;
    height: 48px;
}

.contact-option-card h3 {
    font-family: 'Bitter', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #38522e;
    margin: 0 0 1rem 0;
}

.contact-option-card p {
    color: #4b5563;
    margin: 0 0 1.5rem 0;
    line-height: 1.6;
}

.contact-option-btn {
    display: inline-block;
    margin-top: 0.5rem;
}

.contact-email {
    color: #4d6f3d;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email:hover {
    color: #38522e;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-options {
        padding: 3rem 16px;
    }

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

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact-form-section {
    padding: 4rem 24px;
    background: #f3f4f6;
}

.contact-form-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-wrapper {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-header h2 {
    font-family: 'Bitter', serif;
    font-size: 2rem;
    font-weight: 600;
    color: #38522e;
    margin: 0 0 0.5rem 0;
}

.contact-form-header p {
    color: #6b7280;
    margin: 0;
    font-size: 1rem;
}

/* Form Styles */

.contact-form {
    margin-top: 2rem;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'IBM Plex Sans', sans-serif;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ea9524;
    box-shadow: 0 0 0 3px rgba(234, 149, 36, 0.1);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23374151" d="M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-checkbox {
    margin-top: 1rem;
}

.form-checkbox label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: 400;
}

.form-checkbox input[type="checkbox"] {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox span {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
}

.form-checkbox a {
    color: #4d6f3d;
    text-decoration: underline;
}

.form-checkbox a:hover {
    color: #38522e;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1rem;
}

.form-response {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.form-response.success {
    background: #d1fae5;
    color: #38522e;
    border: 1px solid #4d6f3d;
}

.form-response.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 3rem 16px;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

    .contact-form-header h2 {
        font-size: 1.5rem;
    }
}

/* ============================================
   COMPANY INFO & SOCIAL SECTION
   ============================================ */

.contact-info-section {
    padding: 4rem 24px;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.contact-info-section .container {
    max-width: var(--container-content, 1360px);
    margin: 0 auto;
}

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

.contact-info-block h3 {
    font-family: 'Bitter', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #38522e;
    margin: 0 0 1.5rem 0;
}

.contact-address,
.contact-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-address svg,
.contact-phone svg {
    color: #ea9524;
    flex-shrink: 0;
}

.contact-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #f3f4f6;
    border-radius: 50%;
    color: #38522e;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: #ea9524;
    color: white;
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
    stroke: none;
}

.social-link svg path,
.social-link svg circle,
.social-link svg rect,
.social-link svg line,
.social-link svg polyline,
.social-link svg polygon {
    stroke: none;
}

@media (max-width: 768px) {
    .contact-info-section {
        padding: 3rem 16px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
