/* 
* Pizzaville - Main Stylesheet
* Version: 1.0.0
* A modern and responsive design for a pizza delivery blog
*/

/* ---------- Base Styles ---------- */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --secondary-color: #457b9d;
    --text-color: #1d3557;
    --light-text: #f1faee;
    --background: #ffffff;
    --light-background: #f8f9fa;
    --border-color: #ddd;
    --success-color: #2a9d8f;
    --warning-color: #e9c46a;
    --info-color: #457b9d;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', Times, serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background);
    font-size: 16px;
    overflow-x: hidden;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin: 0 0 1.5rem 0;
}

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

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

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

ul, ol {
    margin: 0 0 1.5rem 1.5rem;
}

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

section {
    padding: 5rem 0;
}

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary, button[type="submit"] {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

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

.read-more::after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover::after {
    margin-left: 10px;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

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

.nav-menu li {
    margin-left: 2rem;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
}

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

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

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: var(--transition);
    background-color: var(--text-color);
}

/* ---------- Hero Section ---------- */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--light-text);
    text-align: center;
    padding: 8rem 0;
    position: relative;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--light-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

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

.featured-posts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.post-content p {
    margin-bottom: 1rem;
    color: #666;
}

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

/* ---------- 5 Things You Didn't Know Section ---------- */
.unknown-facts {
    background-color: var(--background);
}

.unknown-facts h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.facts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.fact-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--light-background);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.fact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.fact-number {
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.fact-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

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

/* ---------- Comparison Table Section ---------- */
.comparison-table {
    background-color: var(--light-background);
}

.comparison-table h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--primary-color);
    color: var(--light-text);
    font-weight: 600;
}

tr:last-child td {
    border-bottom: none;
}

tr:nth-child(even) {
    background-color: rgba(69, 123, 157, 0.05);
}

.check {
    color: var(--success-color);
    font-weight: bold;
}

.cross {
    color: var(--primary-color);
    font-weight: bold;
}

/* ---------- CTA Section ---------- */
.cta {
    background-color: var(--primary-color);
    color: var(--light-text);
    text-align: center;
}

.cta h2, .cta p {
    color: var(--light-text);
}

.cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid transparent;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

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

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* ---------- Footer ---------- */
footer {
    background-color: #1d3557;
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.footer-logo p {
    color: #a8dadc;
    font-size: 0.9rem;
}

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

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-column a {
    color: #a8dadc;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--light-text);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-info svg {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-social h3 {
    margin-bottom: 1.5rem;
    color: var(--light-text);
    font-size: 1.2rem;
}

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

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

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #a8dadc;
    max-width: var(--container-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1d3557;
    color: var(--light-text);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

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

.cookie-content a {
    color: #a8dadc;
    text-decoration: underline;
}

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

.cookie-buttons button {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    font-size: 0.9rem;
}

.btn-accept {
    background-color: var(--primary-color);
    color: var(--light-text);
}

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

/* ---------- Blog Page Styles ---------- */
.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/3.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
}

.blog-hero h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

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

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

.blog-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.blog-image {
    overflow: hidden;
}

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

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

.blog-details {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blog-details h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.blog-details p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* ---------- Newsletter Section ---------- */
.newsletter {
    background-color: var(--secondary-color);
    color: var(--light-text);
    padding: 4rem 0;
}

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

.newsletter h2, .newsletter p {
    color: var(--light-text);
}

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

/* ---------- About Page Styles ---------- */
.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/6.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
}

.about-hero h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.our-story {
    padding: 5rem 0;
}

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

.story-text h2 {
    margin-bottom: 1.5rem;
}

.story-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.our-values h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

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

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

.team-section {
    padding: 5rem 0;
    background-color: var(--background);
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.team-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

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

.team-member {
    background-color: var(--light-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    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;
}

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

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

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.milestones {
    background-color: var(--light-background);
    padding: 5rem 0;
}

.milestones h2 {
    text-align: center;
    margin-bottom: 4rem;
}

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

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

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

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

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

.timeline-item:nth-child(odd) .timeline-content {
    left: 0;
}

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

.timeline-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

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

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

.join-us {
    text-align: center;
    padding: 5rem 0;
}

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

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

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

/* ---------- Contact Page Styles ---------- */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('images/5.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 6rem 0;
}

.contact-hero h1 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

.contact-info-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

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

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

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

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

.contact-card p {
    margin-bottom: 0.5rem;
}

.contact-form-section {
    background-color: var(--light-background);
    padding: 5rem 0;
}

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

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

.form-container p {
    margin-bottom: 2rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-main);
    font-size: 1rem;
}

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

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-container input {
    margin-top: 0.3rem;
}

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

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.faq-section {
    background-color: var(--light-background);
    padding: 5rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

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

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

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

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

.faq-item.active .faq-question {
    background-color: rgba(69, 123, 157, 0.1);
}

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

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

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--background);
    margin: 10% auto;
    padding: 2rem;
    width: 80%;
    max-width: 500px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #aaa;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

.thank-you-message {
    text-align: center;
}

.thank-you-message svg {
    color: var(--success-color);
    margin-bottom: 1rem;
}

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

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

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

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    margin-bottom: 1rem;
    color: #666;
}

.post-date, .post-author {
    margin-right: 1rem;
}

.post-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.full-width-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.post-body {
    margin-bottom: 3rem;
}

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.post-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-image-with-caption {
    margin: 2rem 0;
}

.post-image-with-caption img {
    width: 100%;
    border-radius: var(--border-radius);
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.feature-list {
    margin-bottom: 1.5rem;
}

.feature-list li {
    margin-bottom: 0.8rem;
}

.post-callout {
    background-color: var(--light-background);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 3rem 0;
    text-align: center;
}

.post-callout h3 {
    margin-bottom: 1rem;
}

.post-callout p {
    margin-bottom: 1.5rem;
}

.post-tags {
    margin-bottom: 2rem;
}

.tag-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.tag {
    display: inline-block;
    background-color: var(--light-background);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tag:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.post-share {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

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

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

.share-buttons a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.related-posts {
    background-color: var(--light-background);
    padding: 3rem;
    border-radius: var(--border-radius);
}

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

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

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

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

.related-post img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-post h3 {
    padding: 1rem;
    font-size: 1rem;
    margin-bottom: 0;
}

/* ---------- Responsive Styles ---------- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-logo {
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        left: 80px !important;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background-color: var(--background);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}
