/* ==========================================================================
   STYLE.CSS — Siti Web su Selezione
   Deep Ocean Dark Palette from soluzionisitiweb.dynamic-web.space
   Primary Blue: #609DFF | Royal Blue: #0858f7 | Cyan: #38bdf8
   ========================================================================== */

:root {
  --bg-base: #060e12;
  --bg-surface: #0a171d;
  --bg-card: rgba(11, 23, 29, 0.88);
  --blue-accent: #609DFF;
  --blue-royal: #0858f7;
  --cyan-accent: #38bdf8;
  --text-main: #FFFFFF;
  --text-body: #E2E8F0;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.12);
}

body {
  background-color: var(--bg-base);
  color: var(--text-body);
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.serif {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Touch targets WCAG */
button, a {
  touch-action: manipulation;
}

/* Background Mesh */
.hero-ocean-mesh {
  background: 
    radial-gradient(circle at 50% 0%, rgba(96, 157, 255, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 100% 35%, rgba(8, 88, 247, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 0% 70%, rgba(56, 189, 248, 0.08) 0%, transparent 50%),
    #060e12;
  background-attachment: fixed;
}

/* Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: rgba(96, 157, 255, 0.55);
  box-shadow: 0 20px 45px -12px rgba(8, 88, 247, 0.28);
}

/* Blue Gradient Button */
.btn-brand-gradient {
  background: linear-gradient(135deg, #609DFF 0%, #0858f7 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 25px rgba(96, 157, 255, 0.35);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-brand-gradient:hover {
  background: linear-gradient(135deg, #84c1fa 0%, #2c88f7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(96, 157, 255, 0.55);
}

/* Responsive Video Container 16:9 */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: 1rem;
  overflow: hidden;
  background: #091319;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.9);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* YouTube Shorts Container 9:16 */
.shorts-container {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #091319;
  border: 1px solid rgba(96, 157, 255, 0.35);
  box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(96, 157, 255, 0.2);
}

.shorts-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #060e12;
}
::-webkit-scrollbar-thumb {
  background: #152631;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #233e4f;
}
