/* 
  Blaze Pizza Blog - Main Stylesheet
  Theme: Pizza Delivery Brand
*/

/* 
  Table of Contents:
  1. Reset & Base Styles
  2. Typography
  3. Layout & Grid
  4. Header & Navigation
  5. Hero Section
  6. Feature Cards
  7. Blog Posts
  8. CTAs & Banners
  9. Forms
  10. Footer
  11. Buttons
  12. Cookie Banner
  13. Blog Post Pages
  14. About Page
  15. Contact Page
  16. Media Queries
*/

/* 1. Reset & Base Styles */
:root {
  --primary-color: #e63946;
  --secondary-color: #1d3557;
  --accent-color: #f39237;
  --text-color: #333333;
  --text-light: #6e7c90;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #2b2d42;
  --success-color: #2a9d8f;
  --warning-color: #e9c46a;
  --danger-color: #e76f51;
  --border-color: #e0e0e0;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
  --container-max-width: 1200px;
  --container-padding: 0 20px;
  --section-spacing: 80px 0;
  --header-height: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

ul {
  list-style: none;
}

/* 2. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

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

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

/* 3. Layout & Grid */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
  width: 100%;
}

section {
  padding: var(--section-spacing);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* 4. Header & Navigation */
header {
  background-color: var(--bg-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding: 10px 0;
}

nav ul li a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover:after,
nav ul li a.active:after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

/* 5. Hero Section */
.hero {
  background-color: var(--bg-light);
  background-image: url('images/1.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 120px 0;
  text-align: center;
  color: var(--bg-color);
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 53, 87, 0.7);
  z-index: 1;
}

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

.hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--bg-color);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* 6. Feature Cards */
.features {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.features h2 {
  text-align: center;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
  width: 60px;
  height: 60px;
  background-color: rgba(230, 57, 70, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* 7. Blog Posts */
.latest-posts,
.blog-posts {
  padding: 80px 0;
}

.latest-posts h2,
.blog-posts h2 {
  text-align: center;
  margin-bottom: 50px;
}

.posts-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.post-card,
.blog-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.post-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.post-image,
.blog-image {
  height: 220px;
  overflow: hidden;
}

.post-image img,
.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-image img,
.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.post-content,
.blog-content {
  padding: 25px;
}

.post-content h3,
.blog-content h2,
.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-date,
.blog-meta {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

.blog-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.blog-meta .category {
  color: var(--primary-color);
}

.read-more {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
  transition: var(--transition);
}

.read-more:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* Stats Section */
.stats {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.blog-stats h2 {
  text-align: center;
  color: var(--bg-color);
  margin-bottom: 40px;
}

/* 8. CTAs & Banners */
.cta {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 70px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--bg-color);
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* 9. Forms */
.newsletter {
  background-color: var(--bg-light);
  padding: 70px 0;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 20px;
}

.newsletter p {
  margin-bottom: 30px;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  padding: 12px 25px;
  border: none;
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-weight: 600;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background-color: var(--secondary-color);
}

/* Contact Form */
.contact-form-section {
  background-color: var(--bg-light);
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.form-container h2 {
  margin-bottom: 15px;
}

.form-container p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: span 2;
}

.checkbox-group input {
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: normal;
}

/* 10. Footer */
footer {
  background-color: var(--bg-dark);
  color: var(--bg-color);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  opacity: 0.8;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  color: var(--bg-color);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.footer-contact p svg {
  color: var(--primary-color);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--bg-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  opacity: 0.7;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* 11. Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

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

.primary-btn:hover {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.secondary-btn:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tertiary-btn {
  background-color: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.tertiary-btn:hover {
  background-color: var(--bg-light);
  border-color: var(--text-light);
}

/* 12. Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--bg-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-width: 1000px;
  margin: 0 auto;
  display: none;
}

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

.cookie-content p {
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.cookie-more-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* 13. Blog Post Pages */
.page-header {
  background-color: var(--secondary-color);
  padding: 60px 0;
  text-align: center;
  color: var(--bg-color);
}

.page-header h1 {
  color: var(--bg-color);
  margin-bottom: 15px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
}

.blog-post {
  padding: 60px 0;
}

.post-header {
  margin-bottom: 30px;
  text-align: center;
}

.post-header h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-light);
  font-size: 1rem;
}

.post-featured-image {
  margin-bottom: 40px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-featured-image img {
  width: 100%;
}

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

.post-intro {
  font-size: 1.3rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
  line-height: 1.6;
}

.post-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 30px;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-image {
  margin: 30px 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.post-image img {
  width: 100%;
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 10px;
  font-style: italic;
}

.post-quote {
  margin: 30px 0;
  padding: 30px;
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  border-radius: var(--border-radius);
}

.post-quote blockquote {
  font-style: italic;
  font-size: 1.2rem;
  color: var(--secondary-color);
}

.post-quote cite {
  display: block;
  margin-top: 15px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-light);
}

.post-stat-box {
  margin: 30px 0;
  padding: 25px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.post-stat-box h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.post-stat-box ul {
  margin-bottom: 0;
}

.post-stat-box li {
  margin-bottom: 8px;
}

.post-stat-box li:last-child {
  margin-bottom: 0;
}

.post-cta {
  margin: 40px 0;
  padding: 30px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--box-shadow);
}

.post-cta h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.post-cta p {
  margin-bottom: 20px;
}

.post-tags {
  margin: 40px 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.post-tags span {
  font-weight: 600;
  color: var(--secondary-color);
}

.post-tags a {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--bg-light);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--text-color);
  transition: var(--transition);
}

.post-tags a:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.post-share {
  margin: 30px 0 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.post-share span {
  font-weight: 600;
  color: var(--secondary-color);
}

.social-share {
  display: flex;
  gap: 10px;
}

.social-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-color);
  transition: var(--transition);
}

.social-share a:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-3px);
}

.related-posts {
  padding: 60px 0;
  background-color: var(--bg-light);
}

.related-posts h2 {
  text-align: center;
  margin-bottom: 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.related-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.related-image {
  height: 180px;
  overflow: hidden;
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.related-card:hover .related-image img {
  transform: scale(1.05);
}

.related-content {
  padding: 20px;
}

.related-content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.related-date {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}

/* 14. About Page */
.about-story {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-text h2 {
  margin-top: 0;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-card .icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 15px;
}

.our-values {
  padding: 80px 0;
  background-color: var(--bg-light);
  text-align: center;
}

.our-values h2 {
  margin-bottom: 50px;
}

.team-section {
  padding: 80px 0;
}

.team-section h2 {
  text-align: center;
  margin-bottom: 15px;
}

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

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

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

.team-member img {
  width: 100%;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.team-member .social-icons {
  justify-content: center;
  margin-top: 15px;
}

.team-member .social-icons a {
  width: 36px;
  height: 36px;
  background-color: var(--bg-light);
  color: var(--secondary-color);
}

.team-member .social-icons a:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.milestones {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.milestones h2 {
  text-align: center;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.year {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 1;
}

.event {
  width: 45%;
  background-color: var(--bg-color);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 30px;
}

.timeline-item:nth-child(odd) .event {
  margin-left: auto;
}

.event h3 {
  margin-top: 0;
  color: var(--secondary-color);
}

.event p {
  margin-bottom: 0;
  color: var(--text-light);
}

.about-stats {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  padding: 60px 0;
}

.about-stats h2 {
  text-align: center;
  color: var(--bg-color);
  margin-bottom: 40px;
}

.join-team {
  padding: 80px 0;
  text-align: center;
}

.join-content {
  max-width: 700px;
  margin: 0 auto;
}

.join-content h2 {
  margin-bottom: 20px;
}

.join-content p {
  margin-bottom: 30px;
  color: var(--text-light);
  font-size: 1.1rem;
}

/* 15. Contact Page */
.contact-info {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.contact-card h3 {
  margin-bottom: 15px;
}

.contact-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.contact-card p a {
  color: var(--text-light);
  transition: var(--transition);
}

.contact-card p a:hover {
  color: var(--primary-color);
}

.contact-card .social-icons {
  justify-content: center;
  margin-top: 15px;
}

.map-section {
  padding: 0 0 80px;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 400px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  background-color: rgba(230, 57, 70, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 300px;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.thank-you-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--bg-color);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: var(--transition);
}

.thank-you-popup.active .popup-content {
  transform: translateY(0);
}

.popup-icon {
  color: var(--success-color);
  margin-bottom: 20px;
}

.popup-content h2 {
  margin-bottom: 15px;
}

.popup-content p {
  margin-bottom: 25px;
  color: var(--text-light);
}

/* Subscribe Section */
.subscribe-section {
  padding: 70px 0;
  background-color: var(--bg-light);
}

.subscribe-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.subscribe-content h2 {
  margin-bottom: 15px;
}

.subscribe-content p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.subscribe-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.subscribe-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
  outline: none;
}

.subscribe-form button {
  padding: 12px 25px;
  border: none;
  background-color: var(--primary-color);
  color: var(--bg-color);
  font-weight: 600;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.subscribe-form button:hover {
  background-color: var(--secondary-color);
}

/* Time Display */
.time-display {
  background-color: var(--secondary-color);
  color: var(--bg-color);
  padding: 15px 0;
  text-align: center;
}

.time-display p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* 16. Media Queries */
@media (max-width: 1200px) {
  :root {
    --section-spacing: 60px 0;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  :root {
    --section-spacing: 50px 0;
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .timeline:before {
    left: 30px;
  }
  
  .year {
    left: 30px;
    transform: translateX(-50%);
  }
  
  .event {
    width: 85%;
    margin-left: 50px !important;
  }
}

@media (max-width: 768px) {
  :root {
    --section-spacing: 40px 0;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
  
  .post-meta {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
  
  .newsletter-form,
  .subscribe-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .subscribe-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button,
  .subscribe-form button {
    border-radius: var(--border-radius);
  }
}

@media (max-width: 576px) {
  :root {
    --container-padding: 0 15px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .event {
    width: 80%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .post-share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .social-share {
    margin-top: 10px;
  }
}
