/* ========= Legal Pages Styles (Terms & Privacy) ========= */

:root {
  --primary: #b0926a;
  --secondary: #b0926a;
  --third: #d1bfa6;
  --fourth: rgba(196, 122, 43, 0.966);
  --accent-orange: #f97316;
  --accent-red: #ef4444;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body.legal-page {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: var(--legal-bg);
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color:aliceblue;
}

.legal-wrapper {      
  max-width: auto;
  padding: 0 1.5rem;
  margin: 0 1rem;
}

.legal-wrapper h1 {
  /*margin-bottom: 1rem;*/
  font-family: 'Playfair Display', serif;
  color: #111;
  font-weight: 900;
  text-align: center;
}

.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.menu li {
  position: relative;
  cursor: pointer;
}

.menu li a {
  text-decoration: none;
  color: var(--text-color);
}

/*.dropdown-menu {
  display: none;
  position: absolute;
  background: #fff;
  top: 2.5rem;
  left: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-radius: 6px;
  z-index: 999;
}*/

.dropdown-menu li {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

.dropdown-menu li a {
  color: var(--text-color);
}

.menu a:hover,
.menu a.active {
  color: var(--third-color);
}

.legal-header h1 {
  color: var(--primary);
  font-size: 3rem;
  /*margin-bottom: 0.5rem;*/
  font-family: 'Playfair Display', serif;
}

.legal-section {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--legal-border);
}

.legal-section span {
    font-weight: 600;
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section h2 {
  color: var(--text-dark);
  font-size: 1 rem;
  margin-bottom: 0.6rem;
  font-weight: 500;
  font-family: 'Playfair Display', serif;
}

.legal-section p,
.legal-section ul {
  margin-bottom: 1rem;
}

.legal-section ul {
  margin-left: 1.5rem;
  list-style: disc;
}

.legal-link {
  color: var(--legal-primary);
  text-decoration: none;
}

.legal-link:hover {
  text-decoration: underline;
}

/* Footer */
.legal-footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--third);
  border-top: 1px solid #ddd;
  background: var(--text-dark);
  border-top: 1px solid #ddd;
  margin-top: 3rem;
}

.legal-footer a {
  color: var(--legal-primary);
  text-decoration: none;
  margin: 0 0.3rem;
}

.legal-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .legal-wrapper {
    margin: 3rem auto;
  }

  .legal-header h1 {
    font-size: 1.6rem;
  }
}
