/*!
Theme Name: CLMS Remolition
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: clms-remolition
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
/* Active menu item */
.navigation li.current-menu-item > a,
.navigation li.current_page_item > a {
    color: #ff4b2b !important;
    border: 2px solid #ff0000 !important;
    border-radius: 2px;
    background: transparent;
}

/* Active menu hover */
.navigation li.current-menu-item > a:hover,
.navigation li.current_page_item > a:hover {
    color: #ff4b2b !important;
}



.image-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1250px;
    margin: 0 auto;
}

.image-gallery img {
    display: block;
    width: 100%;
    height: 393px;
    object-fit: cover;
}

@media (max-width: 767px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .image-gallery img {
        height: auto;
        aspect-ratio: 1 / 1;
    }
}



.contact-info-section {
    padding: 10px 0 10px;
    background: #fff;
}

.contact-info-section .contact-info-box {
    height: 100%;
    min-height: 132px;
    padding: 22px 15px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-info-section .contact-info-box h3 {
    margin: 0 0 18px;
    color: #10264f;
    font-size: 23px;
    font-weight: 700;
}

.contact-info-section .social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-info-section .social-links a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f4512b;
    color: #fff;
    border-radius: 5px;
    font-size: 21px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-info-section .social-links a:hover {
    background: #10264f;
    color: #fff;
}

.contact-info-section .contact-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.contact-info-section .contact-detail i {
    color: #f4512b;
    font-size: 20px;
}

.contact-info-section .contact-detail a {
    color: #10264f;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-info-section .contact-detail a:hover {
    color: #f4512b;
}

@media (max-width: 767px) {
    .contact-info-section {
        padding: 20px 0;
    }

    .contact-info-section .contact-info-box {
        min-height: 125px;
    }

    .contact-info-section .contact-info-box h3 {
        font-size: 21px;
    }
}



/* Validation Error Message */
.clms-contact-form .form-error {
    display: block;
    color: #dc3545;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 6px;
    padding-left: 2px;
}

/* Hide empty error message */
.clms-contact-form .form-error:empty {
    display: none;
}

/* Invalid Input Border */
.clms-contact-form input[aria-invalid="true"],
.clms-contact-form select[aria-invalid="true"],
.clms-contact-form textarea[aria-invalid="true"] {
    border: 1px solid #dc3545 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.10);
}

/* Error message animation */
.clms-contact-form .form-error:not(:empty) {
    animation: errorFadeIn 0.25s ease-in-out;
}

@keyframes errorFadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form success message */
.clms-contact-form .form-status.success {
    color: #198754;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

/* Form submission error */
.clms-contact-form .form-status.error {
    color: #dc3545;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}



/* Contact form validation */
.user-contact .form-error {
    display: block;
    color: #dc2626;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 5px;
    min-height: 0;
}

.user-contact .form-error:empty {
    display: none;
}

.user-contact input.is-invalid,
.user-contact textarea.is-invalid {
    border: 1px solid #dc2626 !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.10);
}

.user-contact .contact-response {
    display: none;
    padding: 12px 15px;
    margin: 0 0 20px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
}

.user-contact .contact-response.success,
.user-contact .contact-response.error {
    display: block;
}

.user-contact .contact-response.success {
    color: #166534;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.user-contact .contact-response.error {
    color: #991b1b;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}

.user-contact button[type="submit"]:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.user-contact .contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

