/* ==================================================
   CSS Variables & Reset
================================================== */
:root {
  --primary-color: #2563EB;
  --primary-hover: #1D4ED8;
  --bg-color: #F8FAFC;
  --surface-color: #FFFFFF;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --radius-lg: 18px;
  --radius-md: 10px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ==================================================
   Header & Navigation
================================================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.social-link:hover {
  color: var(--text-main);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

/* ==================================================
   Main Layout & Slider Card
================================================== */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.slider-wrapper {
  width: 100%;
  max-width: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.slider-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--surface-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
  min-width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  user-select: none;
}

/* Zoom effect on hover */
.slider-card:hover .slide img {
  transform: scale(1.03);
}

/* ==================================================
   UI Controls (Counter & Buttons)
================================================== */
.slide-counter {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.prev-btn { left: 1.5rem; }
.next-btn { right: 1.5rem; }

.nav-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  border-color: transparent;
}

.nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* ==================================================
   Navigation Dots
================================================== */
.dots-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: #CBD5E1;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}

.dot:hover {
  background-color: #94A3B8;
}

.dot.active {
  width: 28px;
  background-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

/* ==================================================
   Footer Section
================================================== */
.footer {
  background-color: var(--surface-color);
  border-top: 1px solid var(--border-color);
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-main);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.divider {
  color: #CBD5E1;
}