/*!
Theme Name: Mindful Memories Initiative
Description: A modern, responsive theme for the Mindful Memories Initiative nonprofit organization
Version: 1.0
Author: Mindful Memories Initiative
*/

/* CSS Variables */
:root {
  --primary-red: #D84545;
  --dark-gray: #1F2937;
  --neutral-gray: #6B7280;
  --light-beige: #FEFCF9;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-700: #374151;
  --gray-900: #111827;
  --red-700: #B91C1C;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: var(--white);
}

.bg-primary-red {
  background-color: var(--primary-red);
}

.bg-light-beige {
  background-color: var(--light-beige);
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.bg-gray-100 {
  background-color: var(--gray-100);
}

.text-white {
  color: var(--white);
}

.text-primary-red {
  color: var(--primary-red);
}

.text-dark-gray {
  color: var(--dark-gray);
}

.text-neutral-gray {
  color: var(--neutral-gray);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-900 {
  color: var(--gray-900);
}

/* Navigation */
.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.z-50 {
  z-index: 50;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.border-b {
  border-bottom: 1px solid var(--gray-100);
}

.border-gray-100 {
  border-color: var(--gray-100);
}

.border-t {
  border-top: 1px solid var(--gray-100);
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.pb-8 {
  padding-bottom: 2rem;
}

.p-8 {
  padding: 2rem;
}

.sm\:px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.lg\:px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.lg\:py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.h-16 {
  height: 4rem;
}

.h-6 {
  height: 1.5rem;
}

.w-6 {
  width: 1.5rem;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

.w-64 {
  width: 16rem;
}

.w-80 {
  width: 20rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.h-auto {
  height: auto;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.flex-1 {
  flex: 1;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-8 > * + * {
  margin-top: 2rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.text-center {
  text-align: center;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.font-light {
  font-weight: 300;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.opacity-90 {
  opacity: 0.9;
}

.no-underline {
  text-decoration: none;
}

.cursor-pointer {
  cursor: pointer;
}

.transition-colors {
  transition: color 0.15s ease-in-out;
}

.transition-transform {
  transition: transform 0.15s ease-in-out;
}

.duration-200 {
  transition-duration: 200ms;
}

.hover\:text-primary-red:hover {
  color: var(--primary-red);
}

.hover\:border-red-700:hover {
  border-color: var(--red-700);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.overflow-hidden {
  overflow: hidden;
}

.border-4 {
  border-width: 4px;
}

.border-primary-red {
  border-color: var(--primary-red);
}

.object-cover {
  object-fit: cover;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Responsive Design */
@media (min-width: 640px) {
  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  
  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  
  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
  
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .md\:gap-16 {
    gap: 4rem;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }
  
  .lg\:hidden {
    display: none;
  }
  
  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
  
  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }
  
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Button Styles - Match React version exactly */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
}

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

.btn-primary:hover {
  background-color: var(--red-700);
  color: var(--white);
  border-color: var(--red-700);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background-color: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-gray);
  border: 2px solid var(--dark-gray);
}

.btn-outline:hover {
  background-color: var(--dark-gray);
  color: var(--white);
}

.btn-hero-primary {
  background-color: var(--white);
  color: var(--primary-red);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: 2px solid var(--white);
}

.btn-hero-primary:hover {
  background-color: var(--gray-100);
  color: var(--primary-red);
  border-color: var(--gray-100);
}

.btn-hero-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.btn-hero-secondary:hover {
  background-color: var(--white);
  color: var(--primary-red);
  border-color: var(--white);
}

/* List Styles */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin-bottom: 0.25rem;
}

/* Footer */
.bg-dark-gray {
  background-color: var(--dark-gray);
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}

/* Paragraphs */
p {
  margin: 0;
}

/* Custom Utility Classes */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inline-block {
  display: inline-block;
}

.transform {
  transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.border-solid {
  border-style: solid;
}

.border-transparent {
  border-color: transparent;
}

.outline-none {
  outline: none;
}

.focus\:outline-none:focus {
  outline: none;
}

.appearance-none {
  appearance: none;
}

.resize-none {
  resize: none;
}

.select-none {
  user-select: none;
}

.pointer-events-none {
  pointer-events: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Additional utility classes for React compatibility */
.rounded-md {
  border-radius: 0.375rem;
}

.bg-red-700 {
  background-color: var(--red-700);
}

.hover\:bg-red-700:hover {
  background-color: var(--red-700);
}

.hover\:underline:hover {
  text-decoration: underline;
}

.transition-opacity {
  transition: opacity 0.15s ease-in-out;
}

.duration-200 {
  transition-duration: 200ms;
}

/* Text color utilities */
.text-gray-600 {
  color: #6B7280;
}

/* Margin utilities */
.md\:space-y-0 > * + * {
  margin-top: 0;
}

.md\:space-x-6 > * + * {
  margin-left: 1.5rem;
}

/* Responsive text alignment */
.md\:text-left {
  text-align: left;
}

@media (min-width: 768px) {
  .md\:text-left {
    text-align: left;
  }
  
  .md\:space-y-0 > * + * {
    margin-top: 0;
  }
  
  .md\:space-x-6 > * + * {
    margin-left: 1.5rem;
  }
}