/* Dominican Way Tours - Contact Widget Styles */

.dwt-contact-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    padding: 0;
}

.dwt-contact-widget * {
    box-sizing: border-box;
}

/* Contact Hero Section */
.dwt-contact-hero {
    background: linear-gradient(135deg, var(--dwt-primary-color, #4ecdc4) 0%, var(--dwt-secondary-color, #ff6b6b) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.dwt-contact-hero::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 1200 400"><circle cx="100" cy="100" r="2" fill="white" opacity="0.3"/><circle cx="300" cy="150" r="3" fill="white" opacity="0.2"/><circle cx="500" cy="80" r="2" fill="white" opacity="0.4"/><circle cx="700" cy="200" r="3" fill="white" opacity="0.3"/><circle cx="900" cy="120" r="2" fill="white" opacity="0.2"/><circle cx="1100" cy="180" r="3" fill="white" opacity="0.4"/></svg>');
    opacity: 0.5;
}

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

.dwt-contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.dwt-contact-hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* Quick Contact Buttons */
.dwt-quick-contact {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.dwt-quick-btn {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    min-width: 180px;
}

.dwt-quick-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--dwt-primary-color, #4ecdc4);
    text-decoration: none;
    color: #333;
}

.dwt-btn-icon {
    font-size: 2rem;
}

.dwt-btn-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.dwt-btn-number {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.dwt-quick-btn.dwt-whatsapp:hover {
    border-color: #25D366;
}

.dwt-quick-btn.dwt-phone:hover {
    border-color: #007bff;
}

.dwt-quick-btn.dwt-email:hover {
    border-color: #dc3545;
}

/* Container */
.dwt-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Grid */
.dwt-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Contact Cards */
.dwt-contact-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.dwt-contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--dwt-primary-color, #4ecdc4), var(--dwt-secondary-color, #ff6b6b));
}

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

.dwt-card-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.dwt-card-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.dwt-card-header p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.dwt-card-content {
    padding: 30px;
}

/* Contact Items */
.dwt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.dwt-contact-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.dwt-contact-item:last-child {
    margin-bottom: 0;
}

.dwt-contact-icon {
    font-size: 1.8rem;
    color: var(--dwt-primary-color, #4ecdc4);
    min-width: 40px;
    text-align: center;
}

.dwt-contact-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.dwt-contact-info p {
    color: #333;
    margin-bottom: 3px;
    font-weight: 500;
}

.dwt-contact-info small {
    color: #666;
    font-size: 0.85rem;
}

.dwt-contact-info a {
    color: var(--dwt-primary-color, #4ecdc4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dwt-contact-info a:hover {
    color: var(--dwt-secondary-color, #ff6b6b);
}

/* Business Hours */
.dwt-hours-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dwt-hours-item:hover {
    background: #f8f9fa;
}

.dwt-hours-item:last-child {
    margin-bottom: 0;
}

.dwt-hours-icon {
    font-size: 1.5rem;
    color: var(--dwt-primary-color, #4ecdc4);
    min-width: 35px;
    text-align: center;
}

.dwt-hours-info h4 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 3px;
    font-weight: 600;
}

.dwt-hours-info p {
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Services Overview */
.dwt-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.dwt-service-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
}

.dwt-service-item:last-child {
    margin-bottom: 0;
}

.dwt-service-icon {
    font-size: 1.3rem;
    color: var(--dwt-primary-color, #4ecdc4);
    min-width: 30px;
    text-align: center;
}

.dwt-service-name {
    color: #333;
    font-weight: 500;
}

/* Social Media */
.dwt-social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.dwt-social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dwt-social-link:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    text-decoration: none;
    color: #333;
}

.dwt-social-link.dwt-facebook:hover {
    border-color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.dwt-social-link.dwt-instagram:hover {
    border-color: #e4405f;
    background: rgba(228, 64, 95, 0.1);
}

.dwt-social-link.dwt-youtube:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.1);
}

.dwt-social-link.dwt-tiktok:hover {
    border-color: #000000;
    background: rgba(0, 0, 0, 0.1);
}

.dwt-social-icon {
    font-size: 1.5rem;
}

.dwt-social-name {
    font-weight: 500;
}

/* Contact Form */
.dwt-contact-form-section {
    margin-bottom: 40px;
}

.dwt-contact-form {
    max-width: none;
}

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

.dwt-form-group {
    margin-bottom: 20px;
}

.dwt-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.dwt-form-group input,
.dwt-form-group select,
.dwt-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.dwt-form-group input:focus,
.dwt-form-group select:focus,
.dwt-form-group textarea:focus {
    outline: none;
    border-color: var(--dwt-primary-color, #4ecdc4);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

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

.dwt-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.dwt-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    margin-top: 2px;
}

.dwt-checkbox-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.dwt-submit-btn {
    background: linear-gradient(135deg, var(--dwt-primary-color, #4ecdc4) 0%, #45b7d1 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dwt-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.dwt-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Map Section */
.dwt-map-section {
    margin-bottom: 40px;
}

.dwt-map-container {
    padding: 0 !important;
}

.dwt-map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
}

/* Form Messages */
.dwt-form-message {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.dwt-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dwt-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.dwt-loading .dwt-btn-text::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-left: 10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--dwt-primary-color, #4ecdc4);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .dwt-contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .dwt-contact-hero {
        padding: 60px 20px;
    }
    
    .dwt-contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .dwt-contact-hero p {
        font-size: 1.1rem;
    }
    
    .dwt-quick-contact {
        flex-direction: column;
        align-items: center;
    }
    
    .dwt-quick-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .dwt-contact-grid {
        grid-template-columns: 1fr;
    }
    
    .dwt-form-row {
        grid-template-columns: 1fr;
    }
    
    .dwt-card-header,
    .dwt-card-content {
        padding: 20px;
    }
    
    .dwt-social-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dwt-contact-hero {
        padding: 40px 15px;
    }
    
    .dwt-contact-container {
        padding: 0 15px;
    }
    
    .dwt-contact-card {
        margin-bottom: 20px;
    }
    
    .dwt-card-header,
    .dwt-card-content {
        padding: 15px;
    }
}