/* ═══════════════════════════════════════════════
   ABREHI FASHION DESIGN — style.css
   Modern Heritage · Luxury Landing Page
═══════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white: #ffffff;
  --off-white: #f7f5f2;
  --black: #0a0a0a;
  --obsidian: #111111;
  --charcoal: #1c1c1c;
  --gold: #c8a96e;
  --gold-light: #dfc08e;
  --muted: #888;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(200, 169, 110, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: min(1180px, 92%);
  margin-inline: auto;
}

.nav-brand {
  z-index: 10;
}

.brand-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--white);
  transition: color 0.3s;
}

.brand-text:hover { color: var(--gold); }

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

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO SECTION
══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.30) 40%,
      rgba(0,0,0,0.65) 100%
    ),
    url('Abrehi image.png') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 7rem;
  width: 100%;
}

/* ── Slogan ── */
.hero-slogan {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 11vw, 7.5rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1em;
  animation: fadeUp 1s var(--ease-out) 0.3s both;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.slogan-line { display: block; }

.slogan-italic {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.82);
  font-size: 0.85em;
}

/* ── Brand name ── */
.hero-brand-name {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  animation: fadeUp 1s var(--ease-out) 0.5s both;
}

/* ── CTA Button ── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  border: 1.5px solid rgba(255,255,255,0.85);
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s, transform 0.3s;
  animation: fadeUp 1s var(--ease-out) 0.7s both;
  position: relative;
  overflow: hidden;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out);
  z-index: 0;
}

.cta-btn:hover::before { transform: translateX(0); }
.cta-btn:hover { color: var(--black); border-color: var(--white); }
.cta-btn:active { transform: scale(0.97); }

.cta-text, .cta-arrow { position: relative; z-index: 1; }

.cta-arrow svg { width: 18px; height: 18px; display: block; }

/* ── Scroll indicator ── */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  animation: fadeIn 1.5s var(--ease-out) 1.5s both;
}

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

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.4; }
  50% { transform: scaleY(1.3); opacity: 0.8; }
}

.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white);
}

/* ══════════════════════════════════════════════
   SECTION DIVIDER
══════════════════════════════════════════════ */
.section-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 5%;
  background: var(--white);
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.divider-diamond {
  width: 8px; height: 8px;
  border: 1px solid rgba(0,0,0,0.2);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: 0.02em;
}

.section-sub {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  font-weight: 300;
}

/* ══════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════ */
.services {
  background: var(--obsidian);
  padding: 7rem 0;
}

.services .section-title { color: var(--white); }
.services .section-sub { color: rgba(255,255,255,0.45); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 3rem;
}

.service-card {
  position: relative;
  background: var(--charcoal);
  padding: 3.5rem 3rem;
  overflow: hidden;
  transition: background 0.4s var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,169,110,0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover { background: #1e1e1e; }
.service-card:hover::before { opacity: 1; }

.card-number {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 1.5rem; right: 2rem;
  line-height: 1;
  letter-spacing: -0.03em;
  pointer-events: none;
  transition: color 0.4s;
}

.service-card:hover .card-number { color: rgba(200,169,110,0.06); }

.card-icon {
  width: 52px; height: 52px;
  color: var(--gold);
  margin-bottom: 1.75rem;
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .card-icon { transform: translateY(-4px); }

.card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.card-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 0.3em 0.8em;
  font-weight: 400;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .tag {
  background: rgba(200,169,110,0.08);
}

.card-line {
  position: absolute;
  bottom: 0; left: 3rem;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out);
}

.service-card:hover .card-line { width: calc(100% - 6rem); }

/* ── Pre-order Banner ── */
.preorder-banner {
  border: 1px solid rgba(200,169,110,0.2);
  padding: 1.5rem 2rem;
}

.preorder-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.6;
}

.preorder-icon { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }

.preorder-inner strong { color: var(--white); font-weight: 500; }


/* ══════════════════════════════════════════════
   CONTACT SECTION
══════════════════════════════════════════════ */
.contact {
  background: var(--obsidian);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.contact-bg-ornament {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.06);
  pointer-events: none;
}

.contact-bg-ornament::before {
  content: '';
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,110,0.04);
}

.section-tag--light { color: var(--gold); }
.section-title--light { color: var(--white); }
.section-sub--light { color: rgba(255,255,255,0.4); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--charcoal);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  transition: background 0.3s;
}

.contact-card:hover { background: #1e1e1e; }

.contact-icon-wrap {
  width: 44px; height: 44px;
  border: 1px solid rgba(200,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.contact-card:hover .contact-icon-wrap {
  border-color: var(--gold);
  background: rgba(200,169,110,0.08);
}

.contact-icon { width: 20px; height: 20px; color: var(--gold); }

.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  font-family: var(--font-sans);
}

.contact-value {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 400;
}

.contact-value--link {
  transition: color 0.3s;
}

.contact-value--link:hover { color: var(--gold); }

/* ── Icon-only contact card (TikTok & Instagram) ── */
.contact-card--icon-only {
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.contact-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.contact-card--icon-only .contact-icon-wrap {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(200,169,110,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  transition: border-color 0.3s, background 0.3s, transform 0.35s;
}

.contact-card--icon-only .contact-icon {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.contact-card--icon-only:hover .contact-icon-wrap {
  border-color: var(--gold);
  background: rgba(200,169,110,0.1);
  transform: scale(1.08);
}

/* ── Social CTA ── */
.social-cta {
  text-align: center;
  padding-top: 2rem;
}

.social-cta-text {
  font-size: 0.65rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.5rem;
  font-family: var(--font-sans);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon-btn {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s;
}

.social-icon-btn svg { width: 20px; height: 20px; }

.social-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,169,110,0.06);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--black);
  padding: 3rem 0;
  border-top: 1px solid rgba(200,169,110,0.1);
}

.footer-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  font-weight: 600;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}

.reveal--left {
  transform: translateX(-40px) translateY(20px);
}

.reveal--right {
  transform: translateX(40px) translateY(20px);
}

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

/* Stagger delay for grid children */
.services-grid .service-card:nth-child(2),
.contact-grid .contact-card:nth-child(2) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(3),
.contact-grid .contact-card:nth-child(3) { transition-delay: 0.15s; }
.contact-grid .contact-card:nth-child(4) { transition-delay: 0.2s; }

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

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

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════════════════════ */
@media (max-width: 600px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 80vw;
    max-width: 320px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
    border-left: 1px solid rgba(200,169,110,0.1);
  }

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

  .nav-link {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }

  /* Hero mobile */
  .hero {
    background-position: center top;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 2rem) 1.25rem 6rem;
    gap: 1.5rem;
  }
  .cta-btn {
    padding: 0.9rem 1.75rem;
    font-size: 0.72rem;
    width: 100%;
    justify-content: center;
    max-width: 320px;
  }

  /* Services */
  .service-card { padding: 2rem 1.5rem; }
  .services { padding: 4rem 0; }

  /* Contact */
  .contact { padding: 4rem 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.75rem 1.5rem; flex-direction: row; align-items: center; gap: 1rem; }
  .contact-icon-wrap { flex-shrink: 0; margin-bottom: 0; }

  .preorder-inner { flex-direction: column; text-align: center; }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }
  .section-title { font-size: 2rem; }

  /* Social icons */
  .social-icon-btn { width: 48px; height: 48px; }

  /* Footer */
  .footer { padding: 2rem 0; }
}
