/* Base Styles */
:root {
    --primary-color: #4a6fdc;
    --secondary-color: #ff7e5f;
    --tertiary-color: #1e3a8a;
    --accent-color: #32cd32;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #888888;
    --bg-color: #ffffff;
    --bg-light: #f5f7fa;
    --bg-dark: #1a1a2e;
    --border-color: #e1e5e9;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --header-height: 80px;
    --footer-bg: #2c3e50;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --font-family: 'Poppins', -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 {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

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

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

ul, ol {
    list-style: none;
}

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

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

button {
    cursor: pointer;
    border: none;
    background-color: transparent;
}

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

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

h5 {
    font-size: 1.8rem;
}

h6 {
    font-size: 1.6rem;
}

p {
    margin-bottom: 1.5rem;
}

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

section {
    padding: 5rem 0;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    text-align: center;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background-color: var(--tertiary-color);
    border-color: var(--tertiary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 5%;
    box-shadow: var(--shadow-md);
}

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

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

.logo-container h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
    color: var(--tertiary-color);
}

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

nav ul li {
    margin-left: 2.5rem;
}

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

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    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);
    font-weight: 600;
}

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

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

.language-toggle {
    position: relative;
}

.language-toggle button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 120px;
    display: none;
    z-index: 100;
}

.language-dropdown a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-color);
    transition: var(--transition);
}

.language-dropdown a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.language-toggle:hover .language-dropdown {
    display: block;
}

/* Hero Section */
.hero {
    padding: 12rem 5% 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--tertiary-color);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.hero-image {
    flex: 1;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
}

/* Featured Posts Section */
.featured-posts {
    padding: 8rem 5%;
    background-color: var(--bg-color);
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--tertiary-color);
}

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

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

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

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

.post-content {
    padding: 2rem;
}

.post-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

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

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

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

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

/* This Day in History */
.this-day-history {
    padding: 8rem 5%;
    background-color: var(--bg-light);
}

.this-day-history h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--tertiary-color);
}

.history-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.history-content img {
    width: 40%;
    height: 400px;
    object-fit: cover;
}

.history-text {
    flex: 1;
    padding: 3rem 3rem 3rem 0;
}

.history-text h3 {
    color: var(--tertiary-color);
    margin-bottom: 1.5rem;
}

.history-text p {
    margin-bottom: 2rem;
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    color: white;
    text-align: center;
}

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

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

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

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

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

/* Footer Styles */
footer {
    background-color: var(--footer-bg);
    color: white;
    padding: 5rem 5% 2rem;
}

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

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

.footer-logo h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-links h4,
.footer-policy h4,
.footer-contact h4,
.footer-social h4 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.footer-links ul li a,
.footer-policy ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-policy ul li a:hover {
    color: white;
}

.footer-contact address {
    font-style: normal;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact address a:hover {
    color: white;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
}

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

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

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

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

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

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

.cookie-content a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
}

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

/* Blog Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    padding: 12rem 5% 6rem;
    text-align: center;
    color: white;
}

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

.page-header p {
    font-size: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-search {
    padding: 3rem 5%;
    background-color: var(--bg-light);
}

.search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    box-shadow: var(--shadow-md);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.search-form input {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    outline: none;
}

.search-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 0 2rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--tertiary-color);
}

.blog-posts {
    padding: 5rem 5%;
}

.blog-posts .post-card {
    margin-bottom: 4rem;
}

.post-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 0;
    margin-bottom: 5rem;
}

.post-card.featured img {
    height: 100%;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.post-meta {
    color: var(--text-lighter);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

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

.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.post-header h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1.5rem;
}

.post-info {
    flex: 1;
}

.post-info .author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post-info .date {
    color: var(--text-lighter);
    margin-bottom: 0;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

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

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

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

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

.post-featured-image figcaption {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-light);
    font-style: italic;
}

.post-content {
    font-size: 1.8rem;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 3rem;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: var(--tertiary-color);
}

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

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

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

.post-content ul li, .post-content ol li {
    margin-bottom: 1rem;
    list-style-type: disc;
}

.post-content ol li {
    list-style-type: decimal;
}

.image-with-caption {
    margin: 3rem 0;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.image-with-caption img {
    width: 100%;
}

.image-with-caption .caption {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--bg-light);
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

blockquote {
    margin: 3rem 0;
    padding: 2rem 3rem;
    background-color: var(--bg-light);
    border-left: 5px solid var(--primary-color);
    font-style: italic;
    border-radius: var(--border-radius-md);
}

blockquote p {
    font-size: 2rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

blockquote cite {
    display: block;
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}

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

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

.post-tags a {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--bg-light);
    color: var(--text-light);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

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

.author-bio {
    margin-top: 5rem;
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.author-bio .author-avatar {
    width: 100px;
    height: 100px;
    margin-right: 0;
}

.author-info {
    flex: 1;
}

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

.author-info p {
    margin-bottom: 1.5rem;
}

.author-social {
    display: flex;
    gap: 1.5rem;
}

.author-social a {
    color: var(--text-light);
}

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

.related-posts {
    margin-top: 6rem;
    padding: 0 2rem;
}

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

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

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

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

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

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

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

.related-content a {
    font-weight: 600;
    font-size: 1.4rem;
}

.comments {
    margin-top: 6rem;
    padding: 0 2rem;
}

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

.comment {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

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

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

.comment-content {
    flex: 1;
}

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

.comment-header h4 {
    margin-bottom: 0;
}

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

.comment-content p {
    margin-bottom: 1rem;
}

.reply-btn {
    color: var(--primary-color);
    font-weight: 600;
    background: none;
    padding: 0;
}

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

.comment-form {
    margin-top: 4rem;
}

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

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(74, 111, 220, 0.2);
}

.form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.form-group.checkbox input {
    width: auto;
    margin-top: 0.3rem;
}

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

/* Gallery Page Styles */
.gallery-filter {
    padding: 3rem 5%;
    background-color: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.6rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-weight: 500;
    transition: var(--transition);
}

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

.search-container {
    display: flex;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.search-container input {
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    width: 200px;
}

.search-container button {
    background-color: white;
    border: none;
    padding: 0 1.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.search-container button:hover {
    color: var(--primary-color);
}

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

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

.gallery-image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.gallery-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

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

.overlay-content {
    text-align: center;
    padding: 2rem;
    color: white;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.view-btn {
    padding: 0.8rem 1.6rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: var(--transition);
}

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

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

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    width: 80%;
    max-width: 1000px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1002;
}

.modal-image-container {
    width: 100%;
    height: 60vh;
    background-color: black;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-details {
    padding: 2rem;
    overflow-y: auto;
}

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

.modal-details p {
    margin-bottom: 1rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-pagination {
    padding: 3rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

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

.pagination-numbers {
    display: flex;
    gap: 0.8rem;
}

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

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

.featured-artists {
    padding: 6rem 5%;
    background-color: var(--bg-light);
}

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

.artist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

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

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

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

.artist-info {
    padding: 2rem;
}

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

.artist-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* About Page Styles */
.about-intro {
    padding: 5rem 5%;
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-image {
    flex: 1;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-content {
    flex: 1;
}

.about-content h2 {
    color: var(--tertiary-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

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

.stat-number {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1.2;
}

.stat-text {
    color: var(--text-light);
    font-size: 1.4rem;
}

.mission-values {
    padding: 5rem 5%;
    background-color: var(--bg-light);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 4rem;
}

.mission-content h2, .values-content h2 {
    color: var(--tertiary-color);
}

.values-content ul {
    margin-top: 2rem;
}

.values-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

.value-text h3 {
    margin-bottom: 0.5rem;
}

.team-section {
    padding: 6rem 5%;
}

.team-section h2, .team-intro {
    text-align: center;
}

.team-intro {
    max-width: 700px;
    margin: 0 auto 4rem;
}

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

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

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

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

.team-member h3 {
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
}

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

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

.member-social {
    display: flex;
    gap: 1rem;
    padding: 0 2rem;
    margin-top: 1.5rem;
}

.member-social a {
    color: var(--text-light);
}

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

.testimonials {
    padding: 6rem 5%;
    background-color: var(--bg-light);
}

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

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

.testimonial-slide {
    display: none;
}

.testimonial-slide:first-child {
    display: block;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    color: rgba(74, 111, 220, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
}

.testimonial-text {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

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

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

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

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

.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.prev-testimonial, .next-testimonial {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.prev-testimonial:hover, .next-testimonial:hover {
    color: var(--primary-color);
}

.testimonial-dots {
    display: flex;
    gap: 0.8rem;
}

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

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

.partners {
    padding: 6rem 5%;
    text-align: center;
}

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

.partners p {
    max-width: 600px;
    margin: 0 auto 4rem;
    color: var(--text-light);
}

.partner-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.partner-logo {
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    opacity: 1;
}

.cta-section {
    padding: 6rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    color: white;
    text-align: center;
}

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

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

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

/* Contact Page Styles */
.contact-container {
    padding: 5rem 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    padding: 3rem;
    background-color: var(--bg-light);
    border-radius: var(--border-radius-lg);
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--tertiary-color);
}

.contact-info > p {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

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

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

.info-text p, .info-text a {
    color: var(--text-light);
    margin-bottom: 0;
}

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

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

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

.contact-form-container h2 {
    margin-bottom: 2.5rem;
    color: var(--tertiary-color);
}

.contact-form .form-group:last-child {
    margin-bottom: 0;
}

.contact-form select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.5rem;
}

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

.map-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
}

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

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

.faq-section h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--tertiary-color);
}

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

.faq-item {
    margin-bottom: 2rem;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 2rem;
    background-color: white;
    border: none;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.8rem;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.faq-icon {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    transition: var(--transition);
}

.faq-answer {
    background-color: white;
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

.faq-item.active .faq-question {
    border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
    background-color: var(--primary-color);
    color: white;
}

.faq-item.active .faq-icon {
    transform: translateY(-50%) rotate(45deg);
}

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

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

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 0;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
}

.modal-body {
    padding: 4rem 3rem;
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background-color: rgba(76, 175, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success-color);
}

.modal-body h2 {
    margin-bottom: 1.5rem;
}

.modal-body p {
    margin-bottom: 3rem;
}

/* Media Queries */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
    
    .hero {
        padding: 10rem 5% 6rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .about-intro,
    .history-content {
        flex-direction: column;
    }
    
    .about-image,
    .history-content img {
        max-width: 100%;
        width: 100%;
    }
    
    .history-text {
        padding: 3rem;
    }
}

@media (max-width: 900px) {
    html {
        font-size: 55%;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .post-card.featured {
        grid-template-columns: 1fr;
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 1000;
        padding-top: 80px;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 1.5rem 2rem;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    html {
        font-size: 50%;
    }
    
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .post-grid,
    .gallery-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-container {
        justify-content: center;
    }
    
    .search-container {
        width: 100%;
    }
    
    .search-container input {
        width: 100%;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-share {
        width: 100%;
        justify-content: flex-start;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
}
