/* Main CSS Styles for RiverFrameFolio Blog */

/* 
=========================================
Table of Contents:
1. Variables
2. Base & Typography
3. Layout
4. Header & Navigation
5. Footer
6. Home Page
7. Blog Page
8. Gallery Page
9. About Page
10. Contact Page
11. Blog Post Styles
12. Forms
13. Buttons
14. Cards & Components
15. Cookie Banner
16. Modal
17. Utilities
18. Media Queries
=========================================
*/

/* 1. Variables */
:root {
    /* Colors */
    --color-primary: #6d5dfc;
    --color-primary-dark: #5a4cdc;
    --color-primary-light: #8677ff;
    --color-secondary: #ff7e5f;
    --color-secondary-dark: #e76e54;
    --color-secondary-light: #ff9e88;
    --color-tertiary: #1cb3c8;
    
    --color-text: #333333;
    --color-text-light: #666666;
    --color-text-lighter: #999999;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-border: #e0e0e0;
    --color-shadow: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --font-size-base: 1rem; /* 16px */
    --font-size-sm: 0.875rem; /* 14px */
    --font-size-xs: 0.75rem; /* 12px */
    --font-size-lg: 1.125rem; /* 18px */
    --font-size-xl: 1.25rem; /* 20px */
    --font-size-2xl: 1.5rem; /* 24px */
    --font-size-3xl: 1.875rem; /* 30px */
    --font-size-4xl: 2.25rem; /* 36px */
    
    /* Spacing */
    --spacing-xs: 0.25rem; /* 4px */
    --spacing-sm: 0.5rem; /* 8px */
    --spacing-md: 1rem; /* 16px */
    --spacing-lg: 1.5rem; /* 24px */
    --spacing-xl: 2rem; /* 32px */
    --spacing-2xl: 3rem; /* 48px */
    --spacing-3xl: 4rem; /* 64px */
    
    /* Border Radius */
    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 1rem; /* 16px */
    --border-radius-full: 9999px;
    
    /* Box Shadow */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-medium: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;
}

/* 2. Base & Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
}

h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-md);
}

h4 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
}

h5 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

h6 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-sm);
}

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

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

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

ul, ol {
    padding-left: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

li {
    margin-bottom: var(--spacing-sm);
}

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

blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--spacing-lg);
    margin-left: 0;
    margin-bottom: var(--spacing-xl);
    font-style: italic;
    color: var(--color-text-light);
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--color-border);
    margin: var(--spacing-xl) 0;
}

/* 3. Layout */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

main {
    padding-top: 80px; /* Account for fixed header */
    min-height: 80vh;
}

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

/* 4. Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--color-bg);
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

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

nav {
    display: flex;
    align-items: center;
}

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

.main-menu li {
    margin-left: var(--spacing-lg);
    margin-bottom: 0;
}

.main-menu a {
    position: relative;
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    color: var(--color-text);
}

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

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

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

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

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-text);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

/* 5. Footer */
footer {
    background-color: var(--color-bg-alt);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    margin-top: var(--spacing-3xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-about p {
    margin-bottom: var(--spacing-md);
}

.footer-logo {
    width: 120px;
    margin-bottom: var(--spacing-md);
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
    margin-bottom: var(--spacing-md);
}

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

.footer-links li,
.footer-legal li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a,
.footer-legal a {
    color: var(--color-text);
    transition: color var(--transition-fast);
}

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

.footer-contact address {
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
}

.footer-contact svg {
    margin-right: var(--spacing-sm);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-bg);
    border-radius: var(--border-radius-full);
    transition: all var(--transition-fast);
}

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

.social-icons svg {
    width: 20px;
    height: 20px;
    fill: var(--color-text);
    transition: fill var(--transition-fast);
}

.social-icons a:hover svg {
    fill: white;
}

.copyright {
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 0;
}

/* 6. Home Page */
.hero {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg-alt);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-content h1 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-md);
}

.hero-content p {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-light);
}

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

.intro {
    padding: var(--spacing-3xl) 0;
}

.intro h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.intro-story {
    max-width: 800px;
    margin: 0 auto;
}

.intro-story p {
    font-size: var(--font-size-lg);
    line-height: 1.8;
}

.featured-posts {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-bg-alt);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

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

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

.post-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
}

.post-content {
    padding: var(--spacing-lg);
}

.post-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.post-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

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

.read-more::after {
    content: '→';
    display: inline-block;
    margin-left: var(--spacing-xs);
    transition: transform var(--transition-fast);
}

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

.view-all {
    text-align: center;
}

.newsletter {
    padding: var(--spacing-3xl) 0;
    background-color: var(--color-primary);
    color: white;
}

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

.newsletter-content h2 {
    color: white;
    margin-bottom: var(--spacing-md);
}

.newsletter-content p {
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: none;
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

.summary-section {
    padding: var(--spacing-2xl) 0;
}

.summary-box {
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    margin: 0 auto;
    max-width: 800px;
}

.summary-box h3 {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

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

/* 7. Blog Page */
.blog-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-bg-alt);
}

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

.blog-hero-content h1 {
    margin-bottom: var(--spacing-md);
}

.blog-filters {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar input {
    flex: 1;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-right: none;
    border-top-left-radius: var(--border-radius-md);
    border-bottom-left-radius: var(--border-radius-md);
    font-family: var(--font-primary);
}

.search-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: white;
    border: none;
    padding: 0 var(--spacing-md);
    border-top-right-radius: var(--border-radius-md);
    border-bottom-right-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.search-bar button:hover {
    background-color: var(--color-primary-dark);
}

.category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.filter-btn {
    background-color: transparent;
    border: 1px solid var(--color-border);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.blog-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    background-color: var(--color-bg);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.blog-details {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.blog-category, .blog-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

.blog-category {
    color: var(--color-primary);
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-content h2 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.blog-content p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-light);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius-full);
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination a:hover, .pagination a.active {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination a.next {
    width: auto;
    padding: 0 var(--spacing-md);
}

/* 8. Gallery Page */
.gallery-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-bg-alt);
}

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

.gallery-filters {
    margin-bottom: var(--spacing-xl);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-md);
    cursor: pointer;
}

.gallery-item:nth-child(3n) {
    grid-row: span 2;
}

.gallery-image {
    width: 100%;
    height: 100%;
}

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

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    transition: opacity var(--transition-medium);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
}

.overlay-content h3 {
    margin-bottom: var(--spacing-xs);
    color: white;
    font-size: var(--font-size-lg);
}

.overlay-content p {
    margin-bottom: var(--spacing-xs);
    font-size: var(--font-size-sm);
}

.artist {
    font-style: italic;
    font-size: var(--font-size-sm);
}

.exhibition-info {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-alt);
}

.exhibition-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.exhibition-content h2 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xs);
}

.exhibition-content h3 {
    font-size: var(--font-size-xl);
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.exhibition-dates, .exhibition-location {
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.exhibition-description {
    margin-bottom: var(--spacing-lg);
}

.exhibition-image img {
    border-radius: var(--border-radius-md);
}

.cta-section {
    text-align: center;
    padding: var(--spacing-2xl) 0;
}

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

.cta-content h2 {
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    margin-bottom: var(--spacing-lg);
}

/* 9. About Page */
.about-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-bg-alt);
}

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

.our-story {
    padding: var(--spacing-2xl) 0;
}

.story-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.story-text h2 {
    margin-bottom: var(--spacing-md);
}

.story-text p {
    margin-bottom: var(--spacing-md);
}

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

.our-mission {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-alt);
}

.mission-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.mission-box h2 {
    margin-bottom: var(--spacing-lg);
}

.mission-content {
    text-align: left;
}

.team-section {
    padding: var(--spacing-2xl) 0;
}

.team-section h2, .team-intro {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-intro {
    margin-bottom: var(--spacing-xl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

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

.team-member img {
    width: 100%;
    border-radius: var(--border-radius-full);
    margin-bottom: var(--spacing-md);
    object-fit: cover;
    aspect-ratio: 1/1;
}

.team-member h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.team-member p:first-of-type {
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.values-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-alt);
}

.values-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    background-color: var(--color-bg);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.value-icon {
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
}

.value-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

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

.achievements {
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.achievements h2 {
    margin-bottom: var(--spacing-xl);
}

.achievement-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
}

.stat-item .stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--color-primary);
    display: block;
    margin-bottom: var(--spacing-sm);
}

.stat-item p {
    margin-bottom: 0;
    font-weight: 500;
}

.testimonials {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-alt);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
}

.testimonial {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: var(--spacing-md);
}

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

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

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    margin-right: var(--spacing-md);
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: var(--spacing-xs);
}

.testimonial-author p {
    margin-bottom: 0;
    color: var(--color-text-light);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
}

.dot.active {
    background-color: var(--color-primary);
}

/* 10. Contact Page */
.contact-hero {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    background-color: var(--color-bg-alt);
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-form-container, .contact-info {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2, .contact-info h2 {
    margin-bottom: var(--spacing-lg);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    margin-right: var(--spacing-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-light);
    border-radius: var(--border-radius-full);
    color: var(--color-bg);
}

.info-content h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.info-content p {
    margin-bottom: var(--spacing-xs);
}

.social-connect {
    margin-top: var(--spacing-xl);
}

.social-connect h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
}

.map-section {
    padding: var(--spacing-2xl) 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

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

.map-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.map-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-placeholder p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    margin: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
}

.faq-section {
    padding: var(--spacing-2xl) 0;
    background-color: var(--color-bg-alt);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

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

.faq-item {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    cursor: pointer;
}

.faq-question h3 {
    font-size: var(--font-size-lg);
    margin-bottom: 0;
    flex: 1;
}

.faq-toggle {
    font-size: var(--font-size-2xl);
    font-weight: 300;
    line-height: 1;
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    display: none;
}

.faq-answer p {
    margin-bottom: 0;
}

/* 11. Blog Post Styles */
.blog-post {
    padding-top: var(--spacing-xl);
}

.post-header {
    margin-bottom: var(--spacing-xl);
}

.post-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

.post-meta .post-category {
    color: var(--color-primary);
}

.post-title {
    margin-bottom: var(--spacing-lg);
}

.post-featured-image {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-xl);
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.post-content {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.8;
}

.post-content h2 {
    margin-top: var(--spacing-xl);
}

.post-content h3 {
    margin-top: var(--spacing-lg);
}

.post-content img {
    margin: var(--spacing-lg) auto;
    border-radius: var(--border-radius-md);
}

.post-footer {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    align-items: center;
}

.post-tags span {
    color: var(--color-text-light);
}

.post-tags a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    transition: all var(--transition-fast);
}

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

.post-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.post-share span {
    color: var(--color-text-light);
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: var(--border-radius-full);
    background-color: var(--color-bg-alt);
    transition: all var(--transition-fast);
}

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

.post-share svg {
    fill: var(--color-text);
    transition: fill var(--transition-fast);
}

.post-share a:hover svg {
    fill: white;
}

.post-author-bio {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    gap: var(--spacing-lg);
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-lg);
}

.author-image img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-full);
    object-fit: cover;
}

.author-info h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-light);
}

.author-info h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
}

.author-info p {
    margin-bottom: 0;
    font-size: var(--font-size-base);
}

.post-navigation {
    max-width: 800px;
    margin: 0 auto var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.prev-post, .next-post {
    padding: var(--spacing-md);
    background-color: var(--color-bg-alt);
    border-radius: var(--border-radius-md);
}

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

.nav-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--color-text-light);
    margin-bottom: var(--spacing-xs);
}

.post-title {
    font-weight: 500;
}

.related-posts {
    max-width: 800px;
    margin: 0 auto;
}

.related-posts h3 {
    margin-bottom: var(--spacing-lg);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.related-post-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

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

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

.related-post-content {
    padding: var(--spacing-md);
}

.related-post-content h4 {
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-xs);
    line-height: 1.4;
}

.related-post-content .post-date {
    font-size: var(--font-size-sm);
    color: var(--color-text-lighter);
}

/* 12. Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

input, textarea, select {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.1);
}

textarea {
    resize: vertical;
}

/* 13. Buttons */
.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    border: none;
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

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

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

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

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

.btn-tertiary {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
}

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

/* 14. Cards & Components */
/* (Most card styles are defined within their respective sections) */

/* 15. Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-bg);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: var(--spacing-lg);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

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

.cookie-content p {
    margin-bottom: var(--spacing-md);
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.cookie-more-info {
    font-size: var(--font-size-sm);
    margin-bottom: 0;
}

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

.modal-content {
    background-color: var(--color-bg);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    font-size: var(--font-size-xl);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: var(--spacing-xl);
    text-align: center;
}

.thank-you-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-primary);
}

.thank-you-icon svg {
    width: 64px;
    height: 64px;
}

.modal-body h2 {
    margin-bottom: var(--spacing-md);
}

.modal-body p {
    margin-bottom: var(--spacing-lg);
}

.close-btn {
    margin-top: var(--spacing-sm);
}

/* 17. Utilities */
.text-center {
    text-align: center;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 18. Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-lg);
    }
    
    h1 { font-size: calc(var(--font-size-4xl) * 0.9); }
    h2 { font-size: calc(var(--font-size-3xl) * 0.9); }
}

@media (max-width: 992px) {
    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        row-gap: var(--spacing-xl);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievement-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .story-content {
        grid-template-columns: 1fr;
    }
    
    .story-image {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }
    
    .exhibition-banner {
        grid-template-columns: 1fr;
    }
    
    .exhibition-image {
        order: -1;
        margin-bottom: var(--spacing-lg);
    }
    
    .blog-card {
        grid-template-columns: 1fr;
    }
    
    .blog-image img {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .hero-content {
        order: 1;
        text-align: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .post-footer {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: flex-start;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .post-author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .next-post {
        text-align: left;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-lg) 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all var(--transition-medium);
        z-index: 999;
    }
    
    .main-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .main-menu li {
        margin: var(--spacing-sm) 0;
    }
}

@media (max-width: 576px) {
    :root {
        --container-padding: 1rem;
    }
    
    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
    
    .post-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}
