/* Base Styles and Variables */
:root {
  --primary-color: #e53935;
  --secondary-color: #1e88e5;
  --accent-color: #ffc107;
  --dark-color: #212121;
  --gray-color: #757575;
  --light-gray: #e0e0e0;
  --off-white: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --header-height: 80px;
  --footer-bg: #212121;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  transition: var(--transition);
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
  color: var(--primary-color);
}

p {
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
}

/* Custom list with pizza slice markers */
.custom-list {
  list-style: none;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.custom-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-list li::before {
  content: "🍕";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1rem;
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

.btn:hover {
  background-color: #c62828;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn.secondary {
  background-color: var(--light-gray);
  color: var(--dark-color);
}

.btn.secondary:hover {
  background-color: #bdbdbd;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  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 img {
  height: 60px;
  width: auto;
}

nav ul {
  display: flex;
}

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

nav ul li a {
  color: var(--dark-color);
  font-weight: 600;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 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);
}

/* Hero Section */
.hero {
  background-color: var(--off-white);
  text-align: center;
  padding: 100px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/1.jpg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

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

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--white);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

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

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

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

.feature-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.feature-item h3 {
  margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
  padding: 80px 0;
  background-color: var(--off-white);
}

.latest-posts h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2rem;
}

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

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

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

.post-image {
  height: 200px;
  overflow: hidden;
}

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

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

.read-more:hover {
  color: var(--accent-color);
}

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

/* Newsletter Section */
.newsletter {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
}

.newsletter h2 {
  margin-bottom: 1rem;
}

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

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

.newsletter-form button {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  background-color: var(--dark-color);
}

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

/* Footer */
footer {
  background-color: var(--footer-bg);
  color: var(--white);
  padding: 60px 0 20px;
}

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

.footer-logo {
  width: 100px;
  margin-bottom: 15px;
}

.footer-info p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 20px;
  color: var(--accent-color);
}

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

.footer-links ul li a {
  color: var(--light-gray);
}

.footer-links ul li a:hover {
  color: var(--white);
}

.footer-contact address {
  font-style: normal;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-contact .icon,
.footer-social .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.social-icons {
  display: flex;
}

.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%;
  margin-right: 10px;
  transition: var(--transition);
}

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

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

.footer-bottom p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
}

.footer-legal li {
  margin-left: 20px;
  font-size: 0.9rem;
}

.footer-legal li a {
  color: var(--light-gray);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: var(--white);
  padding: 15px;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.cookie-btn {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.cookie-more-info {
  font-size: 0.8rem;
  margin-bottom: 0;
}

.cookie-more-info a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Blog Page Styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin: 60px 0;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.blog-image {
  height: 300px;
}

.blog-content {
  padding: 30px;
  flex: 1;
}

.blog-content h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: var(--gray-color);
  font-size: 0.9rem;
}

/* Blog Post Styles */
.blog-post-header {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.blog-post-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

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

.blog-post .container {
  max-width: 800px;
}

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

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

.post-content h2 {
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content h3 {
  font-size: 1.4rem;
  margin-top: 30px;
  margin-bottom: 15px;
}

.post-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 15px 30px;
  margin: 30px 0;
  background-color: var(--off-white);
  font-style: italic;
}

.post-content blockquote p {
  margin-bottom: 0;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  padding: 20px 0;
  border-top: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
}

.post-nav-prev,
.post-nav-next {
  max-width: 45%;
}

.post-nav-next {
  text-align: right;
}

.post-navigation span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 5px;
}

.post-navigation h4 {
  font-size: 1.1rem;
  margin-bottom: 0;
}

.related-posts {
  margin-bottom: 60px;
}

.related-posts h3 {
  margin-bottom: 30px;
  text-align: center;
}

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

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

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

.related-image {
  height: 150px;
}

.related-card h4 {
  padding: 15px;
  font-size: 1rem;
  margin-bottom: 0;
}

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

.share-post h3 {
  margin-bottom: 15px;
}

.social-share {
  display: flex;
  justify-content: center;
  gap: 15px;
}

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

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

.social-share .icon {
  width: 20px;
  height: 20px;
  color: var(--dark-color);
}

.social-share a:hover .icon {
  color: var(--white);
}

/* About Page Styles */
.about-content {
  padding: 60px 0;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}

.about-intro h2 {
  margin-bottom: 20px;
}

.about-mission {
  margin-bottom: 60px;
}

.about-mission h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.mission-item {
  text-align: center;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  background-color: var(--white);
}

.mission-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mission-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: var(--primary-color);
}

.team-section {
  margin-bottom: 60px;
}

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

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

.team-member {
  text-align: center;
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.05);
}

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

.team-member p {
  padding: 0 20px;
  margin-bottom: 15px;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 20px;
}

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

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

.member-social .icon {
  width: 18px;
  height: 18px;
  color: var(--dark-color);
}

.member-social a:hover .icon {
  color: var(--white);
}

.values-section {
  margin-bottom: 60px;
}

.values-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

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

.value-item {
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-item p {
  margin-bottom: 0;
}

.cta-section {
  text-align: center;
  background-color: var(--off-white);
  padding: 60px 30px;
  border-radius: var(--border-radius);
}

.cta-section h2 {
  margin-bottom: 15px;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Contact Page Styles */
.contact-section {
  padding: 60px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 30px;
}

.info-item .icon {
  width: 50px;
  height: 50px;
  margin-right: 20px;
  color: var(--primary-color);
}

.info-item h3 {
  margin-bottom: 5px;
}

.info-item p {
  margin-bottom: 0;
}

.social-connect {
  margin-top: 40px;
}

.social-connect h3 {
  margin-bottom: 20px;
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

.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(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
  margin-top: 5px;
}

.checkbox-group label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 0.9rem;
}

.faq-section {
  padding: 60px 0;
  background-color: var(--off-white);
}

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

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

.faq-item {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.faq-item p {
  margin-bottom: 0;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-color);
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  color: #4CAF50;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  header {
    height: auto;
    padding: 15px 0;
  }
  
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  nav ul li {
    margin: 5px 15px;
  }
  
  .hero,
  .features,
  .latest-posts,
  .newsletter,
  .blog-post,
  .about-content,
  .contact-section,
  .faq-section {
    padding: 50px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .feature-grid,
  .post-grid,
  .blog-grid,
  .mission-grid,
  .team-grid,
  .values-grid,
  .contact-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 20px;
  }
  
  .post-nav-prev,
  .post-nav-next {
    max-width: 100%;
    text-align: left;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
    margin-top: 15px;
  }
  
  .footer-legal li:first-child {
    margin-left: 0;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 15px;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
    width: 100%;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .social-share {
    flex-wrap: wrap;
    justify-content: center;
  }
}
