/* Uniq Winders – Legal Pages – Shared Stylesheet */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Playfair Display', 'Georgia', serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
}

/* Header with logo */
.header {
  background: #4A3041;
  padding: 40px 60px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-img {
  height: 60px;
  width: auto;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Document Selector (tabs) */
.doc-selector {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 40px 60px 20px;
  background: white;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.doc-selector button {
  background: transparent;
  border: 1px solid #e0e0e0;
  padding: 10px 24px;
  cursor: pointer;
  border-radius: 0;
  font-weight: 400;
  font-size: 13px;
  color: #000000;
  transition: all 0.3s ease;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.doc-selector button:hover {
  background: #f8f8f8;
  border-color: #4A3041;
}

.doc-selector button.active {
  background: #4A3041;
  color: white;
  border-color: #4A3041;
}

/* Language Selector (links) */
.lang-selector {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 60px 0;
  background: white;
  border-top: 1px solid #f0f0f0;
  flex-wrap: wrap;
}

.lang-selector a {
  display: inline-block;
  background: transparent;
  border: 1px solid #e0e0e0;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 0;
  font-weight: 400;
  font-size: 12px;
  color: #000000;
  transition: all 0.3s ease;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  text-decoration: none;
  border-bottom: 1px solid #e0e0e0;
}

.lang-selector a:hover {
  background: #f8f8f8;
  border-color: #4A3041;
}

.lang-selector a.active {
  background: #4A3041;
  color: white;
  border-color: #4A3041;
}

/* Document content toggle */
.doc-content {
  display: none;
}

.doc-content.active {
  display: block;
}

/* Content Area */
.content-wrapper {
  padding: 60px 80px;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  color: #4A3041;
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 16px;
  line-height: 1.3;
  position: relative;
  padding-bottom: 24px;
  letter-spacing: 1px;
  font-family: 'Playfair Display', Georgia, serif;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background: #4A3041;
}

h2 {
  color: #4A3041;
  font-size: 24px;
  font-weight: 300;
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  font-family: 'Playfair Display', Georgia, serif;
}

h3 {
  color: #4A3041;
  font-size: 19px;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 12px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

p {
  margin-bottom: 20px;
  color: #000000;
  font-size: 16px;
  font-weight: 300;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

p em {
  color: #666666;
  font-style: italic;
  font-size: 14px;
}

p strong {
  color: #000000;
  font-weight: 500;
}

ul {
  list-style-type: none;
  margin-bottom: 24px;
  margin-left: 0;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: #000000;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 4px;
  height: 4px;
  background: #4A3041;
  border-radius: 0;
}

ul ul {
  margin-top: 12px;
  margin-bottom: 12px;
}

ul ul li::before {
  width: 3px;
  height: 3px;
  background: #999999;
}

.section {
  margin-bottom: 48px;
}

/* Footer */
footer {
  text-align: center;
  font-size: 13px;
  color: #666666;
  padding: 40px 60px;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  margin-top: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Links */
a {
  color: #4A3041;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: #4A3041;
}

/* RTL Support (Arabic) */
html[dir="rtl"] h1::after {
  left: auto;
  right: 0;
}

html[dir="rtl"] ul li {
  padding-left: 0;
  padding-right: 32px;
}

html[dir="rtl"] ul li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] p[style*="margin-left"] {
  margin-left: 0 !important;
  margin-right: 32px;
}

/* Language Selector Landing Page */
.landing-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #fafafa;
}

.landing-container {
  max-width: 700px;
  width: 100%;
  margin: 40px auto;
  background: #ffffff;
  text-align: center;
}

.landing-title {
  font-size: 18px;
  font-weight: 300;
  color: #666666;
  margin: 40px 60px 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.landing-subtitle {
  font-size: 14px;
  font-weight: 300;
  color: #999999;
  margin: 0 60px 40px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.lang-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: #e0e0e0;
  margin: 0;
}

.lang-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 32px 24px;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: none;
}

.lang-grid a:hover {
  background: #4A3041;
  color: white;
  border-bottom: none;
}

.lang-grid a .lang-code {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}

.lang-grid a .lang-name {
  font-size: 16px;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 300;
}

.landing-footer {
  padding: 32px 60px;
  background: #fafafa;
  text-align: center;
  font-size: 13px;
  color: #666666;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    margin: 0;
  }

  .header {
    padding: 32px 32px;
  }

  .logo-img {
    height: 45px;
  }

  .logo-text {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .doc-selector {
    padding: 24px 32px 16px;
    gap: 8px;
  }

  .doc-selector button {
    padding: 8px 16px;
    font-size: 11px;
  }

  .lang-selector {
    padding: 16px 32px 0;
    gap: 6px;
  }

  .lang-selector a {
    padding: 6px 10px;
    font-size: 11px;
  }

  .content-wrapper {
    padding: 40px 32px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 20px;
  }

  p, ul li {
    font-size: 15px;
  }

  footer {
    padding: 32px 32px;
    font-size: 12px;
  }

  .landing-title {
    margin: 30px 32px 10px;
  }

  .landing-subtitle {
    margin: 0 32px 30px;
  }

  .lang-grid {
    grid-template-columns: 1fr;
  }

  .lang-grid a {
    padding: 24px 20px;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #ffffff;
}

::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #4A3041;
}
