/* ========================================
   VESTIZY - Styles Globaux
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --green: #189369;
  --green-dark: #137a57;
  --dark: #1a1a2e;
  --text: #333333;
  --text-light: #777777;
  --text-muted: #aaaaaa;
  --bg: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e8e8e8;
}

/* ========================================
   DARK THEME OVERRIDES
   ======================================== */
html.dark {
  --green: #189369;
  --green-dark: #1aad7a;
  --dark: #e8efe8;
  --text: #c8d6d0;
  --text-light: #8a9e94;
  --text-muted: #5a6e64;
  --bg: #0a1a14;
  --bg-light: #0f2218;
  --border: #1a3a2e;
}

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

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

/* ========================================
   SLIDE CONTAINER
   ======================================== */
.slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--text-light);
  font-size: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-arrow:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
  box-shadow: 0 4px 16px rgba(24, 147, 105, 0.3);
}

.nav-arrow.prev {
  left: 24px;
}

.nav-arrow.next {
  right: 24px;
}

/* Page indicator */
.page-indicator {
  position: fixed;
  top: 20px;
  right: 28px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  z-index: 100;
  letter-spacing: 1px;
}

/* Dots navigation */
.dots-nav {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.dot:hover {
  background: var(--green);
  opacity: 0.6;
}

.dot.active {
  width: 28px;
  background: var(--green);
}

/* ========================================
   WATERMARK / BACKGROUND ELEMENTS
   ======================================== */
.bg-logo-watermark {
  position: absolute;
  font-size: 30vw;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.015);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.bg-logo-watermark.left {
  bottom: -5%;
  left: -5%;
}

.bg-logo-watermark.right {
  top: -5%;
  right: -5%;
}

/* Corner decoration */
.corner-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(24, 147, 105, 0.04), rgba(24, 147, 105, 0.01));
  pointer-events: none;
  z-index: 0;
}

.corner-decoration.top-right {
  top: -100px;
  right: -100px;
}

.corner-decoration.bottom-left {
  bottom: -100px;
  left: -100px;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */
h1 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

h2 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.subtitle {
  font-size: 2.1rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.label-confidential {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 400;
}

/* ========================================
   DIVIDER
   ======================================== */
.divider {
  width: 50px;
  height: 3px;
  background: var(--green);
  border-radius: 2px;
}

/* ========================================
   KEYBOARD NAVIGATION
   ======================================== */
body:focus {
  outline: none;
}

/* ========================================
   DARK THEME — Global Overrides
   ======================================== */
html.dark .nav-arrow {
  background: rgba(15, 34, 24, 0.9);
  border-color: var(--border);
  color: var(--text-light);
}
html.dark .nav-arrow:hover {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
html.dark .dot {
  background: var(--border);
}
html.dark .dot:hover {
  background: var(--green);
}
html.dark .dot.active {
  background: var(--green);
}
html.dark .corner-decoration {
  background: linear-gradient(135deg, rgba(24, 147, 105, 0.08), rgba(24, 147, 105, 0.02));
}
html.dark .bg-logo-watermark {
  color: rgba(255, 255, 255, 0.015);
}
