/* ==================== CONTACT PAGE STYLES ==================== */

/* HERO SECTION */
.contact-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    padding: 100px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.contact-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 40px;
    background: #f8fafc;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 50px;
}

/* CONTACT INFO SIDE */
.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.2);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.contact-card-icon.phone-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
}

.contact-card-icon.email-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.contact-card-icon.location-icon {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
}

.contact-card-content h3 {
    font-size: 1.2rem;
    color: #0f172a;
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-card-content a {
    color: #0ea5e9;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.contact-card-content a:hover {
    color: #0284c7;
}

.contact-card-content p {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 5px;
}

/* MAP CONTAINER */
.map-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.1);
}

.map-container h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin-bottom: 20px;
    font-weight: 700;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(14, 165, 233, 0.95);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.map-overlay:hover {
    background: rgba(14, 165, 233, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

/* CONTACT FORM SIDE */
.contact-form-side {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.1);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2rem;
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #64748b;
    font-size: 1.05rem;
}

/* FORM STYLES */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

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

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

.form-group label {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0ea5e9;
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

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

.submit-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.submit-btn i {
    font-size: 1rem;
}

/* CONTACT CTA SECTION */
.contact-cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 40px;
}

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

.cta-content h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: nowrap;
    align-items: center;
}

/* CIRCULAR ICON BUTTONS */
.btn-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    position: relative;
    transition: all 0.4s ease;
    font-family: inherit;
}

.btn-icon:hover {
    transform: translateY(-8px) scale(1.1);
}

/* Label that appears on hover */
.btn-label {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-label::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: rgba(15, 23, 42, 0.95);
}

.btn-icon:hover .btn-label {
    opacity: 1;
    bottom: -50px;
}

/* Individual Button Colors */
.btn-ai {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-ai:hover {
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.6);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

.btn-call {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-call:hover {
    box-shadow: 0 12px 35px rgba(14, 165, 233, 0.6);
}

.btn-email {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

.btn-email:hover {
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.6);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-info-side {
        order: 2;
    }

    .contact-form-side {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero-content h1 {
        font-size: 2.5rem;
    }

    .contact-hero-content p {
        font-size: 1.1rem;
    }

    .contact-section {
        padding: 60px 20px;
    }

    .contact-form-side {
        padding: 30px 20px;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        gap: 20px;
    }

    .btn-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-content h1 {
        font-size: 2rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
    }

    .map-overlay {
        position: static;
        margin-top: 15px;
        justify-content: center;
    }
}