/* ============================================
   POLICIES PAGE STYLES
   ============================================ */

.policies-page {
  background-color: #fafafa;
  padding: 120px 20px 80px 20px;
  flex: 1;
  position: relative;
}

/* Background Images for Specific Policy Pages */
.policies-page.accessibility-page {
  background-image: url('../Image Assets/Background Pictures/accessibility.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.policies-page.cookie-page {
  background-image: url('../Image Assets/Background Pictures/cookie.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.policies-page.legal-page {
  background-image: url('../Image Assets/Background Pictures/Legal.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.policies-page.privacy-page {
  background-image: url('../Image Assets/Background Pictures/privacy.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.policies-page.terms-page {
  background-image: url('../Image Assets/Background Pictures/terms.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Add overlay for better text readability */
.policies-page.accessibility-page::before,
.policies-page.cookie-page::before,
.policies-page.legal-page::before,
.policies-page.privacy-page::before,
.policies-page.terms-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.75);
  z-index: 0;
}

.policies-page .policies-container {
  position: relative;
  z-index: 1;
}

.policies-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.policies-header {
  margin-bottom: 50px;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.breadcrumb {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #666666;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.policies-page-title {
  font-size: 3rem;
  font-weight: 300;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: 1px;
  font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Layout */
.policies-layout {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  justify-content: flex-start;
  max-width: 100%;
  margin: 0;
  width: 100%;
}

.policies-main {
  flex: 1;
  max-width: 1000px;
  margin: 0;
}

.policies-intro {
  font-size: 16px;
  line-height: 1.9;
  color: #1a1a1a;
  margin: 0 0 20px 0;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

/* Policy Section */
.policy-section {
  margin-bottom: 50px;
  scroll-margin-top: 140px;
}

.policy-section:last-child {
  margin-bottom: 0;
}

.policy-section p {
  font-size: 15px;
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section ul {
  margin: 20px 0;
  padding-left: 25px;
  list-style-type: disc;
}

.policy-section li {
  font-size: 15px;
  line-height: 1.9;
  color: #1a1a1a;
  margin-bottom: 12px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.policy-section li:last-child {
  margin-bottom: 0;
}

.policy-section strong {
  font-weight: 600;
  color: #1a1a1a;
}

.policy-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
  padding-left: 0;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

/* Policy Text */
.policy-text {
  color: #1a1a1a;
  line-height: 1.9;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
}

.policy-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 30px;
  margin-bottom: 15px;
  letter-spacing: 0.3px;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}

.policy-text h3:first-child {
  margin-top: 0;
}

.policy-text p {
  margin-bottom: 20px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.policy-text p:last-child {
  margin-bottom: 0;
}

.policy-text ul {
  margin: 20px 0;
  padding-left: 25px;
  list-style-type: disc;
}

.policy-text li {
  margin-bottom: 12px;
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.policy-text li:last-child {
  margin-bottom: 0;
}

.policy-text strong {
  color: #1a1a1a;
  font-weight: 600;
}

.policy-text a {
  color: #1a1a1a;
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.policy-text a:hover {
  opacity: 0.6;
}

/* Sidebar Navigation */
.policies-sidebar {
  position: sticky;
  top: 140px;
  min-width: 265px;
  max-width: 265px;
  overflow-x: hidden;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-link {
  font-size: 14px;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  font-style: italic;
  transition: opacity 0.3s ease;
  line-height: 1.7;
  display: inline-block;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.sidebar-link:hover {
  opacity: 0.5;
  text-decoration: underline;
}

.sidebar-link.active {
  font-weight: 600;
  opacity: 1;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 968px) {
  .policies-layout {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .policies-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px 30px;
  }

  .policies-main {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .policies-page {
    padding: 100px 20px 60px 20px;
  }

  .policies-container {
    padding: 0 20px;
  }

  .policies-header {
    margin-bottom: 40px;
  }

  .breadcrumb {
    font-size: 10px;
  }

  .policies-page-title {
    font-size: 2rem;
  }

  .policies-layout {
    gap: 30px;
  }

  .policies-intro {
    font-size: 14px;
  }

  .policy-section {
    margin-bottom: 40px;
  }

  .policy-title {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .policy-text {
    font-size: 13px;
  }

  .policy-text h3 {
    font-size: 15px;
    margin-top: 25px;
    margin-bottom: 12px;
  }

  .policy-text p,
  .policy-section p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .policy-text li,
  .policy-section li {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .sidebar-link {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .policies-page {
    padding: 90px 15px 50px 15px;
  }

  .policies-container {
    padding: 0 15px;
  }

  .policies-page-title {
    font-size: 1.8rem;
  }

  .sidebar-nav {
    flex-direction: column;
    gap: 12px;
  }
}
