/* =========================================
   YN IT Solutions - Global Stylesheet
   ========================================= */

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

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #f5f0e8;
  --white2: #ede8df;
  --gray: #888;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  --radius: 4px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

/* ---- UTILITY ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
}
.section-title em { color: var(--gold); font-style: italic; }
.section-subtitle {
  font-size: 15px;
  color: var(--gray);
  max-width: 560px;
  margin-top: 14px;
  line-height: 1.8;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 13px 32px;
  border: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---- NAVBAR ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: var(--transition);
}
nav.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: invert(0);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1;
}
.nav-logo-text .tagline {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(245,240,232,0.7);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { margin-left: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}

/* Mobile Nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  padding: 40px 32px;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 22px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--white);
  transition: var(--transition);
}
.mobile-menu a:hover { color: var(--gold); padding-left: 10px; }

/* ---- FOOTER ---- */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,76,0.12);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
}
.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: var(--gray);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--gray);
}
.footer-contact-item .icon { color: var(--gold); font-size: 15px; flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
}
.social-links { display: flex; gap: 16px; }
.social-links a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: var(--transition);
}
.social-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ---- FADE IN ANIMATION ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---- GOLD DIVIDER ---- */
.gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px 0;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding: 160px 0 80px;
  background: var(--dark);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .section-title { font-size: clamp(2.4rem, 5vw, 4rem); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
