/*
Theme Name: MetroBasket Corporate Rebuild
Theme URI: https://www.metrobasket.in/
Author: MB Automotives India
Description: Premium corporate showcase theme for MB Automotives India. No ecommerce or checkout functionality.
Version: 1.0.5
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: metrobasket-corporate
*/
:root{--ink:#08111f;--navy:#0d1d33;--blue:#163d68;--red:#e23c42;--silver:#b9c4d2;--paper:#f4f6f8;--white:#fff;--muted:#667386;--line:rgba(255,255,255,.14);--radius:22px;--shadow:0 22px 65px rgba(4,15,30,.16)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#152236;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(1200px,calc(100% - 44px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(5,14,27,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.1);color:#fff}.head-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.02em}.brand-mark{width:44px;height:44px;border:1px solid rgba(255,255,255,.4);border-radius:13px;display:grid;place-items:center;color:#fff;font-size:19px;font-weight:900;background:linear-gradient(145deg,#1a4a78,#0a1729)}.brand small{display:block;color:#aab7c8;font-size:10px;letter-spacing:.18em;font-weight:600}.main-nav ul{display:flex;align-items:center;gap:25px;list-style:none;padding:0;margin:0}.main-nav a{font-size:13px;color:#d7dfeb;font-weight:650;transition:.2s}.main-nav a:hover{color:#fff}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:13px 20px;border-radius:999px;background:var(--red);color:#fff!important;font-weight:750;font-size:13px;box-shadow:0 10px 28px rgba(226,60,66,.22);transition:transform .2s,box-shadow .2s}.nav-cta:hover,.button:hover{transform:translateY(-2px);box-shadow:0 14px 32px rgba(226,60,66,.3)}.menu-toggle{display:none;background:none;color:#fff;border:1px solid #435064;border-radius:10px;padding:9px 12px;font-size:20px}.hero{position:relative;min-height:650px;background:#071323;color:#fff;overflow:hidden;isolation:isolate}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,24,.96) 0%,rgba(4,12,24,.82) 43%,rgba(4,12,24,.15) 100%);z-index:-1}.hero-slides{position:absolute;inset:0;z-index:-2}.hero-slide{position:absolute;inset:0;background-position:center;background-size:cover;opacity:0;transform:scale(1.04);transition:opacity 1.2s ease,transform 8s ease}.hero-slide.active{opacity:1;transform:scale(1)}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,12,24,.86) 0%,rgba(4,12,24,.58) 48%,rgba(4,12,24,.12) 100%),radial-gradient(circle at 78% 35%,rgba(33,94,145,.25),transparent 34%),linear-gradient(0deg,rgba(3,10,20,.65),transparent 35%);z-index:-1}.hero-content{padding:125px 0 115px;max-width:720px}.eyebrow{display:inline-flex;align-items:center;gap:10px;color:#e6b8bb;text-transform:uppercase;letter-spacing:.22em;font-size:11px;font-weight:800}.eyebrow:before{content:"";width:28px;height:2px;background:var(--red)}.hero h1{font-size:clamp(42px,6vw,76px);line-height:1.02;letter-spacing:-.045em;margin:24px 0 22px;max-width:760px}.hero h1 em{font-style:normal;color:#e9eef5}.hero p{font-size:18px;color:#c3cfdd;max-width:620px;margin:0 0 32px}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.button.secondary{background:transparent;border:1px solid rgba(255,255,255,.42);box-shadow:none}.hero-meta{display:flex;gap:30px;flex-wrap:wrap;margin-top:58px;padding-top:24px;border-top:1px solid rgba(255,255,255,.17);color:#b7c4d4;font-size:12px}.hero-meta strong{display:block;color:#fff;font-size:14px}.section{padding:100px 0}.section.dark{background:var(--ink);color:#fff}.section.soft{background:var(--paper)}.section-head{max-width:720px;margin-bottom:44px}.kicker{color:#d44349;font-size:11px;font-weight:850;letter-spacing:.2em;text-transform:uppercase}.section h2{font-size:clamp(32px,4vw,49px);line-height:1.1;letter-spacing:-.035em;margin:12px 0 16px}.section-head p{color:var(--muted);font-size:16px;margin:0}.dark .section-head p{color:#aab7c7}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.solution-card{position:relative;min-height:300px;padding:30px;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden;border:1px solid #e8edf2;transition:transform .25s}.solution-card:hover{transform:translateY(-7px)}.solution-card .num{font-size:11px;color:#d44349;font-weight:900;letter-spacing:.16em}.solution-card h3{font-size:23px;line-height:1.2;margin:18px 0 12px}.solution-card p{font-size:14px;color:var(--muted);margin:0 0 24px}.solution-card a{font-size:13px;font-weight:800;color:#173d67}.card-art{position:absolute;right:-20px;bottom:-35px;width:170px;height:130px;opacity:.12;background:radial-gradient(ellipse at center,#285e92,transparent 68%);transform:rotate(-22deg)}.feature-band{display:grid;grid-template-columns:1.05fr .95fr;gap:60px;align-items:center}.feature-image{border-radius:26px;overflow:hidden;min-height:430px;background:#0a1b30;box-shadow:var(--shadow)}.feature-image img{width:100%;height:100%;min-height:430px;object-fit:cover}.feature-copy p{color:var(--muted)}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:28px 0}.feature-list div{padding:17px;border:1px solid #e5eaf0;border-radius:15px;font-size:13px;font-weight:700}.feature-list span{display:block;color:#d44349;font-size:10px;letter-spacing:.15em;margin-bottom:5px}.ticker{overflow:hidden;border-top:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);padding:18px 0;background:#0a1728}.ticker-track{display:flex;width:max-content;gap:54px;animation:marquee 32s linear infinite;color:#c4d0de;text-transform:uppercase;letter-spacing:.18em;font-size:11px;font-weight:800}.ticker-track span:before{content:"✦";color:#e34b51;margin-right:54px}.partner-window{overflow:hidden;position:relative}.partner-track{display:flex;align-items:center;gap:18px;width:max-content;animation:marquee 34s linear infinite}.partner-window:hover .partner-track{animation-play-state:paused}.partner-logo{height:110px;width:210px;background:#fff;border:1px solid #e8edf2;border-radius:17px;display:grid;place-items:center;padding:22px}.partner-logo img{max-height:66px;max-width:160px;object-fit:contain}.partner-logo.black img{max-width:155px}.review-note{padding:30px;border:1px dashed rgba(255,255,255,.3);border-radius:20px;background:rgba(255,255,255,.04);color:#d0d9e4;max-width:760px}.review-note strong{display:block;color:#fff;font-size:19px;margin-bottom:8px}.certificate-strip{display:flex;align-items:center;gap:28px;overflow:hidden;padding:24px 0}.certificate-strip img{height:76px;width:auto;max-width:170px;object-fit:contain;filter:grayscale(1);opacity:.82}.cta-panel{padding:55px;border-radius:28px;background:linear-gradient(120deg,#102d4d,#071323 72%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden;position:relative}.cta-panel:after{content:"MB";position:absolute;right:7%;font-size:190px;font-weight:950;color:rgba(255,255,255,.035);line-height:1}.cta-panel h2{margin:8px 0;font-size:clamp(30px,4vw,44px)}.cta-panel p{color:#b9c6d5;margin:0}.site-footer{background:#050d18;color:#c3cedb;padding:64px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px}.site-footer h3{color:#fff;font-size:14px;letter-spacing:.08em;text-transform:uppercase}.site-footer p,.site-footer li{font-size:13px;color:#9eacbd}.site-footer ul{list-style:none;padding:0}.site-footer li{margin:8px 0}.footer-bottom{margin-top:45px;padding-top:20px;border-top:1px solid rgba(255,255,255,.12);font-size:11px;color:#8291a4;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.page-hero{background:linear-gradient(110deg,#081526,#173d65);color:#fff;padding:78px 0}.page-hero h1{font-size:clamp(36px,5vw,58px);margin:10px 0}.page-content{padding:65px 0 95px;min-height:40vh}.page-content .entry-content{max-width:900px}.entry-content img{border-radius:12px}.entry-content h2,.entry-content h3{line-height:1.2}.entry-content a{color:#174c7b;text-decoration:underline}.entry-content p,.entry-content li{color:#455469}.entry-content table{width:100%;border-collapse:collapse}.entry-content td,.entry-content th{border:1px solid #e3e8ee;padding:10px}.mobile-nav{display:none}
@keyframes marquee{to{transform:translateX(-50%)}}@keyframes heroDrift{from{transform:scale(1)}to{transform:scale(1.08)}}
@media(max-width:900px){.main-nav{display:none;position:absolute;top:84px;left:0;right:0;background:#081321;padding:18px 24px 24px;border-bottom:1px solid #26354a}.main-nav.open{display:block}.main-nav ul{display:flex;align-items:stretch;flex-direction:column;gap:0}.main-nav li{border-bottom:1px solid rgba(255,255,255,.1);padding:11px 0}.menu-toggle{display:block}.head-inner>.nav-cta{display:none}.grid{grid-template-columns:repeat(2,1fr)}.feature-band{grid-template-columns:1fr;gap:35px}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:610px}.hero:before{background-position:62% center}}
@media(max-width:600px){.wrap{width:min(100% - 30px,1200px)}.head-inner{height:72px}.main-nav{top:72px}.brand-mark{width:39px;height:39px}.hero-content{padding:94px 0 75px}.hero h1{font-size:43px}.hero p{font-size:16px}.hero-meta{gap:16px;margin-top:42px}.section{padding:72px 0}.grid{grid-template-columns:1fr}.solution-card{min-height:245px}.feature-list{grid-template-columns:1fr}.cta-panel{padding:32px 25px;align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr;gap:22px}.partner-logo{width:170px;height:95px}.page-hero{padding:60px 0}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ticker-track,.partner-track{animation:none}.hero-slide{transition:none}.solution-card,.button,.nav-cta{transition:none}}

/* Accessibility and WordPress custom-logo support */
.skip-link{position:absolute;left:12px;top:-60px;z-index:1000;padding:10px 16px;background:#fff;color:#08111f;border-radius:8px;font-weight:700;box-shadow:0 4px 18px rgba(0,0,0,.2)}
.skip-link:focus{top:12px}
:focus-visible{outline:3px solid #e23c42;outline-offset:3px}
.brand .custom-logo-link{display:flex;align-items:center;max-width:190px}
.brand .custom-logo{max-height:54px;width:auto;object-fit:contain}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Final accessibility and contrast refinements */
.brand .custom-logo{display:block;max-height:54px;width:auto;max-width:190px;object-fit:contain}
.soft .review-note{color:#435269;background:#fff;border-color:#cbd5e1;box-shadow:0 12px 36px rgba(13,32,55,.06)}
.soft .review-note strong{color:#152236}
.partner-window:focus-within .partner-track{animation-play-state:paused}
.main-nav a:focus-visible,.brand:focus-visible,.button:focus-visible,.nav-cta:focus-visible,.menu-toggle:focus-visible,.site-footer a:focus-visible{outline:3px solid #f0a2a5;outline-offset:4px;border-radius:4px}
@media(max-width:900px){.main-nav.open{z-index:60;max-height:calc(100vh - 84px);overflow-y:auto}}


/* Product catalogue imagery: cool studio backdrop, 3D depth and restrained motion. */
#mb-product-catalogue .mb-product-image,
.entry-content figure.wp-block-image:has(img[src*="/MB-"]),
.entry-content figure.wp-block-image:has(img[src*="/ADAS-"]),
.entry-content figure.wp-block-image:has(img[src*="/DMS-"]),
.entry-content figure.wp-block-image:has(img[src*="/Bus-and-Truck-Parking"]),
.entry-content figure.wp-block-image:has(img[src*="/High-Speed-Memory-"]),
.entry-content figure.wp-block-image:has(img[src*="/AHD-1080p"]),
.entry-content figure.wp-block-image:has(img[src*="/Aviation-Cable-"]),
.entry-content figure.wp-block-image:has(img[src*="/7-inch-Display-Stand"]) {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  perspective: 1100px;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(255,255,255,.98), rgba(255,255,255,0) 44%),
    linear-gradient(145deg, #e6edf5 0%, #f7f9fc 54%, #d9e3ef 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), inset 0 -14px 28px rgba(23,43,67,.08);
}
#mb-product-catalogue .mb-product-image::before,
.entry-content figure.wp-block-image:has(img[src*="/MB-"])::before,
.entry-content figure.wp-block-image:has(img[src*="/ADAS-"])::before,
.entry-content figure.wp-block-image:has(img[src*="/DMS-"])::before,
.entry-content figure.wp-block-image:has(img[src*="/Bus-and-Truck-Parking"])::before,
.entry-content figure.wp-block-image:has(img[src*="/High-Speed-Memory-"])::before,
.entry-content figure.wp-block-image:has(img[src*="/AHD-1080p"])::before,
.entry-content figure.wp-block-image:has(img[src*="/Aviation-Cable-"])::before,
.entry-content figure.wp-block-image:has(img[src*="/7-inch-Display-Stand"])::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 16% 18% 10%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(35,62,94,.2), rgba(35,62,94,0) 70%);
  filter: blur(18px);
  transform: translateY(22%) scale(.82);
  pointer-events: none;
}
#mb-product-catalogue .mb-product-image img,
.entry-content figure.wp-block-image:has(img[src*="/MB-"]) img,
.entry-content figure.wp-block-image:has(img[src*="/ADAS-"]) img,
.entry-content figure.wp-block-image:has(img[src*="/DMS-"]) img,
.entry-content figure.wp-block-image:has(img[src*="/Bus-and-Truck-Parking"]) img,
.entry-content figure.wp-block-image:has(img[src*="/High-Speed-Memory-"]) img,
.entry-content figure.wp-block-image:has(img[src*="/AHD-1080p"]) img,
.entry-content figure.wp-block-image:has(img[src*="/Aviation-Cable-"]) img,
.entry-content figure.wp-block-image:has(img[src*="/7-inch-Display-Stand"]) img {
  position: relative;
  z-index: 1;
  mix-blend-mode: multiply;
  transform-style: preserve-3d;
  filter: drop-shadow(0 18px 15px rgba(16,34,55,.2));
  animation: mb-product-cinematic-float 8s ease-in-out infinite;
  transition: transform .65s cubic-bezier(.2,.75,.25,1), filter .65s ease;
}
#mb-product-catalogue .mb-product-card:hover .mb-product-image img,
.entry-content figure.wp-block-image:has(img[src*="/MB-"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/ADAS-"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/DMS-"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/Bus-and-Truck-Parking"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/High-Speed-Memory-"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/AHD-1080p"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/Aviation-Cable-"]):hover img,
.entry-content figure.wp-block-image:has(img[src*="/7-inch-Display-Stand"]):hover img {
  transform: perspective(1000px) rotateX(2deg) rotateY(-6deg) translate3d(0,-6px,20px) scale(1.035);
  filter: drop-shadow(0 26px 20px rgba(16,34,55,.28));
}
@keyframes mb-product-cinematic-float {
  0%, 100% { transform: perspective(1000px) rotateX(0deg) rotateY(-1.5deg) translateY(0); }
  50% { transform: perspective(1000px) rotateX(1deg) rotateY(1.8deg) translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  #mb-product-catalogue .mb-product-image img,
  .entry-content figure.wp-block-image:has(img[src*="/MB-"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/ADAS-"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/DMS-"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/Bus-and-Truck-Parking"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/High-Speed-Memory-"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/AHD-1080p"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/Aviation-Cable-"]) img,
  .entry-content figure.wp-block-image:has(img[src*="/7-inch-Display-Stand"]) img {
    animation: none;
    transition: none;
    transform: none;
  }
}
