/* ===== BASE RESET ===== */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

* {
    box-sizing: border-box !important;
    max-width: 100% !important;
}

/* ===== CONTACT PAGE LAYOUT ===== */
.contact-page {
    background: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    padding: 2rem 0;
    width: 100%;
    overflow-x: hidden;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
    overflow-x: hidden;
}

/* ===== CONTACT HEADER ===== */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.contact-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    word-wrap: break-word;
}

.contact-description {
    color: #e0e0e0;
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.6;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0.5rem;
    word-wrap: break-word;
}

/* ===== CONTACT LAYOUT GRID ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin: 3rem 0;
    width: 100%;
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    height: fit-content;
    width: 100%;
}

.info-title {
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.contact-details {
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #3a3a3a;
    border-radius: 8px;
    width: 100%;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-icon:nth-child(1) { color: #ff6b6b; } /* Phone */
.contact-icon:nth-child(2) { color: #4ecdc4; } /* Email */
.contact-icon:nth-child(3) { color: #ffe66d; } /* Address */
.contact-icon:nth-child(4) { color: #95e1d3; } /* Hours */

.contact-content {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
}

.contact-content strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.contact-content a {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    word-break: break-all;
}

.contact-content address {
    color: #ffffff;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    margin: 0;
    font-style: normal;
    line-height: 1.4;
}

.contact-content div {
    color: #ffffff;
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    font-weight: 500;
    line-height: 1.4;
}

.contact-action {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
}

.contact-btn {
    background: #ff6b6b;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(1rem, 3vw, 1.1rem);
    transition: all 0.3s ease;
    max-width: 100%;
}

.contact-btn:hover {
    background: #e55a5a;
    transform: translateY(-2px);
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 100%;
}

.form-title {
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.form-wrapper {
    color: #ffffff;
    width: 100%;
}

/* ===== WP FORMS LITE STYLING ===== */
.wpforms-container, 
.wpforms-form, 
.wpforms-field-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

.wpforms-container {
    width: 100% !important;
    background: transparent !important;
}

.wpforms-container .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
}

.wpforms-container .wpforms-field {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    max-width: 100% !important;
    width: 100% !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="number"],
.wpforms-container textarea,
.wpforms-container select {
    color: #333333 !important;
    background: #ffffff !important;
    border: 2px solid #4ecdc4 !important;
    padding: 12px !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(0.9rem, 3vw, 1rem) !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus {
    border-color: #ff6b6b !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(255, 107, 107, 0.5) !important;
}

.wpforms-container .wpforms-submit {
    background: #4ecdc4 !important;
    color: #333333 !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: clamp(1rem, 3vw, 1.1rem) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1rem !important;
    transition: all 0.3s ease !important;
}

.wpforms-container .wpforms-submit:hover {
    background: #3bb4ac !important;
    transform: translateY(-2px) !important;
}

.wpforms-container,
.wpforms-container *:not(input):not(textarea):not(select) {
    color: #ffffff !important;
}

.wpforms-confirmation-container-full,
.wpforms-error-container {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #4ecdc4 !important;
    padding: 1rem !important;
    border-radius: 8px !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
}

/* ===== MAP SECTION ===== */
.contact-map {
    margin-top: 3rem;
    width: 100%;
}

.map-title {
    color: #ffffff;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    width: 100%;
}

.map-wrapper iframe {
    width: 100% !important;
    height: 400px !important;
    display: block !important;
    max-width: 100% !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .contact-container {
        padding: 0 0.5rem;
    }
    
    .contact-info, .contact-form {
        padding: 1.5rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .contact-icon {
        align-self: flex-start;
    }
    
    .contact-content,
    .contact-content a,
    .contact-content address,
    .contact-content div {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    
    .wpforms-container input[type="text"],
    .wpforms-container input[type="email"],
    .wpforms-container textarea {
        padding: 10px !important;
        font-size: 16px !important;
    }
}