/**
 * Modern Contact Us Page Styles
 * Inspired by modern dribbble designs
 */

/* Hero Section Styling - Force #2C3E50 background */
.page-template-page-contact .wp-block-cover,
.page-template-page-contact .wp-block-cover__background,
.page-template-page-contact .has-contrast-background-color,
.page-template-page-contact .wp-block-cover .has-background-dim::before,
.page-template-page-contact .wp-block-cover::before {
    background-color: #2C3E50 !important;
    background: #2C3E50 !important;
}

.page-template-page-contact .wp-block-cover .wp-block-cover__background {
    background-color: #2C3E50 !important;
    opacity: 1 !important;
}

.page-template-page-contact .wp-block-cover h1,
.page-template-page-contact .wp-block-cover p {
    color: #ffffff;
}

/* Contact Container */
.contact-us-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 2rem;
}

.contact-us-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Section Headers */
.section-header {
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Contact Form Section */
.contact-form-section {
    background: #ffffff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b35;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    margin-top: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button svg {
    transition: transform 0.3s ease;
}

.submit-button:hover svg {
    transform: translateX(4px);
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.info-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #ff6b35;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
    color: #ff6b35;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
}

.email-icon {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.phone-icon {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #388e3c;
}

.location-icon {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #f57c00;
}

.hours-icon {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    color: #7b1fa2;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.info-card p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.info-card a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #e55a28;
    text-decoration: underline;
}

/* Map Container */
.map-container {
    margin-top: 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    display: block;
    width: 100%;
    border-radius: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-us-wrapper {
        gap: 40px;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-us-container {
        padding: 40px 1rem;
    }
    
    .contact-us-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-section {
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .contact-info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .info-card {
        padding: 1.5rem 1rem;
    }
    
    .wp-block-cover {
        min-height: 200px !important;
    }
    
    .wp-block-cover h1 {
        font-size: 2rem !important;
    }
    
    .wp-block-cover p {
        font-size: 1rem !important;
    }
}

@media (max-width: 480px) {
    .contact-us-container {
        padding: 30px 1rem;
    }
    
    .contact-form-section {
        padding: 1.5rem 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .submit-button {
        width: 100%;
        padding: 1rem;
    }
}
