/* ============================================================
   SHARP & CO. — Home Page Styles (home.css)
   ============================================================ */

/* ── Hero Editorial Section ───────────────────────────────────────────── */
.hero-editorial {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: var(--navbar-h);
  overflow: hidden;
  background-color: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(80%) contrast(1.2) brightness(0.6);
  transform: scale(1.05);
  animation: slowPan 25s linear infinite alternate;
}

@keyframes slowPan {
  from { transform: scale(1.05) translateX(0); }
  to { transform: scale(1.1) translateX(-2%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0) 100%);
}

.hero-inner-editorial {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 5%;
}

.hero-content-editorial {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}

.hero-heading-editorial {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.85;
  letter-spacing: -0.02em;
  color: var(--white);
  text-transform: uppercase;
  margin: 0;
  animation: clipReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) both;
}

@keyframes clipReveal {
  0% { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transform: translateY(20px); opacity: 0; }
  100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); transform: translateY(0); opacity: 1; }
}

.hero-description-editorial {
  color: #a0a0a0;
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  max-width: 500px;
  margin: 0;
  border-left: 2px solid var(--gold);
  padding-left: 24px;
  animation: fadeRight 1s ease 0.6s both;
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.hero-actions-editorial {
  margin-top: 10px;
  animation: fadeUp 1s ease 0.8s both;
}

.btn-solid-gold {
  display: inline-block;
  background-color: var(--gold);
  color: var(--black);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  padding: 16px 40px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-solid-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
  transform: skewX(-15deg);
}

.btn-solid-gold:hover {
  background-color: #fff;
  color: var(--black);
}

.btn-solid-gold:hover::before {
  transform: skewX(-15deg) translateX(200%);
}

.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(5px);
  animation: fadeUp 1s ease 1s both;
}

.hero-address,
.hero-hours {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .hero-bottom-bar {
    flex-direction: column;
    gap: 12px;
    padding: 16px 5%;
  }
}

.scroll-indicator-editorial {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

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

/* ── Book in 30 Seconds ─────────────────────────────────────── */
#book-steps {
  padding: var(--section-pad) 0;
  background: var(--dark-card);
}

.book-steps-header {
  text-align: center;
  margin-bottom: 60px;
}

.book-steps-header .section-title span {
  color: var(--gold);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

@media (min-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  padding: 32px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  margin-bottom: 8px;
}

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.step-desc {
  color: var(--silver);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-arrow {
  display: none;
  color: var(--gold);
  flex-shrink: 0;
  padding: 0 16px;
}

@media (min-width: 900px) {
  .step-arrow {
    display: flex;
    align-items: center;
  }
}

.step-arrow svg {
  width: 32px;
  height: 32px;
  fill: var(--gold);
}

.book-steps-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.bitbooker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Services Preview ───────────────────────────────────────── */
#services-preview {
  padding: var(--section-pad) 0;
}

.services-preview-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

@media (min-width: 900px) {
  .services-preview-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.services-preview-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: gap var(--transition);
}

.services-preview-link:hover {
  gap: 14px;
}

.services-scroll-wrap {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
  padding: 10px clamp(16px, 4vw, 40px) 40px;
}

.services-scroll-wrap::-webkit-scrollbar {
  display: none;
}

.services-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
}

@media (min-width: 1024px) {
  .services-scroll-wrap {
    display: block;
    overflow-x: visible;
    margin: 0;
    padding: 0;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(280px, 1fr));
  }
}

.service-card {
  background: var(--dark-card);
  border: 1px solid #2a2a2a;
  padding: 32px 28px;
  position: relative;
  border-radius: var(--border-radius);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(255,215,0,0.12);
  transform: translateY(-4px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-icon {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.service-card:hover .service-card-icon {
  opacity: 1;
}

.service-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.badge-bestseller {
  color: var(--red-accent);
  border: 1px solid var(--red-accent);
  padding: 3px 10px;
  border-radius: 2px;
  transform: rotate(-2deg);
}

.service-name {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
  margin-bottom: 12px;
  line-height: 1;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.service-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
#stats-bar {
  background: var(--gold);
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--black);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: rgba(10,10,10,0.6);
  text-transform: uppercase;
}

/* ── Gallery Section ────────────────────────────────────────── */
#gallery {
  padding: var(--section-pad) 0;
  background: var(--black-soft);
}

.gallery-header {
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}

.gallery-title-wrap {
  position: relative;
  display: inline-block;
}

.gallery-bg-text {
  position: absolute;
  bottom: -10px;
  left: -4px;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 10rem);
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,215,0,0.1);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
  z-index: 0;
}

.gallery-header .section-title {
  position: relative;
  z-index: 1;
}

.gallery-masonry {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 calc(-1 * clamp(16px, 4vw, 40px));
  padding: 10px clamp(16px, 4vw, 40px) 40px;
}

.gallery-masonry::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .gallery-masonry {
    display: block;
    overflow-x: visible;
    margin: 0;
    padding: 10px 0;
    column-count: 2;
    column-gap: 20px;
  }
}

@media (min-width: 1024px) {
  .gallery-masonry {
    column-count: 3;
  }
}

.polaroid {
  break-inside: avoid;
  margin-bottom: 0;
  flex: 0 0 85%;
  background: #fff;
  padding: 12px 12px 40px;
  box-shadow: 4px 6px 20px rgba(0,0,0,0.5);
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
}

@media (min-width: 768px) {
  .polaroid {
    margin-bottom: 24px;
    flex: auto;
  }
}

.polaroid:nth-child(odd)  { transform: rotate(-2deg); }
.polaroid:nth-child(even) { transform: rotate(1.5deg); }
.polaroid:nth-child(3n)   { transform: rotate(-0.5deg); }

.polaroid:hover {
  transform: rotate(0deg) translateY(-8px) !important;
  box-shadow: 8px 16px 40px rgba(0,0,0,0.7);
  z-index: 10;
}

.polaroid-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.polaroid-img svg {
  width: 100%;
  height: 100%;
}

.polaroid-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,215,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  color: var(--black);
  opacity: 0;
  transition: opacity var(--transition);
}

.polaroid:hover .polaroid-hover-overlay {
  opacity: 1;
}

.polaroid-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-script);
  font-size: 1rem;
  color: #333;
  padding: 0 8px;
}

.gallery-footer {
  text-align: center;
  margin-top: 40px;
}

.gallery-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  transition: gap var(--transition);
}

.gallery-ig-link:hover {
  gap: 16px;
}

/* ── Reviews Section ────────────────────────────────────────── */
#reviews {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

/* Brick pattern background */
#reviews::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 30px, rgba(255,255,255,0.01) 30px, rgba(255,255,255,0.01) 31px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.01) 60px, rgba(255,255,255,0.01) 61px);
  pointer-events: none;
}

.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-header .section-title span {
  color: var(--gold);
}

.reviews-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.reviews-track {
  overflow: hidden;
}

.reviews-slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card {
  flex: 0 0 100%;
  padding: 0 20px;
}

.review-inner {
  background: var(--dark-card);
  border: 1px solid #2a2a2a;
  border-radius: var(--border-radius);
  padding: 48px 40px;
  position: relative;
  transform: skewX(-1deg);
}

.review-quote {
  position: absolute;
  top: 24px;
  left: 32px;
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

.review-quote svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
}

.review-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
  margin-bottom: 28px;
  padding-top: 24px;
}

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.review-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--gold);
}

.review-author {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.review-location {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Dots */
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.reviews-dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

.reviews-dot:hover {
  background: var(--gold-dark);
}

/* ── Hero Photo Frame ─────────────────────────────────────── */
.hero-photo-frame {
  position: relative;
  width: clamp(260px, 36vw, 420px);
  z-index: 1;
}

.hero-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
  filter: brightness(0.92) contrast(1.05);
  border: 1px solid rgba(255,215,0,0.25);
  box-shadow: 0 0 60px rgba(255,215,0,0.15), 0 20px 60px rgba(0,0,0,0.6);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(10,10,10,0.6) 100%);
  border-radius: 4px;
  pointer-events: none;
}

.hero-photo-badge {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
  border: 3px solid var(--black);
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,215,0,0.4); }
  50% { box-shadow: 0 4px 30px rgba(255,215,0,0.7); }
}

.badge-star { font-size: 0.8rem; color: var(--black); line-height: 1; }
.badge-text {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--black);
  text-align: center;
  line-height: 1.1;
}

/* ── Service Card Images ────────────────────────────────────── */
.service-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: calc(var(--border-radius) - 4px);
  margin-bottom: 20px;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.85) saturate(0.9);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
  filter: brightness(0.95) saturate(1);
}

/* ── Polaroid Image Fix ─────────────────────────────────────── */
.polaroid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Fix flex sizing for service cards on mobile */
@media (max-width: 1023px) {
  .service-card {
    flex: 0 0 85%;
    max-width: 320px;
  }
}
