﻿/* Bedaya Contact Page Styles */
.bedaya-contact-page {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

    .bedaya-contact-page::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 5% 15%, rgba(102, 126, 234, 0.03) 0%, transparent 25%), radial-gradient(circle at 95% 85%, rgba(118, 75, 162, 0.03) 0%, transparent 25%), repeating-linear-gradient(45deg, rgba(102, 126, 234, 0.01) 0px, rgba(102, 126, 234, 0.01) 1px, transparent 1px, transparent 11px), repeating-linear-gradient(-45deg, rgba(118, 75, 162, 0.01) 0px, rgba(118, 75, 162, 0.01) 1px, transparent 1px, transparent 11px);
        z-index: 0;
        opacity: 0.5;
    }

/* Contact Hero */
.bedaya-contact-hero {
    padding: 100px 0 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.bedaya-contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.bedaya-contact-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

    .bedaya-contact-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2);
        border-radius: 2px;
        animation: bedaya-growWidth 1s ease-out 0.5s both;
    }

.bedaya-contact-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Contact Container */
.bedaya-contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 2;
}

/* Contact Form Section */
.bedaya-contact-form-section {
    position: relative;
}

.bedaya-contact-form-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .bedaya-contact-form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #667eea, #764ba2);
    }

.bedaya-contact-form-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

/* Contact Form */
.bedaya-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.bedaya-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.bedaya-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bedaya-form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bedaya-form-input,
.bedaya-form-textarea {
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

    .bedaya-form-input:focus,
    .bedaya-form-textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    }

.bedaya-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.bedaya-contact-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

    .bedaya-contact-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s;
        z-index: -1;
    }

    .bedaya-contact-btn:hover::before {
        left: 100%;
    }

    .bedaya-contact-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

.bedaya-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .bedaya-btn-primary:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    }

/* Contact Info Section */
.bedaya-contact-info-section {
    position: relative;
}

.bedaya-contact-info-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

    .bedaya-contact-info-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, #764ba2, #667eea);
    }

.bedaya-contact-info-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2rem;
}

.bedaya-contact-info-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.bedaya-contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.bedaya-contact-info-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bedaya-contact-info-item:hover .bedaya-contact-info-icon {
    transform: scale(1.1);
}

.bedaya-contact-info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.bedaya-contact-info-content p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* Social Links */
.bedaya-contact-social {
    border-top: 1px solid #e2e8f0;
    padding-top: 2rem;
}

    .bedaya-contact-social h3 {
        font-size: 1rem;
        font-weight: 600;
        color: #1e293b;
        margin-bottom: 1rem;
    }

.bedaya-contact-social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bedaya-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

    .bedaya-social-link:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

.bedaya-social-facebook:hover {
    background: #4267B2;
    color: white;
    border-color: #4267B2;
}

.bedaya-social-twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.bedaya-social-instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border-color: transparent;
}

.bedaya-social-linkedin:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

/* Map Section */
.bedaya-contact-map {
    padding: 60px 0;
    background: white;
    position: relative;
    z-index: 2;
    margin-top: 40px;
}

.bedaya-contact-map-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.bedaya-contact-map-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.bedaya-contact-map-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.bedaya-contact-map-placeholder {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 2px dashed #e2e8f0;
}

    .bedaya-contact-map-placeholder i {
        font-size: 3rem;
        color: #667eea;
        opacity: 0.5;
    }

    .bedaya-contact-map-placeholder p {
        font-size: 1.1rem;
        color: #64748b;
        margin: 0;
    }

/* Alerts */
.bedaya-alert {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: bedaya-fadeIn 0.3s ease;
}

.bedaya-alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.bedaya-alert-success {
    background: #dcfce7;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

/* Validation Messages */
.bedaya-validation-message {
    color: #dc2626;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Spinner */
.bedaya-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: bedaya-spin 1s linear infinite;
    display: inline-block;
    margin-right: 0.5rem;
}

/* Animations */
@keyframes bedaya-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bedaya-fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bedaya-growWidth {
    from {
        width: 0;
    }

    to {
        width: 100px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .bedaya-contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bedaya-form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .bedaya-contact-hero {
        padding: 60px 0 40px;
    }

    .bedaya-contact-title {
        font-size: 2.5rem;
    }

    .bedaya-contact-container {
        padding: 0 1rem;
        margin-bottom: 40px;
    }

    .bedaya-contact-form-card,
    .bedaya-contact-info-card {
        padding: 2rem;
    }

    .bedaya-contact-map {
        padding: 40px 0;
    }

    .bedaya-contact-map-content {
        padding: 0 1rem;
    }

    .bedaya-contact-info-grid {
        gap: 1rem;
    }

    .bedaya-contact-info-item {
        gap: 0.75rem;
    }

    .bedaya-contact-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .bedaya-contact-hero {
        padding: 40px 0 30px;
    }

    .bedaya-contact-title {
        font-size: 2rem;
    }

    .bedaya-contact-form-card,
    .bedaya-contact-info-card {
        padding: 1.5rem;
    }

    .bedaya-contact-form-title,
    .bedaya-contact-info-title {
        font-size: 1.5rem;
    }

    .bedaya-contact-map-title {
        font-size: 1.5rem;
    }

    .bedaya-contact-map-placeholder {
        padding: 2rem 1rem;
    }

    .bedaya-contact-info-grid {
        gap: 0.75rem;
    }

    .bedaya-contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
