/* ============= GLOBAL ============= */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

::selection { background: #d98f2b; color: #0b1320; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #0b1320; }
::-webkit-scrollbar-thumb { background: #c8a24b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d98f2b; }

/* ============= NAV ============= */
#nav.scrolled { background: rgba(11,19,32,.92); backdrop-filter: blur(14px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.nav-a { color: #f5efe1; opacity:.85; position: relative; padding: 4px 0; }
.nav-a:hover { color: #c8a24b; opacity:1; }
.nav-a::after {
  content:''; position:absolute; left:0; bottom:-4px; width:0; height:1.5px;
  background:#c8a24b; transition: width .3s ease;
}
.nav-a:hover::after { width:100%; }
.mobile-a:hover { color: #c8a24b; }

/* ============= HERO SLIDER ============= */
.heroSwiper .swiper-slide { overflow: hidden; }
.heroSwiper .slide-img {
  transform: scale(1.08);
  transition: transform 8s ease-out;
}
.heroSwiper .swiper-slide-active .slide-img { transform: scale(1); }
.heroSwiper .swiper-pagination-bullet { background:#c8a24b; opacity:.5; width:14px; height:4px; border-radius:2px; transition: all .3s; }
.heroSwiper .swiper-pagination-bullet-active { opacity:1; width:38px; background:#d98f2b; }
.heroSwiper .swiper-button-prev, .heroSwiper .swiper-button-next { width:46px; height:46px; }
.heroSwiper .swiper-button-prev::after, .heroSwiper .swiper-button-next::after { font-size:18px; font-weight:900; }

/* ============= TIMELINE ============= */
.tl-item { position: relative; padding-left: 3.5rem; }
@media (min-width: 768px) {
  .tl-item { padding-left: 0; }
  .tl-item.left  { padding-right: 50%; text-align: right; }
  .tl-item.right { padding-left: 50%; }
  .tl-item.left  .tl-card { margin-right: 2rem; }
  .tl-item.right .tl-card { margin-left: 2rem; }
}
.tl-dot {
  position:absolute; left:0; top:8px; width: 2rem; height: 2rem; border-radius:9999px;
  background: linear-gradient(135deg,#d98f2b,#c8a24b);
  display:grid; place-items:center; color:#0b1320; font-weight:900; font-size:10px;
  box-shadow: 0 0 0 4px #0b1320, 0 0 0 6px rgba(200,162,75,.25);
}
@media (min-width: 768px) {
  .tl-dot { left: 50%; transform: translateX(-50%); }
}
.tl-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,162,75,.2);
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  backdrop-filter: blur(8px);
  transition: all .3s ease;
}
.tl-card:hover {
  border-color: #d98f2b;
  background: rgba(200,162,75,.08);
  transform: translateY(-3px);
}
.tl-year {
  font-family: 'Bebas Neue', sans-serif;
  color:#d98f2b; font-size: 1.75rem; line-height: 1; letter-spacing:.05em;
}
.tl-title {
  font-family: 'Cinzel', serif; font-weight:700; color:#f5efe1; margin-top:.25rem; font-size:1.05rem;
}
.tl-desc { color: rgba(245,239,225,.7); font-size:.92rem; margin-top:.35rem; line-height:1.55; }

/* ============= AWARDS CARDS ============= */
.award-card {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  transition: all .35s ease;
  border: 1px solid rgba(11,19,32,.08);
}
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -15px rgba(11,19,32,.25);
}
.award-card .medal {
  width: 72px; height: 72px; border-radius: 50%;
  display:grid; place-items:center; font-size: 28px; color:#fff;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,.35), inset 0 -6px 12px rgba(0,0,0,.2);
}
.award-card .yr {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .1em; font-size: 1.2rem; color:#a1251b;
}
.award-card h3 {
  font-family: 'Cinzel', serif; font-weight: 800; font-size: 1.35rem;
  color:#0b1320; margin-top:.35rem; line-height:1.15;
}
.award-card p {
  margin-top:.75rem; color: rgba(11,19,32,.7); font-size:.95rem; line-height:1.6;
}
.award-card .ribbon {
  position:absolute; top:1.25rem; right:-2rem;
  transform: rotate(35deg); padding: 4px 2.5rem;
  font-family: Montserrat, sans-serif; font-size:10px; letter-spacing:.3em;
  text-transform: uppercase; color:#fff;
}

/* ============= GALLERY FILTERS ============= */
.g-filter {
  font-family: Montserrat, sans-serif;
  font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1px solid rgba(11,19,32,.15);
  color: #0b1320; background: transparent;
  transition: all .25s ease;
}
.g-filter:hover { border-color:#a1251b; color:#a1251b; }
.g-filter.active { background:#a1251b; color:#f5efe1; border-color:#a1251b; }

.g-item {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 1/1; cursor: pointer; background:#0b1320;
}
.g-item img { width:100%; height:100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.08); }
.g-item .g-overlay {
  position:absolute; inset:0; background: linear-gradient(to top, rgba(11,19,32,.85), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
  display:flex; align-items:flex-end; padding: 1rem;
  color:#f5efe1;
}
.g-item:hover .g-overlay { opacity: 1; }
.g-cap { font-family: Montserrat, sans-serif; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }

/* ============= VIDEO CARDS ============= */
.v-card {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/9; background:#000; cursor: pointer;
  border: 1px solid rgba(200,162,75,.2);
  transition: all .3s ease;
}
.v-card:hover { transform: translateY(-4px); border-color:#d98f2b; }
.v-card img { width:100%; height:100%; object-fit: cover; opacity:.8; transition: opacity .3s; }
.v-card:hover img { opacity: 1; }
.v-play {
  position:absolute; inset:0; display:grid; place-items:center; z-index:2;
  background: radial-gradient(circle at center, transparent 40%, rgba(0,0,0,.6) 100%);
}
.v-play .btn {
  width: 74px; height: 74px; border-radius: 50%;
  background: rgba(217,143,43,.95); color:#0b1320;
  display:grid; place-items:center; font-size: 26px;
  box-shadow: 0 0 0 0 rgba(217,143,43,.8);
  animation: pulseBtn 2s infinite;
}
@keyframes pulseBtn {
  0% { box-shadow: 0 0 0 0 rgba(217,143,43,.55); }
  100% { box-shadow: 0 0 0 22px rgba(217,143,43,0); }
}
.v-meta {
  position:absolute; left: 0; right:0; bottom:0; padding: 1rem 1.25rem;
  background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
  color:#f5efe1; z-index: 3;
}
.v-meta .ttl { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1rem; }
.v-meta .sub { font-family: Montserrat, sans-serif; font-size: 11px; letter-spacing:.25em; text-transform: uppercase; color:#c8a24b; margin-top:2px; }

/* ============= BOOK 3D ============= */
.perspective { perspective: 2000px; }
.book-wrap {
  width: 290px; height: 420px;
  transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(6deg);
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
  filter: drop-shadow(25px 30px 40px rgba(0,0,0,.55));
}
.book-wrap:hover { transform: rotateY(-8deg) rotateX(2deg); }
.book { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; }
.book-cover {
  position: absolute; inset: 0; border-radius: 4px 10px 10px 4px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 50%),
    linear-gradient(180deg, #5a0f0a 0%, #a1251b 40%, #6b120c 100%);
  border: 1px solid rgba(200,162,75,.35);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,.5),
    inset 4px 0 8px rgba(0,0,0,.35);
}
.book-cover::before {
  content:''; position:absolute; left: 12px; top: 12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(200,162,75,.3); border-radius: 2px; pointer-events:none;
}
.book-spine {
  position: absolute; left: -14px; top: 0; bottom: 0; width: 14px;
  background: linear-gradient(90deg, #3a0a07, #6b120c);
  transform: rotateY(-90deg); transform-origin: right center;
  border-radius: 2px 0 0 2px;
}
.book-back {
  position: absolute; inset: 0; background: #3a0a07; border-radius: 4px 10px 10px 4px;
  transform: translateZ(-20px);
}

/* ============= SOCIAL ============= */
.soc-link {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items:center; color:#f5efe1;
  border: 1px solid rgba(245,239,225,.25); transition: all .25s ease;
}
.soc-link:hover { background:#c8a24b; color:#0b1320; border-color:#c8a24b; transform: translateY(-3px); }

/* ============= FORM INPUTS ============= */
input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1b2638 inset !important;
  -webkit-text-fill-color: #f5efe1 !important;
}

/* ============= RESPONSIVE ============= */
@media (max-width: 640px) {
  .book-wrap { width: 220px; height: 320px; }
  .heroSwiper h1 { font-size: 2.5rem; }
}
