﻿/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
  background: #fff;
}

body.nav-locked {
  overflow: hidden;
}

/* GLOBAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}
html {
  scroll-behavior: smooth;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

/* HEADER */
/* HEADER */
.header {
  padding: 20px 0;
  border-bottom: none;
  background: #111;
  position: sticky;
  top: 0;
  z-index: 250;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  transition: background 0.5s ease, box-shadow 0.5s ease, border-bottom 0.5s ease;
}

/* When scrolled */
.header.scrolled {
  background: rgba(17, 17, 17, 0.4); /* semi-transparent */
  box-shadow: none;
  border-bottom: none;
}

.header-flex {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.nav {
  position: relative;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  position: relative;
  padding: 5px 0;
  font-family: 'Montserrat', sans-serif;
  transition: color 0.3s ease;
}

.nav a.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #ff3c3c;
  border-radius: 50%;
  box-shadow: 0 0 12px #ff3c3c;
}

.nav a:hover {
  color: #ff8a00;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.cart-count {
  position: absolute;
  top: -10px;
  right: -12px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border-radius: 999px;
  background: #ff3c3c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 0 10px rgba(255, 60, 60, 0.6);
}

.center-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: -5px;
  filter: drop-shadow(0 0 6px #ff3c3c);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 2px solid #ff8a00;
  background: transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 138, 0, 0.25);
}

.nav-toggle img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.nav-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 614px) {
  .header {
    padding: 14px 0;
  }

  .header-flex {
    justify-content: space-between;
    padding: 0 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: rgba(17, 17, 17, 0.88);
    padding: 96px 24px 24px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 200;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.5);
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .nav-links .center-logo {
    display: none;
  }

  .nav a {
    font-size: 1rem;
    padding-left: 18px;
  }

  .center-logo {
    width: 30px;
    height: 30px;
    margin-top: 0;
  }

  .nav a.active::after {
    width: 8px;
    height: 8px;
    bottom: auto;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Side/fill background (like other sections) */
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0e0e0e, #111); /* same as other sections */
  z-index: 0;
  
}

/* Actual hero image */
.hero-image {
  position: absolute;
  inset: 0;
  background: url('../images/MIDNIGHT BIKE web-min.webp') center center/cover no-repeat;
  background-attachment: fixed;
  z-index: 1; /* above background, below content */
  opacity: 0.6; /* adjust this value (0 = invisible, 1 = fully visible) */
  border-bottom: 0.1px solid #ff8a00;
  
}

/* Hero content above everything */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.hero-content h2 {
  padding-top: 1rem;
  letter-spacing: 8px;
  text-transform: uppercase;
  position: relative;
  color: #ff8a00;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

@media (max-width: 925px) {
  .hero-content img {
    width: clamp(220px, 70vw, 520px);
    height: auto;
  }

  .hero-content h2 {
    font-size: clamp(1.6rem, 4.2vw, 2.2rem);
    letter-spacing: 5px;
    margin-bottom: 32px;
  }
}
/* THE LATEST */
/* THE LATEST SECTION */
/* =========================
   LATEST WORKS SECTION
   ========================= */
.latest-section {
  position: relative;
  z-index: 1;
  padding: 90px 20px 55px;
  color: #fff;
  background: #0e0e0e;
   /* match other sections */
}

/* Optional: subtle overlay for text readability */
.latest-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Make container content sit above overlay */
.latest-section .container {
  position: relative;
  z-index: 1;
}

/* Section title & subtitle */
.section-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ff8a00;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  margin: 0 auto 40px auto;
  font-size: 1.2rem;
  color: white;
  max-width: 700px;
}

/* Grid layout */
.latest-grid {
  --latest-gap: 30px;
  --latest-speed: 40s;
  display: flex;
  flex-direction: column; /* stack rows vertically */
  gap: 30px;
  overflow: hidden;
}

/* Cards */
.latest-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 2px solid rgba(255, 140, 0, 0.2);
  flex: 0 0 250px;/* ensures grid works properly */
  /* adjust to container max-width */
  display: block;
  text-decoration: none;
  color: inherit;
}


.latest-row {
  overflow: hidden;
  position: relative;
}

.latest-row-track {
  display: flex;
  gap: var(--latest-gap);
  width: max-content;
  animation: latest-scroll-right var(--latest-speed) linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.latest-row[data-direction="left"] .latest-row-track {
  animation-name: latest-scroll-left;
}

.latest-grid:hover .latest-row-track {
  animation-play-state: paused;
}

.latest-row-set {
  flex: 0 0 auto;
  display: flex;
  gap: var(--latest-gap);
}

/* Scroll right - seamless infinite loop */
@keyframes latest-scroll-right {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(calc(-50% - (var(--latest-gap) / 2)), 0, 0);
  }
}

/* Scroll left - seamless infinite loop */
@keyframes latest-scroll-left {
  0% {
    transform: translate3d(calc(-50% - (var(--latest-gap) / 2)), 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}


/* Card image */
.latest-card img {
  width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.6s ease, filter 0.5s ease;
  object-fit: cover;
  filter: saturate(1.2) contrast(1.1);
}

/* Overlay for hover text */
.latest-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.6s ease, background 0.6s ease, transform 0.5s ease;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(17,17,17,0.9) 100%);
  padding: 20px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.latest-card .overlay h3 {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #ff8a00;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 138, 0, 0.6),
               0 0 40px rgba(255, 138, 0, 0.4);
}

.latest-card .overlay .price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  background: rgba(255, 138, 0, 0.15);
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 138, 0, 0.3);
}

/* =========================
   IMPROVED HOVER EFFECTS
   ========================= */

/* Hover zoom, rotate, and subtle glow */
.latest-card:hover img {
  transform: scale(1.1) rotate(-1deg);
  filter: brightness(1.2) contrast(1.1) saturate(1.3);
}

/* Show overlay on hover with a slight lift */
.latest-card:hover .overlay {
  opacity: 1;
  
}

/* Neon glow effect on card itself */
.latest-card:hover {
  
  box-shadow:
    0 0 10px rgba(255,140,0,0.4),
    0 0 20px rgba(255,140,0,0.3);
  border-color: #ff8a00;
}

/* Optional: floating graffiti accent behind card */
.latest-card::before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  transform: scale(1);
  transition: transform 0.6s ease, opacity 0.5s ease;
  z-index: 0;
}

.latest-card:hover::before {
  transform: rotate(0deg) scale(1.05);
  opacity: 0.9;
}


/* SEE MORE BUTTON */
.see-more-container {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.see-more-btn {
  margin-top: 25px;
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  color: #000;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  will-change: transform, box-shadow;
}

.see-more-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: transform 0.35s ease-out;
}

.see-more-btn:hover::before {
  transform: translateX(100%);
}

.see-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,60,60,0.35);
}


.see-more {
  display: inline-block;
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  color: #000;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  will-change: transform, box-shadow;
}

.see-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,60,60,0.35);
}




/* BUTTONS */
/* BUTTONS */
.btn {
  padding: 12px 30px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 15px;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
  will-change: transform, box-shadow;
}

.btn-light {
  background: #fff;
  color: #111;
  display: inline-block;
}

.btn-dark {
  background: #111;
  color: #fff;
}

/* STORE */
.store {
  padding: 80px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 90%;
  margin: auto;
}

.product-card {
  text-align: center;
}

.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.product-card h3 {
  margin-bottom: 5px;
}

/* COMMISSION */
.commission {
  background: #f5f5f5;
}

.commission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.commission-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.commission-text {
  padding: 80px;
}

.commission-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.big-text {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.highlight {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
}

/* WHAT WE DO */
.what-we-do {
  padding: 80px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.text {
  padding: 60px;
}

.text h2 {
  font-size: 2.3rem;
  margin-bottom: 15px;
}

.lead {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* MANIFESTO */
.manifesto {
  min-height: 80vh;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
}

.manifesto-content {
  max-width: 700px;
  padding: 80px;
}

.manifesto h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

/* FOOTER */
.footer {
  padding: 25px;
  text-align: center;
  background: #111;
  color: #fff;
}


#bike{
    width: 1200rem;
    height: 40rem;
}
/* =========================
   FANTASY FLEX SECTIONS
   ========================= */

.flex-section {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: #0e0e0e;
  color: #fff;
}


/* subtle grain / noise */
.flex-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.fantasy-gradient {
  position: relative;
  overflow: hidden;
  z-index: 0; /* ensure pseudo-element is behind everything */
  background: #0e0e0e;
}

.fantasy-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,60,60,0.25), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255,140,0,0.25), transparent 55%),
    linear-gradient(180deg, #0e0e0e, #111);
  z-index: -1; /* must be behind all content */
}

/* content above gradient */
.flex-section {
  position: relative;
  z-index: 1;
}


/* layout */
.flex-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row; /* LEFT → RIGHT */
  align-items: center;
  justify-content: space-evenly;
  width: 90%;
  max-width: 1300px;
  margin: auto;
}
.flex-image {
  flex: 1;
  max-width: 420px;
}

.flex-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}


/* reverse */
.flex-content.reverse {
  flex-direction: row;
  gap: 140px;
}

@media (max-width: 850px) {
  .flex-content,
  .flex-content.reverse {
    gap: 40px;
    justify-content: center;
  }
}

/* =========================
   TEXT BLOCK
   ========================= */

.flex-text {
  flex: 1;
  max-width: 520px;
}


.flex-text h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
  position: relative;
  color: #ff8a00;
}
.recent-header h2{
  color: #ff8a00;
}

/* underline accent */
.flex-text h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  display: block;
  margin-top: 15px;
}

.flex-text p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0.9;
}

.flex-text .lead {
  font-weight: 700;
  font-size: 1.35rem;
}

/* Smaller sizing for Commission + What We Do */
.commission-section,
.what-we-do-section {
  padding: 70px 0;
}

.commission-section .flex-text,
.what-we-do-section .flex-text {
  max-width: 460px;
}

.commission-section .flex-text h2,
.what-we-do-section .flex-text h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.commission-section .flex-text p,
.what-we-do-section .flex-text p {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.commission-section .flex-text .lead,
.what-we-do-section .flex-text .lead {
  font-size: 1.18rem;
}

.commission-section .flex-image,
.what-we-do-section .flex-image {
  max-width: 360px;
}

@media (max-width: 677px) {
  .commission-section .flex-content,
  .what-we-do-section .flex-content,
  .what-we-do-section .flex-content.reverse {
    flex-direction: column;
    gap: 28px;
    align-items: center;
  }

  .commission-section .flex-text,
  .what-we-do-section .flex-text {
    order: 1;
    max-width: 100%;
    padding: 0 20px;
    text-align: center;
  }

  .commission-section .flex-image,
  .what-we-do-section .flex-image {
    order: 2;
    max-width: 360px;
    padding: 0 20px;
  }

  .commission-section .flex-image img,
  .what-we-do-section .flex-image img {
    max-width: 100%;
    height: auto;
  }
}
/* =========================
   MANIFESTO SECTION
   ========================= */

.manifesto-section {
  padding: 160px 0 0px;
  text-align: center;
}

.manifesto-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: auto;
  padding: 0 20px;
}

/* big statement */
.manifesto-inner h2 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 40px;
  text-transform: uppercase;
  color: #ff8a00;
}

/* body text */
.manifesto-inner p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* CTA */
.manifesto-btn {
  margin-top: 40px;
  padding: 14px 46px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out;
  will-change: transform, box-shadow;
}

.manifesto-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 15px 40px rgba(255,255,255,0.2);
}

.manifesto-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 50px 0 40px;
}

.manifesto-logos img {
  height: 38px;
  width: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.manifesto-logos img:hover {
  opacity: 1;
  transform: translateY(-4px);
}


/* =========================
   BUTTON – fantasy style
   ========================= */

.flex-text .btn {
  margin-top: 25px;
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  color: #000;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  will-change: transform, box-shadow;
}

.flex-text .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120
  deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);

  transition: transform 0.35s ease-out;
}

.flex-text .btn:hover::before {
  transform: translateX(100%);
}

.flex-text .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,60,60,0.35);
}

/* =========================
   IMAGE BLOCK – dreamy
   ========================= */

.flex-image {
  flex: 1;
  position: relative;
  width: 70%;
  height: 10%;
}

.flex-image img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  object-fit: cover;
  filter: contrast(1.1) saturate(1.2);
  transition: transform 0.8s ease;
}

/* glowing frame */
.flex-image::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  background: linear-gradient(120deg, #ff3c3c, #ff8a00, #ff3c3c);
  opacity: 0.35;
  filter: blur(40px);
  z-index: -1;
}

.flex-image:hover img {
  transform: scale(1.04) rotate(-0.4deg);
}

/* =========================
   RECENT WORKS – FULL IMAGES + GRADIENT
   ========================= */

/* =========================
   RECENT WORKS – TRANSPARENT BACKGROUND
   ========================= */

/* =========================
   RECENT WORKS
   ========================= */

.recent-works {
  position: relative;
  z-index: 1;
  padding: 140px 20px 100px;
  color: #fff;
  background: #0e0e0e; /* match other sections */
}

.recent-works::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Title */
.recent-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.recent-header h2 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
}

/* Grid layout */
.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  justify-items: center;
  max-width: 1400px;
  margin: auto;
}

@media (max-width: 1255px) {
  .recent-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }
}

@media (max-width: 575px) {
  .recent-works {
    padding: 110px 16px 80px;
  }

  .recent-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 520px;
  }

  .recent-item {
    padding-bottom: 68%;
  }
}

/* Grid items */
.recent-item {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Images */
.recent-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease;
  z-index: 1;
}


/* Images */
.recent-item img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
  z-index: 1;
}

/* Overlay */
.recent-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  border-radius: 12px;
  z-index: 2;
  padding: 10px;
}

.recent-item .overlay span {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.6s ease;
}

/* Hover effect */
.recent-item:hover img {
  transform: translate(-50%, -50%) scale(1.12) rotate(-1deg);
  filter: brightness(1.15) contrast(1.1);
}

.recent-item:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.recent-item:hover .overlay span {
  transform: scale(1);
}


/* CTA button */
.recent-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.recent-cta .btn {
  padding: 14px 42px;
  border-radius: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  color: #000;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  will-change: transform, box-shadow;
}

.recent-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 60, 60, 0.35);
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
}
.contact-section {
  position: relative;
  padding: 80px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
 background: linear-gradient(180deg, #0e0e0e, #111);
 
  
}

/* gradient base */
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, #0e0e0e, #111);
    
}
.contact-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}


/* IMAGE — boxed, NOT full width */
.contact-image {
  position: absolute;
  top: 0;
  inset: 0;
  bottom: 0;
  left: 12%;
  right: 12%;
  background: url("../images/form.webp") center / cover no-repeat;
  opacity: 0.6;
  z-index: 1;
  border: solid;
  border-radius: 2%;
  border-color: #ff8a00;
}

/* content */


/* Headings */
.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ff8a00;
}

.contact-content p {
  font-size: 1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* Form */
.contact-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  opacity: 0.8;
}

/* Form Messages */
.form-message {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
  animation: slideDown 0.3s ease;
}

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

.form-success {
  background: rgba(34, 197, 94, 0.15);
  border: 2px solid #22c55e;
  color: #22c55e;
}

.form-error {
  background: rgba(239, 68, 68, 0.15);
  border: 2px solid #ef4444;
  color: #ef4444;
}

.contact-content input,
.contact-content textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

/* Button */
.btn-gradient {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff3c3c, #ff8a00);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
  will-change: transform, box-shadow;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,60,60,0.35);
}

/* ======================
   FOOTER
   ====================== */

/* =========================
   FOOTER – PREMIUM
   ========================= */

.footer {
  position: relative;
  padding: 70px 20px 50px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  
}

/* subtle noise like other sections */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none;

  

}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}

/* Logo */
.footer-logo img {
  width: 48px;
  opacity: 0.9;
}

/* Navigation */
.footer-nav {
  display: flex;
  justify-content: center;
  justify-content: space-evenly;
  gap: 36px;
  flex-wrap: wrap;
  
}

.footer-nav a {
  color: #fff; /* default text color */
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease; /* smooth color transition */
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 6px;
  height: 6px;
  background: #ff8a00; /* orange dot */
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  transition: transform 0.3s ease;
}

.footer-nav a:hover {
  color: #ff8a00; /* text turns orange on hover */
}

.footer-nav a:hover::after {
  transform: translateX(-50%) scale(1); /* dot appears */
}


/* Social icons */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.footer-socials a {
  display: inline-flex;
  width: 26px;
  height: 26px;

  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-socials img {
  width: 100%;
  height: 100%;
}

.footer-socials a:hover {
  transform: translateY(-4px);
  opacity: 1;
}

/* Meta */
.footer-meta {
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.6;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 625px) {
  .footer {
    padding: 60px 16px 40px;
  }

  .footer-nav {
    gap: 16px;
    flex-direction: column;
  }

  .footer-meta {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .footer-socials {
    margin-top: 6px;
  }
}


/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0e0e0e 0%, #1a1a1a 100%);
  border-top: 2px solid #ff8a00;
  padding: 24px 40px;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -10px 30px rgba(255, 138, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1000px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.cookie-text h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cookie-text p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  color: #bbb;
  line-height: 1.5;
  font-weight: 300;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-reject {
  background: transparent;
  border: 2px solid #ff8a00;
  color: #ff8a00;
}

.cookie-reject:hover {
  background: #ff8a00;
  color: #0e0e0e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 138, 0, 0.3);
}

.cookie-accept {
  background: #ff8a00;
  color: #0e0e0e;
  border: 2px solid #ff8a00;
}

.cookie-accept:hover {
  background: #ff5e00;
  border-color: #ff5e00;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 138, 0, 0.4);
}


/* LEGAL PAGES */
.legal-page {
  background: #111;;
  color: #fff;
  min-height: 100vh;
  padding: 80px 40px 80px;
  position: relative;
  overflow: hidden;
}

/* Add noise background like footer */
.legal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  position: relative;
  z-index: 1;
}

.legal-container h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: #ff8a00;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.legal-updated {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 50px;
  font-weight: 300;
  font-style: italic;
}

.legal-container h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-top: 50px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ff8a00;
  padding-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-container h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ff8a00;
  margin-top: 30px;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.legal-container p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
  font-weight: 300;
}

.legal-container ul {
  margin: 20px 0 30px 0;
  padding-left: 0;
  list-style: none;
}

.legal-container ul li {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-weight: 300;
}

.legal-container ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #ff8a00;
  font-weight: 700;
  font-size: 1.2rem;
}

.legal-container strong {
  color: #fff;
  font-weight: 600;
}

  .legal-container h3 {
    font-size: 1.1rem;
  }

  .legal-container p,
  .legal-container ul li {
    font-size: 0.95rem;
  }




