/* Base Styles */
:root {
  --primary-color: #d9534f;
  --primary-dark: #c9302c;
  --secondary-color: #4d3319;
  --accent-color: #ffaa00;
  --dark-color: #1e1810;
  --light-color: #f9f5f0;
  --gray-color: #6c757d;
  --light-gray: #e9ecef;
  --border-radius: 4px;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.8rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--gray-color);
  font-size: 1.1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #5d3e1d;
  color: white;
}

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

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: white;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* Header & Navigation */
header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

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

.main-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu li {
  margin: 0 1rem;
}

.main-menu a {
  font-weight: 600;
  color: var(--dark-color);
  position: relative;
  padding: 0.5rem 0;
}

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

.main-menu a:hover::after,
.main-menu a.active::after {
  width: 100%;
}

.main-menu a.active {
  color: var(--primary-color);
}

.header-cta {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-content h1 span {
  display: block;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
  padding: 5rem 0;
  background-color: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  background-color: var(--primary-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

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

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

/* Pizza Builder Section */
.pizza-builder {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.pizza-builder .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.pizza-builder-content h2 {
  margin-bottom: 1.5rem;
}

.pizza-builder-content p {
  margin-bottom: 2rem;
}

.pizza-builder-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* Checklist Section */
.checklist {
  padding: 3rem 0;
  background-color: white;
}

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

.checklist-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  background-color: var(--light-color);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.checklist-item svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-right: 1rem;
}

.checklist-item span {
  font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Blog Preview Section */
.blog-preview {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.blog-card:hover {
  transform: translateY(-5px);
}

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

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

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

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.blog-content h3 a {
  color: var(--secondary-color);
}

.blog-content h3 a:hover {
  color: var(--primary-color);
}

.blog-date {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
}

.blog-excerpt {
  color: var(--dark-color);
  margin-bottom: 1rem;
}

.read-more {
  font-weight: 600;
  color: var(--primary-color);
  display: inline-block;
  position: relative;
}

.read-more::after {
  content: '→';
  margin-left: 0.3rem;
  transition: var(--transition);
}

.read-more:hover::after {
  margin-left: 0.5rem;
}

.blog-view-all {
  text-align: center;
  margin-top: 2.5rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1.5rem;
}

.footer-column p {
  color: #d1d1d1;
  margin-bottom: 1.5rem;
}

.footer-column h3 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

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

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column ul li a {
  color: #d1d1d1;
  transition: var(--transition);
}

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

.social-icons {
  display: flex;
  gap: 1rem;
}

.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: white;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #a0a0a0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  color: #a0a0a0;
  font-size: 0.9rem;
}

.footer-links li a:hover {
  color: white;
}

address {
  font-style: normal;
  color: #d1d1d1;
}

address p {
  margin-bottom: 0.5rem;
}

address a {
  color: #d1d1d1;
}

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

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cookie-content p {
  margin-bottom: 1rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

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

.page-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.blog-main {
  padding: 5rem 0;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.blog-post {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0;
}

.blog-post-image {
  height: 100%;
}

.blog-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-content {
  padding: 2rem;
}

.blog-post-content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.blog-post-content h2 a {
  color: var(--secondary-color);
}

.blog-post-content h2 a:hover {
  color: var(--primary-color);
}

.post-meta {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.5rem;
}

.post-meta span {
  display: inline-block;
}

.post-date::before {
  content: '📅';
  margin-right: 0.3rem;
}

.post-author::before {
  content: '👤';
  margin-right: 0.3rem;
}

.post-category::before {
  content: '🏷️';
  margin-right: 0.3rem;
}

/* Blog Post Styles */
.blog-post-single {
  padding: 5rem 0;
}

.blog-post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-post-header h1 {
  font-size: 3rem;
  max-width: 900px;
  margin: 0 auto 1rem;
}

.blog-featured-image {
  margin-bottom: 3rem;
}

.blog-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

.blog-post-content .lead {
  font-size: 1.3rem;
  color: var(--secondary-color);
  font-weight: 500;
  margin-bottom: 2rem;
}

.blog-post-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.blog-post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.blog-image-secondary {
  margin: 2rem 0;
}

.blog-image-secondary img {
  width: 100%;
  border-radius: 8px;
}

blockquote {
  background-color: #f8f4ef;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -1rem;
  left: 0.5rem;
  font-family: Georgia, serif;
}

blockquote cite {
  display: block;
  font-style: normal;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-color);
}

.blog-post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--light-gray);
}

.share-post {
  margin-bottom: 1.5rem;
}

.share-post span {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.post-tags span {
  font-weight: 600;
  margin-right: 0.5rem;
}

.post-tags ul {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.post-tags ul li {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.post-tags ul li a {
  display: inline-block;
  background-color: var(--light-gray);
  color: var(--gray-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

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

.related-posts {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--light-gray);
}

.related-posts h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.related-post:hover {
  transform: translateY(-5px);
}

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

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

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

.related-post h4 {
  padding: 1.5rem;
  margin-bottom: 0;
  font-size: 1.2rem;
}

.related-post a {
  color: var(--secondary-color);
}

.related-post a:hover {
  color: var(--primary-color);
}

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

.blog-cta {
  background-color: #f8f4ef;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 3rem 0;
}

.blog-cta h3 {
  margin-bottom: 1.5rem;
}

.newsletter {
  background-color: var(--secondary-color);
  padding: 4rem 0;
  color: white;
}

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

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

.newsletter-content p {
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.recipe-card, .tips-card, .pairing-card {
  background-color: #f8f4ef;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.recipe-card h3, .tips-card h3, .pairing-card h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.recipe-card h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.wine-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.wine-category h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.wine-category ul {
  list-style: none;
  padding: 0;
}

.wine-category ul li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--light-gray);
}

.pairing-image {
  width: 30%;
  float: left;
  margin-right: 2rem;
  margin-bottom: 1rem;
}

.pairing-content {
  overflow: hidden;
}

.region-pairing, .pairing-tips {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.region-pairing:last-child, .pairing-tips:last-child {
  border-bottom: none;
}

.future-goals {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.goal {
  background-color: #f8f4ef;
  padding: 1.5rem;
  border-radius: 8px;
}

.goal h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.sustainability-checklist {
  background-color: #f8f4ef;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.sustainability-checklist h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Contact Page Styles */
.contact-main {
  padding: 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.contact-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.social-connect {
  grid-column: span 2;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.social-connect h3 {
  margin-bottom: 1rem;
}

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

.contact-form-container h2 {
  margin-bottom: 0.5rem;
}

.contact-form-container p {
  color: var(--gray-color);
  margin-bottom: 2rem;
}

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

.form-group {
  margin-bottom: 0;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.form-group textarea {
  resize: vertical;
}

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

.checkbox-group input {
  margin-top: 0.25rem;
}

.form-submit {
  grid-column: span 2;
  margin-top: 1rem;
}

.store-locator {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.location-finder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.location-search {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location-form {
  margin-bottom: 2rem;
}

.location-input {
  display: flex;
  gap: 1rem;
}

.location-input input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-body);
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.location-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.location-item h3 {
  margin-bottom: 0.5rem;
}

.location-item address {
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.location-phone {
  margin-bottom: 0.5rem;
}

.location-hours {
  margin-bottom: 1rem;
  color: var(--gray-color);
}

.location-buttons {
  display: flex;
  gap: 1rem;
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

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

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

.faq-item {
  margin-bottom: 1.5rem;
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  background-color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

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

.faq-icon {
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px;
}

.faq-more {
  text-align: center;
  margin-top: 2rem;
}

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

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

.thank-you-content {
  background-color: white;
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  position: relative;
}

.close-popup {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-color);
}

.thank-you-icon {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.thank-you-content h2 {
  margin-bottom: 1rem;
}

.thank-you-content p {
  margin-bottom: 2rem;
}

/* About Page Styles */
.about-intro {
  padding: 5rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

.value-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.tradition-section {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.tradition-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.tradition-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.tradition-content h2 {
  margin-bottom: 1.5rem;
}

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

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.ingredient-card {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  align-items: center;
}

.ingredient-image {
  height: 100%;
}

.ingredient-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.ingredient-content h3 {
  margin-bottom: 0.75rem;
}

.ingredient-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.team-section {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.team-member img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-member h3 {
  margin: 1.5rem 0 0.25rem;
}

.team-member p {
  padding: 0 1.5rem;
  margin-bottom: 1.5rem;
}

.team-member p:nth-of-type(1) {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

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

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

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

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

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}

.timeline-date {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  width: 45%;
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  margin-top: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
}

.timeline-content p {
  margin-bottom: 0;
}

.community-section {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.community-content h2 {
  margin-bottom: 1.5rem;
}

.community-initiatives {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.initiative h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.initiative p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.community-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.join-us-section {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.join-us-content h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.join-us-content p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.join-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.join-buttons .btn-outline {
  border-color: white;
  color: white;
}

.join-buttons .btn-outline:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Menu Page Styles */
.menu-intro {
  padding: 4rem 0;
  background-color: #f8f4ef;
}

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

.menu-intro-content h2 {
  margin-bottom: 1.5rem;
}

.menu-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.menu-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-icon {
  color: var(--primary-color);
}

.feature-text h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0;
}

.menu-navigation {
  background-color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 76px;
  z-index: 900;
}

.menu-nav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.menu-nav-tabs::-webkit-scrollbar {
  display: none;
}

.menu-nav-tabs li {
  flex-shrink: 0;
}

.menu-nav-tabs a {
  display: block;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--dark-color);
  position: relative;
  white-space: nowrap;
}

.menu-nav-tabs a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.menu-nav-tabs a:hover::after,
.menu-nav-tabs a.active::after {
  width: 100%;
}

.menu-nav-tabs a.active {
  color: var(--primary-color);
}

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

.menu-section:nth-child(even) {
  background-color: #f8f4ef;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.menu-item {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: grid;
  grid-template-columns: 1fr 2fr;
}

.menu-item-image {
  height: 100%;
}

.menu-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-content {
  padding: 1.5rem;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.menu-item-header h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
}

.menu-item-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.menu-item-description {
  color: var(--gray-color);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.menu-item-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--light-gray);
  color: var(--gray-color);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pizza-builder {
  padding: 4rem 0;
  background-color: var(--secondary-color);
  color: white;
}

.pizza-builder .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.builder-content h2 {
  color: white;
  margin-bottom: 1.5rem;
}

.builder-content p {
  margin-bottom: 2rem;
}

.builder-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.builder-step {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-weight: 700;
}

.builder-step h3 {
  color: white;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.builder-step p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.builder-image img {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.menu-category {
  margin-bottom: 3rem;
}

.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light-gray);
}

.beverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.beverage-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.beverage-name {
  margin-bottom: 0.75rem;
}

.beverage-name h4 {
  margin-bottom: 0.25rem;
  font-size: 1.2rem;
}

.beverage-origin {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.beverage-price {
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.beverage-description {
  font-size: 0.95rem;
  color: var(--gray-color);
  margin-bottom: 0;
}

.dietary-info {
  padding: 5rem 0;
  background-color: #f8f4ef;
}

.dietary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.dietary-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.dietary-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.dietary-item h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.dietary-item p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.nutritional-note {
  max-width: 700px;
  margin: 3rem auto 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-color);
}

.catering-info {
  padding: 5rem 0;
}

.catering-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: center;
}

.catering-content h2 {
  margin-bottom: 1.5rem;
}

.catering-features {
  margin: 2rem 0;
}

.catering-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.catering-feature svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

.catering-cta {
  display: flex;
  gap: 1rem;
}

.catering-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.menu-cta {
  padding: 5rem 0;
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.menu-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.menu-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.menu-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Custom Border */
.custom-border {
  position: relative;
  border: 8px solid white;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content h1 span {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .header-inner {
    flex-wrap: wrap;
  }
  
  .main-menu {
    order: 3;
    width: 100%;
    margin-top: 1rem;
    justify-content: center;
  }
  
  .hero .container,
  .pizza-builder .container,
  .about-grid,
  .tradition-grid,
  .community-grid,
  .catering-grid {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid,
  .related-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post-image {
    height: 300px;
  }
  
  .contact-grid,
  .location-finder {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    order: 2;
    margin-top: 2rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ingredients-grid {
    grid-template-columns: 1fr;
  }
  
  .dietary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .beverage-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h1 span {
    font-size: 1.8rem;
  }
  
  .hero-buttons,
  .cta-buttons,
  .catering-cta,
  .menu-cta-buttons {
    flex-direction: column;
  }
  
  .features-grid,
  .blog-grid,
  .related-posts-grid,
  .contact-info,
  .team-grid,
  .community-initiatives,
  .dietary-grid,
  .beverage-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .blog-post-header h1 {
    font-size: 2.2rem;
  }
  
  .contact-form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .builder-steps {
    grid-template-columns: 1fr;
  }
  
  .timeline-content {
    width: 80%;
    margin: 2rem auto 0 !important;
  }
  
  .timeline::before {
    left: 0;
  }
  
  .timeline-date {
    left: 0;
    transform: none;
  }
  
  .menu-item {
    grid-template-columns: 1fr;
  }
  
  .menu-item-image {
    height: 200px;
  }
}

@media (max-width: 576px) {
  .header-cta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .main-menu {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
  
  .main-menu li {
    margin: 0 0.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .thank-you-content {
    padding: 2rem;
  }
}
