/* Keep Austin Tasty - Austin Brand Design */

/* CSS Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand Colors - Austin Purple Theme */
  --austin-purple: #6B46C1;
  --deep-purple: #553C9A;
  --light-purple: #8B5CF6;
  --accent-purple: #A78BFA;
  --warm-gray: #F3F4F6;
  --cool-white: #FEFEFE;
  --charcoal: #2C2C2C;
  
  /* Typography */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(107, 70, 193, 0.1);
  --shadow-md: 0 4px 16px rgba(107, 70, 193, 0.15);
  --shadow-lg: 0 8px 32px rgba(107, 70, 193, 0.2);
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--cool-white) 0%, var(--warm-gray) 100%);
  min-height: 100vh;
}

/* Navigation */
.navbar {
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(107, 70, 193, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--austin-purple);
}

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

.nav-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--austin-purple);
}

.admin-link {
  background: var(--austin-purple);
  color: white !important;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: 0.9rem;
}

.admin-link:hover {
  background: var(--deep-purple);
  color: white !important;
}

/* Hero Section */
.hero {
  padding: var(--space-2xl) var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  min-height: 60vh;
}

.hero-badge-top {
  background: var(--accent-purple);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--austin-purple);
  margin-bottom: var(--space-sm);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--deep-purple);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
  opacity: 0.8;
}

.hero-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm);
  background: rgba(107, 70, 193, 0.05);
  border-radius: 12px;
  border-left: 4px solid var(--austin-purple);
}

.author-avatar {
  font-size: 2.5rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-title {
  font-weight: 600;
  color: var(--austin-purple);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.featured-badge {
  background: linear-gradient(135deg, var(--austin-purple), var(--light-purple));
  color: white;
  padding: var(--space-lg);
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.featured-badge:hover {
  transform: rotate(0deg) scale(1.05);
}

.featured-badge span {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: var(--space-xs);
}

/* Featured Stories */
.featured-stories {
  padding: var(--space-2xl) var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.featured-stories h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--austin-purple);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.story-card {
  background: white;
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 70, 193, 0.1);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.story-card.featured {
  border: 2px solid var(--austin-purple);
  background: linear-gradient(135deg, white 0%, rgba(107, 70, 193, 0.02) 100%);
}

.story-image {
  font-size: 3rem;
  margin-bottom: var(--space-sm);
}

.story-category {
  background: var(--accent-purple);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.story-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--austin-purple);
  margin: var(--space-sm) 0;
  line-height: 1.3;
}

.story-card p {
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--deep-purple);
}

.read-time {
  font-weight: 500;
}

.story-date {
  opacity: 0.7;
}

/* About Blog Section */
.about-blog {
  background: linear-gradient(135deg, rgba(107, 70, 193, 0.05) 0%, rgba(167, 139, 250, 0.05) 100%);
  padding: var(--space-2xl) var(--space-sm);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
  color: var(--charcoal);
  opacity: 0.9;
}

.blog-stats {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--austin-purple);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--deep-purple);
  opacity: 0.8;
}

.about-newsletter {
  background: white;
  padding: var(--space-lg);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107, 70, 193, 0.1);
}

.about-newsletter h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--austin-purple);
  margin-bottom: var(--space-sm);
}

.about-newsletter p {
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.newsletter-input {
  flex: 1;
  padding: var(--space-sm);
  border: 2px solid rgba(107, 70, 193, 0.2);
  border-radius: 8px;
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--austin-purple);
}

.newsletter-btn {
  background: var(--austin-purple);
  color: white;
  border: none;
  padding: var(--space-sm) var(--space-md);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--deep-purple);
}

.about-newsletter small {
  color: var(--deep-purple);
  opacity: 0.7;
}

/* Footer */
.footer {
  background: var(--austin-purple);
  color: white;
  padding: var(--space-xl) var(--space-sm);
  text-align: center;
}

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

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-copy {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Recent Posts Styling */
.recent-posts {
  padding: var(--space-2xl) var(--space-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.recent-posts h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--austin-purple);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.post-card {
  background: white;
  border-radius: 16px;
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(107, 70, 193, 0.1);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.post-card-header {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.post-category {
  background: var(--accent-purple);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: var(--space-sm);
}

.post-title {
  margin: var(--space-sm) 0;
}

.post-title a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--austin-purple);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: var(--deep-purple);
}

.post-excerpt {
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: var(--space-sm);
  line-height: 1.5;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--deep-purple);
}

.read-time {
  font-weight: 500;
}

.post-date {
  opacity: 0.7;
}

/* Article Styling */
main {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 1rem;
}

article {
  max-width: 100%;
  margin: 0;
  padding: 10px;
  text-align: center;
}

article h1 {
  color: var(--austin-purple);
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

article p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: center;
}

article img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 1rem auto;
  display: block;
  box-shadow: var(--shadow-sm);
}

article figure {
  margin: 1.5rem 0;
  text-align: center;
}

article figcaption {
  margin-top: 0.5rem;
  font-size: 0.9em;
  color: var(--deep-purple);
  font-style: italic;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .nav-links {
    gap: var(--space-sm);
  }
  
  .nav-links a {
    font-size: 0.9rem;
  }
  
  .stories-grid,
  .posts-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .blog-stats {
    justify-content: center;
  }
  
  main {
    max-width: 95%;
    padding: 0 0.5rem;
  }
  
  article {
    padding: 5px;
  }
}

@media (min-width: 1200px) {
  main {
    max-width: 1600px;
    padding: 0 0.75rem;
  }
}

/* Post Page Navigation */
.post-nav {
  background: rgba(254, 254, 254, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 20px;
  border-bottom: 1px solid rgba(107, 70, 193, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.post-nav .brand {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--austin-purple);
  text-decoration: none;
}

.post-nav .brand-icon {
  font-size: 2rem;
}

/* View All Posts Button */
.view-all-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--austin-purple), var(--light-purple));
  color: white;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.view-all-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--deep-purple), var(--austin-purple));
}

@media (min-width: 1600px) {
  main {
    max-width: 1800px;
    padding: 0 0.5rem;
  }
}
