/* ============================================================
   SHREE METACRAFT — Luxury Industrial Theme
   Primary: #C9A243 | Dark: #222222 | Light: #F8F8F8
   White: #FFFFFF | Border: #ECECEC
   ============================================================ */

:root {
    --gold: #C9A243;
    --gold-light: #E0C374;
    --gold-dark: #A9812F;
    --dark: #222222;
    --light: #F8F8F8;
    --white: #FFFFFF;
    --border: #ECECEC;
    --gold-gradient: linear-gradient(135deg, #DDB853 0%, #C9A243 50%, #A9812F 100%);
    --shadow-soft: 0 10px 40px rgba(34, 34, 34, 0.08);
    --shadow-hover: 0 20px 50px rgba(201, 162, 67, 0.25);
    --radius: 16px;
    --font-display: 'Poppins', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-display);
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--dark);
    letter-spacing: -0.02em;
}

a { text-decoration: none; transition: all .3s ease; }
a:hover { text-decoration: none; }

img { max-width: 100%; }

::selection { background: var(--gold); color: var(--white); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
}

/* ---------------- Utility ---------------- */
.text-gold { color: var(--gold) !important; }
.bg-gold { background: var(--gold) !important; }
.bg-light-soft { background: var(--light); }
.section-pad { padding: 90px 0; }
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(201,162,67,0.1);
    padding: 6px 18px;
    border-radius: 30px;
    margin-bottom: 18px;
}
.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.section-sub {
    color: #666;
    font-size: 1.05rem;
    max-width: 640px;
}
.divider-gold {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    border-radius: 3px;
    margin: 18px 0 28px;
}

/* ---------------- Buttons ---------------- */
.btn-gold {
    background: var(--gold-gradient);
    color: var(--white) !important;
    border: none;
    padding: 13px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    box-shadow: 0 8px 24px rgba(201,162,67,0.35);
    transition: transform .3s ease, box-shadow .3s ease;
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(201,162,67,0.45);
    color: var(--white) !important;
}
.btn-outline-dark-custom {
    border: 1.5px solid var(--dark);
    color: var(--dark);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all .3s ease;
}
.btn-outline-dark-custom:hover {
    background: var(--dark);
    color: var(--white);
}
.btn-outline-gold {
    border: 1.5px solid var(--gold);
    color: var(--gold-dark);
    padding: 11px 30px;
    border-radius: 50px;
    font-weight: 600;
    background: transparent;
    transition: all .3s ease;
    display: inline-block;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--white);
}

/* ---------------- Header ---------------- */
.top-strip {
    background: var(--dark);
    color: #ccc;
    font-size: .82rem;
    padding: 7px 0;
}
.top-strip a { color: #ccc; }
.top-strip a:hover { color: var(--gold-light); }

.main-header {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow .3s ease, padding .3s ease;
    border-bottom: 1px solid var(--border);
}
.main-header.scrolled {
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    padding: 8px 0;
}
.main-header .navbar-brand img { height: 46px; transition: height .3s ease; }
.main-header.scrolled .navbar-brand img { height: 38px; }

.nav-link-custom {
    color: var(--dark) !important;
    font-weight: 500;
    font-size: .95rem;
    margin: 0 12px;
    position: relative;
    padding: 8px 0 !important;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--gold-gradient);
    transition: width .3s ease;
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after { width: 100%; }
.nav-link-custom.active { color: var(--gold-dark) !important; }

.header-icon-btn {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--dark);
    border: 1px solid var(--border);
    transition: all .3s ease;
}
.header-icon-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.header-call-btn {
    background: var(--gold-gradient);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.header-call-btn:hover { color: var(--white); transform: translateY(-2px); }

/* ---------------- Hero ---------------- */
.hero-slide {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(20,20,20,0.88) 0%, rgba(20,20,20,0.65) 45%, rgba(20,20,20,0.25) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 60px 0; }
.hero-content .eyebrow { background: rgba(255,255,255,0.12); color: var(--gold-light); }
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 22px;
}
.hero-sub { color: #e6e6e6; font-size: 1.15rem; max-width: 560px; margin-bottom: 34px; }

.hero-spec-strip {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.15);
    padding: 18px 0;
}
.hero-spec-strip .spec-item { color: #f2f2f2; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }
.hero-spec-strip .spec-item strong { color: var(--gold-light); font-size: 1rem; display: block; letter-spacing: 0; text-transform: none; font-weight: 600; }

/* ---------------- Glass Cards ---------------- */
.glass-card {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: transform .35s ease, box-shadow .35s ease;
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }

.feature-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 38px 30px;
    height: 100%;
    transition: all .35s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gold-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-6px); border-color: transparent; }
.feature-icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(201,162,67,0.15), rgba(201,162,67,0.05));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: var(--gold-dark);
    margin-bottom: 22px;
}

/* ---------------- Product Cards ---------------- */
.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    transition: all .35s ease;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-8px); }
.product-card .product-img-wrap {
    background: var(--light);
    padding: 24px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center;
}
.product-card .product-img-wrap img {
    max-height: 100%;
    transition: transform .5s ease;
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }
.product-code-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--gold-gradient);
    color: var(--white);
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: .05em;
}
.product-card .card-body { padding: 24px; }
.product-card .cat-label {
    font-size: .75rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
}
.product-card h3 {
    font-size: 1.2rem;
    margin: 6px 0 10px;
}
.product-card p { color: #666; font-size: .92rem; }

/* ---------------- Stats Counter ---------------- */
.stats-section {
    background: var(--dark);
    color: var(--white);
    padding: 70px 0;
    position: relative;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}
.stat-label { color: #bbb; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 8px; }

/* ---------------- Process / Timeline ---------------- */
.process-step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}
.process-num {
    width: 70px; height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-dark);
    margin: 0 auto 20px;
    background: var(--white);
}

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--border);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item::before {
    content: '';
    position: absolute; left: -40px; top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--gold-gradient);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--gold);
}

/* ---------------- Testimonials ---------------- */
.testimonial-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 34px;
    height: 100%;
    position: relative;
}
.testimonial-card .quote-mark { font-size: 3rem; color: var(--gold); opacity: .3; line-height: 1; font-family: Georgia, serif; }
.testimonial-card .stars { color: var(--gold); font-size: .9rem; margin-bottom: 10px; }

/* ---------------- Gallery Page ---------------- */
.gallery-thumb-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--light);
}
.gallery-thumb-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-thumb-overlay {
    position: absolute; inset: 0;
    background: rgba(20,20,20,0.45);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-grid-item a:hover .gallery-thumb-card img { transform: scale(1.08); }
.gallery-grid-item a:hover .gallery-thumb-overlay { opacity: 1; }
.gallery-thumb-caption {
    margin: 10px 0 0;
    font-size: .9rem;
    color: var(--dark);
    text-align: center;
}

/* ---------------- Client Logos Strip ---------------- */
.client-logo-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 24px;
    height: 100%;
    display: flex; align-items: center; justify-content: center;
    transition: all .3s ease;
}
.client-logo-card img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .7;
    transition: all .3s ease;
}
.client-logo-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.client-logo-card:hover img { filter: grayscale(0%); opacity: 1; }

/* ---------------- Quality Page ---------------- */
.quality-step {
    display: flex;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}
.quality-step:last-child { border-bottom: none; }
.quality-step .q-icon {
    width: 56px; height: 56px;
    min-width: 56px;
    border-radius: 14px;
    background: var(--gold-gradient);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
    background: var(--dark);
    color: #ccc;
    padding: 70px 0 0;
}
.site-footer h5 { color: var(--white); font-weight: 600; margin-bottom: 22px; font-size: 1.05rem; }
.site-footer a { color: #b7b7b7; }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding: 22px 0;
    font-size: .85rem;
    color: #999;
}
.footer-social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: 8px;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ---------------- Floating buttons ---------------- */
.float-btns {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}
.float-btn {
    width: 54px; height: 54px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    transition: transform .3s ease;
}
.float-btn:hover { transform: scale(1.1); color: var(--white); }
.float-whatsapp { background: #25D366; }
.float-call { background: var(--gold-gradient); }
.float-top {
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------- Page Banner (inner pages) ---------------- */
.page-banner {
    background: var(--dark);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(201,162,67,0.25), transparent 60%);
}
.page-banner h1 { color: var(--white); position: relative; z-index: 2; font-size: 2.6rem; }
.page-banner .breadcrumb-custom { position: relative; z-index: 2; }
.page-banner .breadcrumb-custom a { color: #ccc; }
.page-banner .breadcrumb-custom a:hover { color: var(--gold-light); }
.page-banner .breadcrumb-custom .current { color: var(--gold-light); }

/* ---------------- Specs table ---------------- */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
    border: 1px solid var(--border);
    padding: 10px 14px;
    text-align: center;
    font-size: .9rem;
}
.spec-table thead th {
    background: var(--dark);
    color: var(--white);
    font-weight: 600;
}
.spec-table tbody tr:nth-child(even) { background: var(--light); }

/* ---------------- Filters (products page) ---------------- */
.filter-pill {
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 9px 20px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--dark);
    background: var(--white);
    cursor: pointer;
    transition: all .3s ease;
}
.filter-pill:hover, .filter-pill.active {
    background: var(--gold-gradient);
    color: var(--white);
    border-color: transparent;
}

/* ---------------- Forms ---------------- */
.form-control-custom {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 13px 18px;
    font-size: .95rem;
    background: var(--light);
    transition: all .3s ease;
}
.form-control-custom:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(201,162,67,0.12);
}

/* ---------------- Loading Screen ---------------- */
#loading-screen {
    position: fixed; inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity .5s ease, visibility .5s ease;
}
#loading-screen.hide { opacity: 0; visibility: hidden; }
.loader-ring {
    width: 54px; height: 54px;
    border: 3px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------- Focus visibility (accessibility) ---------------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .section-pad { padding: 60px 0; }
    .section-title { font-size: 1.9rem; }
    .hero-title { font-size: 2.2rem; }
    .page-banner { padding: 120px 0 50px; }
}
