/* ===================================
   Contact Form Component Styles
   Complete reusable contact section
   =================================== */

/* Section Container */
.contact-form-section {
    padding: 5rem 0;
    background: #ffffff;
}

.contact-form-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Title Header */
.contact-form-section .section-title-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-form-section .section-title-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-form-section .section-title-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.contact-form-section .section-title-header p {
    color: var(--text-medium, #64748b);
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

/* Main Content Layout */
.contact-section-content {
    display: grid;
    gap: 4rem;
    align-items: start;
}

.contact-section-content.with-info {
    grid-template-columns: 1fr 1.2fr;
}

.contact-section-content.form-only {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
}

/* ===================================
   Contact Info Side
   =================================== */
.contact-info-side {
    position: sticky;
    top: 100px;
}

.contact-info-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-info-header h2 {
    font-size: 2rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 0.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.contact-info-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 2px;
}

.contact-info-header p {
    color: var(--text-medium, #64748b);
    font-size: 1rem;
    margin-top: 1rem;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: white;
    padding: 1.8rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 107, 53, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact-card-icon i {
    font-size: 1.2rem;
    color: white;
}

.contact-card-content h3 {
    font-size: 1.1rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-card-content p {
    color: var(--text-medium, #64748b);
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   Contact Form Side
   =================================== */
.contact-form-side {
    width: 100%;
}

.contact-form-side .form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.1);
}

/* Form Header */
.contact-form-side .form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form-side .form-header h2 {
    font-size: 1.8rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.contact-form-side .form-header p {
    color: var(--text-medium, #64748b);
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form-side .contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
}

/* Form Row - Two columns */
.contact-form-side .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.3rem;
}

/* Form Group */
.contact-form-side .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form-side .form-group label {
    font-weight: 600;
    color: var(--text-dark, #1a202c);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

/* Form Inputs */
.contact-form-side .form-group input,
.contact-form-side .form-group select,
.contact-form-side .form-group textarea {
    padding: 0.9rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: var(--text-dark, #1a202c);
    font-family: inherit;
}

.contact-form-side .form-group input:focus,
.contact-form-side .form-group select:focus,
.contact-form-side .form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-form-side .form-group input::placeholder,
.contact-form-side .form-group textarea::placeholder {
    color: #94a3b8;
}

.contact-form-side .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Submit Button */
.contact-form-side .btn-submit {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    margin-top: 0.5rem;
    font-family: inherit;
}

.contact-form-side .btn-submit:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #ff6b35 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.contact-form-side .btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ===================================
   Quick Contact Bar
   =================================== */
.quick-contact-bar {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 2.5rem;
    margin-top: 3rem;
    border-radius: 16px;
}

.quick-contact-bar .quick-contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.quick-contact-bar .quick-contact-text h3 {
    font-size: 1.4rem;
    color: var(--text-dark, #1a202c);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.quick-contact-bar .quick-contact-text p {
    color: var(--text-medium, #64748b);
    font-size: 0.95rem;
    line-height: 1.5;
}

.quick-contact-bar .quick-contact-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

/* WhatsApp Button */
.quick-contact-bar .btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    font-size: 0.9rem;
}

.quick-contact-bar .btn-whatsapp:hover {
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Call Button */
.quick-contact-bar .btn-call {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    padding: 0.85rem 1.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    font-size: 0.9rem;
}

.quick-contact-bar .btn-call:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .contact-section-content.with-info {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Make form appear first on mobile */
    .contact-form-side {
        order: 1;
    }

    .contact-info-side {
        order: 2;
        position: static;
    }

    .contact-info-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 4rem 0;
    }

    .contact-form-section .container {
        padding: 0 1.5rem;
    }

    .contact-form-section .section-title-header h2 {
        font-size: 2rem;
    }

    .contact-info-header h2 {
        font-size: 1.6rem;
    }

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

    .contact-form-side .form-container {
        padding: 1.8rem;
    }

    .contact-form-side .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-form-side .form-header h2 {
        font-size: 1.5rem;
    }

    .quick-contact-bar {
        padding: 2rem 1.5rem;
    }

    .quick-contact-bar .quick-contact-content {
        flex-direction: column;
        text-align: center;
    }

    .quick-contact-bar .quick-contact-buttons {
        flex-direction: column;
        width: 100%;
    }

    .quick-contact-bar .btn-whatsapp,
    .quick-contact-bar .btn-call {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 3rem 0;
    }

    .contact-form-section .container {
        padding: 0 1rem;
    }

    .contact-form-section .section-title-header h2 {
        font-size: 1.6rem;
    }

    .contact-info-card {
        padding: 1.3rem;
    }

    .contact-card-icon {
        width: 42px;
        height: 42px;
    }

    .contact-card-icon i {
        font-size: 1rem;
    }

    .contact-form-side .form-container {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .contact-form-side .form-header h2 {
        font-size: 1.3rem;
    }

    .contact-form-side .form-group input,
    .contact-form-side .form-group select,
    .contact-form-side .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .contact-form-side .btn-submit {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .quick-contact-bar .quick-contact-text h3 {
        font-size: 1.2rem;
    }
}

/* ===================================
   Variant: Dark Background
   =================================== */
.contact-form-section.dark-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.contact-form-section.dark-bg .section-title-header h2,
.contact-form-section.dark-bg .contact-info-header h2 {
    color: #ffffff;
}

.contact-form-section.dark-bg .section-title-header p,
.contact-form-section.dark-bg .contact-info-header p {
    color: #94a3b8;
}

.contact-form-section.dark-bg .contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
}

.contact-form-section.dark-bg .contact-card-content h3 {
    color: #ffffff;
}

.contact-form-section.dark-bg .contact-card-content p {
    color: #94a3b8;
}

.contact-form-section.dark-bg .form-container {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
}

.contact-form-section.dark-bg .form-header h2 {
    color: #ffffff;
}

.contact-form-section.dark-bg .form-header p {
    color: #94a3b8;
}

.contact-form-section.dark-bg .form-group label {
    color: #e2e8f0;
}

.contact-form-section.dark-bg .form-group input,
.contact-form-section.dark-bg .form-group select,
.contact-form-section.dark-bg .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: #334155;
    color: #ffffff;
}

.contact-form-section.dark-bg .form-group input::placeholder,
.contact-form-section.dark-bg .form-group textarea::placeholder {
    color: #64748b;
}

.contact-form-section.dark-bg .quick-contact-bar {
    background: rgba(255, 255, 255, 0.05);
}

.contact-form-section.dark-bg .quick-contact-text h3 {
    color: #ffffff;
}

.contact-form-section.dark-bg .quick-contact-text p {
    color: #94a3b8;
}

/* ===================================
   Variant: Light Gray Background
   =================================== */
.contact-form-section.gray-bg {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-form-section.gray-bg .contact-info-card,
.contact-form-section.gray-bg .form-container {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ===================================
   Variant: Compact
   =================================== */
.contact-form-section.compact {
    padding: 3rem 0;
}

.contact-form-section.compact .section-title-header {
    margin-bottom: 2.5rem;
}

.contact-form-section.compact .contact-section-content {
    gap: 2.5rem;
}

.contact-form-section.compact .contact-info-card {
    padding: 1.3rem;
}

.contact-form-section.compact .form-container {
    padding: 2rem;
}