/* 
  THE GROOMING BARBERSHOP (TGB)
  Design System: Modern Salon & Barber
*/

:root {
  /* Colors */
  --color-primary: #0A192F;
  /* Deep Navy */
  --color-accent: #FF5722;
  /* Safety Orange */
  --color-neutral: #F4F4F6;
  /* Concrete Gray */
  --color-white: #FFFFFF;
  --color-text: #2D3436;
  --color-text-light: #636E72;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Better touch scrolling on mobile */
  -webkit-overflow-scrolling: touch;
}

/* Improve tap targets for mobile */
a,
button {
  -webkit-tap-highlight-color: rgba(255, 87, 34, 0.2);
  touch-action: manipulation;
}


section {
  padding: var(--space-xl) 0;
  /* var(--space-xl) = 8rem */
}

h1,
h2,
h3,
.display-text {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  line-height: 1.1;
}

p {
  font-weight: 400;
  font-size: 1.1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  background-color: #000;
}

.image-placeholder {
  background-color: #000;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

/* --- Layout Utility --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-full {
  max-width: 100%;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-xl) 0;
}

/* --- Navigation --- */
header {
  height: 80px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(244, 244, 246, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid var(--color-neutral);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--color-accent);
}

/* --- Dropdown Logic --- */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-white);
  min-width: 220px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  padding: var(--space-sm) 0;
  z-index: 1001;
  border-top: 3px solid var(--color-accent);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem var(--space-sm);
  font-size: 0.95rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-neutral);
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: var(--color-neutral);
  padding-left: 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent);
}

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* --- Index Netflix Hero --- */
.index-hero {
  min-height: 85vh !important;
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
  display: flex !important;
  align-items: center;
}

.hero-bg-grid {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
  z-index: 1;
  transform: rotate(-3deg) scale(1.1);
  animation: subtlePan 30s ease-in-out infinite alternate;
}

.hero-bg-grid .grid-item {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-overlay-netflix {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 50%, transparent 25%, rgba(10, 25, 47, 0.6) 65%, rgba(10, 25, 47, 0.95) 100%),
    linear-gradient(to top, var(--color-primary) 0%, transparent 45%),
    linear-gradient(to bottom, var(--color-primary) 0%, transparent 45%);
  z-index: 2;
}

.index-hero .container {
  position: relative;
  z-index: 3;
}

.index-hero .hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.index-hero h1 {
  font-size: clamp(3.5rem, 12vw, 6.5rem);
  line-height: 1;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.index-hero p {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 auto 3rem;
  max-width: 700px;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes subtlePan {
  0% {
    transform: rotate(-3deg) scale(1.1) translate(0, 0);
  }

  100% {
    transform: rotate(-3deg) scale(1.15) translate(-2%, -2%);
  }
}

@media (max-width: 768px) {
  .index-hero {
    min-height: 75vh !important;
  }

  .hero-bg-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }

  .index-hero h1 {
    font-size: 3rem !important;
  }

  .index-hero p {
    font-size: 1.1rem;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 120px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 1;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0) 0%, rgba(255, 87, 34, 0.2) 100%);
  clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin-bottom: var(--space-md);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  max-width: 600px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: var(--space-sm);
}

/* --- Trust Badges --- */
.trust-badges {
  background: var(--color-primary);
  padding: var(--space-md) 0;
  border-bottom: 4px solid var(--color-accent);
}

.badges-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.badge {
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  opacity: 0.9;
}

.badge i {
  color: var(--color-accent);
  font-size: 1.4rem;
}

/* --- Bento Showcase --- */
.bento-showcase {
  padding: var(--space-xl) 0;
  background: var(--color-white);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 400px);
  gap: 20px;
}

.bento-card {
  position: relative;
  background: var(--color-neutral);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bento-card.image-card .card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.6s ease;
}

.bento-card.image-card .card-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bento-card:hover .card-bg {
  transform: scale(1.05);
}

.bento-card.image-card .card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, transparent 60%);
  z-index: 2;
}

.bento-card .card-content {
  position: relative;
  z-index: 3;
  color: var(--color-text);
}

.bento-card.image-card .card-content {
  color: white;
}

.bento-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.bento-card.accent-card {
  background: var(--color-accent);
  color: white;
}

.bento-card.accent-card .card-icon {
  background: white;
  color: var(--color-accent);
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bento-card p {
  font-size: 0.95rem;
  opacity: 0.8;
}

/* Grid Spanning */
.bento-lg {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .bento-lg {
    grid-column: span 2;
  }

  .bento-tall {
    grid-row: span 1;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-lg {
    grid-column: span 1;
  }

  .bento-card {
    height: 350px !important;
  }
}

/* --- Services Section --- */
.services {
  background-color: var(--color-neutral);
}

.section-header {
  margin-bottom: var(--space-lg);
  max-width: 600px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
}

.service-card {
  background: var(--color-white);
  padding: var(--space-md);
  border-left: 4px solid var(--color-primary);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-5px);
  border-left-color: var(--color-accent);
}

.service-card h3 {
  margin-bottom: var(--space-sm);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--space-sm);
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  background: #000;
}

/* --- Testimonials --- */
.testimonials {
  background: var(--color-neutral);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-md);
  background: var(--color-white);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-top: 4px solid var(--color-accent);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

/* --- Carousel --- */
.testimonial-carousel {
  overflow: hidden;
  padding: var(--space-md) 0;
  position: relative;
  width: 100%;
}

.testimonial-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
  gap: var(--space-md);
}

.testimonial-track:hover {
  animation-play-state: paused;
}

.testimonial-slide {
  flex: 0 0 400px;
  width: 400px;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: var(--space-sm);
  color: var(--color-text-light);
}

.testimonial-card .author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

/* --- Icons Utility --- */
.icon-box {
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: var(--transition-smooth);
}

.service-card:hover .icon-box {
  background: var(--color-accent);
  transform: scale(1.05);
}

.icon-box i {
  font-size: 1.8rem;
}

/* Service Detail Columns */
.service-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.service-column h3 {
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.detail-list {
  list-style: none;
}

.detail-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-neutral);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-list li i {
  color: var(--color-accent);
  font-size: 1rem;
}

/* --- Gallery / Projects --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay span {
  color: var(--color-accent);
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
}

/* --- Contact Form --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-lg);
  margin-top: -80px;
  /* Overlap hero */
  position: relative;
  z-index: 10;
  margin-bottom: var(--space-xl);
}

.contact-form {
  background: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-family: var(--font-body);
  background: #fcfcfc;
  transition: all 0.3s ease;
  font-size: 1rem;
  color: var(--color-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-info-card {
  background: linear-gradient(145deg, var(--color-primary), #0a1118);
  color: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  filter: blur(80px);
  opacity: 0.2;
  border-radius: 50%;
}

.contact-info-card h3 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  position: relative;
  z-index: 2;
}

.contact-info-card p,
.contact-info-card ul,
.contact-info-card li {
  position: relative;
  z-index: 2;
}

.contact-info-card ul {
  list-style: none;
  padding: 0;
}

.contact-info-card ul li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

.contact-info-card a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-card a:hover {
  color: var(--color-accent);
}

/* --- About / Mission --- */
.mission-box {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
  text-align: center;
  margin: var(--space-lg) 0;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.mission-box h2 {
  font-size: 3.5rem;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

/* --- Fade-In Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  /* Grid Layouts */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  /* Hero Section */
  .hero {
    min-height: 70vh;
    padding: 100px 0 60px 0;
  }

  .hero h1 {
    font-size: 2.5rem !important;
    line-height: 1.1;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  /* About Section - Grid to Single Column */
  .about>.container>div[style*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .about .reveal[style*="clip-path"] {
    height: 300px !important;
  }

  /* Service Columns */
  .service-columns {
    grid-template-columns: 1fr;
  }

  /* Section Padding */
  section {
    padding: var(--space-lg) 0;
  }

  /* Typography */
  .section-header h2 {
    font-size: 2rem !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  p {
    font-size: 1rem;
  }

  /* Badges */
  .badges-container {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }

  .badge {
    font-size: 1rem;
  }

  /* Mission Box */
  .mission-box h2 {
    font-size: 2.25rem;
  }

  .mission-box {
    padding: var(--space-lg) var(--space-sm);
  }

  /* Buttons */
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }

  /* Contact Layout */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Container Padding */
  .container {
    padding: 0 var(--space-sm);
  }

  /* 3D Slider */
  .slider-container {
    overflow-x: auto;
  }

  .scene-3d {
    min-width: 250px;
  }

  /* Testimonial Cards */
  .testimonial-slide {
    flex: 0 0 300px !important;
    width: 300px !important;
  }

  /* Service Cards */
  .service-card {
    padding: var(--space-sm);
  }

  .service-card img {
    height: 180px;
  }

  /* Header */
  header {
    height: 70px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .site-logo {
    width: 50px !important;
    height: 50px !important;
  }
}

/* Extra Small Devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem !important;
  }

  .section-header h2 {
    font-size: 1.75rem !important;
  }

  .container {
    padding: 0 1rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .scene-3d {
    min-width: 200px;
    min-height: 250px !important;
  }

  .cube-face.front img {
    width: 140px !important;
    height: 140px !important;
  }

  .testimonial-slide {
    flex: 0 0 280px !important;
    width: 280px !important;
  }
}

/* --- Store --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  perspective: 2000px;
}

.product-card-3d {
  aspect-ratio: 1/1.3;
  width: 100%;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card-3d .cube-3d {
  cursor: pointer;
}

.product-card-3d:hover .cube-3d {
  transform: rotateY(-12deg) rotateX(10deg);
}

.cube-face.front.product-face {
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border: 2px solid var(--color-accent);
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  color: #fff;
  text-transform: none;
}

.nice-frame {
  border: 1px solid rgba(255, 87, 34, 0.3);
  padding: 15px;
  background: #111;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  margin-bottom: var(--space-sm);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-3d:hover .cube-face.front.product-face {
  box-shadow: 0 0 40px rgba(255, 87, 34, 0.3);
  border-color: var(--color-accent);
}

.product-card-3d .cube-face.right {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card-3d .cube-face.bottom {
  background: #050505;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-card:hover .black-inner {
  background: #111;
}

.product-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.price {
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.product-face .price {
  color: var(--color-accent);
}

.product-card-3d:hover .product-face .price {
  color: #fff;
}

/* --- Interactive Gallery --- */
.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.gallery-card {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1/1;
  transition: var(--transition-smooth);
}

.gallery-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-card .black-inner {
  background: #000;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Lightbox --- */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-frame {
  background: #fff;
  padding: 2.5rem;
  box-shadow: 0 0 100px rgba(0, 0, 0, 0.8);
  width: 90%;
  max-width: 900px;
  transform: scale(0.7);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.lightbox-modal.active .lightbox-frame {
  transform: scale(1);
}

.lightbox-inner-black {
  background: #000;
  width: 100%;
  height: 500px;
  max-height: 60vh;
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: -40px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .gallery-grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- 3D Showcase --- */
.showcase-3d-container {
  perspective: 1200px;
  width: 100%;
  padding: var(--space-xl) 0;
}

.slider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 10px;
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  gap: var(--space-md);
}

.scene-3d {
  flex: 0 0 calc(25% - 1.5rem);
  min-width: 280px;
  aspect-ratio: 16/10;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.slider-btn {
  background: var(--color-primary);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0 100%);
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--color-accent);
  transform: scale(1.1);
}

@media (max-width: 1200px) {
  .scene-3d {
    flex: 0 0 calc(33.33% - 1.5rem);
  }
}

@media (max-width: 768px) {
  .scene-3d {
    flex: 0 0 calc(100% - 1.5rem);
  }
}

.perspective-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

@media (max-width: 992px) {
  .perspective-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .perspective-row {
    grid-template-columns: 1fr;
  }
}

.cube-3d {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.scene-3d:hover .cube-3d {
  transform: rotateY(-25deg) rotateX(15deg);
}

.cube-face {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  backface-visibility: visible;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cube-face.front {
  transform: translateZ(20px);
  background: linear-gradient(135deg, #111 0%, #000 100%);
  border: 2px solid var(--color-accent);
}

.cube-face.right {
  width: 40px;
  right: -20px;
  transform: rotateY(90deg) translateZ(0px);
  background: #0a0a0a;
}

.cube-face.bottom {
  height: 40px;
  bottom: -20px;
  transform: rotateX(-90deg) translateZ(0px);
  background: #050505;
}

.blank-3d-col {
  border: 1px dashed rgba(0, 0, 0, 0.1);
  background: transparent;
  aspect-ratio: 16/10;
}

/* --- Orange 3D Glow --- */
.cube-face.front.orange-glow {
  box-shadow: 0 0 30px rgba(255, 87, 34, 0.4);
}

.scene-3d:hover .cube-3d .cube-face.front.orange-glow {
  box-shadow: 0 0 60px rgba(255, 87, 34, 0.8);
  border-color: #fff;
}

/* --- 3D Floating Icons --- */
.cube-face.front {
  flex-direction: column;
  gap: 1rem;
  transform-style: preserve-3d;
}

.floating-3d-icon {
  transform: translateZ(50px);
  filter: drop-shadow(0 15px 15px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(255, 87, 34, 0.6));
  animation: floatIcon 3s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.scene-3d:hover .floating-3d-icon {
  color: var(--color-accent) !important;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 50px rgba(255, 87, 34, 1));
}

.scene-3d:hover .cube-face.front {
  color: var(--color-accent);
}

@keyframes floatIcon {

  0%,
  100% {
    transform: translateZ(50px) translateY(0);
  }

  50% {
    transform: translateZ(70px) translateY(-10px);
  }
}

.cube-face.front.orange-glow .floating-3d-icon {
  color: #fff;
}

/* --- Coming Soon Section Styles --- */
.coming-soon-section .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6) !important;
}

.coming-soon-section .product-image-container {
  animation: floatProduct 6s ease-in-out infinite;
}

@keyframes floatProduct {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.benefit-item {
  transition: all 0.3s ease;
}

.benefit-item:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Responsive styles for Coming Soon section */
@media (max-width: 992px) {
  .coming-soon-content {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .coming-soon-section {
    padding: 60px 0 !important;
  }

  .coming-soon-section h2 {
    font-size: 2rem !important;
  }

  .coming-soon-section h3 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .coming-soon-section {
    padding: 40px 0 !important;
  }

  .coming-soon-section h2 {
    font-size: 1.75rem !important;
  }

  .product-cta div {
    flex-direction: column !important;
  }

  .product-cta a {
    width: 100%;
    text-align: center;
  }
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  position: relative;
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--color-accent);
}

.footer-brand h2 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand p {
  opacity: 0.8;
  max-width: 350px;
  margin-bottom: var(--space-md);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-contact-item i {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.footer-contact-item .text {
  opacity: 0.9;
  line-height: 1.4;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  opacity: 0.7;
  transition: var(--transition-smooth);
  display: inline-block;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-md);
}

.social-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
  background: var(--color-accent);
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-brand p {
    max-width: 100%;
  }
}