/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #c5796d;
    --accent-color: #f0b67f;
    --text-color: #333333;
    --background-color: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

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

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

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

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

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

.btn-secondary:hover {
    background-color: var(--medium-gray);
    color: var(--text-color);
}

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

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

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

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

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

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

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

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

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(--light-gray);
    padding: 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--dark-gray);
}

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2,
.related-posts h3 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.featured-posts h2:after,
.related-posts h3:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.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(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.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: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.post-meta span {
    margin-right: 15px;
}

.post-content h3,
.post-content h4 {
    font-family: var(--font-secondary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.post-content p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.read-more {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.view-all {
    text-align: center;
    margin-top: 40px;
}

/* Timeline Section */
.art-timeline {
    background-color: var(--light-gray);
    padding: 80px 0;
}

.art-timeline h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.art-timeline h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

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

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

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

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

.timeline-dot {
    width: 20px;
    height: 20px;
    position: absolute;
    background-color: var(--accent-color);
    border-radius: 50%;
    right: -10px;
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.timeline-content h3 {
    font-family: var(--font-secondary);
    margin-bottom: 5px;
}

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

.newsletter h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

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

.newsletter-form input {
    flex-grow: 1;
    padding: 12px 15px;
    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);
}

/* Blog Page Styles */
.page-header {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/1.jpg');
    background-size: cover;
    background-position: center;
}

.page-header h1 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--dark-gray);
}

.blog-posts {
    padding-bottom: 80px;
}

/* Single Blog Post Page */
.blog-post {
    padding-bottom: 80px;
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin: 15px 0 30px;
    line-height: 1.3;
}

.featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
}

.post-overview {
    background-color: var(--light-gray);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.post-overview h2 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-overview ul {
    padding-left: 20px;
}

.post-overview li {
    margin-bottom: 8px;
}

.post-content h2,
.post-content h3 {
    font-family: var(--font-secondary);
    margin: 30px 0 15px;
}

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

.post-content h3 {
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.post-tags span,
.post-share span {
    font-weight: 600;
    margin-right: 10px;
}

.post-tags a {
    display: inline-block;
    margin-right: 10px;
    padding: 5px 10px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

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

.post-share a {
    display: inline-flex;
    margin-right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

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

.related-posts {
    margin-top: 60px;
}

/* About Page Styles */
.about-story {
    padding-bottom: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
}

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

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.our-values {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.our-values h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.our-values h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.value-card h3 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.team-section h2 {
    font-family: var(--font-secondary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.team-section h2:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

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

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

.team-member:hover {
    transform: translateY(-10px);
}

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

.team-member h3 {
    font-family: var(--font-secondary);
    margin: 20px 0 5px;
    padding: 0 15px;
}

.team-member p {
    color: var(--dark-gray);
    padding: 0 15px;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    margin: 15px 0 20px;
}

.member-social a {
    display: inline-flex;
    margin: 0 5px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light-gray);
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

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

/* Contact Page Styles */
.contact-section {
    padding-bottom: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-form-container h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
}

.contact-text h3 {
    font-family: var(--font-secondary);
    margin-bottom: 5px;
}

.contact-social h3 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
}

.contact-social .social-icons {
    display: flex;
}

.contact-social .social-icons a {
    display: inline-flex;
    margin-right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-gray);
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

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

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

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 1rem;
}

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

.map-section {
    padding-bottom: 80px;
}

.map-section h2 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

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

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

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

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

.thank-you-message svg {
    color: #4CAF50;
    margin-bottom: 20px;
}

.thank-you-message h2 {
    font-family: var(--font-secondary);
    margin-bottom: 15px;
}

.thank-you-message p {
    margin-bottom: 20px;
}

.close-btn {
    display: inline-block;
    margin-top: 10px;
}

/* Footer Styles */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

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

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

.footer-logo p {
    color: #ccc;
}

.footer-links h3,
.footer-social h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after,
.footer-social h3:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
}

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

.footer-social .social-icons {
    display: flex;
}

.footer-social .social-icons a {
    display: inline-flex;
    margin-right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    align-items: center;
    justify-content: center;
    color: white;
}

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #999;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

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

.cookie-content p {
    margin-bottom: 15px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.cookie-link {
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-dot {
        left: 20px;
        right: auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-footer {
        flex-direction: column;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-card {
        max-width: 300px;
        margin: 0 auto;
    }
}
