/* CONTACT */

.contact-link {
  position: relative;
}

.contact-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 10px;
  background: #222;
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  display: none;
  z-index: 2000;
}

.contact-link:hover .contact-tooltip {
  display: block;
}

/* Centers title inside the top bar */
.topbar-inner {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #f0f0f0;
  z-index: 1000;
}

.topbar-title-image {
  height: 70px;
  width: auto;
}




body {
   padding-top: 110px; /* 70 + 40 */
}
/* SUB NAV BAR */
.subnav {
  position: fixed;
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subnav-toggle {
  display: none;         /* hidden on desktop */
}

.subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.subnav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #222;
}

.subnav a:hover {
  text-decoration: underline;
}

/* screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* SUB NAV BAR */
.subnav {
  position: fixed;
  top: 70px;                 /* directly under topbar */
  left: 0;
  width: 100%;
  height: 40px;
  background: #f0f0f0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.subnav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
}

.subnav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  letter-spacing: 0.02em;
}

.subnav a:hover {
  text-decoration: underline;
}



:root {
  /* Page palette */
  --page-bg-1: #e9eef5;
  --page-bg-2: #f5f7fb;
  --card-bg: #f4f6f9;
  --card-border: rgba(0,0,0,0.08);
  --text: #1f2328;

  /* Category accents */
  --accent-transmission: #2a9d8f;
  --accent-direction: #457b9d;
  --accent-freinage: #e63946;
  --accent-montage: #f4a261;
  --accent-roues: #6c63ff;
  --accent-lavage: #6c757d;
}



body {
	
  margin: 0;
  padding-top: 110px;

  background:
    linear-gradient(
      180deg,
      #f2f2f2 0%,
      #ebebeb 40%,
      #e4e4e4 100%
    );

  background-attachment: fixed;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.intro-text {
  width: 100%;
  padding: 80px 20px 40px;
  text-align: center;
  background: transparent;
}

.intro-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.intro-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}




.intro {
  text-align: center;
}

/* -------- PAGE CONTENT -------- */
.page {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 14px 40px;
}


.section {
  border-radius: 16px;
  padding: 22px;
  margin: 16px 0;
}


/* Slightly different background just for Services */
.section.services {
  background: transparent;
  border: none;
}

.section-title {
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: 0.01em;
}

.section-text {
  margin: 0;
  color: #222;
  opacity: 0.9;
}


/* -------- SERVICES -------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-category {
background: rgba(255,255,255,0.18);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}

/* Category color accents (left border + subtle tint) */
.service-category.service-transmission {
  border-left: 6px solid var(--accent-transmission);
  background: linear-gradient(180deg, rgba(42,157,143,0.10), rgba(255,255,255,0.75));
}

.service-category.service-direction {
  border-left: 6px solid var(--accent-direction);
  background: linear-gradient(180deg, rgba(69,123,157,0.10), rgba(255,255,255,0.75));
}

.service-category.service-freinage {
  border-left: 6px solid var(--accent-freinage);
  background: linear-gradient(180deg, rgba(230,57,70,0.10), rgba(255,255,255,0.75));
}

.service-category.service-montage {
  border-left: 6px solid var(--accent-montage);
  background: linear-gradient(180deg, rgba(244,162,97,0.12), rgba(255,255,255,0.75));
}

.service-category.service-roues {
  border-left: 6px solid var(--accent-roues);
  background: linear-gradient(180deg, rgba(108,99,255,0.10), rgba(255,255,255,0.75));
}

.service-category.service-lavage {
  border-left: 6px solid var(--accent-lavage);
  background: linear-gradient(180deg, rgba(128, 0, 128, 0.12), rgba(255,255,255,0.75));
}

/* Match title color to category accent */
.service-category.service-transmission .service-category-title { color: var(--accent-transmission); }
.service-category.service-direction .service-category-title { color: var(--accent-direction); }
.service-category.service-freinage .service-category-title { color: var(--accent-freinage); }
.service-category.service-montage .service-category-title { color: var(--accent-montage); }
.service-category.service-roues .service-category-title { color: var(--accent-roues); }
.service-category.service-lavage .service-category-title { color: var(--accent-lavage); }

.service-category-title {
  margin: 0 0 10px;
  font-size: 16px;
}

.service-subtitle {
  margin: 12px 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.service-note {
  font-weight: 500;
  opacity: 0.85;
}

.service-footnote {
  margin-top: 1.2rem;
  padding-top: 0.75rem;
  font-size: 0.85rem;
  color: #666;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  line-height: 1.4;
}

.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.12);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-sublist li {
  padding-left: 10px;
}

.service-name {
  flex: 1;
}

.service-price {
  white-space: nowrap;
  font-weight: 600;
}

.service-featured {
  background: rgba(0,0,0,0.03);
  border-radius: 10px;
  padding: 10px 10px;
  border-bottom: 0;
}

.services-footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.12);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.services-footer-label {
  font-weight: 600;
}

.services-footer-price {
  font-weight: 700;
  white-space: nowrap;
}



:root{
  --frame-bg: rgba(255,255,255,0.70);
  --frame-border: rgba(0,0,0,0.10);
  --frame-shadow: 0 10px 30px rgba(0,0,0,0.10);
  --frame-shadow-hover: 0 16px 42px rgba(0,0,0,0.14);
}

.product-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.product-card{
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.product-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.72);
}

.photo-frame{
  margin: 0;
  border-radius: 14px;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid var(--frame-border);
  box-shadow: var(--frame-shadow);
  position: relative;
  overflow: hidden;
}

/* subtle inner border (frame feel) */
.photo-frame::before{
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.08);
  pointer-events: none;
}

/* small highlight like modern glass */
.photo-frame::after{
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  transform: rotate(8deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.00),
    rgba(255,255,255,0.35),
    rgba(255,255,255,0.00)
  );
  pointer-events: none;
}

.photo-frame img{
  width: 100%;
  aspect-ratio: 4 / 3;     /* change to 1/1 if you want square */
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transform: scale(1.001); /* avoids hairline gaps on some browsers */
  transition: transform 220ms ease;
}

.product-card:hover .photo-frame{
  box-shadow: var(--frame-shadow-hover);
}

.product-card:hover .photo-frame img{
  transform: scale(1.03);
}

.product-name{
  margin: 10px 2px 2px;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.product-meta{
  margin: 0 2px 2px;
  font-size: 13px;
  opacity: 0.85;
}

/* Clickable cursor */
.clickable-image {
  cursor: zoom-in;
}

.hero-image {
  text-align: center;
}

.hero-image img {
  display: block;
  margin: 0 auto;
}

/* Center container */
.yt-short {
  display: flex;
  justify-content: center;
  margin: 20px 0 30px;
}

/* Vertical Shorts frame */
.yt-short-frame {
  width: 260px;   /* smaller size */
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  border: 2px solid rgba(0,0,0,0.15);
  background: #000;
}
/* Make iframe fill frame */
.yt-short-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Fullscreen modal */
#image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#image-modal img {
  max-width: 95%;
  max-height: 95%;
  object-fit: contain;
  cursor: zoom-out;
}