/* ============================================================
   PT MINE — Luxury Platinum & Diamond Jewellery
   Shared Stylesheet — White + Steel Theme
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:        #577192;
  --navy-mid:    #4d6683;
  --navy-deep:   #3f5b72;
  --steel:       #577192;
  --steel-light: #7A96B8;
  --steel-mid:   rgba(87,113,146,0.35);
  --steel-dim:   rgba(255,255,255,0.12);
  --steel-border: rgba(255,255,255,0.22);
  --platinum:    rgba(255,255,255,0.92);
  --silver:      rgba(255,255,255,0.65);
  --rose-gold:   #7eb8d6;
  --rose-light:  #b0d4e8;
  --white:       #ffffff;
  --off-white:   #f5f8fc;
  --text-light:  rgba(255,255,255,0.80);
  --border:      rgba(255,255,255,0.15);
  --glow:        rgba(87,113,146,0.25);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;

  --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);

  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  background: var(--navy);
  color: var(--platinum);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 2px; }

/* ── Selection ─────────────────────────────────────────────── */
::selection { background: rgba(87,113,146,0.45); color: var(--white); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  --logo-split: 200px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 76px;
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-silk), border-color 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: linear-gradient(90deg, #577192 0%, #7a9ab8 30%, #c4d4e3 55%, #ffffff 75%);
  border-bottom: 1px solid rgba(87,113,146,0.12);
  box-shadow: 0 4px 24px rgba(87,113,146,0.1);
}
.nav-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  letter-spacing: 0.08em;
}
.logo-img {
  height: 62px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.8rem;
}
.nav-links a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  position: relative;
  transition: color 0.4s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.35s var(--ease-silk);
}
.nav-links a:hover,
.nav-links a.active { color: #ffffff; }
.navbar.scrolled .nav-links a { color: #5a7090; }
.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active { color: var(--steel); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.btn-nav {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--rose-gold);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background 0.3s, transform 0.25s var(--ease-snap), box-shadow 0.3s;
}
.btn-nav:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(126,184,214,0.4);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: #ffffff;
  transition: all 0.3s;
}
.navbar.scrolled .nav-toggle span { background: #2a3f55; }
.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); }

/* Mobile menu — uses visibility so CSS transitions work correctly */
.mobile-menu {
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: #577192;
  backdrop-filter: blur(20px);
  padding: 2rem 3rem 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-silk), transform 0.35s var(--ease-silk), visibility 0.35s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-menu a {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: #ffffff; }

/* ============================================================
   COMMON UTILITIES
   ============================================================ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 3rem;
}
.section-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--rose-gold);
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.01em;
}
.section-title em {
  font-style: italic;
  color: var(--rose-gold);
}
.section-body {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.95;
  max-width: 540px;
}
.divider {
  width: 40px; height: 1px;
  background: linear-gradient(90deg, var(--steel), transparent);
  margin: 1.8rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-silk);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-silk);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--rose-gold);
  color: #1a2a3d;
}
.btn-primary:hover {
  background: var(--rose-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(126,184,214,0.4);
}
.btn-outline {
  border: 1px solid var(--steel-border);
  color: var(--platinum);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  background: var(--steel-dim);
  transform: translateY(-2px);
}
.btn-arrow::after {
  content: '→';
  transition: transform 0.3s var(--ease-silk);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Fade-in on scroll ─────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-silk), transform 0.8s var(--ease-silk);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.45s; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 5rem 3rem 2.5rem;
}
.footer-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo { margin-bottom: 1.2rem; }
.footer-brand p {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col h4 {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--steel-light);
  margin-bottom: 1.6rem;
}
.footer-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--silver);
  margin-bottom: 0.85rem;
  transition: color 0.3s, letter-spacing 0.3s;
  letter-spacing: 0.02em;
}
.footer-col a:hover { color: var(--white); letter-spacing: 0.04em; }
.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.68rem;
  color: #ffffff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Footer Vertical Social Icons ──────────────────────────── */
.social-links-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.footer-social-col .social-links-vertical a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--silver);
  margin-bottom: 0;
  letter-spacing: 0.02em;
  transition: color 0.3s;
  text-decoration: none;
}
.footer-social-col .social-links-vertical a svg {
  width: 17px; height: 17px;
  fill: currentColor;
  color: var(--steel-light);
  flex-shrink: 0;
  transition: color 0.3s;
}
.footer-social-col .social-links-vertical a:hover { color: var(--white); letter-spacing: 0.04em; }
.footer-social-col .social-links-vertical a:hover svg { color: var(--white); }

/* ── Page Hero Generic ─────────────────────────────────────── */
.page-hero {
  min-height: 26vh;
  display: flex;
  align-items: flex-end;
  padding: 0 3rem 2.8rem;
  position: relative;
  background: #577192;
  margin-top: 76px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.page-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.page-hero-title em {
  font-style: italic;
  color: var(--rose-gold);
}
@media (max-width: 900px) {
  .page-hero-title { white-space: normal; font-size: clamp(2rem, 6.5vw, 3.2rem); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 2rem; }
  .navbar { padding: 0 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .navbar { padding: 0 1.2rem; width: 100%; left: 0; right: 0; }
  .page-hero { padding: 0 1.2rem 2rem; width: 100%; }
  .footer { padding: 4rem 1.2rem 2rem; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .container { padding: 0 1.2rem; max-width: 100%; }
  section { max-width: 100%; overflow-x: hidden; }
}
