:root {
  /* --- Luxury Aegean beach-bar palette (design tokens, §Φάση 4) --- */
  --navy: #0a2540;
  --navy-deep: #061a30;
  --sand: #f5e6d3;
  --pearl: #fbf5ea;
  --ivory: #fffdf8;
  --turquoise: #00b7ff;
  --turquoise-dim: rgba(0, 183, 255, 0.15);
  --gold: #d4af37;
  --gold-soft: #f0d98c;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --glass: rgba(10, 37, 64, 0.72);
  --glass-light: rgba(255, 253, 248, 0.06);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 8px 32px rgba(10, 37, 64, 0.18);
  --shadow-lg: 0 20px 60px rgba(6, 26, 48, 0.42);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.22);

  --font: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Georgia", "Segoe UI", system-ui, serif;
  --tracking-display: 0.02em;

  --motion-fast: 0.15s;
  --motion-base: 0.25s;
  --motion-slow: 0.5s;
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 0.001s;
    --motion-base: 0.001s;
    --motion-slow: 0.001s;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ivory);
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(212, 175, 55, 0.1), transparent 60%),
    linear-gradient(160deg, #0a2540 0%, #134e6f 45%, #1a6b8a 100%);
  background-attachment: fixed;
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.45;
}

/* iOS Safari: fixed backgrounds break scroll + tap hit-testing on long pages. */
@supports (-webkit-touch-callout: none) {
  body {
    background-attachment: scroll;
  }
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: var(--turquoise);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
}

.glass-panel {
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.glass-panel--gold {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow), var(--shadow-gold);
}

/* Λεπτή, μία-φορά shine κίνηση σε premium στοιχεία· ποτέ σε loop ώστε να μη
   αποσπά την προσοχή ή να καθυστερεί interaction. */
.luxury-shine {
  position: relative;
  overflow: hidden;
}

.luxury-shine::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.16) 50%, transparent 60%);
  transform: translateX(-100%);
  pointer-events: none;
}

.luxury-shine:hover::after,
.luxury-shine:focus-visible::after {
  transition: transform var(--motion-slow) var(--ease-luxury);
  transform: translateX(100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--turquoise), #00d4aa);
  color: var(--navy);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--ivory);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: #c0392b;
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.customer-comment-critical {
  background: #050505;
  color: #00b7ff;
  font-weight: 800;
  text-shadow: 0 0 8px rgba(0, 183, 255, 0.75);
  border: 1px solid rgba(0, 183, 255, 0.8);
  border-radius: 10px;
  padding: 8px 10px;
}

.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--ivory);
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--turquoise);
  z-index: 9999;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, 8px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
