/*
  Legal pages styles for Cluck & Care.
  This CSS defines the layout and look for the Privacy Policy, Terms of Service
  and Thank You pages. It harmonizes with the overall site aesthetic while
  maintaining readability for long-form legal content.
*/

:root {
  --primary: #ff6500;
  --dark: #1e1e1e;
  --light: #fdf8e7;
  --text-dark: #333;
  --text-light: #fff;
  --card-bg: #fff;
  --card-shadow: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--light);
}

a {
  color: inherit;
  text-decoration: none;
}

.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-light);
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-item {
  font-size: 16px;
  color: var(--text-light);
  padding: 8px 0;
  transition: color 0.3s;
}
.nav-item:hover,
.nav-item.active {
  color: var(--primary);
}
.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 16px;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  opacity: 0.85;
}
.burger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}
.burger .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}


/* Hero / Banner */
.legal-hero {
  position: relative;
  height: 60vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  color: var(--text-light);
  text-align: center;
}
.legal-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
}
.legal-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}
.legal-hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}
.legal-hero p {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* General section styling */
.legal-section {
  padding: 60px 0;
}
.legal-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: var(--dark);
  text-align: center;
}
.legal-section .content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
}
.legal-section .content h3 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 24px;
  color: var(--primary);
}
.legal-section .content p {
  margin-bottom: 20px;
}
.legal-section .content ul {
  margin-left: 20px;
  margin-bottom: 20px;
}
.legal-section .content ul li {
  margin-bottom: 10px;
  list-style-type: disc;
}

/* Contact cards section for legal pages */
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 40px 0;
}
.contact-card {
  flex: 1 1 260px;
  background-color: var(--dark);
  color: var(--text-light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px var(--card-shadow);
}
.contact-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.contact-card p {
  font-size: 16px;
  line-height: 1.4;
}
.contact-card a {
  color: var(--primary);
  text-decoration: underline;
}

/* Thank you page styling */
.thank-you-message {
  text-align: center;
  padding: 80px 20px;
}
.thank-you-message h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--primary);
}
.thank-you-message p {
  font-size: 18px;
  margin-bottom: 30px;
}
.thank-you-message a {
  display: inline-block;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 20px;
  transition: opacity 0.3s;
}
.thank-you-message a:hover {
  opacity: 0.85;
}

/* ------------------------------------------------------------------ */
/* Additional styling to approximate the header, hero and footer from
   the contact and main pages. These rules mirror the dark navigation,
   overlay hero and multi-column footer used throughout Cluck & Care. */

/* Navigation bar */
.navbar {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--text-light);
  z-index: 1000;
  padding-top: 24px;
}
.nav-content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand-logo {
  height: 40px;
}
.navigation-menu-wrapper {
  display: flex;
  align-items: center;
}
.navigation-menu {
  display: flex;
  gap: 24px;
}
.navigation-link-wrapper {
  position: relative;
  overflow: hidden;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.button {
  background-color: var(--text-light);
  color: var(--dark);
  border-radius: 9999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s;
}
.button-content {
  display: flex;
  align-items: center;
  gap: 8px;
}
.button-text {
  font-weight: 500;
}
.button-dot {
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}
.button:hover {
  opacity: 0.9;
}
.menu-button-line-wrapper {
  width: 30px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.menu-icon-top,
.menu-icon-middle,
.menu-icon-bottom {
  width: 30px;
  height: 2px;
  background-color: var(--text-light);
  margin: 3px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-button.open .menu-icon-top {
  transform: translateY(5px) rotate(45deg);
}
.menu-button.open .menu-icon-middle {
  opacity: 0;
}
.menu-button.open .menu-icon-bottom {
  transform: translateY(5px) rotate(-45deg);
}

/* Hero section */


.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 160px 24px 40px;
  color: var(--text-light);
}
.hero-top-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  mix-blend-mode: normal;
}
.hero-sub-title {
  font-size: 18px;
  font-weight: 500;
}
.hero-title {
  font-size: 42px;
  font-weight: 700;
}
.hero-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}
.hero-bottom-left-descption-wrap {
  border-left: 1px solid rgba(255, 255, 255, 0.5);
  padding-left: 24px;
  max-width: 550px;
}
.hero-bottom-left-descption {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}
.hero-bottom-right-service-tag {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-service-tag {
  font-size: 14px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 6px 12px;
  border-radius: 50px;
  color: var(--text-light);
}

