/* ============================================
   ALGOM USINAGEM - Custom Styles
   ============================================ */

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.whatsapp-float:hover {
    background-color: #20ba5a;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 2px 2px 16px rgba(0,0,0,0.4);
}
.whatsapp-float i {
    font-size: 32px;
    line-height: 1;
}

/* Logo Sizing */
.logo img {
    max-height: 70px;
    width: auto;
}
.footer-bottom .logo img {
    max-height: 50px;
}
.nav-logo img {
    max-height: 60px;
}

/* Header top bar - remove location selector */
.header-top .location {
    display: none;
}

/* Client Logo Cards */
.client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    margin: 10px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    min-height: 80px;
    transition: all 0.3s ease;
}
.client-logo-card:hover {
    border-color: var(--main-color, #ff6b00);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.client-logo-card span {
    font-size: 16px;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Heebo', sans-serif;
}
.client-logo-card img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}
.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Machine Cards */
.machine-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
}
.machine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.machine-card .machine-image {
    height: 220px;
    overflow: hidden;
    background: #1a1a2e;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.machine-card .machine-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.machine-card:hover .machine-image img {
    transform: scale(1.05);
}
.machine-card .machine-icon-placeholder {
    font-size: 60px;
    color: rgba(255,255,255,0.3);
}
.machine-card .machine-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--main-color, #ff6b00);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 3px;
}
.machine-card .machine-content {
    padding: 25px;
}
.machine-card .machine-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
    line-height: 1.4;
}
.machine-card .machine-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Machine page image container */
.machine-img-cover {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Page title adjustments */
.page-title .content-box {
    padding: 60px 0;
}

/* Navbar button */
.navbar-right-info .theme-btn {
    padding: 10px 22px;
    font-size: 13px;
}

/* Remove search popup since we're not using it */
#search-popup {
    display: none !important;
}

/* Hidden sidebar simplified */
.hidden-sidebar .new-widget-two {
    display: none;
}

/* Contact page map */
.contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 6px;
}

/* Contact info boxes */
.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8f8f8;
    border-radius: 6px;
    margin-bottom: 20px;
    transition: all 0.3s;
}
.contact-info-box:hover {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.contact-info-box .icon {
    width: 50px;
    height: 50px;
    background: var(--main-color, #ff6b00);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.contact-info-box .text h5 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}
.contact-info-box .text p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}
.contact-info-box .text a {
    color: #666;
}
.contact-info-box .text a:hover {
    color: var(--main-color, #ff6b00);
}

/* Service cards improvements */
.service-block-four .inner-box {
    min-height: 280px;
}

/* Facts numbers */
.facts-section .count-outer {
    font-size: 48px;
    font-weight: 800;
    color: var(--main-color, #ff6b00);
}

/* Facts section - equal height cards */
.our-facts-section-three .row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}
.our-facts-section-three .facts-block {
    display: flex;
}
.our-facts-section-three .facts-block .inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

/* About section adjustments */
.about-section-four .image-wrapper {
    position: relative;
}
.about-section-four .image-one img,
.about-section-four .image-two img {
    border-radius: 6px;
}

/* Captcha note */
.captcha-container {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #555;
}
.captcha-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Form feedback messages */
.algom-success-msg {
    text-align: center;
    padding: 50px 30px;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}
.algom-success-icon {
    font-size: 60px;
    color: #16a34a;
    margin-bottom: 20px;
}
.algom-success-msg h3 {
    font-size: 22px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 12px;
}
.algom-success-msg p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}
.algom-success-msg a {
    color: var(--main-color, #e3461a);
    font-weight: 600;
}
.algom-error-msg {
    background: #fff1f1;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    padding: 14px 18px;
    margin-top: 15px;
    font-size: 14px;
    color: #b91c1c;
}
.algom-error-msg a {
    color: #b91c1c;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
    .contact-map iframe {
        height: 280px;
    }
}

/* Remove header top location switcher */
.header-top .left-column .location {
    display: none;
}

/* Social text on header */
.social-wraper span {
    font-size: 13px;
}

/* Style active nav item */
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.current-menu-item > a {
    color: var(--main-color, #ff6b00) !important;
}

/* CTA section phone button spacing */
.cta-section .link-btn {
    gap: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
