/* ════════════════════════════════════════════════════════
   PORTFOLIO — Enhanced Slider & Core Styles
   Volga Infosys Design System
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg: #F7F9FC;
  --bg-alt: #D4E8F5;
  --surface: #FFFFFF;
  --surface2: #E8F1F8;
  --accent: #E8930A;
  --accent2: #1B4F72;
  --accent3: #0D2B3E;
  --accent-red: #F26A3D;
  --text: #0D2B3E;
  --text-muted: #5F7288;
  --border: rgba(13, 43, 62, 0.08);
  --border-focus: rgba(232, 147, 10, 0.4);
  --shadow-sm: 0 2px 8px rgba(13, 43, 62, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 43, 62, 0.08), 0 2px 6px rgba(13, 43, 62, 0.04);
  --shadow-lg: 0 16px 40px rgba(13, 43, 62, 0.14), 0 4px 12px rgba(13, 43, 62, 0.06);
  --font-display: 'Sora', sans-serif;
  --font-ui: 'Inter', sans-serif;
}

html, body {
  width: 100%;
  background: var(--bg);
  font-family: var(--font-ui);
  color: var(--text);
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ══════════════════════════════════════════
   HERO 3D CARD SLIDER
═══════════════════════════════════════════ */
#slider-section {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: #091726;
  overflow: hidden;
}

#slider {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  overflow: hidden;
  background: #091726;
}

/* Background gradient overlay for contrast */
#slider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 23, 38, 0.88) 0%, rgba(9, 23, 38, 0.5) 45%, rgba(9, 23, 38, 0.15) 100%);
  z-index: 15;
  pointer-events: none;
}

/* Background animated cards */
.pf-card {
  position: absolute;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.3s ease;
}

.pf-card:hover {
  box-shadow: 0 20px 48px rgba(232, 147, 10, 0.25);
}

/* THUMBNAIL LABELS */
.pf-card-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 14px 16px;
  background: linear-gradient(to top, rgba(9, 23, 38, 0.95) 0%, rgba(9, 23, 38, 0.4) 60%, transparent 100%);
  border-radius: 12px;
  color: #fff;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
}

.pf-content-start {
  width: 22px;
  height: 3px;
  background: var(--accent);
  border-radius: 99px;
  margin-bottom: 6px;
}

.pf-content-place {
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 2px;
}

.pf-content-title-1,
.pf-content-title-2 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* HERO SLIDER DETAILS PANEL */
.pf-details {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: min(560px, calc(50% - 40px));
  max-height: calc(100% - 140px);
  overflow: hidden;
  padding: 38px 40px;
  background: rgba(13, 27, 46, 0.82);
  border-left: 4px solid var(--accent);
  border-radius: 0 20px 20px 0;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pf-place-box {
  overflow: hidden;
  margin-bottom: 8px;
}

.pf-place-text {
  padding-top: 4px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pf-place-text::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
}

.pf-title-box-1,
.pf-title-box-2 {
  overflow: hidden;
}

.pf-title-1,
.pf-title-2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.pf-title-2 {
  background: linear-gradient(90deg, #FFFFFF, rgba(255, 255, 255, 0.7));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pf-desc {
  margin-top: 16px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
  overflow: hidden;
  font-weight: 400;
}

.pf-cta {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  overflow: hidden;
}

.pf-tag-btn {
  border: 1px solid rgba(232, 147, 10, 0.4);
  background: rgba(232, 147, 10, 0.12);
  height: 38px;
  padding: 0 16px;
  border-radius: 99px;
  color: #ffaa2b;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.pf-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 22px;
  border: none;
  border-radius: 99px;
  color: #0d1b2e !important;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--accent), #ffaa2b);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(232, 147, 10, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pf-discover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 147, 10, 0.6);
}

/* PAGINATION CONTROLS */
#pf-pagination {
  position: absolute;
  bottom: 32px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 60;
}

.pf-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(13, 27, 46, 0.6);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.pf-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.05);
}

.pf-arrow:hover svg {
  color: #0d1b2e;
}

.pf-arrow svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
  color: #ffffff;
  transition: color 0.25s ease;
}

.pf-progress-wrap {
  margin-left: 8px;
  width: 180px;
  height: 44px;
  display: flex;
  align-items: center;
}

.pf-progress-bg {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
}

.pf-progress-fg {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-red));
  border-radius: 99px;
  transition: width 0.3s ease;
}

.pf-slide-numbers {
  width: 44px;
  height: 44px;
  overflow: hidden;
  position: relative;
  margin-left: 4px;
  flex-shrink: 0;
}

.pf-num-item {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--accent);
}

/* TOP PROGRESS INDICATOR */
#pf-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-red));
  transform: translateX(-100%);
  z-index: 55;
}

/* COVER WIPE */
#pf-cover {
  position: absolute;
  inset: 0;
  background: #091726;
  z-index: 100;
}

@media (max-width: 900px) {
  .pf-details {
    left: 20px;
    right: 20px;
    width: auto;
    max-width: none;
    top: 50%;
    transform: translateY(-50%);
    padding: 24px;
    border-radius: 16px;
  }
  .pf-title-1, .pf-title-2 {
    font-size: clamp(26px, 6.5vw, 38px);
  }
  #pf-pagination {
    left: 20px;
    bottom: 20px;
  }
  .pf-progress-wrap {
    width: 110px;
  }
}
