@import url('fonts.css');

:root {
  /* Brand Colors - Vina One Blue Style #065fb8 */
  --primary-navy: #0b1f3a;
  --primary-blue: #103366;
  --accent-red: #065fb8;
  --accent-red-hover: #044b94;
  --steel-dark: #1b263b;
  --steel-slate: #32435f;
  --steel-silver: #415a77;
  --steel-light: #778da9;
  --bg-light: #f4f6fa;
  --bg-card: #ffffff;
  --bg-dark: #071326;
  --text-main: #1f2937;
  --text-muted: #5b677a;
  --text-light: #e0e1dd;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography with 100% Full Vietnamese Diacritics Support */
  --font-heading: 'Oswald', 'Roboto Condensed', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 31, 58, 0.14);
  --shadow-glow: 0 0 25px rgba(6, 95, 184, 0.35);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 114px; /* Space for Fixed Header */
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (min-width: 1440px) {
  .container {
    max-width: 1440px;
    padding: 0 56px;
  }
}

.container-fluid {
  width: 100%;
  padding: 0 40px;
}

/* Section Header (JSW Steel style with bold industrial underline) */
.section-header {
  margin-bottom: 50px;
  position: relative;
  text-align: center;
}

.section-header.text-left {
  text-align: left;
}

.section-tag {
  display: none !important;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-navy);
  letter-spacing: 0.5px;
  line-height: 1.2;
  position: relative;
  padding-bottom: 18px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--accent-red);
  border-radius: 2px;
}

.section-header.text-left .section-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--steel-slate);
  max-width: 720px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.section-header.text-left .section-subtitle {
  margin: 16px 0 0;
}

/* Page Inner Hero Banner (JSW Style) */
.page-hero {
  position: relative;
  padding: 100px 0 60px;
  background: var(--bg-dark);
  color: var(--white);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(7, 19, 38, 0.92) 0%, rgba(16, 51, 102, 0.85) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 10;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 16px;
  font-weight: 500;
}

.breadcrumbs a {
  color: #cbd5e1;
}

.breadcrumbs a:hover {
  color: var(--accent-red);
}

.breadcrumbs span.current {
  color: var(--accent-red);
}

.page-hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  color: var(--white);
}

.page-hero-desc {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 720px;
  margin-top: 14px;
}

/* Button Component System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--accent-red);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(6, 95, 184, 0.35);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 95, 184, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
  background-color: var(--primary-navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-download {
  background: linear-gradient(135deg, #065fb8, #2980b9);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 34px;
  box-shadow: 0 6px 20px rgba(6, 95, 184, 0.4);
  animation: pulse-grow 2.5s infinite;
}

.btn-download:hover {
  background: linear-gradient(135deg, #044b94, #1f618d);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(6, 95, 184, 0.6);
}

@keyframes pulse-grow {
  0% { box-shadow: 0 0 0 0 rgba(6, 95, 184, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(6, 95, 184, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 95, 184, 0); }
}

/* Timeline Components (JSW History & Milestones) */
.timeline-wrap {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--accent-red);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-red);
  border-radius: 50%;
  z-index: 5;
}

.timeline-item:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--primary-blue);
  transition: var(--transition);
}

.timeline-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent-red);
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--steel-slate);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline-wrap::before {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 15px;
    text-align: left !important;
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-item:nth-child(odd) .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 10px;
  }
}
