@import url('https://fonts.googleapis.com/css2?family=Crimson+Pro:ital,wght@0,400;0,600;0,700;1,400&family=Public+Sans:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --bg-color: #F7F3F0;
  --heading-color: #3D4C46;
  --body-text-color: #4D4D4D;
  --subheading-color: #3D4C46;
  --accent-color: #C99080;
  --font-heading: 'Crimson Pro', serif;
  --font-body: 'Public Sans', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--body-text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  opacity: 0;
  animation: pageFadeIn 1s ease-out forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Subtle Floating Leaves Background Pattern */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 800'%3E%3Cg fill='%23a8a09e' opacity='0.25'%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(150,750) rotate(-35) scale(1.5)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(350,600) rotate(15) scale(1.1)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(80,350) rotate(-65) scale(0.9)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(650,550) rotate(-45) scale(1.8)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(450,250) rotate(50) scale(0.8)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(700,150) rotate(75) scale(1.2)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(250,100) rotate(-15) scale(1.4)'/%3E%3Cpath d='M0 0c30-30 70-30 100 0c-30 30-70 30-100 0z' transform='translate(50,50) rotate(25) scale(1)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 800px 800px;
  background-position: center;
  background-repeat: repeat;
}

h1 {
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
}

h2 {
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.3;
}

h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
}

/* Typography Utilities */
.poetic-text, .reflective-text {
  font-family: var(--font-heading) !important;
  font-style: italic !important;
  color: #2C3E50 !important;
}

.legal-text {
  font-family: var(--font-body) !important;
}

/* Modal and Pop-up Elements */
.popup-box {
  background-color: var(--bg-color);
  border: 1px solid var(--accent-color);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--subheading-color);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2.5rem;
  background-color: var(--bg-color);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1.1rem;
}

.logo-text .name {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--heading-color);
  font-size: 1.1rem;
}

/* Google Translate Customization */
#google_translate_element {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.custom-translate-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.08);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--heading-color);
  font-size: 1rem;
}

.custom-translate-btn:hover {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transform: scale(1.05);
}

.goog-te-banner-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

nav.desktop-nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

nav.desktop-nav li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--heading-color);
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

nav.desktop-nav li a:hover {
  background-color: rgba(189, 208, 212, 0.4);
  transform: translateY(-1px);
}

nav.desktop-nav li a.active {
  background-color: #BDD0D4;
  color: var(--heading-color);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

nav.desktop-nav li:last-child a {
  background-color: var(--heading-color);
  color: white;
  border-radius: 8px;
  padding: 0.7rem 1.4rem;
  margin-left: 1rem;
}

nav.desktop-nav li:last-child a:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

nav.desktop-nav li:last-child a:active {
  transform: scale(0.96);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--subheading-color);
}

.nav-actions i {
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.nav-actions i:hover {
  color: var(--heading-color);
}

/* Hamburger Menu Icon */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--heading-color);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hero {
  text-align: center;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: radial-gradient(circle, rgba(255,255,255,0.7) 0%, rgba(249,247,242,0) 70%);
}

.hero-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--subheading-color);
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 0.85rem;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2.5rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.btn {
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  border: 1px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: #B07A6D;
  border-color: #B07A6D;
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: white;
}

main.page-content {
  padding: 3rem 10%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-title {
  text-align: center;
  margin-bottom: 2rem;
}

.page-title h1 {
  font-size: 2.5rem;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.page-title .divider {
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 0 auto;
}

.content-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media(min-width: 768px) {
  .content-section.two-cols {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.quote-box, .hover-card {
  background-color: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.03), 
    -8px -8px 16px rgba(255, 255, 255, 0.7),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5) !important;
  text-align: center;
  margin: 2.5rem auto;
  max-width: 800px;
  border-left: 4px solid #2C3E50;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
}

.quote-box::before {
  content: "“";
  position: absolute;
  top: -15px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 8rem;
  color: var(--accent-color);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  font-style: normal;
}

.hover-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.05), 
    -12px -12px 24px rgba(255, 255, 255, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6) !important;
}

.quote-box h3 {
  color: #2C3E50;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
}

/* Page Specific Overrides - Using Orange instead of Navy for these pages */
.areas-page .hover-card,
.resources-page .hover-card {
  border-left-color: var(--accent-color) !important;
  border-top-color: var(--accent-color) !important;
  border-bottom-color: var(--accent-color) !important;
}

.areas-page .quote-box,
.resources-page .quote-box {
  border-left-color: var(--accent-color) !important;
}

/* Allow decorative quote marks to reappear with orange tint */
.areas-page .quote-box::before,
.resources-page .quote-box::before {
  display: block !important;
  color: var(--accent-color) !important;
}

footer {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-color);
  border-top: none;
  display: flex;
  justify-content: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 800px;
}

.footer-link {
  color: #2C3E50;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

.footer-disclaimer {
  color: #2C3E50;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-copyright {
  color: var(--subheading-color);
  font-size: 0.95rem;
}
/* Google Translate Customization */
.goog-te-gadget-simple {
  background-color: rgba(189, 208, 212, 0.2) !important;
  border: 1px solid rgba(189, 208, 212, 0.5) !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 20px !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  color: var(--heading-color) !important;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.goog-te-gadget-simple:hover {
  background-color: rgba(189, 208, 212, 0.4) !important;
  transform: translateY(-1px);
}

.goog-te-gadget-simple .goog-te-menu-value {
  color: var(--heading-color) !important;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.goog-te-gadget-simple .goog-te-menu-value span {
  color: var(--heading-color) !important;
  border-left: none !important;
}

.goog-te-gadget-icon {
  display: none !important;
}

body {
  top: 0 !important;
}

.skiptranslate.goog-te-banner-frame {
  display: none !important;
}

/* Base Responsive Image Fix */
img {
  max-width: 100%;
  height: auto;
}

/* Interactive Cards */
/* Styles moved to global quote-box/hover-card section */

/* Mobile Menu Overlay */
/* Responsive Header Adjustments */
@media (max-width: 1100px) {
  .mobile-menu-toggle {
    display: block;
    order: 3;
  }

  .logo-container {
    order: 1;
    flex-shrink: 0;
  }

  .nav-actions {
    order: 2;
    margin-left: auto;
    margin-right: 1.5rem;
    gap: 1.2rem;
  }

  nav.desktop-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    align-items: flex-start;
    gap: 0;
  }

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

  nav.desktop-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
    margin: 0;
    align-items: flex-start;
  }

  nav.desktop-nav li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }

  nav.desktop-nav li a {
    padding: 1.2rem 0;
    font-size: 1.1rem;
    width: 100%;
    border-radius: 0;
  }
  
  nav.desktop-nav li a.active {
    background: none;
    color: var(--accent-color);
    box-shadow: none;
  }

  nav.desktop-nav li:last-child a {
    margin: 2rem 0 0;
    text-align: center;
    justify-content: center;
    width: 100%;
    margin-left: 0;
  }

  header {
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 1rem 1.5rem !important;
    gap: 0 !important;
  }

  .hero {
    padding: 3rem 1.5rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-img {
    width: 120px;
    height: 120px;
  }

  .hero .subtitle {
    font-size: 0.75rem;
    line-height: 1.5;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    gap: 1rem;
    margin: 0 auto;
  }
  
  .btn {
    width: 100%;
  }

  main.page-content {
    padding: 2.5rem 1rem;
  }

  .quote-box {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }

  .quote-box::before {
    font-size: 5rem;
    top: -5px;
    left: 10px;
  }
  
  .page-title h1 {
    font-size: 1.8rem;
  }

  footer {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-text .name {
    font-size: 0.95rem;
  }
  
  .nav-actions {
    margin-right: 1rem;
    gap: 0.8rem;
  }

  .logo-container img {
    height: 55px;
  }
}

/* Info Button and Disclaimer Styles */
.info-btn {
  background: none;
  border: none;
  color: var(--accent-color);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
  transition: all 0.3s ease;
  margin-left: 0.2rem;
  border-radius: 50%;
}

.info-btn:hover {
  opacity: 1;
  background-color: rgba(201, 144, 128, 0.1);
  transform: scale(1.1);
}

.disclaimer-text {
  background: rgba(165, 142, 141, 0.05);
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--body-text-color);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent-color);
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
