/* ===========================
   PAGES
   =========================== */

.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #111113 55%, #1C1C1F 100%);
  color: var(--text-on-red); text-align: center; padding: 6rem 1rem 2.5rem;
  position: relative; overflow: hidden;
  width: 100%;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.03) 0%, transparent 70%);
}
.ph-eng    { background: linear-gradient(135deg, var(--dark) 0%, #111113 60%, #1C1C1F 100%); }
.ph-tourism{ background: linear-gradient(135deg, var(--dark) 0%, #111113 60%, #1E1E21 100%); }
.ph-computer{background: linear-gradient(135deg, var(--dark) 0%, #0E0E10 60%, #1A1A1D 100%); }
.ph-arts   { background: linear-gradient(135deg, var(--dark) 0%, #0E0E10 60%, #1C1C1F 100%); }
.ph-icon { font-size: 3.6rem; margin-bottom: 1rem; position: relative; filter: drop-shadow(0 8px 20px rgba(0,0,0,.5)); }
.page-hero h1 { font-size: clamp(1.8rem,4vw,3rem); font-weight: 900; position: relative; animation: pageHeroIn .6s ease both; }
.page-hero p  { color: rgba(255,255,255,.65); margin-top: .6rem; position: relative; font-size: 1rem; animation: pageHeroIn .6s .15s ease both; }
@keyframes pageHeroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  height: 100vh;
  background: var(--dark);
  color: var(--white);
  position: relative; overflow: hidden;
}
@supports (height: 100dvh) { .hero { height: 100dvh; min-height: 100dvh; } }
.hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: heroFade 16s ease-in-out infinite both; visibility: hidden; overflow: hidden; }
.hero-slide:nth-child(1) { opacity: 1; visibility: visible; animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 4s; }
.hero-slide:nth-child(3) { animation-delay: 8s; }
.hero-slide:nth-child(4) { animation-delay: 12s; }
.hero-slide:nth-child(1) .hero-slide-bg { animation-delay: 0s; }
.hero-slide:nth-child(2) .hero-slide-bg { animation-delay: 4s; }
.hero-slide:nth-child(3) .hero-slide-bg { animation-delay: 8s; }
.hero-slide:nth-child(4) .hero-slide-bg { animation-delay: 12s; }
@keyframes heroFade { 0% { opacity: 0; visibility: hidden; } 3% { visibility: visible; } 8% { opacity: 1; } 22% { opacity: 1; } 35% { opacity: 0; visibility: hidden; } 100% { opacity: 0; visibility: hidden; } }
@keyframes heroZoom { 0% { transform: scale(1.5); } 10% { transform: scale(1); } 35% { transform: scale(1); } 100% { transform: scale(1.5); } }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.75); animation: heroZoom 16s ease-in-out infinite both; }
.hero-slide::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.55) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-slide-overlay {
  position: absolute; bottom: 3rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  max-width: 90%; white-space: nowrap;
  animation:heroOverlayIn 1s .5s cubic-bezier(.15,.85,.3,1.1) both;
}
@keyframes heroOverlayIn { 0%{opacity:0;transform:translateX(-50%) translateY(30px) scale(.95)} 100%{opacity:1;transform:translateX(-50%) translateY(0) scale(1)} }
.hero-slide-name {
  font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; color: #fff;
  text-shadow: 0 4px 30px rgba(0,0,0,.8); position:relative;
}
.hero-slide-name::after { content:''; display:block; width:80px; height:3px; background:var(--red); margin:.75rem auto 0; border-radius:2px; }
.hero-slide-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--red-gradient); color: #fff;
  padding: .6rem 2rem; border-radius: 2rem;
  font-size: .9rem; font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(var(--red-rgb),.4);
}
.hero-slide-btn:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(var(--red-rgb),.5); }
.hero-slide-btn-outline { background: transparent; border: 2px solid #fff; box-shadow: none; }
.hero-slide-btn-outline:hover { background: #fff; color: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.3); }
.hero-slide-actions { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
