/* Base Styles */
:root {
    --primary-color: #e63946;
    --secondary-color: #457b9d;
    --accent-color: #f9a826;
    --text-color: #333;
    --light-text: #f1faee;
    --dark-bg: #1d3557;
    --light-bg: #f8f9fa;
    --border-color: #ddd;
    --success-color: #2a9d8f;
    --error-color: #e63946;
    --warning-color: #f9a826;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fafafa;
    overflow-x: hidden;
}

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;
}

button, .btn-3d {
    cursor: pointer;
    border: none;
    outline: none;
}

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

section {
    padding: 3rem 1rem;
}

/* Header Styles */
header {
    background-color: var(--light-bg);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

.navbar {
    display: flex;
    list-style: none;
}

.navbar li {
    margin-left: 1.5rem;
}

.navbar a {
    display: flex;
    align-items: center;
    color: var(--dark-bg);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.navbar a i {
    margin-right: 0.5rem;
}

.navbar a:hover, .navbar a.active {
    color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.1);
}

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

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-bg);
    border-radius: 3px;
    transition: var(--transition);
}

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

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

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

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

/* Featured Posts */
.featured-posts {
    padding: 4rem 1rem;
    background-color: var(--light-bg);
}

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

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

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

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

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

.post-content {
    padding: 1.5rem;
}

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

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* About Summary Section */
.about-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 1;
    min-width: 300px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

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

/* Newsletter Section */
.newsletter {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 1rem;
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    color: var(--light-text);
    margin-bottom: 1rem;
}

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

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

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

.blog-header h1 {
    color: var(--light-text);
}

.blog-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1rem;
    gap: 2rem;
}

.blog-filter {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.blog-filter h2 {
    margin-bottom: 1rem;
}

.blog-filter ul {
    list-style: none;
    margin-bottom: 2rem;
}

.blog-filter li {
    margin-bottom: 0.5rem;
}

.blog-filter a {
    display: block;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.blog-filter a:hover, .blog-filter a.active {
    background-color: rgba(230, 57, 70, 0.1);
    color: var(--primary-color);
}

.posts-grid {
    flex: 3;
    min-width: 300px;
}

.post-item {
    margin-bottom: 3rem;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

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

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

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

.post-details {
    padding: 1.5rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.875rem;
}

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

.post-meta i {
    margin-right: 0.25rem;
}

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

.about-header h1 {
    color: var(--light-text);
}

.about-story {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.about-story .about-image {
    flex: 1;
    min-width: 300px;
}

.about-story .about-content {
    flex: 1;
    min-width: 300px;
}

.about-mission {
    background-color: var(--light-bg);
    padding: 4rem 1rem;
}

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

.mission-content ul {
    margin-left: 1rem;
    margin-bottom: 1.5rem;
}

.team-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.team-section h2 {
    margin-bottom: 3rem;
}

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

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

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

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

.team-member h3 {
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

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

.testimonials {
    background-color: var(--light-bg);
    padding: 4rem 1rem;
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 3rem;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding-bottom: 2rem;
}

.testimonial-slider::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.testimonial-slider::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 10px;
}

.testimonial-slider::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-item {
    flex: 0 0 auto;
    width: 100%;
    scroll-snap-align: start;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--box-shadow);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    text-align: right;
}

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

.contact-header h1 {
    color: var(--light-text);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    gap: 3rem;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.social-contact {
    margin-top: 3rem;
}

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

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

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

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(69, 123, 157, 0.2);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--secondary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.map-section {
    margin: 4rem 0;
    padding: 0 1rem;
}

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

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Gallery Page Styles */
.gallery-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/7.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 5rem 1rem;
}

.gallery-header h1 {
    color: var(--light-text);
}

.gallery-filter {
    max-width: 1200px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.filter-btn {
    background-color: var(--light-bg);
    color: var(--text-color);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.gallery-link {
    display: block;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h3 {
    margin-bottom: 0.25rem;
    color: white;
}

.gallery-caption p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Blog Post Page Styles */
.blog-post {
    max-width: 800px;
    margin: 4rem auto;
    padding: 0 1rem;
}

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

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

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

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

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

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

.post-content ul, .post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.ingredients, .preparation {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

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

.post-tags ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-left: 0;
}

.post-tags li a {
    display: inline-block;
    background-color: var(--light-bg);
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.share-post h3 {
    margin-bottom: 0.5rem;
}

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

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

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.post-nav-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--light-bg);
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.post-nav-link:hover {
    background-color: var(--secondary-color);
    color: white;
}

.post-nav-link.prev i {
    margin-right: 0.5rem;
}

.post-nav-link.next i {
    margin-left: 0.5rem;
}

.related-posts {
    margin-bottom: 3rem;
}

.related-posts h2 {
    margin-bottom: 1.5rem;
}

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

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

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

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

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

.comments {
    margin-bottom: 3rem;
}

.comments h2 {
    margin-bottom: 2rem;
}

.comment {
    display: flex;
    margin-bottom: 2rem;
}

.comment.reply {
    margin-left: 3rem;
}

.comment-avatar {
    flex-shrink: 0;
    margin-right: 1rem;
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.comment-header span {
    font-size: 0.875rem;
    color: #666;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: var(--secondary-color);
    font-size: 0.875rem;
    padding: 0;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.comment-reply-btn:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.comment-form {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.no-comments {
    text-align: center;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

/* Policy Pages Styles */
.policy-header {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/8.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    text-align: center;
    padding: 5rem 1rem;
}

.policy-header h1 {
    color: var(--light-text);
}

.policy-content {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.policy-section {
    margin-bottom: 3rem;
}

.policy-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.policy-section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-section ul, .policy-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.policy-section li {
    margin-bottom: 0.5rem;
}

.refund-steps {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

/* Footer Styles */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 1rem 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h3 {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    position: relative;
}

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

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

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

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

.footer-column a {
    color: var(--light-text);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

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

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

address p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

address i {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3D Button */
.btn-3d {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    position: relative;
    box-shadow: 0 6px 0 darken(var(--primary-color), 20%);
    transition: transform 0.1s, box-shadow 0.1s;
}

.btn-3d:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #c1121f;
    color: white;
}

.btn-3d:active {
    transform: translateY(5px);
    box-shadow: 0 1px 0 #c1121f;
}

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

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

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: var(--text-color);
}

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

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

.modal-close-btn {
    padding: 0.75rem 2rem;
}

#galleryModal .modal-content {
    max-width: 90%;
    height: auto;
    padding: 0;
    background-color: transparent;
}

#galleryImage {
    display: block;
    max-width: 100%;
    max-height: 80vh;
    margin: auto;
}

#galleryCaption {
    color: white;
    text-align: center;
    padding: 1rem;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
}

.nav-btn {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(29, 53, 87, 0.95);
    color: white;
    padding: 1rem;
    z-index: 1000;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.btn-cookie {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cookie.accept {
    background-color: var(--success-color);
    color: white;
}

.btn-cookie.customize {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.btn-cookie.reject {
    background-color: var(--error-color);
    color: white;
}

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

.cookie-content a:hover {
    color: white;
}

/* Summary Box */
.summary-box {
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.summary-box h2, .summary-box h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.summary-box p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .navbar {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background-color: var(--light-bg);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        z-index: 1000;
    }
    
    .navbar.active {
        display: flex;
    }
    
    .navbar li {
        margin: 0;
    }
    
    .navbar a {
        padding: 0.75rem 2rem;
        width: 100%;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero {
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .testimonial-slider {
        padding-bottom: 1.5rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .post-nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .comment.reply {
        margin-left: 1rem;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0.75rem;
    }
    
    .logo img {
        height: 50px;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .hero {
        padding: 2.5rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .featured-posts, .about-summary, .newsletter, .blog-content {
        padding: 2rem 1rem;
    }
    
    .blog-filter {
        position: static;
        max-width: 100%;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-avatar {
        margin-bottom: 0.5rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-header span {
        margin-top: 0.25rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}
