/* Base styles and reset */
:root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --accent-color: #e74c3c;
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #333333;
  --border-color: #ddd;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f9f9f9;
  overflow-x: hidden;
}

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

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

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

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

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

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

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

.logo h1 {
  font-size: 1.75rem;
  margin-bottom: 0;
  color: var(--primary-color);
}

nav ul {
  display: flex;
}

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

nav ul li a {
  color: var(--dark-color);
  font-weight: 500;
  padding: 0.5rem;
  border-radius: var(--border-radius);
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
}

nav ul li a.active {
  font-weight: 700;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 5rem 0;
  margin-bottom: 3rem;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: white;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

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

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

.btn-accept:hover {
  background-color: #27ae60;
}

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

.btn-customize:hover {
  background-color: #2980b9;
}

.btn-reject {
  background-color: #7f8c8d;
}

.btn-reject:hover {
  background-color: #95a5a6;
}

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

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

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

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

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

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

.post-content {
  padding: 1.5rem;
}

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

.post-date {
  color: #7f8c8d;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

.read-more {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}

/* Future Quote Section */
.future-quote {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
  margin: 3rem 0;
}

.future-quote h2, .future-quote h3 {
  color: white;
  text-align: center;
}

.future-quote blockquote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.25rem;
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}

.future-quote blockquote::before,
.future-quote blockquote::after {
  content: '"';
  font-size: 3rem;
  position: absolute;
  opacity: 0.3;
}

.future-quote blockquote::before {
  left: 0;
  top: -1rem;
}

.future-quote blockquote::after {
  right: 0;
  bottom: -2rem;
}

.future-quote cite {
  display: block;
  text-align: right;
  margin-top: 1rem;
  font-style: normal;
  font-size: 1rem;
  opacity: 0.8;
}

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

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

.newsletter p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

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

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  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;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0 1.5rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

.footer-links h4 {
  color: white;
  margin-bottom: 1rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-social h4 {
  color: white;
  margin-bottom: 1rem;
}

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

.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.5rem;
}

.social-icons a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  display: none;
}

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

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

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

.cookie-policy-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  font-size: 0.875rem;
}

.cookie-policy-link:hover {
  color: white;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

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

.page-header p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

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

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

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

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

.article-overview {
  background-color: var(--light-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
}

.overview-list {
  list-style: disc;
  padding-left: 1.5rem;
}

.overview-list li {
  margin-bottom: 0.5rem;
}

.team {
  padding: 3rem 0;
}

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

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

.team-member {
  text-align: center;
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
}

.team-member h3 {
  margin-bottom: 0.25rem;
}

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

.values {
  padding: 3rem 0;
  background-color: var(--light-color);
}

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

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

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

.value-icon {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.value-card h3 {
  margin-bottom: 1rem;
}

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

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

.contact-info h2 {
  margin-bottom: 1rem;
}

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

.contact-details {
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  margin-right: 1rem;
  color: var(--primary-color);
  min-width: 24px;
}

.contact-text h3 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}

.contact-text p {
  margin-bottom: 0;
}

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

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

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

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

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

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

.form-group textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
}

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

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

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-color);
}

.modal-btn {
  margin-top: 1rem;
}

/* Blog Post */
.blog-post {
  padding: 3rem 0;
}

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

.post-meta {
  color: #7f8c8d;
  margin-bottom: 1rem;
}

.post-meta span {
  margin: 0 0.5rem;
}

.post-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--border-radius);
  overflow: hidden;
}

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

.post-content h2 {
  margin-top: 2rem;
}

.post-content h3 {
  margin-top: 1.5rem;
}

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

.post-content .future-quote {
  margin: 2rem 0;
  padding: 2rem;
}

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

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

.tag {
  display: inline-block;
  background-color: var(--light-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin: 0.25rem;
  font-size: 0.875rem;
}

.post-share {
  margin-top: 2rem;
  display: flex;
  align-items: center;
}

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

.post-share a {
  margin-right: 0.75rem;
  color: var(--dark-color);
}

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  header .container {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  nav ul {
    justify-content: center;
  }
  
  nav ul li {
    margin: 0 0.75rem;
  }
  
  .post-meta span {
    display: block;
    margin: 0.25rem 0;
  }
}
