/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #3a5a8c;
    --primary-light: #dde9f8;
    --secondary-color: #e07a5f;
    --secondary-dark: #c66b53;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #e9ecef;
    --border-color: #dee2e6;
    --success-color: #57a773;
    --warning-color: #f8a488;
    --error-color: #d62828;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --border-radius: 6px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

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

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

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

li {
    margin-bottom: 0.5rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    line-height: 1.5;
}

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

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

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

.btn.tertiary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.center {
    text-align: center;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.5rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
    border-radius: 50%;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 0 1rem;
    margin-bottom: 0;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 0;
    position: relative;
}

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

nav ul li a:hover:after,
nav ul li a.active:after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(74, 111, 165, 0.9), rgba(74, 111, 165, 0.9)), url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

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

/* Featured Posts Section */
.featured {
    padding: 5rem 0;
}

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

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

.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 25px rgba(0, 0, 0, 0.1);
}

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

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

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

.post-content {
    padding: 1.5rem;
}

.post-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

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

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

/* Beginners Guide Section */
.beginners-guide {
    background-color: var(--primary-light);
    padding: 5rem 0;
}

.beginners-guide .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.guide-content {
    flex: 1;
}

.guide-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.guide-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

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

.guide-list .icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

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

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

.testimonial-slider {
    display: flex;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex: 1;
}

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

.testimonial p:before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    left: -0.5rem;
    top: -1.5rem;
    color: var(--primary-light);
    z-index: -1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

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

.testimonial-author span {
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    border-radius: 50%;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
}

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

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

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

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

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

/* Page Header (for inner pages) */
.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

/* Blog Page */
.blog-content {
    padding: 5rem 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

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

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

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

.blog-post h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

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

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

.sidebar-widget h3 {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget.categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget.categories ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.sidebar-widget.categories ul li a:before {
    content: '→';
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.sidebar-widget.popular-posts ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget.popular-posts ul li {
    margin-bottom: 1rem;
}

.sidebar-widget.popular-posts ul li a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-widget.popular-posts ul li a img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.sidebar-widget.tags .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sidebar-widget.tags .tag-cloud a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--background-light);
    border-radius: 30px;
    font-size: 0.85rem;
    transition: var(--transition);
}

.sidebar-widget.tags .tag-cloud a:hover {
    background-color: var(--primary-light);
}

.sidebar-widget.beginners-section {
    background-color: var(--primary-light);
}

.beginners-content {
    text-align: center;
}

.beginners-content img {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    width: 100%;
}

.sidebar-widget.newsletter form {
    display: flex;
    flex-direction: column;
}

.sidebar-widget.newsletter input {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* Single Post Page */
.single-post {
    padding: 5rem 0;
}

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

.post-header {
    background-color: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

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

.post-header .post-meta {
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

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

.post-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

.post-text .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    font-weight: 500;
}

.post-text h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

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

.post-text blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background-color: var(--primary-light);
    font-style: italic;
}

.post-text .image-block {
    margin: 2rem 0;
}

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

.post-text .image-block .caption {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

.post-text .author-bio {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
}

.post-text .author-bio img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.post-text .author-bio h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.post-tags {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

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

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

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

.post-share {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

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

.post-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--background-light);
    border-radius: 50%;
    color: var(--text-color);
    margin-right: 0.5rem;
    transition: var(--transition);
}

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

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

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

.prev-post span,
.next-post span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.prev-post a,
.next-post a {
    font-weight: 600;
}

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

.related-posts {
    margin-top: 4rem;
}

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

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

.related-post {
    background-color: white;
    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 25px rgba(0, 0, 0, 0.1);
}

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

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

.comments-section {
    margin-top: 4rem;
}

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

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

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

.comment-content {
    flex: 1;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    color: var(--text-light);
    font-size: 0.9rem;
}

.reply-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-top: 0.5rem;
}

.reply-btn:hover {
    text-decoration: underline;
}

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

.comment-form h3 {
    margin-bottom: 1.5rem;
}

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

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

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

.form-group textarea {
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.post-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget.about-author {
    text-align: center;
}

.author-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
}

.author-card h4 {
    margin-bottom: 0.5rem;
}

.author-card p {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

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

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

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

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

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

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.value-item h3 {
    margin-bottom: 0.75rem;
}

.team-section {
    margin-bottom: 5rem;
}

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

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

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

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

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

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

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

.team-member .social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

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

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

.testimonials-section {
    margin-bottom: 5rem;
}

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

.cta-section {
    background-color: var(--primary-light);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 0;
}

.cta-section h2 {
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

.info-item .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    color: var(--primary-color);
    margin-right: 1.5rem;
}

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

.map-section {
    margin-bottom: 5rem;
}

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

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

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

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

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    margin-bottom: 1rem;
    cursor: pointer;
}

.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

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

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

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

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

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

.cookie-btn {
    padding: 0.5rem 1rem;
}

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

/* Responsive Styles */
@media (max-width: 992px) {
    .blog-content,
    .single-post .container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar,
    .blog-sidebar {
        position: static;
        margin-top: 3rem;
    }
    
    .beginners-guide .container {
        flex-direction: column;
    }
    
    .mission-values,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .blog-post {
        grid-template-columns: 1fr;
    }
    
    .blog-post .post-image {
        height: 200px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .prev-post, 
    .next-post {
        max-width: none;
        text-align: left;
    }
    
    .post-text .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
    }
    
    .testimonial-slider {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .value-item {
        padding: 1rem;
    }
}
