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

:root {
  --primary-brown: #8B4513;
  --secondary-brown: #A0522D;
  --accent-gold: #FFD700;
  --warm-cream: #FFF8DC;
  --light-tan: #F4A460;
  --dark-brown: #654321;
  --text-dark: #2C1810;
  --text-light: #6B4E37;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --shadow: rgba(139, 69, 19, 0.1);
  --shadow-dark: rgba(139, 69, 19, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--warm-cream), var(--light-tan));
  --gradient-overlay: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(160, 82, 45, 0.6));
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-brown);
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary-brown);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--secondary-brown);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

a {
  color: var(--primary-brown);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--secondary-brown);
  text-decoration: underline;
}

/* Header - Modern Design */
.header {
  position: relative;
  background: linear-gradient(135deg, var(--warm-cream), var(--light-tan));
  padding: 3rem 0;
  text-align: center;
  overflow: hidden;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/1099680/pexels-photo-1099680.jpeg?auto=compress&cs=tinysrgb&w=1920&h=600&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.header .container {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.logo {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.3));
}

.brand-name {
  color: var(--primary-brown);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.1);
}

.tagline {
  font-size: 1.1rem;
  color: var(--secondary-brown);
  font-weight: 500;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.1);
}

/* Page Hero - Enhanced Design */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--light-gray), var(--warm-cream));
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/376464/pexels-photo-376464.jpeg?auto=compress&cs=tinysrgb&w=1920&h=800&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(139, 69, 19, 0.1);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--secondary-brown);
  font-weight: 500;
  margin-bottom: 1rem;
}

.last-updated {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
  backdrop-filter: blur(5px);
}

/* Content Sections - Modern Layout */
section {
  padding: 4rem 0;
  position: relative;
}

section:nth-child(even) {
  background: linear-gradient(135deg, var(--light-gray), rgba(255, 248, 220, 0.3));
}

/* About Page Specific Styles */
.our-story, .our-mission, .our-process {
  padding: 5rem 0;
  position: relative;
}

.our-story {
  background-image: url('https://images.pexels.com/photos/302899/pexels-photo-302899.jpeg?auto=compress&cs=tinysrgb&w=1920&h=800&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.our-story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.95), rgba(244, 164, 96, 0.9));
  z-index: 0;
}

.our-story .container {
  position: relative;
  z-index: 1;
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 12px 30px var(--shadow-dark);
  backdrop-filter: blur(10px);
}

.story-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.mission-item {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  position: relative;
  overflow: hidden;
}

.mission-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-gold));
}

.mission-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.process-step {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.step-number {
  background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

/* Policy Pages Styles - Enhanced Design */
.policy-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 0;
}

.policy-section {
  margin-bottom: 4rem;
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  position: relative;
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all 0.3s ease;
}

.policy-section:hover {
  box-shadow: 0 12px 35px var(--shadow-dark);
}

.policy-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-brown), var(--accent-gold));
  border-radius: 20px 20px 0 0;
}

.policy-section h2 {
  color: var(--primary-brown);
  border-bottom: 2px solid var(--light-tan);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.policy-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
}

.policy-section h3 {
  color: var(--secondary-brown);
  margin-top: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}

.policy-section h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.policy-section ul {
  margin-left: 1.5rem;
  position: relative;
}

.policy-section li {
  margin-bottom: 1rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1rem;
}

.policy-section li::before {
  content: '•';
  color: var(--accent-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Contact Section - Enhanced */
.contact-section {
  background: linear-gradient(135deg, var(--light-gray), rgba(255, 248, 220, 0.5));
  padding: 4rem 0;
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/4246120/pexels-photo-4246120.jpeg?auto=compress&cs=tinysrgb&w=1920&h=600&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 0;
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.contact-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 8px 25px var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1);
  backdrop-filter: blur(10px);
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.contact-item h3 {
  color: var(--primary-brown);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-item a {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-brown);
  transition: all 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-brown);
  text-decoration: none;
}

/* Footer - Enhanced Design */
.footer {
  background: linear-gradient(135deg, var(--primary-brown), var(--secondary-brown));
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://images.pexels.com/photos/1775043/pexels-photo-1775043.jpeg?auto=compress&cs=tinysrgb&w=1920&h=400&fit=crop');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-brand-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--warm-cream);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-links a:hover::before {
  width: 80%;
}

.footer-info p {
  color: var(--warm-cream);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Image Enhancements */
.hero-image, .section-image {
  border-radius: 20px;
  box-shadow: 0 12px 30px var(--shadow-dark);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.hero-image:hover, .section-image:hover {
  transform: scale(1.02);
}

.hero-image img, .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Decorative Elements */
.decorative-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, var(--accent-gold), var(--light-tan));
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.decorative-element:nth-child(1) {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.decorative-element:nth-child(2) {
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .brand {
    flex-direction: column;
    gap: 1rem;
  }
  
  .brand-name {
    font-size: 2rem;
  }
  
  .logo {
    width: 50px;
    height: 50px;
  }
  
  .page-hero h1 {
    font-size: 2.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .policy-section {
    padding: 2rem;
    margin-bottom: 3rem;
  }
  
  .story-content {
    padding: 2rem;
  }
  
  .mission-content,
  .process-steps,
  .contact-info {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    gap: 1rem;
    flex-direction: column;
  }
  
  .our-story {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .brand {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .brand-name {
    font-size: 1.8rem;
  }
  
  .logo {
    width: 45px;
    height: 45px;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .tagline {
    font-size: 0.95rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .container {
    padding: 0 10px;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .policy-section {
    padding: 1.5rem;
  }
  
  .story-content {
    padding: 1.5rem;
  }
  
  .mission-item,
  .process-step,
  .contact-item {
    padding: 2rem;
  }
  
  .footer-links {
    gap: 0.5rem;
  }
}

@media (max-width: 360px) {
  .brand-name {
    font-size: 1.6rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .tagline {
    font-size: 0.9rem;
  }
  
  .policy-section {
    padding: 1rem;
  }
  
  .story-content {
    padding: 1rem;
  }
}