/* ================================================================
   SNT MOTORS – YAMAHA AUTHORIZED SHOWROOM
   Premium CSS – Bebas Neue + Outfit
   Yamaha Blue: #003087 / #0066CC accent
================================================================ */

/* -------------------- CSS VARIABLES -------------------- */
:root {
  --yamaha-blue: #003087;
  --yamaha-blue-mid: #0044aa;
  --yamaha-blue-light: #0066cc;
  --yamaha-accent: #0055cc;
  --yamaha-cyan: #0088dd;
  --dark-bg: #f4f7fc;
  --dark-surface: #eaf0fa;
  --dark-card: #ffffff;
  --dark-border: rgba(0, 80, 180, 0.12);
  --text-primary: #0d1a2e;
  --text-secondary: #3a5070;
  --text-muted: #7a95b8;
  --white: #ffffff;
  --gradient-blue: linear-gradient(135deg, #003087 0%, #0066cc 60%, #0099ee 100%);
  --gradient-dark: linear-gradient(180deg, #f4f7fc 0%, #eaf0fa 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 246, 255, 0.98) 100%);
  --shadow-blue: 0 8px 40px rgba(0, 80, 180, 0.22);
  --shadow-card: 0 4px 30px rgba(0, 60, 140, 0.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --nav-height: 76px;
  --section-pad: 100px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Outfit', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* -------------------- RESET / BASE -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

address {
  font-style: normal;
}

input,
textarea,
select {
  font-family: var(--font-body);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #e4ecf7;
}

::-webkit-scrollbar-thumb {
  background: var(--yamaha-blue-light);
  border-radius: 3px;
}

/* -------------------- CONTAINER -------------------- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* -------------------- SECTION BASE -------------------- */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yamaha-blue-light);
  background: rgba(0, 102, 204, 0.08);
  border: 1px solid rgba(0, 102, 204, 0.2);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 1.12;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-title .accent {
  color: var(--yamaha-accent);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.75;
}

/* -------------------- TYPOGRAPHY -------------------- */
.body-text {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.accent {
  color: var(--yamaha-accent);
}

/* -------------------- BUTTONS -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 50px rgba(0, 102, 204, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
  border-color: var(--yamaha-accent);
  color: var(--yamaha-accent);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* -------------------- NAVBAR -------------------- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(244, 247, 252, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
  box-shadow: 0 4px 30px rgba(0, 60, 140, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 70px;
  height: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.logo-icon-foot {
  width: 100px;
  height: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

/* Navbar — transparent state (over hero dark image) */
#navbar:not(.scrolled) .logo-name {
  color: #ffffff;
}

#navbar:not(.scrolled) .logo-sub {
  color: #7dd4fc;
}

#navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.88);
}

#navbar:not(.scrolled) .nav-link:hover,
#navbar:not(.scrolled) .nav-link.active {
  color: #ffffff;
}

#navbar:not(.scrolled) .hamburger span {
  background: #ffffff;
}

/* Navbar — scrolled state (white bg) */
#navbar.scrolled .logo-name {
  color: var(--yamaha-blue);
}

#navbar.scrolled .logo-sub {
  color: var(--yamaha-blue-light);
}

#navbar.scrolled .nav-link {
  color: #1a2e4a;
}

#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active {
  color: var(--yamaha-blue);
}

#navbar.scrolled .hamburger span {
  background: var(--yamaha-blue);
}

.logo-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--yamaha-accent);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--yamaha-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-blue);
  color: var(--white);
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  margin-left: 0.5rem;
  box-shadow: var(--shadow-blue);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 102, 204, 0.45);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------------------- HERO -------------------- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  animation: heroKenBurns 8s linear infinite alternate;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.0);
  }

  to {
    transform: scale(1.08);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
      rgba(0, 20, 60, 0.82) 0%,
      rgba(0, 40, 120, 0.60) 50%,
      rgba(0, 15, 50, 0.45) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  padding-top: 150px;

  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 0.95;
  letter-spacing: 0.02em;
  max-width: 900px;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.title-line {
  display: block;
  color: #ffffff;
}

.title-line.accent {
  color: #4db8ff;
  text-shadow: 0 0 60px rgba(77, 184, 255, 0.5);
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(240, 244, 255, 0.75);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}



.hero-slide-dots {
  position: absolute;
  bottom: 2.5rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  transition: var(--transition);
  padding: 0;
}

.dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--yamaha-accent);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.4;
    transform: scaleY(0.7);
  }
}

/* -------------------- ABOUT -------------------- */
.about {
  background: var(--dark-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}

.about-img-wrap .show-room {
  border: 3px solid #1e73be;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

.about-badge-card {
  position: absolute;
  bottom: 8rem;
  background: var(--gradient-blue);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.85rem;
}

.about-badge-card i {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--yamaha-cyan);
}

.about-badge-card span {
  opacity: 0.8;
  font-size: 0.75rem;
}

.about-badge-card strong {
  font-size: 1rem;
  margin-top: 2px;
}

.about-accent-img {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 44%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--dark-surface);
  box-shadow: var(--shadow-card);
}

.about-accent-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.about-content {
  padding: 1rem 0;
}

.about-features {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
}

.about-features li i {
  color: var(--yamaha-accent);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* -------------------- PRODUCTS -------------------- */
.products {
  background: var(--dark-bg);
}

.products-bg-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 20%, rgba(0, 80, 180, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.product-tabs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.8rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--dark-border);
  background: var(--dark-card);
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.tab-btn:hover {
  border-color: var(--yamaha-blue-light);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--gradient-blue);
  color: var(--white);
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.product-category-label {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--dark-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.product-category-label::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--gradient-blue);
  border-radius: 2px;
}

.product-grid {
  margin-top: 1rem;
}

.products-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 204, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 102, 204, 0.2);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 180px;
  background: linear-gradient(135deg, #e8f0fb, #dce8f8);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.08);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 48, 135, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.overlay-btn {
  background: var(--white);
  color: var(--yamaha-blue);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.overlay-btn:hover {
  background: var(--yamaha-accent);
  color: var(--white);
}

.product-info {
  padding: 1.25rem;
}

.product-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yamaha-accent);
  background: rgba(0, 170, 255, 0.1);
  padding: 0.22rem 0.65rem;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 0.6rem;
}

.badge-new {
  color: #00e5a0;
  background: rgba(0, 229, 160, 0.1);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.product-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--yamaha-accent);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.product-link i {
  font-size: 0.72rem;
  transition: transform 0.3s;
}

.product-link:hover i {
  transform: translateX(4px);
}

.ev-card {
  border-color: rgba(0, 212, 255, 0.2);
}

.ev-card:hover {
  border-color: rgba(0, 212, 255, 0.45);
}

.ev-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  background: linear-gradient(135deg, #00d4ff, #0066cc);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
}

/* -------------------- SERVICES -------------------- */
.services {
  background: var(--dark-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-blue);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.3);
  box-shadow: var(--shadow-card);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: rgba(0, 102, 204, 0.12);
  border: 1px solid rgba(0, 102, 204, 0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--yamaha-accent);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 102, 204, 0.22);
  color: var(--yamaha-cyan);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.service-cta {
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.07) 0%, rgba(0, 102, 204, 0.05) 100%);
  border: 1px solid rgba(0, 80, 180, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-cta-content h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-cta-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

#services-heading.section-title {
  margin-bottom: 0rem;
}

/* -------------------- GALLERY -------------------- */
.gallery {
  background: var(--dark-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 1rem;
}

.gallery-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 48, 135, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
  font-size: 1.4rem;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 20, 50, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--yamaha-blue-light);
}

/* -------------------- TESTIMONIALS -------------------- */
.testimonials {
  background: var(--dark-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  text-align: justify;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(0, 102, 204, 0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 204, 0.3);
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* -------------------- WHY CHOOSE US -------------------- */
.why-us {
  background: var(--dark-bg);
}

.why-bg-decor {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 80, 180, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: .6rem;
}

.why-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.why-card:hover::after {
  opacity: 1;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}




.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(0, 102, 204, 0.12);
  border: 1px solid rgba(0, 102, 204, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--yamaha-accent);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: rgba(0, 102, 204, 0.25);
  box-shadow: 0 0 20px rgba(0, 170, 255, 0.25);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
  position: relative;
  z-index: 1;
}

.why-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* -------------------- CONTACT -------------------- */
.contact {
  background: var(--dark-surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--dark-border);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 102, 204, 0.12);
  border: 1px solid rgba(0, 102, 204, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--yamaha-accent);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yamaha-accent);
  margin-bottom: 0.4rem;
}

.contact-item address,
.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--yamaha-accent);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  padding-top: 1.25rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 1px solid var(--dark-border);
}

.social-btn.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877f2;
}

.social-btn.facebook:hover {
  background: #1877f2;
  color: var(--white);
}

.social-btn.instagram {
  background: rgba(225, 48, 108, 0.1);
  color: #e1306c;
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: var(--white);
}

.social-btn.youtube {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
}

.social-btn.youtube:hover {
  background: #ff0000;
  color: var(--white);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--dark-border);
}

.contact-form-wrap {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  height: 100%;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 2rem;
}



.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-group label span {
  color: var(--yamaha-accent);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #f4f7fc;
  border: 1.5px solid rgba(0, 80, 180, 0.14);
  color: var(--text-primary);
  padding: 0.78rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select option {
  background: #ffffff;
  color: #0d1a2e;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--yamaha-blue-light);
  background: #eaf2ff;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.2rem;
  background: rgba(0, 229, 160, 0.1);
  border: 1px solid rgba(0, 229, 160, 0.3);
  border-radius: var(--radius-sm);
  color: #00e5a0;
  font-size: 0.9rem;
  align-items: center;
  gap: 0.6rem;
}

.form-success.show {
  display: flex;
}

/* -------------------- FOOTER -------------------- */
.footer {
  background: #0d1a2e;
}

.footer-top {
  padding: 5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(180, 200, 230, 0.75);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: rgba(200, 220, 255, 0.8);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--gradient-blue);
  color: var(--white);
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-links-col ul li {
  margin-bottom: 0.55rem;
}

.footer-links-col ul li a {
  font-size: 0.88rem;
  color: rgba(180, 200, 230, 0.75);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-col ul li a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #4db8ff;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
}

.footer-links-col ul li a:hover {
  color: #4db8ff;
}

.footer-links-col ul li a:hover::before {
  opacity: 1;
}

.footer-contact-col address p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(180, 200, 230, 0.75);
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.footer-contact-col address i {
  color: #4db8ff;
  font-size: 0.85rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact-col address a:hover {
  color: #4db8ff;
}

.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(160, 185, 220, 0.65);
}

.footer-bottom i {
  color: #e74c3c;
  font-size: 0.8rem;
}

/* Footer logo — override for dark footer background */
.footer .logo-name {
  color: #ffffff;
}

.footer .logo-sub {
  color: #7dd4fc;
}

/* -------------------- BACK TO TOP -------------------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gradient-blue);
  color: var(--white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 102, 204, 0.5);
}

/* -------------------- REVEAL ANIMATIONS -------------------- */
.reveal-fade,
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-fade {
  opacity: 0;
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal-fade.visible,
.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* Staggered delay */
[style*="--delay"] {
  transition-delay: var(--delay, 0s) !important;
}

/* -------------------- RESPONSIVE -------------------- */
/* ================================================================
   SNT MOTORS – RESPONSIVE FIXES (MEDIA QUERIES ONLY)
   Replace / merge with existing @media blocks in your CSS
================================================================ */

/* -------------------- BREAKPOINT: ≤1100px -------------------- */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .about-grid {
    gap: 3rem;
  }

  /* Services grid: 2 columns on mid-size screens */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Why-us grid: 2 columns */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact: single column at this breakpoint */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* -------------------- BREAKPOINT: ≤900px -------------------- */
@media (max-width: 900px) {
  :root {
    --section-pad: 70px;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background: #ffffff;
    transition: background 0.3s ease;
  }

  .navbar.scrolled .hamburger span {
    background: #1a2e4a;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 200px;
    right: 50px;
    background: #ffffff;
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    color: #1a2e4a !important;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 0.5rem;
  }


  /* ── Hero ── */
  .hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
  }

  .hero-content {
    padding-top: 100px;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.2rem;
  }

  /* ── Section header ── */
  .section-header {
    margin-bottom: 40px;
  }

  /* ── About ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-accent-img {
    display: none;
  }

  .about-img-wrap img {
    height: 320px;
  }

  .about-badge-card {
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .about-badge-card i {
    margin-bottom: 0;
  }

  /* ── Products ── */
  .products-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tabs {
    gap: 0.4rem;
  }

  .tab-btn {
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.75rem;
    gap: 1.5rem;
  }

  /* ── Why Us ── */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 0.75rem;
  }

  .gallery-large {
    grid-column: 1 / 3;
    grid-row: auto;
    height: 280px;
  }

  .gallery-item {
    height: 200px;
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* ── Contact ── */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 2rem;
  }

  /* ── Footer ── */
  .footer-top {
    padding: 3.5rem 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* -------------------- BREAKPOINT: ≤640px -------------------- */
@media (max-width: 640px) {
  :root {
    --section-pad: 55px;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* ── Section header ── */
  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  /* ── Hero ── */
  .hero-title {
    font-size: 3rem;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slide-dots {
    right: 1rem;
  }

  /* ── About ── */
  .about-img-wrap {
    aspect-ratio: 4/3;
  }

  .about-badge-card {
    position: static;
    width: 100%;
    border-radius: var(--radius-sm);
    margin-top: 1rem;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
  }

  .about-features li {
    font-size: 0.9rem;
  }

  /* ── Products ── */
  .products-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .product-tabs {
    gap: 0.3rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-cta {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem;
  }

  /* ── Why Us ── */
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card {
    padding: 1.75rem 1.5rem;
  }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .gallery-large {
    grid-column: auto;
    height: 250px;
  }

  .gallery-item {
    height: 220px;
  }

  /* ── Testimonials ── */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* ── Contact ── */
  .contact-form-wrap {
    padding: 1.5rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  /* ── Footer ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-top {
    padding: 2.5rem 0 2rem;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

/* -------------------- BREAKPOINT: ≤420px -------------------- */
@media (max-width: 420px) {

  /* ── Hero ── */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.85rem;
  }

  /* ── Products ── */
  .products-row {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-btn {
    text-align: center;
  }

  /* ── Services ── */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* ── Contact ── */
  .contact-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* ── Nav CTA ── */
  .nav-cta {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
  }

  /* ── Buttons ── */
  .btn {
    font-size: 0.88rem;
    padding: 0.78rem 1.5rem;
  }
}