﻿/* ════════════════════════════════════════════════════════════ */
/* GLOBAL STYLES FOR BIKING SPIDERS */
/* ════════════════════════════════════════════════════════════ */

/* ─── BASE RESETS ─── */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  min-height: 100%;
  max-width: 100vw;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  overflow-x: hidden;
  min-width: 320px;
  background-color: #fff;
  font-size: 1rem;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

section {
  width: 100%;
}

/* ─── COLOR UTILITIES ─── */
.text-primary { color: #0e1d19; }
.text-secondary { color: #141414; }
.text-muted { color: #45524e; }
.text-light { color: #dcede6; }
.text-accent { color: #7dde8f; }
.text-gold { color: #ffc800; }

.bg-primary { background: #0e1d19; }
.bg-light { background: #f1f1f1; }
.bg-accent { background: #7dde8f; }
.bg-gold { background: #ffc800; }

/* ─── TYPOGRAPHY ─── */
.font-poppins { font-family: 'Poppins', sans-serif; }
.font-roboto { font-family: 'Roboto', sans-serif; }

.heading-xl { font-size: clamp(40px, 6vw, 60px); font-weight: 700; letter-spacing: -1.6px; }
.heading-lg { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; letter-spacing: -0.8px; }
.heading-md { font-size: clamp(24px, 3vw, 36px); font-weight: 700; }
.heading-sm { font-size: 22px; font-weight: 700; }
.heading-xs { font-size: 20px; font-weight: 600; }

.body-base { font-size: 14px; color: #45524e; line-height: 24px; }
.body-small { font-size: 13px; }
.caption { font-size: 12px; font-weight: 600; }
.text-bold { font-weight: 700; }
.text-semibold { font-weight: 600; }
.text-medium { font-weight: 500; }
.text-regular { font-weight: 400; }

/* ─── FLEXBOX UTILITIES ─── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: flex-start; }
.flex-col { display: flex; flex-direction: column; }
.flex-col-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.flex-wrap { display: flex; flex-wrap: wrap; }

.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }

/* ─── GRID UTILITIES ─── */
.grid { display: grid; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid-gap-2 { gap: 8px; }
.grid-gap-3 { gap: 12px; }
.grid-gap-4 { gap: 16px; }

/* ─── SPACING UTILITIES ─── */
.p-0 { padding: 0; }
.p-2 { padding: 8px; }
.p-3 { padding: 12px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.px-3 { padding-left: 12px; padding-right: 12px; }
.px-4 { padding-left: 16px; padding-right: 16px; }
.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }
.py-4 { padding-top: 16px; padding-bottom: 16px; }

.m-0 { margin: 0; }
.m-2 { margin: 8px; }
.m-3 { margin: 12px; }
.m-4 { margin: 16px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }

/* ─── BORDER RADIUS ─── */
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 4px; }
.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-xl { border-radius: 16px; }
.rounded-2xl { border-radius: 20px; }
.rounded-full { border-radius: 9999px; }

/* ─── SIZING ─── */
.w-full { width: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

/* ─── POSITIONING ─── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }

/* ─── OVERFLOW ─── */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.overflow-y-auto { overflow-y: auto; }

/* ─── NAVIGATION ─── */
.nav-btn {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-btn:hover {
  color: #7dde8f !important;
}

.text-accent {
  color: #efeae2 !important;

}

.text-green{
  color: #7dde8f !important;
  
}

.grunge-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 18px;

  padding: 15px 22px 15px 26px;

  background: #7ee08d;
  color: #071914;

  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;

  text-decoration: none;

  /* irregular rugged shape */
  clip-path: polygon(
    2% 8%,
    8% 3%,
    18% 6%,
    30% 2%,
    42% 5%,
    55% 2%,
    68% 5%,
    82% 3%,
    96% 8%,
    99% 20%,
    96% 32%,
    99% 48%,
    96% 63%,
    99% 78%,
    94% 94%,
    82% 91%,
    68% 97%,
    55% 93%,
    42% 97%,
    29% 93%,
    17% 97%,
    6% 92%,
    2% 80%,
    4% 65%,
    1% 50%,
    4% 35%,
    1% 20%
  );

  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.grunge-btn::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    repeating-linear-gradient(
      115deg,
      transparent 0px,
      transparent 5px,
      rgba(0, 0, 0, 0.07) 6px,
      transparent 8px
    );

  opacity: 0.7;
  pointer-events: none;
}

.grunge-btn::after {
  content: "";
  position: absolute;
  inset: 3px;

  border: 1px solid rgba(7, 25, 20, 0.35);

  clip-path: inherit;
  pointer-events: none;
}

.grunge-btn span {
  position: relative;
  z-index: 2;
}

.grunge-btn .arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.grunge-btn:hover {
  transform: translateY(-2px) rotate(-0.5deg);
  filter: brightness(1.08);
}

.grunge-btn:hover .arrow {
  transform: translate(3px, -3px);
}

/* ─── MOBILE NAV ─── */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 500;
}

.mobile-nav-overlay.open {
  display: block;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: -320px;
  width: 280px;
  height: 100vh;
  background: #0e1d19;
  z-index: 501;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-nav-panel.open {
  right: 0;
}

.trips-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

/* ─── DROPDOWN MENU ─── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: #0e1d19c7;
  /* border: 1px solid rgba(125, 222, 143, 0.3); */
  /* border-radius: 8px; */
  min-width: 210px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 100;
  margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  padding: 10px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}

.nav-dropdown-item:hover {
  background: rgba(125, 222, 143, 0.1);
  color: #7dde8f;
  padding-left: 24px;
}

/* ─── MODALS ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.2s ease;
  width: min(520px, 92vw);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* ─── CAROUSELS ─── */
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 12px;
  scrollbar-width: none;
  width: 100%;
  min-width: 0;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
}

.slide-78 {
  width: 78%;
}

@media (min-width: 640px) {
  .slide-78 {
    width: 44%;
  }
}

.cnav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s;
}

.cnav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ─── RIDE CARDS ─── */
.ride-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  min-width: 0;
  border: 1px solid #d2ead7;
}

.ride-card img {
  transition: transform 0.3s ease;
  display: block;
  width: 100%;
}

.ride-card:hover img {
  transform: scale(1.05);
}

.ride-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 29, 25, 0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 16px;
}

.ride-card:hover .ride-card-overlay {
  background: rgba(14, 29, 25, 0.45);
}

.ride-card-label {
  opacity: 0;
  transition: opacity 0.3s;
  background: #7dde8f;
  color: #0e1d19;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 40px;
  font-family: 'Poppins', sans-serif;
}

.ride-card:hover .ride-card-label {
  opacity: 1;
}

/* ─── GALLERY & CARDS ─── */
.gallery-img {
  min-width: 0;
}

.value-card {
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.card-light {
  border-radius: 12px;
  padding: 16px;
  background: #f1f1f1;
}

.story-card {
  /* transition: transform 0.25s, box-shadow 0.25s; */
  border: 1px solid #DCEDE6;
  background-color: #f2fbf7;
  border-radius: 12px;
}

.story-card:hover {
  /* transform: translateY(-4px); */
  /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); */
}

.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  z-index: 10;
}

.video-card:hover .play-btn {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

.contact-card {
  /* transition: transform 0.25s, box-shadow 0.25s; */
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 12px;
}

.contact-card:hover {
  /* transform: translateY(-4px); */
  /* box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12); */
}

.gear-card {
  transition: transform 0.25s, box-shadow 0.25s;
}

.gear-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* ─── BADGES ─── */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 600;
}

.badge-accent {
  background: #7dde8f;
  color: #0e1d19;
}

.badge-gold {
  background: #ffc800;
  color: #141414;
}

/* ─── SECTION UTILITIES ─── */
.section-line {
  display: inline-block;
  width: 30px;
  height: 3px;
  background: #66af77;
  border-radius: 99px;
  margin-top: 20px;
  margin-right: 0;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 24px;
}

.dot-wide {
  width: 39px;
  height: 8px;
  border-radius: 99px;
}

.dot-small {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ─── BUTTONS ─── */
.btn {
  border: none;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}

.btn-primary {
  background: #7dde8f;
  color: #0e1d19;
  padding: 14px 40px;
  font-size: clamp(14px, 1.2vw, 16px);
}

.btn-primary:hover {
  background: #70d683;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 14px 40px;
  font-size: clamp(14px, 1.2vw, 16px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 40px;
  font-size: 16px;
}

/* ─── FORM ELEMENTS ─── */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid #d1d5db;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #7dde8f;
  box-shadow: 0 0 0 3px rgba(125, 222, 143, 0.1);
}

.form-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #141414;
  margin-bottom: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

/* ─── ACCORDION ─── */
.accord-button {
  width: 100%;
  padding: 16px;
  background: #f1f1f1;
  border: none;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #141414;
  cursor: pointer;
  transition: all 0.3s;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accord-button:hover {
  background: #e0e0e0;
}

.accord-button.open {
  background: #7dde8f;
  color: #0e1d19;
}

.accord-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 16px;
}

.accord-content.open {
  max-height: 500px;
  padding: 16px;
}

/* ─── FILTER BUTTONS ─── */
.filter-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  color: #141414;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #7dde8f;
  color: #7dde8f;
}

.filter-btn.active {
  background: #7dde8f;
  color: #0e1d19;
  border-color: #7dde8f;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease;
}

.animate-slide-in {
  animation: slideIn 0.3s ease;
}

/* ─── FOOTER ─── */
.site-footer {
  background: #0e1d19;
  background-image: url('../images/footer-bg.png'); 
  background-size: cover; 
  background-position: bottom; 
  background-repeat: no-repeat;
  color: #dcede6;
}

.site-footer .footer-inner {
  display: grid;
  gap: 32px;
}

.site-footer .footer-brand {
  display: grid;
  gap: 24px;
}

@media (min-width: 1280px) {
  .site-footer .footer-inner {
    grid-template-columns: 1.2fr 200px 200px 240px;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 640px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 640px) {
  .show-mobile {
    display: none;
  }
}

/* ─── LIGHTBOX ─── */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:2000;

  display:none;
  align-items:center;
  justify-content:center;

  padding:20px;
}

.lightbox.open{
  display:flex;
}

.lightbox-img{
  max-width:90%;
  max-height:90%;
  object-fit:contain;
}

.lb-close{
  position:absolute;
  top:20px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:32px;
  cursor:pointer;
  z-index:10;
}

.lb-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.2);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  transition:.3s;
}

.lb-btn:hover{
  background:rgba(255,255,255,.4);
}

.lb-prev{
  left:24px;
}

.lb-next{
  right:24px;
}

.lb-dots{
  position:absolute;
  bottom:60px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}

.lb-dot{
  width:10px;
  height:10px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.4);
  cursor:pointer;
}

.lb-dot.active{
  background:#7dde8f;
}

.gallery-img{
  position:relative;
  overflow:hidden;
  border-radius:16px;
  cursor:pointer;
}

.gallery-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.gallery-img:hover img{
  transform:scale(1.05);
}

.gallery-img-overlay{
  position:absolute;
  inset:0;
  background:rgba(14,29,25,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:.3s;
}

.gallery-img:hover .gallery-img-overlay{
  opacity:1;
}

.zoom-icon{
  color:#7dde8f;
}

/* ─── RATING STARS ─── */
.star {
  color: #ffc800;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s;
}

.star:hover {
  transform: scale(1.2);
}

/* ─── MISC UTILITIES ─── */
.no-decoration {
  text-decoration: none;
}

.cursor-pointer {
  cursor: pointer;
}

.transition-all {
  transition: all 0.2s;
}

.object-cover {
  object-fit: cover;
}

.object-contain {
  object-fit: contain;
}

@media(max-width:991px){
  .ride-story-grid{
    grid-template-columns:1fr !important;
  }
}

#interest-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:8px;
}

@media (max-width:992px){
    #interest-grid{
        grid-template-columns:repeat(2,1fr);
    }
}

@media (max-width:576px){
    #interest-grid{
        grid-template-columns:1fr;
    }
}
