/* People in the Sun - Custom Styles */
/* Warm sun-inspired color palette */

:root {
  --color-primary: #e07c24;
  --color-primary-dark: #c96a1a;
  --color-secondary: #f4a637;
  --color-accent: #2d3e50;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg: #fefaf5;
  --color-bg-alt: #fff9f2;
  --color-white: #ffffff;
  --color-gold: #d4a84b;
  --color-warm-gray: #8b7355;
}

* {
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: -0.02em;
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
h3 { font-size: 1.6rem; margin-bottom: 1rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.8rem; }

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

a:hover {
  color: var(--color-primary-dark);
}

/* Header */
.site-header {
  background: linear-gradient(135deg, var(--color-accent) 0%, #1a252f 100%);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-logo {
  color: var(--color-white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.site-logo span {
  color: var(--color-secondary);
}

.nav-main {
  display: flex;
  gap: 0.5rem;
}

.nav-main a {
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--color-white);
  background: rgba(255,255,255,0.1);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Sections */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-home {
  min-height: 85vh;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.7) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
  color: var(--color-white);
}

.hero h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-home h1 {
  font-size: 4rem;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.hero-cta {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(224, 124, 36, 0.4);
}

.hero-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 124, 36, 0.5);
  color: var(--color-white);
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.content-section {
  padding: 5rem 0;
}

.content-narrow {
  max-width: 800px;
  margin: 0 auto;
}

.content-section:nth-child(even) {
  background: var(--color-bg-alt);
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-card-content {
  padding: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.read-more {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.read-more::after {
  content: '\2192';
  transition: transform 0.2s ease;
}

.read-more:hover::after {
  transform: translateX(4px);
}

/* Article Content */
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h2 {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.article-content h3 {
  margin-top: 2rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Section Image */
.section-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Intro Section */
.intro-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

.intro-section h2 {
  font-size: 2.5rem;
}

.intro-section p {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Categories List */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.category-item:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateX(5px);
}

.category-item:hover h4 {
  color: var(--color-white);
}

.category-icon {
  font-size: 2rem;
}

/* Blockquote */
blockquote {
  border-left: 4px solid var(--color-primary);
  padding: 1rem 2rem;
  margin: 2rem 0;
  background: var(--color-bg-alt);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text-light);
}

/* External Links Box */
.external-links {
  background: var(--color-bg-alt);
  padding: 1.5rem 2rem;
  border-radius: 10px;
  margin-top: 3rem;
  border: 1px solid rgba(0,0,0,0.05);
}

.external-links h4 {
  margin-bottom: 1rem;
  color: var(--color-warm-gray);
}

.external-links ul {
  list-style: none;
  padding: 0;
}

.external-links li {
  margin-bottom: 0.5rem;
}

.external-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.external-links a::before {
  content: '\2197';
  font-size: 0.8rem;
}

/* Footer */
.site-footer {
  background: var(--color-accent);
  color: rgba(255,255,255,0.8);
  padding: 4rem 2rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--color-secondary);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--color-bg-alt);
  padding: 1rem 2rem;
  font-size: 0.9rem;
}

.breadcrumb-content {
  max-width: 1200px;
  margin: 0 auto;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb span {
  color: var(--color-text-light);
  margin: 0 0.5rem;
}

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

.contact-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-card h3 {
  margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-main {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-accent);
    flex-direction: column;
    padding: 1rem;
  }

  .nav-main.open {
    display: flex;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-home h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .content-section {
    padding: 3rem 0;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}
