/* 
 * CS Gaming Hub - Main Stylesheet
 * A modern, responsive design for the CS2 gaming blog
 */

/* Base Styles & CSS Reset */
:root {
  --primary-color: #7e57c2;
  --primary-dark: #4d2c91;
  --primary-light: #b085f5;
  --secondary-color: #43a047;
  --accent-color: #ff9800;
  --text-color: #333333;
  --text-light: #757575;
  --bg-color: #ffffff;
  --bg-dark: #f5f5f5;
  --bg-card: #ffffff;
  --border-color: #e0e0e0;
  --success-color: #4caf50;
  --warning-color: #ff9800;
  --error-color: #f44336;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
}

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

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

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style-position: inside;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  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;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1rem;
}

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

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

section {
  padding: 5rem 0;
}

.center-btn {
  text-align: center;
  margin-top: 2rem;
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

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

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

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

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

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

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

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

.nav-links li {
  margin-left: 2rem;
}

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

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

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

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

/* Hero Section */
.hero {
  background-color: var(--bg-dark);
  padding: 5rem 0;
}

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

.hero-content {
  flex: 1;
  padding-right: 2rem;
}

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

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

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
  background-color: white;
}

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

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

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

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

.feature-icon svg {
  width: 30px;
  height: 30px;
}

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

/* Beginner Mistakes Section */
.beginner-mistakes {
  background-color: var(--bg-dark);
}

.mistakes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.mistake-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  position: relative;
  transition: var(--transition);
  border-top: 3px solid var(--primary-color);
}

.mistake-card:hover {
  transform: translateY(-5px);
}

.mistake-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: var(--primary-color);
  color: white;
  font-size: 1.25rem;
  font-weight: bold;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

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

/* Comparison Table */
.comparison {
  background-color: white;
}

.table-container {
  overflow-x: auto;
  margin-bottom: 2rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: var(--bg-dark);
}

.comparison-table tr:hover {
  background-color: rgba(126, 87, 194, 0.05);
}

/* Latest Posts Section */
.latest-posts {
  background-color: var(--bg-dark);
}

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

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

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

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

.post-content {
  padding: 1.5rem;
}

.post-date {
  display: block;
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

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

/* Blog Page Styles */
.blog-header {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.blog-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.blog-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.blog-content {
  padding: 5rem 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}

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

.blog-category {
  margin-left: 1rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-light);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.blog-card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card-content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  flex-grow: 1;
}

.blog-btn {
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
}

/* Newsletter Section */
.newsletter {
  background-color: var(--primary-dark);
  color: white;
  padding: 4rem 0;
}

.newsletter-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

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

.newsletter-content p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

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

.newsletter-form input {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  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;
}

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

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

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.post-date, .post-category, .post-author {
  margin-right: 1.5rem;
  font-size: 0.9375rem;
}

.post-author {
  font-weight: 600;
}

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

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

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

.post-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 2rem;
  border-left: 4px solid var(--primary-color);
  padding-left: 1.5rem;
}

.post-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.post-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

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

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

.post-content img {
  margin: 2rem 0;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

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

.post-tags span {
  font-weight: 600;
  margin-right: 0.75rem;
}

.post-tags a {
  display: inline-block;
  margin-right: 0.75rem;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.75rem;
  background-color: var(--bg-dark);
  border-radius: 20px;
  font-size: 0.875rem;
  transition: var(--transition);
}

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

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

.post-nav-links {
  display: flex;
  justify-content: space-between;
}

.post-nav-prev, .post-nav-next, .post-nav-back {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.post-nav-prev svg, .post-nav-next svg, .post-nav-back svg {
  width: 20px;
  height: 20px;
}

.post-nav-prev svg {
  margin-right: 0.5rem;
}

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

.post-nav-back svg {
  margin-right: 0.5rem;
}

.related-posts {
  margin-top: 4rem;
}

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

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

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

.related-post-card:hover {
  transform: translateY(-5px);
}

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

.related-post-card h3 {
  padding: 1.25rem 1.25rem 0.5rem;
  font-size: 1.125rem;
  line-height: 1.4;
}

.related-post-card .read-more {
  padding: 0 1.25rem 1.25rem;
  display: block;
}

/* Special Article Elements */
.strategy-tip, .pro-tip, .insight-box, .tax-disclaimer, .warning-box {
  background-color: #f8f9fa;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.strategy-tip h4, .pro-tip h4, .insight-box h3, .warning-box h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.warning-box {
  border-left-color: var(--error-color);
}

.warning-box h4 {
  color: var(--error-color);
}

.tax-disclaimer {
  background-color: #fff8e1;
  border-left-color: var(--warning-color);
  font-size: 0.9375rem;
}

.tax-disclaimer p {
  margin-bottom: 0;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.payment-method {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.payment-method h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.payment-method p {
  margin-bottom: 0.75rem;
}

.payment-method p:last-child {
  margin-bottom: 0;
}

.important-note {
  background-color: #e8f5e9;
  border-left: 4px solid var(--success-color);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.important-note h3 {
  color: var(--success-color);
  margin-bottom: 0.75rem;
}

.issue-solution {
  margin-bottom: 2rem;
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
}

.issue-solution h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.issue-solution p {
  margin-bottom: 0.75rem;
}

.settings-table, .probability-table, .ev-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.settings-table th, .probability-table th, .ev-table th,
.settings-table td, .probability-table td, .ev-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.settings-table th, .probability-table th, .ev-table th {
  background-color: var(--primary-color);
  color: white;
}

.settings-table tr:nth-child(even), .probability-table tr:nth-child(even), .ev-table tr:nth-child(even) {
  background-color: var(--bg-dark);
}

.code-block {
  background-color: #272822;
  color: #f8f8f2;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
  overflow-x: auto;
}

.code-block code {
  font-family: 'Courier New', Courier, monospace;
  white-space: pre-wrap;
}

.math-explanation {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.myth-vs-reality {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.myth, .reality {
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

.myth {
  background-color: #ffebee;
}

.reality {
  background-color: #e8f5e9;
}

.myth h3, .reality h3 {
  margin-bottom: 0.75rem;
}

.skin-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--border-color);
}

.skin-item:last-child {
  border-bottom: none;
}

/* About Page Styles */
.about-header {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.about-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.about-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.about-story {
  padding: 5rem 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-text {
  flex: 2;
  min-width: 300px;
}

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

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

.our-mission {
  background-color: var(--bg-dark);
  padding: 5rem 0;
}

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

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

.mission-card:hover {
  transform: translateY(-5px);
}

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

.mission-icon svg {
  width: 35px;
  height: 35px;
}

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

.team-section {
  padding: 5rem 0;
}

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

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

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

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

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

.team-card p {
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
}

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

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

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

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

/* Contact Page Styles */
.contact-header {
  background-color: var(--primary-dark);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.contact-header h1 {
  color: white;
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.25rem;
  opacity: 0.9;
}

.contact-content {
  padding: 5rem 0;
}

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

.contact-form-container, .contact-info {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
}

.contact-form-container h2, .contact-info h2 {
  margin-bottom: 2rem;
  text-align: center;
}

.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 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(126, 87, 194, 0.2);
}

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

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

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

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

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

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-content {
  flex: 1;
}

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

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

.faq-section {
  background-color: var(--bg-dark);
  padding: 5rem 0;
}

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

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.faq-item h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

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

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

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

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

.thank-you-message {
  padding: 3rem 2rem;
  text-align: center;
}

.success-icon {
  width: 70px;
  height: 70px;
  color: var(--success-color);
  margin: 0 auto 1.5rem;
}

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

.thank-you-message p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

/* Footer Styles */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 4rem 0 2rem;
}

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

.footer-logo img {
  height: 50px;
  margin-bottom: 1.5rem;
}

.footer-logo p {
  color: #b3b3b3;
  margin-bottom: 0;
}

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

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

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

.footer-links a, .footer-legal a {
  color: #b3b3b3;
  transition: var(--transition);
}

.footer-links a:hover, .footer-legal 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;
  border-radius: 50%;
  background-color: #333333;
  color: white;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid #333333;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #b3b3b3;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

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

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cookie-content p {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
}

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

.cookie-btn.accept:hover {
  background-color: #3d8b40;
}

.cookie-btn.customize {
  background-color: #f5f5f5;
  color: var(--text-color);
}

.cookie-btn.customize:hover {
  background-color: #e0e0e0;
}

.cookie-btn.reject {
  background-color: #f5f5f5;
  color: var(--text-color);
}

.cookie-btn.reject:hover {
  background-color: #e0e0e0;
}

.cookie-policy-link {
  font-size: 0.875rem;
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition);
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
  }
  
  .newsletter-form button {
    border-radius: var(--border-radius);
  }
  
  .myth-vs-reality {
    grid-template-columns: 1fr;
  }
  
  .post-nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .cookie-content {
    padding: 1.5rem 1rem;
  }
}
