/* ============================================
   TOTO123 — Global Styles
   ============================================ */
@import url('variables.css');

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  background: var(--c-bg);
  color: var(--c-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); line-height: 1.2; }

/* Section Common */
section { padding: var(--section-pad); }
.container { max-width: var(--container-max); margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--c-text2);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}
.alt-bg { background: var(--c-bg2); }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Page Hero (sub-pages) */
.page-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(212,165,60,0.06) 0%, transparent 70%),
    var(--c-bg);
  border-bottom: 1px solid var(--c-border);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.page-hero h1 .gold {
  background: linear-gradient(135deg, var(--c-gold-light), var(--c-gold), var(--c-gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p {
  color: var(--c-text2);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
}
.breadcrumb a { color: var(--c-gold); transition: var(--transition); }
.breadcrumb a:hover { color: var(--c-gold-light); }
.breadcrumb span { color: var(--c-text3); }

/* Selection */
::selection {
  background: rgba(212, 165, 60, 0.3);
  color: var(--c-text);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-bg3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-gold-dark); }

/* ============ LOGO IMAGE ============ */
.nav-logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 36px;
  width: auto;
  transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar.scrolled .logo-img {
  height: 30px;
}
.logo-img:hover {
  filter: drop-shadow(0 0 12px rgba(245, 197, 24, 0.4));
}
