/* Base Styles */
:root {
  --primary-color: #6C5CE7;
  --secondary-color: #FF7675;
  --accent-color: #00CEC9;
  --text-color: #2D3436;
  --light-text: #636E72;
  --background-color: #FFFFFF;
  --light-background: #F5F5F5;
  --border-color: #DFE6E9;
  --success-color: #00B894;
  --error-color: #D63031;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

button, .btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: var(--transition);
}

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

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

/* Header & Navigation */
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: 1rem 1.5rem;
}

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

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

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

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

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background-color: var(--light-background);
  padding: 5rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

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

.hero h1 span {
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--light-text);
}

.hero .btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

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

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

.featured-posts h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

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

.post-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px 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: 1.5rem;
}

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

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

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

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

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

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

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

.art-poll h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

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

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

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

.poll-option input[type="radio"] {
  margin-right: 0.75rem;
  cursor: pointer;
}

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

.poll-container button {
  display: block;
  margin: 2rem auto 0;
}

#poll-results {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

#poll-results h4 {
  margin-bottom: 1rem;
}

.result-bar {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.medium {
  width: 120px;
  font-weight: 600;
}

.bar-container {
  flex: 1;
  height: 20px;
  background-color: var(--light-background);
  border-radius: 10px;
  margin: 0 1rem;
  overflow: hidden;
}

.bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 10px;
}

.percentage {
  width: 50px;
  font-weight: 600;
  text-align: right;
}

.hidden {
  display: none;
}

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

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1.5rem;
  border-radius: 4px 0 0 4px;
  border: none;
  font-size: 1rem;
}

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

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

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

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

.footer-links h3,
.footer-legal h3,
.footer-social h3 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.2rem;
}

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

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

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

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

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

.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%;
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  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.7);
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--background-color);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}

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

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

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

.btn-accept {
  background-color: var(--success-color);
}

.btn-customize,
.btn-decline {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-customize:hover,
.btn-decline:hover {
  background-color: var(--light-background);
  color: var(--text-color);
}

.cookie-policy-link {
  margin-left: auto;
}

/* Page Banner */
.page-banner {
  background-color: var(--light-background);
  padding: 4rem 0;
  text-align: center;
  background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('images/page-banner.jpg');
  background-size: cover;
  background-position: center;
}

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

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

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

.blog-card {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
  background-color: var(--background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-card .post-image {
  height: 300px;
}

.blog-card .post-content {
  padding: 2rem;
}

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

.blog-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.blog-card .btn {
  margin-top: 1rem;
}

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

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

.post-header h1 {
  font-size: 2.8rem;
  margin: 0.5rem 0 2rem;
}

.post-featured-image {
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 2rem;
}

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

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.lead {
  font-size: 1.25rem;
  color: var(--light-text);
  font-weight: 500;
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.5rem;
}

.post-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1.25rem;
}

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

.post-content li {
  margin-bottom: 0.5rem;
}

blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 1rem 0 1rem 2rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--light-text);
}

blockquote cite {
  display: block;
  font-size: 0.9rem;
  margin-top: 1rem;
  font-style: normal;
  color: var(--text-color);
}

.post-image-container {
  margin: 2.5rem 0;
}

.post-image-container img {
  border-radius: 8px;
  width: 100%;
}

figcaption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--light-text);
  margin-top: 0.75rem;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  margin-bottom: 2rem;
}

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

.tag {
  display: inline-block;
  background-color: var(--light-background);
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

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

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

.share-buttons {
  display: flex;
  gap: 0.75rem;
}

.share-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-background);
  border-radius: 50%;
  color: var(--light-text);
  transition: var(--transition);
}

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

/* Related Posts */
.related-posts {
  padding: 5rem 0;
  background-color: var(--light-background);
}

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

.related-posts h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* About Page Styles */
.about-intro {
  padding: 5rem 0;
}

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

.about-text h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text ul {
  margin-bottom: 2rem;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

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

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

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

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

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

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.team-member h3 {
  margin: 1.5rem 0 0.5rem;
  padding: 0 1.5rem;
}

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

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

.member-social {
  display: flex;
  gap: 0.75rem;
  padding: 0 1.5rem 1.5rem;
}

.member-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--light-background);
  border-radius: 50%;
  color: var(--light-text);
  transition: var(--transition);
}

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

.testimonials {
  padding: 5rem 0;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.testimonials h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.testimonial {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
}

.testimonial blockquote {
  border-left: none;
  padding: 0;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.testimonial cite {
  font-style: normal;
  color: var(--primary-color);
  font-weight: 600;
}

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

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

.contact-info h2,
.contact-form-container h2 {
  margin-bottom: 1.5rem;
}

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

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

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

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

.info p {
  margin-bottom: 0;
}

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

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

.contact-form {
  background-color: var(--light-background);
  padding: 2rem;
  border-radius: 8px;
}

.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: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
}

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

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

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

.btn-submit {
  width: 100%;
  padding: 1rem;
}

.map-section {
  padding: 5rem 0;
  background-color: var(--light-background);
}

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

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

.map-container iframe {
  display: block;
}

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  cursor: pointer;
}

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

.checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}

.checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success-color);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 3;
  stroke: var(--success-color);
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.thank-you-message h2 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.close-btn {
  margin-top: 1.5rem;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .post-header h1 {
    font-size: 2.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media screen and (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 4rem 0;
  }
  
  .post-header h1 {
    font-size: 2.2rem;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--background-color);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    z-index: 1001;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    padding: 3rem 2rem;
  }
  
  nav ul li {
    margin-left: 0;
    margin-bottom: 1.5rem;
  }
  
  .hamburger {
    display: flex;
    z-index: 1002;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: 4px;
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
  
  .cookie-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-policy-link {
    margin-left: 0;
    text-align: center;
  }
  
  .blog-card .post-image {
    height: 200px;
  }
}

@media screen and (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .featured-posts, 
  .blog-posts,
  .about-intro,
  .team-section,
  .testimonials,
  .contact-section,
  .map-section {
    padding: 3rem 0;
  }
  
  .post-header h1 {
    font-size: 1.8rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .post-content h2 {
    font-size: 1.5rem;
  }
  
  .post-content h3 {
    font-size: 1.3rem;
  }
  
  .testimonial blockquote {
    font-size: 1.1rem;
  }
}
