/* 
 * Pizzaiolo Website Stylesheet
 * A modern, mobile-first design for an authentic Italian pizza brand
 */

/* Base Styles & Variables */
:root {
    /* Color Palette */
    --primary-color: #b23c17;      /* Brick red */
    --secondary-color: #5a7b49;    /* Olive green */
    --accent-color: #d4b483;       /* Warm beige/gold */
    --dark-color: #342E37;         /* Deep charcoal */
    --light-color: #f5f1e9;        /* Light cream */
    --white: #ffffff;
    --black: #111111;
    --gray: #6c757d;
    --light-gray: #e9e9e9;
    
    /* Typography */
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 2rem;
    --small-spacing: 1rem;
    
    /* Border Radius */
    --border-radius: 8px;
    --button-radius: 4px;
    
    /* Shadows */
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    --button-shadow: 0 4px 8px rgba(178, 60, 23, 0.3);
}

/* Normalize & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

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

a:hover {
    color: darken(var(--primary-color), 10%);
}

ul, ol {
    list-style-position: inside;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--small-spacing);
    color: var(--dark-color);
}

h1 {
    font-size: 3.6rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: var(--small-spacing);
}

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

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 1.5rem auto 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--gray);
    margin-top: -2rem;
    margin-bottom: 4rem;
}

/* Layout & Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-content {
    display: flex;
    flex-direction: column;
    gap: var(--element-spacing);
}

@media (min-width: 768px) {
    .section-content {
        flex-direction: row;
        align-items: center;
    }
    
    .section-content .image-side,
    .section-content .text-side {
        flex: 1;
    }
    
    .section-content.reverse {
        flex-direction: row-reverse;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--button-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--button-shadow);
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 8px rgba(90, 123, 73, 0.3);
}

.btn-secondary:hover {
    background-color: darken(var(--secondary-color), 10%);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

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

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

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

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

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

.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 25px;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 10px;
}

.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 2rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.main-nav.active {
    display: block;
}

.main-nav li {
    margin-bottom: 1.5rem;
    list-style: none;
}

.main-nav a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1.6rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.order-btn {
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }
    
    .main-nav {
        display: flex !important;
        position: static;
        width: auto;
        background-color: transparent;
        padding: 0;
        box-shadow: none;
    }
    
    .main-nav li {
        margin: 0 0 0 2rem;
        display: inline-block;
    }
    
    .order-btn {
        width: auto;
        margin-top: 0;
    }
}

/* Hero Section */
.hero {
    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);
    text-align: center;
    padding: 10rem 0;
}

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

.hero h1 {
    font-size: 4.2rem;
    margin-bottom: 2rem;
    color: var(--white);
}

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

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 576px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Page Banner */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/39.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

.page-banner h1 {
    font-size: 4.2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.page-banner p {
    font-size: 2rem;
}

/* Our Story Section */
.our-story {
    background-color: var(--white);
}

.rounded-image {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

/* Featured Pizzas Section */
.featured-pizzas {
    background-color: var(--light-color);
}

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

.pizza-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pizza-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.pizza-img {
    height: 240px;
    overflow: hidden;
}

.pizza-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.pizza-info {
    padding: 2rem;
}

.pizza-info h3 {
    margin-bottom: 1rem;
}

.pizza-info p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.btn-sm {
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .pizza-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .pizza-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Crust Options Section */
.crust-options {
    background-color: var(--white);
}

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

.option-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

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

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

.option-icon svg {
    width: 30px;
    height: 30px;
}

@media (min-width: 576px) {
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .options-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--light-color);
}

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

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

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

.post-img {
    height: 220px;
    overflow: hidden;
}

.post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.post-info {
    padding: 2rem;
}

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

.post-meta .views {
    display: flex;
    align-items: center;
}

.post-meta .views i {
    margin-right: 5px;
}

.post-info h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.post-info p {
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.read-more {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

@media (min-width: 768px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* App Promo Section */
.app-promo {
    background-color: var(--white);
}

.app-promo-content {
    display: flex;
    flex-direction: column;
    gap: var(--element-spacing);
}

.app-features {
    list-style: none;
    margin: 2rem 0;
}

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.app-features li svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    margin-right: 1rem;
}

.app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--dark-color);
    color: var(--white);
    border-radius: var(--button-radius);
    transition: all 0.3s ease;
}

.app-btn:hover {
    background-color: var(--black);
    color: var(--white);
}

.app-btn svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.app-image {
    box-shadow: var(--card-shadow);
    border-radius: var(--border-radius);
}

@media (min-width: 768px) {
    .app-promo-content {
        flex-direction: row;
        align-items: center;
    }
    
    .app-promo-content .text-side,
    .app-promo-content .image-side {
        flex: 1;
    }
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
}

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

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

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--heading-font);
}

.stat-label {
    font-size: 1.8rem;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

.footer-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 2rem;
}

.footer-column h3 {
    color: var(--white);
    margin-bottom: 2rem;
    position: relative;
}

.footer-column h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin-top: 1rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.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(--white);
    transition: all 0.3s ease;
}

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

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

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

.hours-list {
    list-style: none;
}

.hours-list li {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}

.hours-list span {
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.legal-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.legal-links a {
    color: var(--light-color);
    font-size: 1.4rem;
}

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

@media (min-width: 576px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .legal-links {
        margin-top: 0;
    }
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.cookie-more {
    font-size: 1.4rem;
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-content p {
        flex: 1;
        margin-bottom: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--button-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-3px);
    color: var(--white);
}

/* Blog Styles */
.blog-main {
    background-color: var(--white);
}

.blog-featured {
    margin-bottom: 5rem;
}

.featured-post {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
}

.featured-img {
    height: 300px;
}

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

.featured-content {
    padding: 3rem;
}

.category {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 500;
}

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

.blog-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--light-gray);
}

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

.post-image {
    height: 220px;
    display: block;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.view-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-eye {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z' /%3E%3C/svg%3E");
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.post-content {
    padding: 2rem;
}

.blog-stats {
    margin-top: 5rem;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 3rem;
}

.blog-stats .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.blog-stats .stat-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.blog-stats .stat-number {
    color: var(--primary-color);
}

.blog-stats .stat-label {
    color: var(--dark-color);
}

.newsletter {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    margin-top: 5rem;
}

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

.newsletter h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.newsletter p {
    margin-bottom: 3rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1.2rem;
    border: none;
    border-radius: var(--button-radius);
}

.newsletter-form .btn {
    background-color: var(--dark-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.newsletter-form .btn:hover {
    background-color: var(--black);
}

@media (min-width: 768px) {
    .featured-post {
        flex-direction: row;
    }
    
    .featured-img {
        width: 50%;
        height: auto;
    }
    
    .featured-content {
        width: 50%;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: row;
    }
}

@media (min-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Blog Post Styles */
.blog-post {
    background-color: var(--white);
}

.post-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.post-header h1 {
    margin: 1.5rem 0;
    font-size: 3.6rem;
}

.author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1.5rem;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    display: block;
}

.author-title {
    color: var(--gray);
    font-size: 1.4rem;
}

.post-featured-img {
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

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

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

.post-intro {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin-bottom: 3rem;
    font-weight: 500;
}

.post-content h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.post-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.post-img-side {
    float: right;
    margin: 0 0 2rem 2rem;
    width: 300px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.post-img-full {
    margin: 3rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.img-caption {
    text-align: center;
    margin-top: 1rem;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--gray);
}

.quote-box, .tip-box, .historical-note {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    border-left: 5px solid var(--primary-color);
}

.quote-box p {
    font-style: italic;
    font-size: 1.8rem;
    line-height: 1.6;
}

.quote-box cite {
    display: block;
    margin-top: 1.5rem;
    font-weight: 500;
    text-align: right;
}

.tip-box h4, .historical-note h4 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.recipe-box {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
}

.recipe-box h3 {
    margin-top: 0;
    margin-bottom: 2rem;
}

.ingredients-list, .instructions-list {
    margin-bottom: 2rem;
}

.ingredients-list li, .instructions-list li {
    margin-bottom: 1rem;
}

.post-signature {
    margin: 4rem 0;
    text-align: right;
}

.signature {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-style: italic;
    color: var(--primary-color);
}

.post-tags {
    margin: 4rem 0;
}

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

.post-tags a {
    display: inline-block;
    background-color: var(--light-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin: 0.5rem;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

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

.post-share {
    margin: 3rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.post-share span {
    font-weight: 600;
}

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

.share-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

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

.related-posts {
    margin: 5rem 0;
}

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

.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.related-card {
    display: flex;
    flex-direction: column;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.related-img {
    height: 180px;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.related-card h4 {
    padding: 1.5rem;
    margin: 0;
    font-size: 1.6rem;
}

.related-card h4 a {
    color: var(--dark-color);
}

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

.pairing-card, .pizza-feature {
    display: flex;
    flex-direction: column;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin: 3rem 0;
}

.pairing-img, .pizza-feature-img {
    height: 250px;
}

.pairing-img img, .pizza-feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pairing-content, .pizza-feature-content {
    padding: 2rem;
}

.pairing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.pairing-table th, .pairing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pairing-table th {
    background-color: rgba(0, 0, 0, 0.05);
}

.testimonial-box {
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    position: relative;
}

.testimonial-box::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 8rem;
    font-family: var(--heading-font);
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.testimonial-box p {
    position: relative;
    z-index: 1;
    font-style: italic;
}

.testimonial-box cite {
    display: block;
    margin-top: 1.5rem;
    font-weight: 500;
    text-align: right;
}

@media (min-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pairing-card, .pizza-feature {
        flex-direction: row;
    }
    
    .pairing-img, .pizza-feature-img {
        width: 40%;
        height: auto;
    }
    
    .pairing-content, .pizza-feature-content {
        width: 60%;
    }
}

/* CTA Banner */
.cta-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/40.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding: 8rem 0;
}

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

.cta-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.cta-content p {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

/* About Page Styles */
.about-intro {
    background-color: var(--white);
}

.our-values {
    background-color: var(--light-color);
}

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

.value-card {
    background-color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

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

.value-icon svg {
    width: 30px;
    height: 30px;
}

.our-approach {
    background-color: var(--white);
}

.feature-list {
    list-style: none;
    margin: 2rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

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

.feature-icon svg {
    width: 14px;
    height: 14px;
}

.team-section {
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 2rem;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease;
}

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

.team-member h3 {
    margin-bottom: 0.5rem;
}

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

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

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

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

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

.about-timeline {
    background-color: var(--white);
    position: relative;
}

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

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

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

.about-stats .stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: var(--border-radius);
}

@media (min-width: 576px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6rem 3rem;
    }
}

@media (min-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline::before {
        left: 50%;
        margin-left: -1px;
    }
    
    .timeline-item {
        padding-left: 0;
        margin-bottom: 6rem;
    }
    
    .timeline-dot {
        left: 50%;
        margin-left: -10px;
    }
    
    .timeline-content {
        width: 45%;
    }
    
    .timeline-item:nth-child(odd) .timeline-content {
        float: left;
        text-align: right;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        float: right;
    }
    
    .timeline-item::after {
        content: "";
        display: block;
        clear: both;
    }
}

/* Contact Page Styles */
.contact-main {
    background-color: var(--white);
}

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

.contact-methods {
    margin: 3rem 0;
}

.contact-method {
    display: flex;
    margin-bottom: 3rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2rem;
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-details h3 {
    margin-bottom: 0.5rem;
}

.method-details p {
    margin-bottom: 0.5rem;
}

.hours {
    font-size: 1.4rem;
    color: var(--gray);
}

.social-contact h3 {
    margin-bottom: 2rem;
}

.contact-form-container {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1.2rem;
    border: 1px solid var(--light-gray);
    border-radius: var(--button-radius);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-opt {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.newsletter-opt input {
    width: 20px;
    height: 20px;
}

.map-section {
    background-color: var(--light-color);
}

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

.faq-section {
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.faq-item {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.faq-question {
    margin: 0 0 1.5rem;
    color: var(--primary-color);
}

.faq-answer {
    margin: 0;
}

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

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

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

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr 1fr;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Add icon styles for the eye icon used for view counts */
.icon-eye {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12a3 3 0 11-6 0 3 3 0 016 0z' /%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2.458 12C3.732 7.943 7.523 5 12 5c4.478 0 8.268 2.943 9.542 7-1.274 4.057-5.064 7-9.542 7-4.477 0-8.268-2.943-9.542-7z' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    margin-right: 4px;
    vertical-align: middle;
}
