/* Swiftwater Farm - Custom Styles */
/* Foundation 6 framework with elegant equestrian theme */

:root {
  /* Primary Colors - Grayscale elegance inspired by original */
  --primary-dark: #1a1a1a;
  --primary-medium: #4a4a4a;
  --primary-light: #8a8a8a;

  /* Neutral/Background */
  --gray-50: #fafafa;
  --gray-100: #f3f3f3;
  --gray-200: #ebebeb;
  --gray-300: #d0d0d0;
  --gray-400: #bdbdbd;
  --gray-900: #1a1a1a;

  /* Accent - Deep forest green for natural feel */
  --accent-primary: #2d5016;
  --accent-light: #5a8030;
  --accent-lighter: #8faf6f;

  /* Text */
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  --text-muted: #8a8a8a;
}

/* Global Styles */
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  color: var(--text-primary);
  line-height: 1.7;
  background-color: var(--gray-50);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-300);
}

h3 {
  font-size: 1.5rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--primary-medium);
}

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

a:hover {
  color: var(--accent-light);
}

/* Navigation */
.top-bar {
  background: var(--gray-900);
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.top-bar-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.top-bar-title a {
  color: var(--gray-50);
}

.menu a {
  color: var(--gray-200);
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  padding: 0.7rem 1rem;
  transition: all 0.3s ease;
}

.menu a:hover {
  color: var(--accent-lighter);
  background-color: rgba(255,255,255,0.05);
}

.menu .active a {
  color: #fff;
  background-color: var(--accent-primary);
}

/* Hero Section */
.hero {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.25rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Content Sections */
.content-section {
  background: white;
  padding: 3rem 0;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.content-section:nth-child(even) {
  background: var(--gray-50);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.content-image {
  margin: 2rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-radius: 8px;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
}

li strong {
  color: var(--accent-primary);
}

/* Buttons & Links */
.button {
  background-color: var(--accent-primary);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
  margin: 1rem 0;
}

.button:hover {
  background-color: var(--accent-light);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

/* Callout Boxes */
.callout {
  background: var(--gray-100);
  border-left: 4px solid var(--accent-primary);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 4px 4px 0;
}

.callout h3 {
  margin-top: 0;
  color: var(--accent-primary);
}

/* Footer */
footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer h5 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Cinzel', serif;
}

footer a {
  color: var(--gray-300);
}

footer a:hover {
  color: var(--accent-lighter);
}

footer .footer-bottom {
  border-top: 1px solid var(--gray-400);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* Typography Enhancements */
p {
  margin-bottom: 1.25rem;
}

blockquote {
  border-left: 4px solid var(--accent-primary);
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--text-secondary);
  margin: 2rem 0;
}

/* External Links - Styling */
a[href^="http"]:not([href*="swiftwaterfarm.com"])::after {
  content: " ↗";
  font-size: 0.8em;
  opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    height: 350px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .content-wrapper {
    padding: 0 1rem;
  }
}

/* Utility Classes */
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
