/* ========================================
   TONRY Contact Page Styles
   ======================================== */

/* ========================================
   Contact Section Container
   ======================================== */
.w-contact {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 0px 66px;
}

/* ========================================
   Left Column - Contact Information
   ======================================== */
.w-contact-left {
    flex: 1;
    min-width: 320px;
    max-width: 650px;
}

.w-contact-left-title {
    font-size: 22px;
    font-weight: 600;
    color: #1b1e23;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 0px solid #fa6c24;
    position: relative;
}

.w-contact-left-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0px;
    height: 0px;
    background-color: #dd582e;
}

.w-contact-left-title:first-of-type {
    font-size: 22px;
    color: #dd582e;
    border-bottom-width: 0px;
}

.w-contact-left-title:first-of-type::after {
    height: 3px;
    bottom: -3px;
}

.w-contact-left-content {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 32px;
}

.w-contact-left-content p {
    margin: 8px 0;
    padding: 0;
}

/* ========================================
   Service Items - Enhanced List
   ======================================== */
.w-service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.w-service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.w-service-item:hover {
    background: linear-gradient(135deg, #fff8f5 0%, #ffffff 100%);
    border-color: #fa6c24;
    box-shadow: 0 4px 12px rgba(250, 108, 36, 0.08);
    transform: translateX(4px);
}

.w-service-number {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fa6c24 0%, #dd582e 100%);
    border-radius: 50%;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
}

.w-service-text {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
}

.w-service-icon {
    margin-left: auto;
    width: 20px;
    height: 20px;
    color: #fa6c24;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateX(-8px);
}

.w-service-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.w-service-item:hover .w-service-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive for service items */
@media screen and (max-width: 767px) {
    .w-service-item {
        padding: 12px 14px;
        gap: 10px;
    }

    .w-service-number {
        width: 26px;
        height: 26px;
        font-size: 12px;
    }

    .w-service-text {
        font-size: 13px;
    }

    .w-service-icon {
        opacity: 1;
        transform: translateX(0);
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 479px) {
    .w-service-item {
        padding: 10px 12px;
    }

    .w-service-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .w-service-text {
        font-size: 12px;
    }
}

/* ========================================
   Contact Info Cards - Enhanced Layout
   ======================================== */
.w-contact-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.w-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.w-contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(250, 108, 36, 0.12);
    border-color: #fa6c24;
}

.w-contact-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fa6c24 0%, #dd582e 100%);
    border-radius: 8px;
    color: #ffffff;
}

.w-contact-info-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
    flex-shrink: 0;
}

.w-contact-info-content {
    flex: 1;
    min-width: 0;
}

.w-contact-info-label {
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.w-contact-info-value {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.4;
}

.w-contact-info-value a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.w-contact-info-value a:hover {
    color: #fa6c24;
}

.w-contact-info-note {
    font-size: 12px;
    color: #fa6c24;
    margin-top: 2px;
}

/* Email card - full width */
.w-contact-info-card.email-card {
    grid-column: 1 / -1;
}

/* Responsive for contact cards */
@media screen and (max-width: 767px) {
    .w-contact-info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .w-contact-info-card {
        padding: 14px;
    }

    .w-contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .w-contact-info-icon svg {
        width: 20px;
        height: 20px;
    }

    .w-contact-info-value {
        font-size: 13px;
    }

    .w-contact-info-card.email-card {
        grid-column: auto;
    }
}

@media screen and (max-width: 479px) {
    .w-contact-info-cards {
        gap: 10px;
    }

    .w-contact-info-card {
        padding: 12px;
        gap: 10px;
    }

    .w-contact-info-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-radius: 8px;
    }

    .w-contact-info-icon svg {
        width: 18px;
        height: 18px;
    }

    .w-contact-info-label {
        font-size: 11px;
    }

    .w-contact-info-value {
        font-size: 12px;
    }
}

/* ========================================
   Right Column - Contact Form
   ======================================== */
.w-contact-right {
    flex: 1;
    min-width: 320px;
    max-width: 600px;
}

.w-contact-form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border: 1px solid #DDDDDD;
}

/* ========================================
   Form Input Items
   ======================================== */
.w-input-item {
    margin-bottom: 20px;
    width: 100%;
}

.w-input-item input[type="text"],
.w-input-item input[type="email"],
.w-input-item textarea {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    color: #333333;
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    transition: all 0.3s ease;
    outline: none;
}

.w-input-item input[type="text"]::placeholder,
.w-input-item input[type="email"]::placeholder,
.w-input-item textarea::placeholder {
    color: #999999;
}

.w-input-item input[type="text"]:focus,
.w-input-item input[type="email"]:focus,
.w-input-item textarea:focus {
    background-color: #FFFFFF;
    border-color: #fa6c24;
    box-shadow: 0 0 0 3px rgba(250, 108, 36, 0.15);
}

.w-input-item textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

/* ========================================
   Submit Button
   ======================================== */
.w-btn-submit {
    display: inline-block;
    padding: 14px 48px;
    font-size: 16px;
    font-weight: 600;
    font-family: Arial, sans-serif;
    color: #FFFFFF;
    background: linear-gradient(135deg, #fa6c24 0%, #dd582e 100%);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.w-btn-submit:hover {
    background: linear-gradient(135deg, #dd582e 0%, #fa6c24 100%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.w-btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ========================================
   Responsive Design - Tablet (768px - 991px)
   ======================================== */
@media screen and (max-width: 991px) {
    .w-contact {
        gap: 40px;
        padding: 0 30px;
    }

    .w-contact-left,
    .w-contact-right {
        min-width: 280px;
    }

    .w-contact-form {
        padding: 30px;
    }

    .w-contact-left-title {
        font-size: 17px;
    }

    .w-contact-left-title:first-of-type {
        font-size: 20px;
    }
}

/* ========================================
   Responsive Design - Mobile (< 768px)
   ======================================== */
@media screen and (max-width: 767px) {
    .w-contact {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .w-contact-left,
    .w-contact-right {
        max-width: 100%;
        min-width: auto;
    }

    .w-contact-left-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 10px;
    }

    .w-contact-left-title:first-of-type {
        font-size: 18px;
    }

    .w-contact-left-content {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .w-contact-form {
        padding: 24px 20px;
    }

    .w-input-item {
        margin-bottom: 16px;
    }

    .w-input-item input[type="text"],
    .w-input-item input[type="email"],
    .w-input-item textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .w-input-item textarea {
        min-height: 120px;
    }

    .w-btn-submit {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ========================================
   Responsive Design - Small Mobile (< 480px)
   ======================================== */
@media screen and (max-width: 479px) {
    .w-contact {
        padding: 0 15px;
        gap: 30px;
    }

    .w-contact-form {
        padding: 20px 16px;
        border-radius: 6px;
    }

    .w-contact-left-title {
        font-size: 15px;
    }

    .w-contact-left-title:first-of-type {
        font-size: 17px;
    }

    .w-contact-left-content {
        font-size: 13px;
        line-height: 1.7;
    }

    .w-input-item input[type="text"],
    .w-input-item input[type="email"],
    .w-input-item textarea {
        padding: 10px 12px;
    }

    .w-btn-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ========================================
   Accessibility Enhancements
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    .w-btn-submit,
    .w-input-item input[type="text"],
    .w-input-item input[type="email"],
    .w-input-item textarea {
        transition: none;
    }

    .w-btn-submit:hover {
        transform: none;
    }
}

/* Focus visible for keyboard navigation */
.w-btn-submit:focus-visible {
    outline: 2px solid #fa6c24;
    outline-offset: 2px;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    .w-contact-form {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .w-btn-submit {
        background: #ccc !important;
        color: #000 !important;
    }
}