/* ===================================================
   Premium Theme Enhancements
   Additive layer on top of main.css / common-style.css
   Goal: premium feel, stronger trust signals, fast load
==================================================== */

/* ---- Typography polish ---- */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.section-heading h2,
.slider-caption.big h1,
.hero-title {
    letter-spacing: -0.5px;
    font-weight: 700;
}

.section-heading h3 {
    color: var(--primary-color, #ffaa17);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 14px;
}

p {
    line-height: 1.75;
}

/* ---- Smooth, consistent transitions everywhere ---- */
a,
button,
.default-btn,
.service-item,
.service-item-inner,
.project-item,
.service-thumb img,
.project-thumb img,
.form-control,
input,
select,
textarea {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s ease,
                background-color 0.2s ease,
                color 0.2s ease;
}

/* ---- Buttons: premium gradient + lift ---- */
.default-btn {
    background: linear-gradient(135deg, #ffb833 0%, #ff9500 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(255, 149, 0, 0.32);
    font-weight: 600;
    letter-spacing: 0.3px;
}

.default-btn:hover,
.default-btn:focus {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(255, 149, 0, 0.42);
}

.default-btn:active {
    transform: translateY(-1px);
}

/* ---- Card elevation & hover lift (services, projects) ---- */
.service-item-inner {
    border: 1px solid rgba(17, 17, 17, 0.05);
}

.service-item:hover .service-item-inner,
.service-item-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 17, 17, 0.12);
}

.project-item {
    transition: transform 0.3s ease;
}

.project-item:hover {
    transform: translateY(-6px);
}

.service-thumb {
    overflow: hidden;
}

.service-thumb img {
    transition: transform 0.5s ease;
}

.service-item:hover .service-thumb img {
    transform: scale(1.06);
}

/* ---- Trust signals: stat counters ---- */
.counter-item {
    transition: transform 0.3s ease;
}

.counter-item:hover {
    transform: translateY(-4px);
}

.counter-content h3 .odometer {
    font-weight: 700;
    background: linear-gradient(135deg, #ffb833, #ff9500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---- Rating stars ---- */
.rattings i {
    color: #ffb833;
}

/* ---- Sticky call / WhatsApp buttons: more premium shadow ---- */
#call-float a,
#whatsapp-float a {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

#call-float a:hover,
#whatsapp-float a:hover {
    transform: scale(1.08);
}

/* ---- Forms: premium input styling ---- */
.form-control,
input.form-control,
select.form-control,
textarea.form-control {
    border-radius: 8px;
    border: 1.5px solid #e6e6e6;
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: #ffb833;
    box-shadow: 0 0 0 4px rgba(255, 184, 51, 0.15);
    outline: none;
}

/* ---- Accessible, visible focus states (also reads as "polished") ---- */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #ff9500;
    outline-offset: 2px;
    border-radius: 2px;
}

/* ---- Section heading card on image backgrounds: crisper glass effect ---- */
.service-section .section-heading {
    background: rgba(10, 10, 12, 0.55);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* ---- Header: subtle depth ---- */
.main-header {
    box-shadow: 0 1px 0 rgba(17, 17, 17, 0.06);
}

/* ---- Footer widget headings: slightly more premium weight ---- */
.footer-widget h3 {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ---- Reduce motion for users who prefer it ---- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
