/*
Theme Name: Dark Stone Piercing
Theme URI: https://darkstone-piercing-dxb.lovable.app
Author: Dark Stone Piercing
Author URI: https://darkstone-piercing-dxb.lovable.app
Description: Premium one-page WordPress theme for Dark Stone Piercing, a professional piercing studio in Dubai. Luxury black, charcoal and champagne-gold editorial design with hero, about, services gallery, why us, appointment CTA and contact sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: darkstone-piercing
Tags: one-page, custom-logo, custom-colors, responsive-layout, footer-widgets
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --background: #12110f;
  --foreground: #f5f2ec;
  --onyx: #0b0a09;
  --charcoal: #23211e;
  --card: #1b1a17;
  --muted-foreground: #a7a29a;
  --gold: #d8b877;
  --gold-soft: #f0e0bd;
  --gold-dark: #b4934f;
  --border: rgba(216, 184, 119, 0.18);
  --border-strong: rgba(216, 184, 119, 0.45);
  --gradient-gold: linear-gradient(100deg, #c2a266, #f2e4c2, #cdae74);
  --shadow-lux: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
  --shadow-gold: 0 0 0 1px rgba(216, 184, 119, 0.35),
    0 24px 60px -35px rgba(216, 184, 119, 0.45);
  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --maxw: 80rem;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.05;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold);
  color: var(--onyx);
}

.screen-reader-text,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 999;
  clip: auto;
  width: auto;
  height: auto;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--onyx);
}

/* ==========================================================================
   3. Shared utilities
   ========================================================================== */
.ds-container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.ds-section {
  padding-block: 7rem;
}

.ds-section--onyx {
  background: var(--onyx);
}

.ds-eyebrow {
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.ds-heading {
  font-size: 2.25rem;
  letter-spacing: 0.01em;
  margin-top: 1.5rem;
}

.ds-gold-text {
  background-image: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ds-hairline {
  height: 1px;
  width: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(216, 184, 119, 0.45),
    transparent
  );
}

.ds-body-text {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 2;
}

.ds-link-underline {
  position: relative;
  display: inline-block;
}

.ds-link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.45s ease;
}

.ds-link-underline:hover::after {
  width: 100%;
}

.ds-card {
  position: relative;
  background: linear-gradient(160deg, #1d1b18, #131210);
  border: 1px solid var(--border);
  transition:
    border-color 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

.ds-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

/* Buttons */
.ds-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.5s ease;
}

.ds-btn--solid {
  background: var(--gold);
  color: var(--onyx);
}

.ds-btn--solid:hover {
  filter: brightness(1.1);
  box-shadow: 0 18px 50px -20px var(--gold);
}

.ds-btn--outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}

.ds-btn--outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.ds-btn--block {
  width: 100%;
}

.ds-btn-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

/* Reveal animation */
.ds-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.ds-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .ds-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   4. Header
   ========================================================================== */
.ds-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.ds-header.is-scrolled {
  background: rgba(11, 10, 9, 0.9);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.ds-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 1.25rem 1.5rem;
}

.ds-logo img {
  height: 2.75rem;
  width: 2.75rem;
  object-fit: contain;
}

.ds-logo__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.3em;
}

.ds-nav {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.ds-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted-foreground);
  transition: color 0.4s ease;
}

.ds-nav a:hover {
  color: var(--foreground);
}

.ds-header__cta {
  display: none;
}

.ds-menu-toggle {
  background: none;
  border: 0;
  color: var(--gold);
  padding: 0.25rem;
  cursor: pointer;
  line-height: 0;
}

.ds-mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--onyx);
  padding: 2rem 1.5rem;
}

.ds-mobile-nav.is-open {
  display: block;
}

.ds-mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ds-mobile-nav a {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted-foreground);
}

.ds-mobile-nav .ds-btn {
  margin-top: 0.5rem;
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.ds-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--onyx);
}

.ds-hero__media,
.ds-hero__media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.ds-hero__media img {
  object-fit: cover;
  object-position: 70% center;
  opacity: 0.6;
}

.ds-hero__media::after,
.ds-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ds-hero__media::before {
  background: linear-gradient(90deg, var(--onyx) 5%, transparent 75%);
}

.ds-hero__media::after {
  background: linear-gradient(to top, var(--onyx) 2%, transparent 45%);
}

.ds-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 9rem 1.5rem 7rem;
}

.ds-hero__title {
  margin-top: 2.5rem;
  max-width: 56rem;
  font-size: 2.15rem;
  letter-spacing: 0.02em;
}

.ds-hero__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.ds-hero__text {
  margin-top: 3rem;
  max-width: 36rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.75;
}

.ds-hero .ds-btn-row {
  margin-top: 3.5rem;
}

/* ==========================================================================
   6. About
   ========================================================================== */
.ds-about__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

.ds-about__figure {
  position: relative;
  margin: 0;
}

.ds-about__figure img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lux);
}

.ds-about__figure::after {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border: 1px solid var(--border);
  pointer-events: none;
}

.ds-about .ds-hairline {
  margin-block: 2.25rem;
  max-width: 120px;
}

.ds-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
}

/* ==========================================================================
   7. Services
   ========================================================================== */
.ds-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

.ds-service {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.ds-service__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ds-service__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-out;
}

.ds-service:hover .ds-service__media img {
  transform: scale(1.05);
}

.ds-service__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--onyx) 2%, transparent 55%);
  pointer-events: none;
}

.ds-service__number {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 0.25rem 0.625rem;
  background: rgba(11, 10, 9, 0.7);
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.ds-service__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.ds-service__title {
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}

.ds-service__text {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 2;
}

.ds-service__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--gold);
  transition: gap 0.5s ease;
}

.ds-service__cta:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   8. Why us
   ========================================================================== */
.ds-why__grid {
  display: grid;
  gap: 4rem;
}

.ds-why__figure {
  display: none;
  margin: 3rem 0 0;
}

.ds-why__figure img {
  width: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-lux);
}

.ds-why__list {
  display: grid;
  gap: 1px;
  background: var(--border);
}

.ds-why__item {
  height: 100%;
  padding: 2.5rem;
  border: 0;
}

.ds-why__item .ds-hairline {
  max-width: 40px;
}

.ds-why__item h3 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
}

.ds-why__item p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.82rem;
  line-height: 2;
}

/* ==========================================================================
   9. CTA band
   ========================================================================== */
.ds-cta {
  position: relative;
  overflow: hidden;
  background: var(--onyx);
  padding-block: 7rem;
}

.ds-cta__bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
}

.ds-cta__bg img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.ds-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent, var(--onyx) 75%);
}

.ds-cta__inner {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
}

.ds-cta__inner h2 {
  font-size: 2.25rem;
}

.ds-cta__inner p {
  margin: 1.75rem auto 0;
  max-width: 32rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.75;
}

.ds-cta .ds-btn-row {
  justify-content: center;
}

/* ==========================================================================
   10. Contact
   ========================================================================== */
.ds-contact__grid {
  display: grid;
  gap: 4rem;
}

.ds-contact__details {
  margin-top: 3rem;
  display: grid;
  gap: 1.75rem;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.ds-contact__row {
  display: flex;
  gap: 1rem;
}

.ds-contact__row svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--gold);
}

.ds-contact__row strong {
  display: block;
  color: var(--foreground);
  font-weight: 400;
}

.ds-contact__social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.ds-map {
  position: relative;
  margin-top: 3rem;
  border: 1px solid var(--border);
  line-height: 0;
}

.ds-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.9) contrast(1.25);
}

.ds-form {
  padding: 2.25rem;
}

.ds-form h3 {
  font-size: 1.5rem;
}

.ds-form__fields {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.ds-form input,
.ds-form select,
.ds-form textarea {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  border-radius: 0;
  transition: border-color 0.4s ease;
}

.ds-form textarea {
  resize: none;
}

.ds-form input::placeholder,
.ds-form textarea::placeholder {
  color: rgba(167, 162, 154, 0.7);
}

.ds-form input:focus,
.ds-form select:focus,
.ds-form textarea:focus {
  border-bottom-color: var(--gold);
}

.ds-form select option {
  background: var(--card);
  color: var(--foreground);
}

.ds-form .ds-btn {
  margin-top: 2.5rem;
}

.ds-form__notice {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.ds-form__notice--error {
  color: #e2a3a3;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.ds-footer {
  border-top: 1px solid var(--border);
  background: var(--onyx);
  padding-block: 4rem;
}

.ds-footer__grid {
  display: grid;
  gap: 3rem;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.ds-footer__brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.3em;
}

.ds-footer__brand-sub {
  margin-top: 0.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.ds-footer p.ds-footer__about {
  margin-top: 1.5rem;
  max-width: 20rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
  line-height: 2;
}

.ds-footer__list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.ds-footer__list a:hover {
  color: var(--foreground);
}

.ds-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ds-footer__social a {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  color: var(--gold);
  transition: border-color 0.4s ease;
}

.ds-footer__social a:hover {
  border-color: var(--gold);
}

.ds-footer__bottom {
  max-width: var(--maxw);
  margin: 3.5rem auto 0;
  padding-inline: 1.5rem;
}

.ds-footer__bottom p {
  padding-top: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(167, 162, 154, 0.7);
}

/* Floating WhatsApp */
.ds-whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--onyx);
  box-shadow: var(--shadow-gold);
  transition: transform 0.5s ease;
}

.ds-whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (min-width: 640px) {
  .ds-btn-row {
    flex-direction: row;
  }
  .ds-hero__title {
    font-size: 3.15rem;
  }
  .ds-hero__tagline {
    font-size: 1.75rem;
  }
  .ds-hero__text {
    font-size: 1rem;
  }
  .ds-heading,
  .ds-cta__inner h2 {
    font-size: 3.25rem;
  }
  .ds-services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-why__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .ds-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ds-form {
    padding: 3rem;
  }
}

@media (min-width: 1024px) {
  .ds-container,
  .ds-header__inner,
  .ds-hero__inner,
  .ds-footer__grid,
  .ds-footer__bottom {
    padding-inline: 2.5rem;
  }
  .ds-section {
    padding-block: 10rem;
  }
  .ds-nav,
  .ds-header__cta {
    display: flex;
  }
  .ds-menu-toggle,
  .ds-mobile-nav {
    display: none !important;
  }
  .ds-logo img {
    height: 3.5rem;
    width: 3.5rem;
  }
  .ds-hero__title {
    font-size: 4.3rem;
  }
  .ds-hero__tagline {
    font-size: 2.15rem;
  }
  .ds-about__grid,
  .ds-contact__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6rem;
  }
  .ds-why__grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 6rem;
  }
  .ds-why__figure {
    display: block;
  }
  .ds-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
