/* ===== Hustle & Grind Interior Design — Custom Styles ===== */

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
  background: #c9a96e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8944f;
}

/* ===== Keyframe Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-in   { animation: fadeIn 0.8s ease-out forwards; }
.animate-slide-up  { animation: slideUp 0.8s ease-out forwards; }
.animate-slide-left  { animation: slideInLeft 0.8s ease-out forwards; }
.animate-slide-right { animation: slideInRight 0.8s ease-out forwards; }
.animate-scale-in  { animation: scaleIn 0.6s ease-out forwards; }

/* Stagger delays */
.delay-100 { animation-delay: 0.1s; opacity: 0; }
.delay-200 { animation-delay: 0.2s; opacity: 0; }
.delay-300 { animation-delay: 0.3s; opacity: 0; }
.delay-400 { animation-delay: 0.4s; opacity: 0; }
.delay-500 { animation-delay: 0.5s; opacity: 0; }
.delay-600 { animation-delay: 0.6s; opacity: 0; }

/* ===== Gold accent underline for headings ===== */
.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #c9a96e;
  border-radius: 2px;
}
.gold-underline-left::after {
  left: 0;
  transform: none;
}

/* ===== Card hover effects ===== */
.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Image zoom on hover */
.img-zoom {
  overflow: hidden;
}
.img-zoom img {
  transition: transform 0.5s ease;
}
.img-zoom:hover img {
  transform: scale(1.08);
}

/* Portfolio overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,46,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

/* ===== Hero parallax-like depth ===== */
.hero-overlay {
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.5) 100%);
}

/* ===== Button styles ===== */
.btn-gold {
  background: #c9a96e;
  color: #1a1a2e;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}
.btn-gold:hover {
  background: #b8944f;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201,169,110,0.4);
}
.btn-outline {
  border: 2px solid #c9a96e;
  color: #c9a96e;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  background: transparent;
}
.btn-outline:hover {
  background: #c9a96e;
  color: #1a1a2e;
}

/* ===== Toast notification ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s ease;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-success { background: #2d6a4f; }
.toast-error   { background: #c0392b; }

/* ===== Mobile menu ===== */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mobile-menu.open {
  max-height: 500px;
}

/* ===== Misc ===== */
.text-gold { color: #c9a96e; }
.bg-navy   { background-color: #1a1a2e; }
.bg-charcoal { background-color: #2d2d2d; }

/* Service icon circle */
.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,169,110,0.1);
  border: 2px solid #c9a96e;
  color: #c9a96e;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}
.card-hover:hover .service-icon {
  background: #c9a96e;
  color: #1a1a2e;
}

/* Checkout modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-backdrop.active {
  display: flex;
}

/* Timeline */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #c9a96e;
  transform: translateX(-50%);
}
@media (max-width: 768px) {
  .timeline-line {
    left: 1rem;
  }
}

/* Product badge */
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #c9a96e;
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #c9a96e;
  color: #1a1a2e;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Quantity controls */
.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 4px;
}
.qty-btn:hover {
  background: #c9a96e;
  color: #1a1a2e;
}

/* Filter buttons */
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}
.filter-btn:hover,
.filter-btn.active {
  background: #c9a96e;
  color: #1a1a2e;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: 'Inter', sans-serif;
}
.form-input:focus {
  outline: none;
  border-color: #c9a96e;
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
}

/* Section padding consistency */
.section-padding {
  padding: 5rem 0;
}

/* Testimonial quote */
.testimonial-quote::before {
  content: '\201C';
  font-size: 4rem;
  color: #c9a96e;
  line-height: 1;
  position: absolute;
  top: -0.5rem;
  left: -0.25rem;
  font-family: Georgia, serif;
}
