/* LEGAL PAGES CSS */

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 50px 0;
  transition: all 0.3s ease;
}

.logo-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
}

.logo-nav .logo img {
  width: 200px;
  height: auto;
}

.hamburger {
  position: fixed;
  right: 55px;
  top: 65px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 999;
  border: 2px solid var(--black);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  justify-content: center;
  align-items: center;
}

.hamburger div {
  width: 30px;
  height: 2px;
  background-color: var(--black);
  transition: all 0.3s ease;
}

/* Navigation Menu Styles */
.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1001;
  transition: right 0.3s ease;
  overflow: hidden;
}

.nav-menu.active {
  right: 0;
}

.nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
}

.nav-close span {
  color: var(--black);
  font-size: 30px;
  font-weight: 300;
  transition: color 0.3s ease;
}

.nav-close:hover span {
  color: var(--beige);
}

.nav-content {
  padding: 100px 40px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-logo {
  margin-bottom: 40px;
}

.nav-logo img {
  width: 100px;
  height: auto;
}

.nav-links {
  list-style: none;
  width: 100%;
}

.nav-links li {
  margin: 0;
  border-bottom: 1px solid var(--beige);
}

.nav-links li:last-child {
  border-bottom: none;
}

.nav-links a {
  display: block;
  color: var(--black);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 20px 0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--beige);
}

/* Main Legal Content */
.legal-main {
  padding-top: 180px;
  padding-bottom: 80px;
  background-color: var(--white);
  min-height: 100vh;
}

.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.legal-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--beige);
}

.legal-header h1 {
  font-size: 3rem;
  color: var(--black);
  margin-bottom: 20px;
  font-family: 'Butler Ultra Light', sans-serif;
  letter-spacing: 0.05em;
}

.last-updated {
  font-size: 1rem;
  color: var(--black);
  font-style: italic;
  font-family: 'Inter', sans-serif;
  opacity: 0.8;
}

.legal-content {
  margin-bottom: 60px;
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(200, 184, 149, 0.3);
}

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

.legal-section h2 {
  font-size: 1.8rem;
  color: var(--black);
  margin-bottom: 20px;
  font-family: 'Butler Ultra Light', sans-serif;
  font-weight: 300;
}

.legal-section p {
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
  margin-bottom: 15px;
}

.legal-section a {
  color: var(--black);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: var(--beige);
}

.legal-footer {
  text-align: center;
  padding: 40px 0;
  border-top: 1px solid var(--beige);
  background-color: rgba(200, 184, 149, 0.1);
}

.legal-footer p {
  font-size: 1rem;
  color: var(--black);
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

.legal-footer a {
  color: var(--black);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.legal-footer a:hover {
  color: var(--beige);
}

/* Footer Styles (Reusing from home.css) */
.footer {
  background-color: var(--white);
  padding: 80px 0 40px;
  border-top: 1px solid var(--black);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--beige);
}

.footer-logo img {
  width: 180px;
  height: auto;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 50px;
}

.footer-section {
  padding: 30px 20px;
  border-right: 1px solid var(--beige);
}

.footer-section:last-child {
  border-right: none;
}

.footer-section h4 {
  font-size: 1.2rem;
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(200, 184, 149, 0.3);
}

.footer-section ul li:last-child {
  border-bottom: none;
}

.footer-section ul li a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: color 0.3s ease;
  display: block;
  padding: 5px 0;
}

.footer-section ul li a:hover {
  color: var(--beige);
}

.social-links {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--black);
  transition: color 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--black);
  border-radius: 50%;
}

.social-links a:hover {
  color: var(--beige);
  transform: scale(1.1);
  border-color: var(--beige);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--black);
}

.footer-bottom p {
  color: var(--black);
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legal-container {
    padding: 0 20px;
  }
  
  .legal-header h1 {
    font-size: 2.5rem;
  }
  
  .legal-section h2 {
    font-size: 1.5rem;
  }
  
  .legal-section p {
    font-size: 1rem;
  }
  
  .logo-nav {
    padding: 0 20px;
  }
  
  .logo-nav .logo img {
    width: 120px;
  }
  
  .footer-sections {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .footer-section {
    border-right: none;
    border-bottom: 1px solid var(--beige);
    text-align: center;
  }
  
  .footer-section:last-child {
    border-bottom: none;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-content {
    padding: 0 20px;
  }
}

/* Hamburger Animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Overlay for menu */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}
