/* ========================================
   SavooVid - Pages Stylesheet
   For: disclaimer.html, privacy.html
   ======================================== */

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #121e25, #14142b, #1f1110);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #fff;
  margin: 0;
  padding: 0;
  line-height: 1.7;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* NAVBAR styles (shared with index) */
.navbar {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .logo img { 
  height: 40px; 
  width: auto; 
}

.nav-links { 
  display: flex; 
  gap: 20px; 
}

.navbar a { 
  color: #fff; 
  text-decoration: none; 
  font-weight: 500; 
  transition: 0.3s; 
}

.navbar a:hover { 
  color: #f09819; 
}

.menu-toggle { 
  display: none; 
  font-size: 2rem; 
  cursor: pointer; 
  color: #fff; 
}

.nav-right { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.lang-select {
  background: rgba(255,255,255,0.02);
  padding: 6px 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.03);
}

.lang-select select {
  background: rgb(244, 240, 240);
  color: #170808;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  min-width: 120px;
  -webkit-appearance: none;
  appearance: none;
}

.lang-select i { 
  color: #ffda79; 
  font-size: 0.95rem; 
}

/* Responsive Menu */
@media (max-width: 768px) {
  .menu-toggle { 
    display: block; 
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 0;
    display: none;
    border-radius: 0 0 12px 12px;
    animation: slideDown 0.4s ease;
  }

  .nav-right { 
    gap: 8px; 
  }

  .nav-links.show { 
    display: flex; 
  }

  .nav-links a { 
    font-size: 1.2rem; 
    width: 100%; 
    text-align: center; 
    padding: 10px 0; 
  }

  @keyframes slideDown {
    from { 
      transform: translateY(-20px); 
      opacity: 0; 
    }
    to { 
      transform: translateY(0); 
      opacity: 1; 
    }
  }
}

/* Main Content */
main {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  background: rgba(0,0,0,0.75);
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
}

/* RTL Support */
[dir="rtl"] main { 
  direction: rtl; 
  text-align: right; 
}

[dir="rtl"] h1, 
[dir="rtl"] h2 { 
  text-align: right; 
}

/* Typography */
h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 20px;
  color: #ffda79;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

h2 {
  color: #f09819;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
  padding-bottom: 5px;
}

p {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 15px;
}

a {
  color: #00aced;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer p {
  margin: 0;
}

footer a {
  color: #ffda79;
  text-decoration: none;
  margin: 0 5px;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  main {
    margin: 20px;
    padding: 25px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
