/* ============================================
   BECCA MOSAICO — Premium Gothic Chic Stylesheet
   Palette: Pink (#e8a0bf, #f5c6d0) + Noir (#0a0a0a, #1a1a1a)
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Colours */
  --pink-light:   #f5c6d0;
  --pink:         #e8a0bf;
  --pink-deep:    #c76e9f;
  --pink-glow:    rgba(232,160,191,.35);
  --black:        #0a0a0a;
  --black-soft:   #1a1a1a;
  --black-card:   #141414;
  --grey-dark:    #2a2a2a;
  --grey:         #888;
  --white:        #f0eae4;
  --gold:         #c9a84c;
  --gold-light:   #e0c97f;
  --purple-dark:  #3d1a4a;

  /* Typography */
  --font-display: 'Cinzel Decorative', serif;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad:  clamp(4rem, 10vw, 8rem) clamp(1rem, 5vw, 6rem);
  --radius:       12px;
  --radius-lg:    24px;

  /* Transitions */
  --ease:         cubic-bezier(.4, 0, .2, 1);
  --duration:     .4s;
}

/* ---------- Reset & Globals ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--pink);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--pink-light); }

ul { list-style: none; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--pink-deep);
  border-radius: 4px;
}

/* ---------- Selection ---------- */
::selection {
  background: var(--pink-deep);
  color: var(--black);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  transition: background var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.navbar.scrolled {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(232,160,191,.08);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--pink-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: .6rem;
}

.nav-logo {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Hero logo — large watermark behind text */
.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(350px, 50vw, 650px);
  height: auto;
  opacity: .08;
  z-index: 2;
  pointer-events: none;
  animation: fadeIn 2s var(--ease) .5s both;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--pink);
  transition: width var(--duration) var(--ease);
}
.nav-links a:hover { color: var(--pink-light); }
.nav-links a:hover::after { width: 100%; }

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 28px; height: 2px;
  background: var(--pink-light);
  transition: transform var(--duration) var(--ease),
              opacity var(--duration) var(--ease);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(232,160,191,.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(61,26,74,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(10,10,10,.6) 0%, var(--black) 70%);
  z-index: 1;
}

/* Animated floating mosaic tiles background */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-particles .tile {
  position: absolute;
  width: 20px; height: 20px;
  background: var(--pink-glow);
  border: 1px solid rgba(232,160,191,.2);
  opacity: 0;
  animation: floatTile 12s infinite ease-in-out;
}

@keyframes floatTile {
  0%   { opacity: 0; transform: translateY(100vh) rotate(0deg); }
  10%  { opacity: .6; }
  90%  { opacity: .6; }
  100% { opacity: 0; transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--pink);
  border: 1px solid var(--pink-deep);
  padding: .6rem 1.8rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  animation: fadeInUp .8s var(--ease) both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--pink-light);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 80px rgba(232,160,191,.3);
  animation: fadeInUp .8s var(--ease) .2s both;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--grey);
  margin-bottom: 3rem;
  animation: fadeInUp .8s var(--ease) .4s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  padding: 1.1rem 3rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
  animation: fadeInUp .8s var(--ease) .6s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(232,160,191,.25);
  color: var(--black);
}

.hero-cta svg {
  width: 18px; height: 18px;
  transition: transform var(--duration) var(--ease);
}
.hero-cta:hover svg { transform: translateX(4px); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  animation: fadeInUp .8s var(--ease) 1s both;
}

.scroll-indicator span {
  font-size: .65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--grey);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--pink), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: .3; transform: scaleY(.5); }
  50%      { opacity: 1;  transform: scaleY(1); }
}

/* ---------- Shared Animation ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
  padding: var(--section-pad);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--pink-light);
  line-height: 1.2;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: var(--grey);
  margin-top: .8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Divider ornament */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  margin: 1.5rem auto 0;
  color: var(--pink-deep);
}
.ornament-line {
  width: 40px; height: 1px;
  background: var(--pink-deep);
}
.ornament-icon {
  font-size: .9rem;
}

/* ============================================
   WELCOME / BIENVENUE SECTION
   ============================================ */
.welcome-section {
  background: var(--black);
  padding-top: 0;
  padding-bottom: 2rem;
}

.welcome-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 3rem 3.5rem;
  background: rgba(232,160,191,.04);
  border: 1px solid rgba(232,160,191,.1);
  border-radius: var(--radius-lg);
  position: relative;
}

.welcome-icon {
  color: var(--pink-deep);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.welcome-icon:last-child {
  margin-bottom: 0;
  margin-top: 1rem;
}

.welcome-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 400;
  color: var(--white);
  line-height: 2;
}

.welcome-text strong {
  color: var(--pink);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
}

/* ============================================
   PRODUCTS / BOUTIQUE SECTION
   ============================================ */
.products-section {
  background: var(--black-soft);
}

/* Filter tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  background: transparent;
  border: 1px solid var(--grey-dark);
  padding: .7rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
}

.filter-tab:hover,
.filter-tab.active {
  color: var(--black);
  background: var(--pink);
  border-color: var(--pink);
}

/* Product grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Whole card is a clickable link to SumUp */
.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.product-card-link:hover {
  color: inherit;
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(232,160,191,.12);
}

.product-card-link[data-sold-out="true"] {
  pointer-events: none;
  opacity: .6;
}

.product-card-link.no-click {
  cursor: default;
}

.product-card {
  position: relative;
  background: var(--black-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(232,160,191,.06);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}

.product-card-link:hover .product-card {
  border-color: rgba(232,160,191,.15);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.product-card-link:hover .product-image-wrap img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  z-index: 2;
}

.product-badge.new {
  background: var(--pink);
  color: var(--black);
}

.product-badge.sold-out {
  background: var(--grey-dark);
  color: var(--grey);
}

.product-badge.limited {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--black);
}

.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.product-card-link:hover .product-overlay {
  opacity: 1;
}

.product-overlay-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--pink);
  padding: .7rem 1.5rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
}

.product-overlay-btn:hover {
  background: var(--pink-light);
  color: var(--black);
}

.product-info {
  padding: 1.5rem;
}

.product-collection {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: .4rem;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: .3rem;
}

.product-price {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--pink);
}

.product-price .original {
  text-decoration: line-through;
  color: var(--grey);
  margin-left: .5rem;
  font-size: .85rem;
}

/* ============================================
   ABOUT / À PROPOS SECTION
   ============================================ */
.about-section {
  background: var(--black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(232,160,191,.1);
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

.about-image-decoration {
  position: absolute;
  top: -20px; left: -20px;
  width: 100px; height: 100px;
  border-top: 2px solid var(--pink-deep);
  border-left: 2px solid var(--pink-deep);
  opacity: .4;
}

.about-image-decoration-2 {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 100px; height: 100px;
  border-bottom: 2px solid var(--pink-deep);
  border-right: 2px solid var(--pink-deep);
  opacity: .4;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--pink-light);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-content p {
  color: var(--grey);
  font-size: .95rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.about-content p strong {
  color: var(--pink);
  font-weight: 600;
}

/* Formation / credentials */
.credentials {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(232,160,191,.04);
  border-radius: var(--radius);
  border-left: 3px solid var(--pink-deep);
}

.credential-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(232,160,191,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--pink);
  font-size: 1.1rem;
}

.credential-text h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.credential-text p {
  font-size: .8rem;
  color: var(--grey);
  margin-bottom: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
  background: var(--black-soft);
}

.contact-centered {
  max-width: 600px;
  margin: 0 auto;
}

.social-links-centered {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Social links */
.social-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: var(--black-card);
  border-radius: var(--radius);
  border: 1px solid rgba(232,160,191,.06);
  transition: all var(--duration) var(--ease);
  cursor: pointer;
}

.social-link:hover {
  border-color: var(--pink-deep);
  transform: translateX(8px);
  background: rgba(232,160,191,.05);
}

.social-link-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.social-link-icon.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.social-link-icon.tiktok {
  background: linear-gradient(135deg, #010101, #69c9d0);
}

.social-link-icon.etsy {
  background: #f1641e;
}

.social-link-icon.email {
  background: var(--pink-deep);
}

.social-link-text h4 {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--white);
}

.social-link-text p {
  font-size: .78rem;
  color: var(--grey);
  margin-bottom: 0;
}

.social-link-arrow {
  margin-left: auto;
  color: var(--pink);
  font-size: 1.2rem;
  transition: transform var(--duration) var(--ease);
}
.social-link:hover .social-link-arrow {
  transform: translateX(4px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(232,160,191,.06);
  padding: 3rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--pink-light);
  letter-spacing: 3px;
  margin-bottom: .8rem;
}

.footer p {
  font-size: .78rem;
  color: var(--grey);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.footer-links a {
  font-size: .75rem;
  color: var(--grey);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--pink); }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .15s; }
.reveal-delay-2 { transition-delay: .3s; }
.reveal-delay-3 { transition-delay: .45s; }
.reveal-delay-4 { transition-delay: .6s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform var(--duration) var(--ease);
  }

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

  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 4px;
  }

  .hamburger {
    display: flex;
  }

  .products-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .about-image-decoration,
  .about-image-decoration-2 {
    display: none;
  }

  .hero-cta {
    padding: .9rem 2rem;
    font-size: .78rem;
  }
}

@media (max-width: 480px) {
  .filter-tabs {
    gap: .5rem;
  }
  .filter-tab {
    padding: .5rem 1rem;
    font-size: .7rem;
  }
}

/* ============================================
   MISC UTILITY
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow {
  text-shadow: 0 0 40px rgba(232,160,191,.4);
}

/* Gothic cross separator */
.gothic-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.gothic-separator svg {
  width: 40px;
  height: 40px;
  color: var(--pink-deep);
  opacity: .4;
}
