/* ==========================================================================
   LEGAL PAGES STYLES (Privacy, Cookie, Terms) - Avelion Yachting
   ========================================================================== */

/* Page variables */
:root {
  --legal-glow: rgba(212, 194, 161, 0.04);
  --legal-border-hover: rgba(212, 194, 161, 0.15);
}

/* Page Hero Adjustments */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 160px 0 100px;
  background: transparent;
}




/* Legal Panel Card */
.legal-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  padding: 50px clamp(24px, 5vw, 60px);
  margin-bottom: 60px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 25px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.6s var(--ease-soft);
}

.legal-panel:hover {
  border-color: var(--legal-border-hover);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 35px 70px rgba(0, 0, 0, 0.5),
    0 0 30px var(--legal-glow);
}

/* Legal Typography */
.legal-panel h2 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--gold);
  margin-top: 40px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 194, 161, 0.15);
  padding-bottom: 10px;
}

.legal-panel h2:first-of-type {
  margin-top: 0;
}

.legal-panel h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.legal-panel p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 20px;
}

/* Lists styling */
.legal-panel ul, 
.legal-panel ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-panel li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 10px;
}

.legal-panel ul li {
  list-style-type: none;
  position: relative;
}

.legal-panel ul li::before {
  content: "•";
  color: var(--gold);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  position: absolute;
  left: 0;
}

.legal-panel ol li {
  list-style-type: decimal;
}

.legal-panel ol li::marker {
  color: var(--gold);
  font-weight: 600;
}

/* Links inside legal text */
.legal-panel a {
  color: var(--gold);
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.legal-panel a:hover {
  color: #FFFFFF;
}

/* Last updated meta */
.legal-meta {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.6;
  margin-bottom: 30px;
  display: block;
}

/* Back Button */
.legal-back-nav {
  margin-bottom: 30px;
}

.btn-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: all 0.3s var(--ease-soft);
}

.btn-legal-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.btn-legal-back:hover {
  color: #FFFFFF;
}

.btn-legal-back:hover svg {
  transform: translateX(-4px);
}
