/* style.css - Healthy Vision & Lifestyle */
:root {
  --eye-dark-core: #090e1a;
  --eye-dark-surface: #111827;
  --eye-light-core: #f8fafc;
  --eye-light-surface: #ffffff;
  --eye-accent-glow: #0ea5e9;
  --eye-accent-glow-hover: #0284c7;
  --eye-text-dark: #1e293b;
  --eye-text-light: #f1f5f9;
  --eye-text-muted: #64748b;
  --eye-border-soft: #e2e8f0;
  --eye-border-dark: #1f2937;
  --eye-gradient-main: linear-gradient(135deg, #090e1a 0%, #1e293b 100%);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--eye-text-dark);
  background-color: var(--eye-light-core);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--eye-dark-core);
}

/* Scroll Progress Tracker */
.sight-progress-tracker {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background-color: var(--eye-accent-glow);
  width: 0%;
  z-index: 10000;
  animation: sight-progress-grow linear;
  animation-timeline: scroll();
}

@keyframes sight-progress-grow {
  to { width: 100%; }
}

/* Viewport Scroll Animations */
.sight-scroll-reveal {
  animation: sight-fade-up linear both;
  animation-timeline: view();
  animation-range: entry 10% entry 40%;
}

@keyframes sight-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Common Header Styles (Preset A - Professional Dark) */
.vis-base-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: var(--eye-dark-surface);
  border-bottom: 1px solid var(--eye-border-dark);
}

.vis-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
}

.vis-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--eye-text-light);
  font-weight: 700;
  letter-spacing: 1px;
}

.vis-logo-icon {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--eye-accent-glow);
  stroke-width: 2;
}

/* Navigation Links */
.vis-navigation-pane {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vis-nav-link {
  text-decoration: none;
  color: var(--eye-text-light);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.vis-nav-link:hover,
.vis-nav-link.active {
  color: var(--eye-accent-glow);
}

.vis-nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--eye-accent-glow);
  transition: width 0.3s ease;
}

.vis-nav-link:hover::after,
.vis-nav-link.active::after {
  width: 100%;
}

/* CSS Only Hamburger */
.vis-menu-toggle-input {
  display: none;
}

.vis-menu-toggle-label {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.vis-menu-toggle-label span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--eye-text-light);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Hero Section (Preset A) */
.vis-main-showcase {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 8rem 2rem 12rem 2rem;
}

.vis-showcase-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 14, 26, 0.75);
  z-index: 1;
}

.vis-showcase-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: var(--eye-text-light);
}

.vis-showcase-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--eye-text-light);
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.vis-showcase-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--eye-text-light);
  opacity: 0.9;
}

/* Accent Buttons */
.vis-action-pill {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  font-weight: 700;
  background-color: var(--eye-accent-glow);
  color: var(--eye-text-light);
  padding: 1rem 2.5rem;
  border-radius: 999px;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.vis-action-pill:hover {
  background-color: var(--eye-accent-glow-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

/* Floating Metrics Bar (Preset A) */
.vis-floating-metrics {
  position: relative;
  margin-top: -80px;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
}

.vis-metrics-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  background-color: var(--eye-light-surface);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vis-metric-item {
  text-align: center;
  border-right: 1px solid var(--eye-border-soft);
  padding: 1rem;
}

.vis-metric-item:last-child {
  border-right: none;
}

.vis-metric-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--eye-accent-glow);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.vis-metric-label {
  font-size: 1rem;
  color: var(--eye-text-dark);
  font-weight: 600;
}

/* Zigzag Content Sections */
.vis-zigzag-section {
  padding: 8dvh 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.vis-zigzag-row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6dvh;
}

.vis-zigzag-row:last-child {
  margin-bottom: 0;
}

.vis-zigzag-row.reverse {
  flex-direction: row-reverse;
}

.vis-zigzag-visual {
  flex: 1;
  height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.vis-zigzag-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slanted Clippaths on visuals */
.vis-zigzag-row:not(.reverse) .vis-zigzag-visual {
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

.vis-zigzag-row.reverse .vis-zigzag-visual {
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
}

.vis-zigzag-details {
  flex: 1.2;
}

.vis-zigzag-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.vis-zigzag-text {
  font-size: 1.1rem;
  color: var(--eye-text-muted);
  margin-bottom: 1.5rem;
}

/* Features Grid (Preset A - 2 row grid, colored left border, icons) */
.vis-advantages-section {
  background-color: var(--eye-light-core);
  padding: 10dvh 2rem;
}

.vis-advantages-container {
  max-width: 1200px;
  margin: 0 auto;
}

.vis-advantages-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.vis-advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.vis-advantage-item {
  background-color: var(--eye-light-surface);
  padding: 2.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--eye-accent-glow);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.vis-advantage-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.vis-advantage-icon {
  width: 48px;
  height: 48px;
  stroke: var(--eye-accent-glow);
  stroke-width: 2;
  fill: none;
  margin-bottom: 1.5rem;
}

.vis-advantage-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.vis-advantage-descr {
  font-size: 0.95rem;
  color: var(--eye-text-muted);
}

/* Timeline: How it Works */
.vis-timeline-section {
  padding: 10dvh 2rem;
  background-color: var(--eye-light-surface);
}

.vis-timeline-container {
  max-width: 1000px;
  margin: 0 auto;
}

.vis-timeline-header {
  text-align: center;
  margin-bottom: 5rem;
}

.vis-timeline-track {
  position: relative;
  padding: 2rem 0;
}

/* Timeline Vertical Line */
.vis-timeline-track::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--eye-border-soft);
  transform: translateX(-50%);
}

.vis-timeline-milestone {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.vis-timeline-milestone:last-child {
  margin-bottom: 0;
}

.vis-timeline-block {
  width: 45%;
  background-color: var(--eye-light-core);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  position: relative;
}

.vis-timeline-milestone:nth-child(even) {
  flex-direction: row-reverse;
}

.vis-timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--eye-accent-glow);
  color: var(--eye-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  border: 4px solid var(--eye-light-surface);
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  z-index: 2;
}

.vis-timeline-caption {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.vis-timeline-content {
  font-size: 0.95rem;
  color: var(--eye-text-muted);
}

/* CTA Strip with fixed background */
.vis-action-strip {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 8dvh 2rem;
  text-align: center;
}

.vis-strip-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(9, 14, 26, 0.8);
  z-index: 1;
}

.vis-strip-wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  color: var(--eye-text-light);
}

.vis-strip-heading {
  font-size: 2.5rem;
  color: var(--eye-text-light);
  margin-bottom: 1.5rem;
}

/* Forms Section (reserve.html) */
.vis-booking-wrapper {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--eye-light-surface);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 3rem;
  margin-top: -60px;
  position: relative;
  z-index: 10;
}

.vis-form-group {
  margin-bottom: 1.5rem;
}

.vis-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.vis-form-input, .vis-form-area {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--eye-border-soft);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

.vis-form-input:focus, .vis-form-area:focus {
  border-color: var(--eye-accent-glow);
}

.vis-form-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--eye-text-muted);
}

.vis-form-terms input {
  margin-top: 3px;
}

.vis-form-btn {
  width: 100%;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
}

/* FAQ Accordion (reserve.html) CSS only */
.vis-accordion-shelf {
  max-width: 800px;
  margin: 5rem auto 0 auto;
  padding: 0 1.5rem;
}

.vis-accordion-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.vis-accordion-item {
  background-color: var(--eye-light-surface);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-bottom: 1rem;
  overflow: hidden;
}

.vis-accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  font-size: 1.15rem;
  background: none;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--eye-dark-core);
  cursor: default;
}

.vis-accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--eye-text-muted);
}

/* Footer Styles */
.vis-base-footer {
  background-color: var(--eye-dark-core);
  color: var(--eye-text-light);
  padding: 6dvh 2rem 3dvh 2rem;
  border-top: 1px solid var(--eye-border-dark);
}

.vis-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.vis-footer-nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.vis-footer-nav-link {
  text-decoration: none;
  color: var(--eye-text-muted);
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.vis-footer-nav-link:hover {
  color: var(--eye-accent-glow);
}

.vis-footer-disclaimer {
  max-width: 800px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--eye-text-muted);
  border-top: 1px solid var(--eye-border-dark);
  padding-top: 2rem;
}

.vis-footer-copyright {
  font-size: 0.85rem;
  color: var(--eye-text-muted);
}

/* Cookie Shield Banner */
.vis-cookie-shield {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--eye-dark-surface);
  border-top: 2px solid var(--eye-border-dark);
  color: var(--eye-text-light);
  padding: 1.5rem 2rem;
  z-index: 10000;
  display: none;
}

.vis-cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.vis-cookie-text {
  font-size: 0.9rem;
  color: var(--eye-text-light);
}

.vis-cookie-controls {
  display: flex;
  gap: 1rem;
}

.vis-cookie-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background-color 0.3s;
}

.vis-cookie-btn.accept {
  background-color: var(--eye-accent-glow);
  color: var(--eye-text-light);
}

.vis-cookie-btn.accept:hover {
  background-color: var(--eye-accent-glow-hover);
}

.vis-cookie-btn.decline {
  background-color: transparent;
  color: var(--eye-text-muted);
  border: 1px solid var(--eye-border-dark);
}

.vis-cookie-btn.decline:hover {
  background-color: rgba(255,255,255,0.05);
}

/* Info Cards for Reserve */
.vis-info-cards-row {
  max-width: 1200px;
  margin: 4rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0 1.5rem;
}

.vis-info-card {
  background-color: var(--eye-light-surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.vis-info-card-icon {
  width: 40px;
  height: 40px;
  stroke: var(--eye-accent-glow);
  stroke-width: 2;
  fill: none;
  margin-bottom: 1rem;
}

.vis-info-card-heading {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.vis-info-card-list {
  list-style: none;
}

.vis-info-card-list-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--eye-text-muted);
}

.vis-info-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--eye-accent-glow);
}

/* Legal Page Layout */
.vis-legal-body {
  padding: 6rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.vis-legal-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.vis-legal-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--eye-text-muted);
  margin-bottom: 1.5rem;
}

.vis-legal-block {
  margin-bottom: 3rem;
}

/* Media Queries */
@media (max-width: 991px) {
  .vis-zigzag-row {
    flex-direction: column !important;
    gap: 2rem;
  }
  
  .vis-zigzag-visual {
    width: 100%;
    clip-path: none !important;
  }
  
  .vis-timeline-track::before {
    left: 20px;
  }
  
  .vis-timeline-marker {
    left: 20px;
  }
  
  .vis-timeline-milestone {
    flex-direction: row !important;
    justify-content: flex-start;
  }
  
  .vis-timeline-block {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
}

@media (max-width: 768px) {
  .vis-menu-toggle-label {
    display: flex;
    z-index: 1000;
  }
  
  .vis-navigation-pane {
    display: none;
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--eye-dark-surface);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
  }
  
  .vis-menu-toggle-input:checked ~ .vis-navigation-pane {
    display: flex;
  }
  
  .vis-brand-logo {
    z-index: 1000;
  }
  
  .vis-showcase-title {
    font-size: 2.25rem;
  }
  
  .vis-showcase-subtitle {
    font-size: 1.1rem;
  }
  
  .vis-metrics-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .vis-metric-item {
    border-right: none;
    border-bottom: 1px solid var(--eye-border-soft);
    padding-bottom: 1.5rem;
  }
  
  .vis-metric-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .vis-booking-wrapper {
    padding: 1.5rem;
  }
  
  .vis-cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}