/* Base Styles */
:root {
  --primary-color: #4a6fa5;
  --primary-light: #6489bd;
  --primary-dark: #345888;
  --secondary-color: #e67e22;
  --secondary-light: #f39c12;
  --text-color: #333333;
  --text-light: #777777;
  --background-color: #ffffff;
  --background-alt: #f9f9f9;
  --border-color: #e0e0e0;
  --success-color: #2ecc71;
  --error-color: #e74c3c;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Raleway', sans-serif;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 20px;
}

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

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

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

blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 15px 20px;
  margin: 30px 0;
  background-color: var(--background-alt);
  font-style: italic;
  color: var(--text-light);
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.9em;
  text-align: right;
  font-style: normal;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

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

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

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

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

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

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

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

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

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

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

nav ul li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  background-color: rgba(74, 111, 165, 0.1);
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-content {
  flex: 1;
  padding-right: 40px;
}

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

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

.hero-image {
  flex: 1;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-medium);
  object-fit: cover;
}

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

.section-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.post-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

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

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

.post-content {
  padding: 20px;
}

.post-content h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

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

.post-excerpt {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left var(--transition-fast);
}

.read-more:hover::after {
  margin-left: 10px;
}

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

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: white;
  margin-bottom: 60px;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.newsletter-text {
  flex: 1;
  padding-right: 40px;
}

.newsletter-text h2 {
  color: white;
  margin-bottom: 15px;
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  flex: 1;
}

.newsletter-form form {
  display: flex;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 14px 18px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
  background-color: var(--secondary-color);
  color: white;
  padding: 0 24px;
  transition: background-color var(--transition-fast);
}

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

/* Testimonials */
.testimonials {
  padding: 60px 0;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

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

.testimonial-slide {
  text-align: center;
}

.testimonial-content {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  margin-bottom: 40px;
  position: relative;
}

.testimonial-content::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid white;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-light);
  font-size: 1.1rem;
}

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

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

.author-info h4 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

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

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

/* Footer */
footer {
  background-color: #2c3e50;
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

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

.footer-logo p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer-links h4, 
.footer-contact h4,
.footer-social h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-family: var(--font-body);
}

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

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

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

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

.footer-contact ul li {
  display: flex;
  align-items: center;
}

.icon {
  width: 20px;
  height: 20px;
  fill: var(--primary-light);
  margin-right: 10px;
  flex-shrink: 0;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color var(--transition-fast);
}

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

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 20px;
  display: flex;
  justify-content: center;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.cookie-banner.show {
  transform: translateY(0);
}

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

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

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

.cookie-btn {
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color var(--transition-fast);
  border: 1px solid var(--border-color);
}

.accept-all {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.accept-all:hover {
  background-color: var(--primary-dark);
}

.customize, .reject {
  background-color: transparent;
}

.customize:hover, .reject:hover {
  background-color: var(--background-alt);
}

.cookie-policy-link {
  margin-left: 15px;
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

/* Page Banner */
.page-banner {
  background-color: var(--background-alt);
  padding: 60px 0;
  text-align: center;
  margin-bottom: 60px;
}

.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.page-banner p {
  color: var(--text-light);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* Blog Page */
.blog-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.search-bar {
  display: flex;
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
}

.search-bar button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
}

.search-bar button svg {
  fill: var(--text-light);
  transition: fill var(--transition-fast);
}

.search-bar button:hover svg {
  fill: var(--primary-color);
}

.category-filter select {
  padding: 12px 30px 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777777'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.blog-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.blog-posts .post-card {
  display: flex;
  flex-direction: column;
}

.blog-posts .post-image {
  height: 240px;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.pagination a, .pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 5px;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.pagination a {
  background-color: var(--background-alt);
}

.pagination a:hover {
  background-color: var(--border-color);
}

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

.pagination .next::after {
  content: '→';
  margin-left: 5px;
}

/* Blog Post Page */
.blog-post {
  margin-bottom: 60px;
}

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

.post-header .post-title {
  font-size: 2.5rem;
  margin: 15px 0;
}

.post-header .post-meta {
  font-size: 1rem;
  margin-bottom: 20px;
}

.post-author {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

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

.post-author .author-info h3 {
  margin-bottom: 0;
  font-size: 1rem;
}

.post-author .author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.post-featured-image {
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

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

.blog-post .post-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post .post-image {
  margin: 30px 0;
  height: auto;
}

.blog-post .post-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
}

.image-caption {
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 10px;
}

.post-intro {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.post-content h2, 
.post-content h3 {
  margin-top: 40px;
}

.post-content blockquote {
  font-size: 1.2rem;
}

.post-tags {
  margin-top: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.tag-label {
  font-weight: 600;
  margin-right: 15px;
}

.post-tags ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-tags ul li {
  margin-right: 10px;
  margin-bottom: 10px;
}

.post-tags ul li a {
  display: inline-block;
  padding: 5px 12px;
  background-color: var(--background-alt);
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast);
}

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

.post-share {
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.post-share span {
  font-weight: 600;
  margin-right: 15px;
}

.share-buttons {
  display: flex;
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: var(--background-alt);
  border-radius: 50%;
  margin-right: 10px;
  transition: background-color var(--transition-fast);
}

.share-buttons a:hover {
  background-color: var(--border-color);
}

.share-buttons svg {
  width: 18px;
  height: 18px;
  fill: var(--text-color);
}

.related-posts {
  padding: 60px 0;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

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

.related-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 250px;
}

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

.related-card a {
  display: block;
  height: 100%;
}

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

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

.related-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.related-content h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: white;
}

.related-meta {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

.blog-post-newsletter {
  margin-bottom: 0;
  background-color: var(--primary-light);
}

/* About Page */
.about-mission {
  margin-bottom: 60px;
}

.mission-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.mission-text {
  flex: 1;
}

.mission-text h2 {
  margin-bottom: 20px;
}

.mission-image {
  flex: 1;
}

.mission-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-medium);
}

.team {
  margin-bottom: 60px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.1rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

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

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-light);
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 10px;
}

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

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

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

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

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

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

.values {
  padding: 60px 0;
  background-color: var(--background-alt);
  margin-bottom: 60px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

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

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

.value-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.value-icon svg {
  fill: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 15px;
}

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

.join-us {
  text-align: center;
  margin-bottom: 60px;
}

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

.join-content h2 {
  margin-bottom: 20px;
}

.join-content p {
  margin-bottom: 30px;
  color: var(--text-light);
}

#join-form {
  display: flex;
  margin: 0 auto;
  max-width: 500px;
}

#join-form input {
  flex-grow: 1;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
}

#join-form button {
  border-radius: 0 4px 4px 0;
}

/* Gallery Page */
.gallery-filters {
  margin-bottom: 40px;
}

.filters {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.filter-label {
  margin-right: 15px;
  font-weight: 600;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  padding: 8px 16px;
  background-color: var(--background-alt);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  font-weight: 500;
}

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

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

.sort label {
  margin-right: 10px;
  font-weight: 600;
}

.sort select {
  padding: 8px 30px 8px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  outline: none;
  background-color: white;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23777777'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.gallery-grid {
  margin-bottom: 60px;
}

.gallery-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  height: 300px;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.item-image {
  height: 100%;
}

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

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

.item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.overlay-content {
  text-align: center;
  color: white;
  padding: 20px;
}

.overlay-content h3 {
  color: white;
  margin-bottom: 10px;
}

.artist, .medium {
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.view-details {
  margin-top: 15px;
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  font-size: 0.9rem;
}

.view-details:hover {
  background-color: var(--primary-light);
}

.load-more {
  text-align: center;
  margin-top: 40px;
}

.artwork-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1100;
  overflow-y: auto;
  padding: 50px 20px;
}

.modal-content {
  background-color: white;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
  z-index: 10;
}

.modal-image {
  flex: 1;
  max-height: 600px;
  overflow: hidden;
}

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

.modal-details {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.modal-details h2 {
  margin-bottom: 10px;
}

.modal-details .artist {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 15px;
}

.modal-details .medium,
.modal-details .size,
.modal-details .year {
  color: var(--text-light);
  margin-bottom: 5px;
}

.artwork-description {
  margin: 20px 0;
}

.artist-bio h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.modal-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-actions a {
  display: block;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  transition: background-color var(--transition-fast);
}

.artist-profile {
  background-color: var(--background-alt);
}

.artist-profile:hover {
  background-color: var(--border-color);
}

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

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

.cta-section {
  background-color: var(--primary-color);
  padding: 60px 0;
  color: white;
  margin-bottom: 60px;
  text-align: center;
}

.cta-content h2 {
  color: white;
  margin-bottom: 15px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Page */
.contact-content {
  margin-bottom: 60px;
}

.contact-flex {
  display: flex;
  gap: 40px;
}

.contact-info {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow-light);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.info-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.info-icon svg {
  fill: var(--primary-color);
}

.info-card h3 {
  margin-bottom: 15px;
}

.info-card address {
  font-style: normal;
  margin-bottom: 15px;
  line-height: 1.6;
  color: var(--text-light);
}

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

.info-card p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.info-card p a {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-form-container {
  flex: 1;
}

.letter-to-user {
  background-color: var(--background-alt);
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.letter-to-user h2 {
  margin-bottom: 15px;
}

.letter-to-user p {
  margin-bottom: 15px;
  line-height: 1.8;
}

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

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  outline: none;
}

.form-group textarea {
  resize: vertical;
}

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

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

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

.email-form {
  background-color: var(--primary-color);
  color: white;
  padding: 30px;
  border-radius: 8px;
}

.email-form h3 {
  color: white;
  margin-bottom: 15px;
}

.email-form p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
}

.email-input-group {
  display: flex;
}

.email-input-group input {
  flex-grow: 1;
  padding: 12px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
}

.email-input-group button {
  background-color: var(--secondary-color);
  color: white;
  padding: 0 20px;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.email-input-group button:hover {
  background-color: var(--secondary-light);
}

.map-section {
  margin-bottom: 60px;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

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

.map-placeholder {
  position: relative;
  height: 100%;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px);
}

.map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-overlay p {
  color: white;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px 30px;
  border-radius: 30px;
  margin-bottom: 0;
}

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

.thank-you-modal .modal-content {
  background-color: white;
  max-width: 500px;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-medium);
  position: relative;
}

.thank-you-modal .close-modal {
  top: 10px;
  right: 15px;
}

.modal-icon {
  margin-bottom: 20px;
}

.modal-icon svg {
  fill: var(--success-color);
  width: 60px;
  height: 60px;
}

.thank-you-modal h2 {
  margin-bottom: 15px;
}

.thank-you-modal p {
  margin-bottom: 30px;
}

.thank-you-modal button {
  display: inline-block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .posts-grid,
  .blog-posts,
  .related-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .gallery-items {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-flex {
    flex-direction: column;
  }
  
  .modal-content {
    flex-direction: column;
  }
  
  .modal-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .newsletter-content {
    flex-direction: column;
  }
  
  .newsletter-text {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .posts-grid,
  .blog-posts,
  .gallery-items,
  .team-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-content {
    flex-direction: column;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    text-align: center;
  }
  
  .cookie-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  .newsletter-form form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
  
  .post-header .post-title {
    font-size: 1.8rem;
  }
  
  .email-input-group {
    flex-direction: column;
  }
  
  .email-input-group input {
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  .email-input-group button {
    border-radius: 4px;
    width: 100%;
  }
  
  #join-form {
    flex-direction: column;
  }
  
  #join-form input {
    border-radius: 4px;
    margin-bottom: 10px;
  }
  
  #join-form button {
    border-radius: 4px;
    width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-policy-link {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
  }
}
