/* Modern Visual Polish - Machine Dukan */
/* Only cosmetic overrides, does NOT touch layout/positioning */

:root {
    --md-primary: #FFA007;
    --md-primary-dark: #e08e00;
    --md-primary-light: #fff3e0;
}

body {
    -webkit-font-smoothing: antialiased;
}

/* ===== CARD / BOX SHADOWS ===== */
.feature-block-two .inner-box,
.project-block .inner-box,
.accordion-item,
.modal-content {
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    transition: box-shadow .3s ease;
}
.project-block .inner-box:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

/* ===== BUTTONS ===== */
.btn, .theme-btn, .request_quote_btn {
    border-radius: 50px !important;
    font-weight: 700 !important;
    transition: all .3s ease !important;
}
.theme-btn, .btn-warning, .request_quote_btn {
    background: var(--md-primary) !important;
    border-color: var(--md-primary) !important;
    color: #fff !important;
}
.theme-btn:hover, .btn-warning:hover, .request_quote_btn:hover {
    background: var(--md-primary-dark) !important;
    border-color: var(--md-primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,160,7,.35);
}
.btn-danger {
    border-radius: 50px !important;
}
.theme-btn.light {
    background: transparent !important;
    border: 2px solid #fff !important;
}
.theme-btn.light:hover {
    background: #fff !important;
    color: #333 !important;
}

/* ===== IMAGES ===== */
.project-block .image-box img,
.feature-block-two img {
    transition: transform .4s ease;
}
.project-block .inner-box:hover .image-box img {
    transform: scale(1.06);
}

/* ===== HEADER STICKY ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 15px rgba(0,0,0,.1);
}
.mobile-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
}

/* ===== DROPDOWN CARET ===== */
.cs-submenu > a::after {
    content: '';
    display: inline-block;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    vertical-align: middle;
}

/* ===== BANNER OVERLAY ===== */
.banner-section .bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,.6), rgba(0,0,0,.25));
    z-index: 1;
}
.banner-section .auto-container {
    position: relative;
    z-index: 2;
}

/* ===== PRODUCT CARD IMAGE FIX ===== */
.project-block .image-box {
    overflow: hidden;
}
.project-block .image-box figure {
    margin: 0;
    line-height: 0;
}

/* ===== SPEC TABLE ===== */
.table thead.thead-dark th {
    background: #2d2d2d;
    color: #fff;
    border: none;
    font-weight: 700;
}
.table-striped tbody tr:nth-of-type(odd) {
    background: #fafafa;
}

/* ===== SOCIAL FLOATING BTNS ===== */
.calla, .wapp {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    z-index: 999;
    transition: all .3s ease;
    text-decoration: none !important;
}
.calla {
    left: 20px;
    bottom: 40px;
    background: linear-gradient(135deg, #FFA007, #e08e00) !important;
}
.wapp {
    right: 20px;
    bottom: 40px;
    background: linear-gradient(135deg, #25D366, #128C7E) !important;
}
.calla:hover, .wapp:hover {
    transform: scale(1.12);
    box-shadow: 0 8px 30px rgba(0,0,0,.4);
}
.calla svg { stroke: #fff; fill: none; }
.wapp svg { fill: #fff; }
@media (max-width: 768px) {
    .calla { left: 12px; bottom: 40px; width: 48px; height: 48px; }
    .wapp { right: 12px; bottom: 40px; width: 48px; height: 48px; }
}

/* ===== MOBILE STICKY CALL ===== */
.call-button-mobile {
    background: linear-gradient(135deg, #FFA007, #e08e00) !important;
    font-weight: 700 !important;
    z-index: 9999 !important;
    font-size: 17px !important;
    letter-spacing: 0.5px;
    box-shadow: 0 -4px 15px rgba(0,0,0,.2);
}
.call-button-mobile i {
    margin-right: 8px;
    font-size: 20px;
}

/* ===== SECTION SPACING ===== */
@media (max-width: 768px) {
    section { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}

/* ===== OWL DOTS ===== */
.owl-theme .owl-dots .owl-dot span {
    background: rgba(255,255,255,.4) !important;
    width: 10px !important;
    height: 10px !important;
    transition: all .3s !important;
}
.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--md-primary) !important;
    width: 28px !important;
    border-radius: 5px !important;
}

/* ===== MOBILE MENU BASE ===== */
#mobileMenu {
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    border-radius: 0 0 12px 12px;
}
#mobileMenu .nav-link {
    color: #333 !important;
    font-weight: 600;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid #eee;
}
#mobileMenu .dropdown-menu {
    border: none;
    box-shadow: none;
    padding-left: 1rem;
}
#mobileMenu .dropdown-item {
    font-size: 0.9rem;
    padding: 0.4rem 0;
    color: #555 !important;
}
#mobileMenu .request_quote_btn {
    margin: 0.7rem 1rem;
}

/* ===== FOOTER COMPACT ===== */
.main-footer { padding: 0.8rem 0 0 !important; }
.main-footer .widgets-section { padding-top: 0.5rem !important; padding-bottom: 0 !important; }
.main-footer .footer-widget { margin-bottom: 0.3rem !important; }
.main-footer .widget-title { margin-bottom: 0.4rem !important; font-size: 0.95rem !important; }
.main-footer p, .main-footer .text { margin-bottom: 0.3rem !important; font-size: 0.82rem !important; line-height: 1.4 !important; }
.footer-bottom { margin-top: 0.3rem !important; padding: 0.4rem 0 !important; }
.footer-bottom .copyright-text { font-size: 0.78rem !important; }

/* ===== BANNER/SLIDER COMPACT ===== */
.banner-section { min-height: 50vh !important; max-height: 500px !important; }
.banner-section .slide-item { min-height: 50vh !important; }
@media (max-width: 768px) {
    .banner-section { min-height: 35vh !important; max-height: 350px !important; }
    .banner-section .slide-item { min-height: 35vh !important; }
}

/* ===== FOOTER SOCIAL ===== */
.social-icon-two a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    border-radius: 50%;
    margin-right: 6px;
    transition: all .3s;
}
.social-icon-two a:hover {
    background: var(--md-primary);
    transform: translateY(-2px);
}

/* ===== 404 PAGE ===== */
.h404 {
    font-size: clamp(120px, 20vw, 200px);
    font-family: 'Manrope', sans-serif !important;
    color: var(--md-primary);
}

/* ===== FAQ ===== */
.accordion-button {
    font-weight: 700 !important;
}
.accordion-button:not(.collapsed) {
    color: var(--md-primary-dark) !important;
    background: var(--md-primary-light) !important;
}

/* ===== FORM INPUTS ===== */
input:focus, textarea:focus, .form-control:focus {
    border-color: var(--md-primary) !important;
    box-shadow: 0 0 0 3px rgba(255,160,7,.15) !important;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--md-primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--md-primary-dark); }
