/* Base Styles */
:root {
  /* Colors */
  --primary-color: #6c5ce7;
  --primary-light: #a29bfe;
  --primary-dark: #5641e5;
  --secondary-color: #ff7675;
  --accent-color: #00cec9;
  --text-color: #2d3436;
  --text-light: #636e72;
  --background-color: #ffffff;
  --background-alt: #f7f7f7;
  --border-color: #dfe6e9;
  --success-color: #00b894;
  --warning-color: #fdcb6e;
  --error-color: #d63031;
  
  /* Typography */
  --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  
  /* Sizes */
  --container-width: 1200px;
  --header-height: 80px;
  --footer-height: 300px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

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

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

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

blockquote {
  border-left: 4px solid var(--primary-light);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background-color: rgba(108, 92, 231, 0.05);
  border-radius: var(--border-radius);
}

blockquote p {
  font-style: italic;
  margin-bottom: 0.5rem;
}

blockquote cite {
  font-size: 0.875rem;
  color: var(--text-light);
  font-style: normal;
  display: block;
}

code {
  font-family: var(--font-mono);
  background-color: var(--background-alt);
  padding: 0.2rem 0.4rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.875rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
  margin: 2rem 0;
}

button, .btn-primary, .btn-secondary, .btn-tertiary {
  cursor: pointer;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
  border: none;
  outline: none;
  display: inline-block;
}

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

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

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

.btn-secondary:hover {
  background-color: rgba(108, 92, 231, 0.1);
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

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

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header Styles */
header {
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.logo img {
  height: 50px;
  border-radius: 0;
}

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

.nav-links li {
  margin: 0 1rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-color);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

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

.nav-links a.active:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

.mobile-nav-toggle {
  display: none;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero Section Styles */
.hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8rem 0 6rem;
  text-align: center;
  margin-top: var(--header-height);
}

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

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* Blog Hero */
.blog-hero, .contact-hero, .about-hero {
  background-color: var(--primary-color);
  background-image: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: var(--header-height);
}

.blog-hero h1, .contact-hero h1, .about-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

.blog-hero p, .contact-hero p, .about-hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

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

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

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

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

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

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

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

.view-all {
  text-align: center;
  margin-top: 3rem;
}

/* Poll Section Styles */
.art-poll {
  background-color: var(--background-alt);
  padding: 5rem 0;
}

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

.poll-container {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.poll-container h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.poll-option {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.poll-option input {
  margin-right: 1rem;
}

.poll-option label {
  font-size: 1.1rem;
}

#art-poll-form button {
  margin-top: 1.5rem;
  width: 100%;
}

#poll-results {
  margin-top: 2rem;
}

#poll-results.hidden {
  display: none;
}

.result-bar {
  margin-bottom: 1rem;
}

.medium {
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.progress {
  height: 20px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Art Facts Section */
.art-facts {
  padding: 5rem 0;
}

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

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

.fact-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.fact-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(108, 92, 231, 0.1);
  font-family: var(--font-heading);
}

.fact-card h3 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Blog Page Styles */
.blog-posts {
  padding: 5rem 0;
}

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

.blog-posts .post-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-posts .post-excerpt {
  flex-grow: 1;
}

.post-meta {
  display: flex;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.post-date {
  margin-right: 1rem;
}

.post-category {
  color: var(--primary-color);
  font-weight: 600;
}

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

.post-header {
  text-align: center;
  margin-bottom: 2rem;
}

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

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

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

.author-info {
  text-align: left;
}

.author-name {
  display: block;
  font-weight: 600;
}

.read-time {
  font-size: 0.875rem;
  color: var(--text-light);
}

.post-featured-image {
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 500px;
}

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

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

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

.tag-label {
  margin-right: 1rem;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(108, 92, 231, 0.1);
  color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  margin: 0.25rem;
  font-size: 0.875rem;
  transition: background-color var(--transition-fast);
}

.tag:hover {
  background-color: rgba(108, 92, 231, 0.2);
  color: var(--primary-dark);
}

.post-share {
  margin: 3rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

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

.share-buttons {
  display: flex;
}

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

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

.post-navigation {
  margin: 4rem 0;
  display: flex;
  justify-content: space-between;
}

.nav-previous, .nav-next {
  max-width: 45%;
}

.nav-link {
  display: block;
  padding: 1.5rem;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  color: var(--text-color);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  background-color: rgba(108, 92, 231, 0.1);
  color: var(--text-color);
}

.nav-direction {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.nav-direction svg {
  width: 16px;
  height: 16px;
}

.nav-previous .nav-direction svg {
  margin-right: 0.5rem;
}

.nav-next .nav-direction svg {
  margin-left: 0.5rem;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.related-posts {
  padding: 3rem 0 5rem;
  background-color: var(--background-alt);
}

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

/* About Page Styles */
.our-mission {
  padding: 5rem 0;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.mission-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 400px;
}

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

.mission-text h2 {
  margin-top: 0;
}

.our-team {
  padding: 5rem 0;
  background-color: var(--background-alt);
}

.our-team h2 {
  text-align: center;
  margin-bottom: 1rem;
}

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

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

.team-member {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

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

.team-member h3 {
  margin: 1.5rem 1.5rem 0.5rem;
  font-size: 1.25rem;
}

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

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

.social-links {
  display: flex;
  padding: 0 1.5rem 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--background-alt);
  border-radius: 50%;
  margin-right: 0.5rem;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

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

.values {
  padding: 5rem 0;
}

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

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

.value-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.value-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(108, 92, 231, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--primary-color);
}

.value-card h3 {
  margin-top: 0;
}

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

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

.contact-info h2, .contact-form-container h2 {
  margin-top: 0;
}

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

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(108, 92, 231, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.info-text h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

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

.social-connect h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--background-alt);
  border-radius: 50%;
  margin-right: 1rem;
  color: var(--text-color);
  transition: all var(--transition-fast);
}

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

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

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

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

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

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

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

.form-checkbox input {
  width: auto;
  margin-right: 0.75rem;
}

.form-checkbox label {
  margin-bottom: 0;
}

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

.map-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

/* Thank You Popup */
.thank-you-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal);
}

.thank-you-popup.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

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

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

.popup-content h2 {
  margin-top: 0;
}

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

/* Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--background-color);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.cookie-notice.active {
  transform: translateY(0);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem;
}

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

.cookie-more-info {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* Footer Styles */
footer {
  background-color: #2d3436;
  color: white;
  padding: 5rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
  border-radius: 0;
}

.footer-logo p {
  opacity: 0.7;
}

.footer-links h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

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

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

.footer-social h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-social .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

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

.copyright {
  text-align: center;
  margin-top: 4rem;
  opacity: 0.7;
  font-size: 0.875rem;
}

.copyright p {
  margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero h1, .blog-hero h1, .contact-hero h1, .about-hero h1 {
    font-size: 2.5rem;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
  }
  
  .mission-image {
    height: 300px;
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .post-featured-image {
    height: 300px;
  }
  
  .post-navigation {
    flex-direction: column;
  }
  
  .nav-previous, .nav-next {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .facts-container, .values-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}

/* Animation Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeIn {
  animation: fadeIn 0.5s ease forwards;
}
