/* ============================================================
   T SIN Q — Global Design System
   Theme: Black & Gold | Neon Purple Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Inter:wght@300;400;500;600;700&family=Bebas+Neue&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C97A;
  --gold-dark:   #9A7A2C;
  --black:       #000000;
  --black-deep:  #050505;
  --black-card:  #0D0D0D;
  --black-border:#1A1A1A;
  --purple:      #7B2FBE;
  --purple-glow: rgba(123,47,190,0.4);
  --blue:        #00B4D8;
  --blue-glow:   rgba(0,180,216,0.3);
  --red:         #E63946;
  --white:       #FFFFFF;
  --grey:        #888888;
  --grey-light:  #CCCCCC;

  --font-head:   'Playfair Display', serif;
  --font-body:   'Inter', sans-serif;
  --font-display:'Bebas Neue', cursive;

  --nav-height:  100px;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow-gold: 0 0 20px rgba(201,168,76,0.25);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.6);
  --transition:  all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--grey-light); }

.section-label {
  font-family: var(--font-display);
  letter-spacing: 4px;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-title { color: var(--white); margin-bottom: 1.25rem; }
.section-title span { color: var(--gold); }
.section-desc { color: var(--grey); max-width: 600px; }

/* ── Gold Divider ──────────────────────────────────────────── */
.gold-line {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  margin: 1rem 0;
}
.gold-line.center { margin: 1rem auto; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-height);
  display: flex; align-items: center;
  padding: 0 2rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  height: 65px;
  background: rgba(0,0,0,0.97);
  border-bottom-color: rgba(201,168,76,0.3);
}
.nav-brand {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-img {
  width: 86px; height: 86px;
  object-fit: contain;
  transition: var(--transition);
}
.navbar.scrolled {
  height: 80px;
  background: rgba(0,0,0,0.97);
  border-bottom-color: rgba(201,168,76,0.3);
}
.navbar.scrolled .nav-logo-img { width: 70px; height: 70px; }
.nav-brand-text .brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: var(--gold);
  line-height: 1;
}
.nav-brand-text .brand-sub {
  font-size: 0.55rem;
  letter-spacing: 2.5px;
  color: var(--grey);
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  margin-left: auto;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-light);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 1px; background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
}
.nav-links a:hover::after, .nav-links a.active::after {
  left: 1rem; right: 1rem;
}
.nav-cta {
  margin-left: 1rem;
  padding: 0.55rem 1.4rem !important;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold)) !important;
  color: var(--black) !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  margin-left: auto; padding: 8px;
  cursor: pointer; z-index: 10;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--gold);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; bottom: 0;
    width: 280px;
    flex-direction: column; align-items: flex-start;
    gap: 0; padding: 100px 2rem 2rem;
    background: rgba(5,5,5,0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--black-border);
    transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    width: 100%; padding: 1rem 0;
    font-size: 1rem; border-bottom: 1px solid var(--black-border);
    border-radius: 0;
  }
  .nav-links a::after { display: none; }
  .nav-cta { margin-left: 0 !important; margin-top: 1.5rem; text-align: center; }
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--black);
  border: none;
  box-shadow: 0 4px 20px rgba(201,168,76,0.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201,168,76,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}
.btn-sm { padding: 0.55rem 1.25rem; font-size: 0.78rem; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 0.95rem; }
.btn-round { border-radius: 50px; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  border-color: rgba(201,168,76,0.3);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}
.card-body { padding: 1.5rem; }
.card-title { margin-bottom: 0.5rem; }

/* Glass card */
.card-glass {
  background: rgba(13,13,13,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.card-glass:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(13,13,13,0.85);
}

/* ── Section Layout ────────────────────────────────────────── */
.section {
  padding: 5rem 0;
}
.section-alt { background: rgba(13,13,13,0.5); }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Grid Helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
}

/* ── Badge / Tag ───────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-purple { background: rgba(123,47,190,0.15); color: #B57BEE; border: 1px solid rgba(123,47,190,0.3); }
.badge-blue { background: rgba(0,180,216,0.1); color: var(--blue); border: 1px solid rgba(0,180,216,0.25); }
.badge-red { background: rgba(230,57,70,0.15); color: #FF6B6B; border: 1px solid rgba(230,57,70,0.3); }

/* ── Form Elements ─────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--black-border);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-control:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23C9A84C'%3E%3Cpath d='M0 0l6 8 6-8z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ── Page Header (inner pages) ─────────────────────────────── */
.page-header {
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(201,168,76,0.05) 0%, transparent 100%);
  border-bottom: 1px solid var(--black-border);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%,rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 { margin-bottom: 0.75rem; }
.page-header p { max-width: 550px; margin: 0 auto; color: var(--grey); }

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.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.4s; }

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: #030303;
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 4px;
  color: var(--gold);
}
.footer-brand .brand-tagline {
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.875rem; color: var(--grey); line-height: 1.8; }
.footer h5 {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  color: var(--grey);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact p {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; color: var(--grey);
  margin-bottom: 0.75rem;
}
.footer-contact p svg { flex-shrink: 0; margin-top: 3px; color: var(--gold); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--grey);
  transition: var(--transition);
  font-size: 0.9rem;
}
.social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding: 1.25rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: var(--grey); }
.footer-bottom a { color: var(--gold); }
.developer-link { 
  color: #00d4ff !important; 
  font-weight: 700; 
  text-decoration: none;
  transition: var(--transition);
}
.developer-link:hover {
  color: var(--white) !important;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}


@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
  animation: fadeIn 0.3s ease;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(201,168,76,0.2);
  object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--gold); color: var(--black); }
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
  font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,76,0.3);
  cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: var(--gold); color: var(--black); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 5.5rem; }

/* ── Toast Notification ────────────────────────────────────── */
.toast-container {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.toast {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  background: var(--black-card);
  border-left: 3px solid var(--gold);
  color: var(--white);
  font-size: 0.875rem;
  box-shadow: var(--shadow-card);
  animation: slideInRight 0.3s ease;
  max-width: 320px;
}
.toast.error { border-left-color: var(--red); }
.toast.success { border-left-color: #4CAF50; }

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes pulse-gold { 0%,100% { box-shadow: 0 0 0 0 rgba(201,168,76,0.4); } 50% { box-shadow: 0 0 0 12px rgba(201,168,76,0); } }
@keyframes shimmer { from { background-position: -200% center; } to { background-position: 200% center; } }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }

/* ── Utility ───────────────────────────────────────────────── */
.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.text-grey { color: var(--grey); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.w-100 { width: 100%; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Visionary Section (Owner) ───────────────────────────── */
.visionary-section {
  padding: 6.5rem 0;
  background: radial-gradient(circle at 10% 20%, rgba(123,47,190,0.04) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(201,168,76,0.03) 0%, transparent 40%);
  position: relative;
  overflow: hidden;
}
.visionary-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}
.visionary-img-container {
  position: relative;
}
.visionary-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.visionary-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.visionary-img-wrap:hover img { transform: scale(1.05); }
.visionary-img-decor {
  position: absolute; inset: -15px;
  border: 1px solid var(--gold-dark);
  border-radius: calc(var(--radius-lg) + 5px);
  z-index: -1; opacity: 0.3;
}
.visionary-img-glow {
  position: absolute; top: -100px; left: -100px;
  width: 300px; height: 300px;
  background: var(--purple);
  filter: blur(120px);
  opacity: 0.15;
  z-index: -1;
}
.visionary-content h2 span { display: block; filter: brightness(1.2); }
.visionary-bio {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--grey-light);
  margin-bottom: 2rem;
}
.visionary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.visionary-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  color: var(--grey);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}
.visionary-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.visionary-quote {
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  font-style: italic;
  color: var(--white);
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .visionary-grid { grid-template-columns: 1fr; gap: 3.5rem; text-align: center; }
  .visionary-img-container { max-width: 450px; margin: 0 auto; }
  .visionary-tags { justify-content: center; }
  .visionary-quote { border-left: none; border-top: 2px solid var(--gold); padding: 1.5rem 0 0; }
}
