/* 
GeoGamer - Modern Geo FI Gaming Equipment Blog
Main Stylesheet 
*/

/* ======= Base Styles ======= */
:root {
  --primary-color: #5c59ff;
  --primary-dark: #4240b3;
  --secondary-color: #16db93;
  --accent-color: #ff3366;
  --dark-color: #222831;
  --light-color: #f9f9f9;
  --gray-color: #757575;
  --gray-light: #e0e0e0;
  --gray-dark: #424242;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', Monaco, 'Courier New', monospace;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px rgba(0,0,0,0.16), 0 10px 15px rgba(0,0,0,0.06);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  --section-spacing: 5rem;
}

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

html {
  font-size: 62.5%; /* 10px */
  scroll-behavior: smooth;
}

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

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 2rem;
}

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

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

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2.4rem;
}

p {
  margin-bottom: 2rem;
}

input, select, textarea, button {
  font-family: var(--font-primary);
  font-size: 1.6rem;
}

button {
  cursor: pointer;
}

hr {
  border: 0;
  height: 1px;
  background-color: var(--gray-light);
  margin: 3rem 0;
}

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

.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-align: center;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

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

.btn-secondary:hover {
  background-color: #14c783;
}

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

.btn-tertiary:hover {
  background-color: #f0f0ff;
  color: var(--primary-color);
}

/* ======= Header & Navigation ======= */
header {
  background-color: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.logo img {
  height: 5rem;
  width: auto;
}

nav ul {
  display: flex;
  gap: 3rem;
  margin-bottom: 0;
  list-style: none;
}

nav a {
  font-weight: 600;
  color: var(--dark-color);
  padding: 1rem 0;
  position: relative;
}

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

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

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2.1rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

/* ======= Welcome Text Section ======= */
.welcome-text {
  background-color: #f0f5ff;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(92, 89, 255, 0.1);
}

.welcome-text p {
  text-align: center;
  margin-bottom: 0;
  font-size: 1.8rem;
  color: var(--dark-color);
  font-weight: 500;
  line-height: 1.5;
}

/* ======= Hero Section ======= */
.hero {
  padding: 10rem 0;
  background: linear-gradient(135deg, #5c59ff 0%, #6d85ff 100%);
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 4.8rem;
  color: white;
  margin-bottom: 2rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: 2rem;
  max-width: 60rem;
  margin: 0 auto 3rem;
}

.hero .btn {
  background-color: white;
  color: var(--primary-color);
  font-size: 1.8rem;
  padding: 1.5rem 3rem;
  border-radius: var(--radius-md);
}

.hero .btn:hover {
  background-color: #f0f0ff;
  box-shadow: var(--shadow-lg);
}

/* ======= Blog Hero Section ======= */
.blog-hero, .about-hero, .contact-hero {
  padding: 8rem 0;
  background: linear-gradient(135deg, #5c59ff 0%, #6d85ff 100%);
  color: white;
  text-align: center;
}

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

.blog-hero p, .about-hero p, .contact-hero p {
  font-size: 1.8rem;
  max-width: 60rem;
  margin: 0 auto;
}

/* ======= Article Overview Section ======= */
.article-overview {
  background-color: #f7f9ff;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  margin: 2rem 0 4rem;
  border-left: 5px solid var(--primary-color);
}

.article-overview h2 {
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
}

.article-overview ul {
  margin-bottom: 0;
  list-style-type: disc;
}

.article-overview li {
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.article-overview li:last-child {
  margin-bottom: 0;
}

/* ======= Featured Posts ======= */
.featured-posts {
  padding: var(--section-spacing) 0;
}

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

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

.post-card {
  background-color: white;
  border-radius: var(--radius-md);
  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: 22rem;
  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: 2rem;
}

.post-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

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

.read-more {
  display: inline-block;
  font-weight: 600;
  position: relative;
}

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

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

/* ======= Blog Post Styles ======= */
.blog-post {
  padding: var(--section-spacing) 0;
}

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

.post-meta {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 1.5rem;
  color: var(--gray-color);
}

.post-meta .date,
.post-meta .category,
.post-meta .author {
  display: inline-flex;
  align-items: center;
}

.post-meta .date::before {
  content: '📅';
  margin-right: 0.5rem;
}

.post-meta .category::before {
  content: '🏷️';
  margin-right: 0.5rem;
}

.post-meta .author::before {
  content: '👤';
  margin-right: 0.5rem;
}

.post-header h1 {
  font-size: 4rem;
  margin-bottom: 2.5rem;
}

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

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

.post-content {
  max-width: 80rem;
  margin: 0 auto;
}

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

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

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

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

.post-content img {
  border-radius: var(--radius-md);
  margin: 3rem 0;
}

.post-content a {
  text-decoration: underline;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-light);
}

.prev-post,
.next-post {
  max-width: 45%;
}

.next-post {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.post-title {
  font-weight: 600;
  color: var(--dark-color);
}

.post-share {
  margin-top: 4rem;
  padding: 2rem;
  background-color: #f7f9ff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.post-share span {
  font-weight: 600;
}

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

.share-buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background-color: white;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

/* ======= Product Card Styles ======= */
.product-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

.product-card h3 {
  border-bottom: 2px solid #f0f5ff;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.product-details {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.product-image {
  flex: 0 0 20rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-specs {
  flex: 1;
}

.product-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.product-specs ul {
  margin-bottom: 1.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stars {
  color: #ffc107;
  letter-spacing: 2px;
  font-size: 2rem;
}

.rating-text {
  font-weight: 600;
}

/* ======= Product Grid ======= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-mini-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.product-mini-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.product-mini-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.product-mini-card img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.product-mini-card .product-price {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.product-mini-card p {
  margin-bottom: 1rem;
}

.mini-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
}

.mini-rating .stars {
  font-size: 1.6rem;
}

/* ======= Comparison Table ======= */
.comparison-table {
  overflow-x: auto;
  margin-bottom: 3rem;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  min-width: 60rem;
}

.comparison-table th {
  background-color: var(--primary-color);
  color: white;
  text-align: left;
  padding: 1.5rem;
}

.comparison-table th:first-child {
  border-radius: var(--radius-sm) 0 0 0;
}

.comparison-table th:last-child {
  border-radius: 0 var(--radius-sm) 0 0;
}

.comparison-table td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
  vertical-align: top;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9ff;
}

.comparison-table ul {
  margin-bottom: 0;
  padding-left: 2rem;
}

/* ======= Product Kit Section ======= */
.product-kit {
  background-color: #f0f5ff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 3rem;
  border-left: 5px solid var(--secondary-color);
}

.product-kit h3 {
  margin-bottom: 2rem;
}

.product-kit ul {
  margin-bottom: 2rem;
}

.product-kit li {
  margin-bottom: 1rem;
}

.kit-price {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--accent-color);
}

/* ======= Article CTA ======= */
.article-cta {
  background-color: #f0f5ff;
  padding: 3rem;
  border-radius: var(--radius-md);
  margin-top: 5rem;
  text-align: center;
}

.article-cta h3 {
  margin-bottom: 1.5rem;
}

.article-cta p {
  margin-bottom: 2rem;
  max-width: 60rem;
  margin-left: auto;
  margin-right: auto;
}

/* ======= Related Posts ======= */
.related-posts {
  padding: 5rem 0;
  background-color: #f7f9ff;
}

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

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

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

.newsletter p {
  max-width: 60rem;
  margin: 0 auto 3rem;
}

.newsletter form {
  display: flex;
  max-width: 60rem;
  margin: 0 auto;
}

.newsletter input {
  flex: 1;
  padding: 1.5rem 2rem;
  border: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  font-size: 1.6rem;
}

.newsletter button {
  padding: 1.5rem 3rem;
  border: none;
  background-color: var(--secondary-color);
  color: white;
  font-weight: 600;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition: background-color var(--transition-fast);
}

.newsletter button:hover {
  background-color: #14c783;
}

/* ======= About Page Styles ======= */
.about-content {
  padding: var(--section-spacing) 0;
}

.about-intro {
  max-width: 80rem;
  margin: 0 auto 5rem;
}

.team-section,
.values-section {
  margin-bottom: 5rem;
}

.team-section h2,
.values-section h2 {
  text-align: center;
  margin-bottom: 4rem;
}

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

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

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

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

.team-member h3 {
  margin: 2rem 2rem 0.5rem;
}

.team-member p {
  margin: 0 2rem 2rem;
}

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

.member-social {
  display: flex;
  gap: 1rem;
  margin: 0 2rem 2rem;
}

.member-social a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3.6rem;
  height: 3.6rem;
  background-color: #f0f5ff;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

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

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

.value-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: transform var(--transition-normal);
}

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

.value-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 7rem;
  height: 7rem;
  background-color: #f0f5ff;
  border-radius: var(--radius-full);
  margin: 0 auto 2rem;
  color: var(--primary-color);
}

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

.value-card p {
  margin-bottom: 0;
}

/* ======= Contact Page Styles ======= */
.contact-content {
  padding: var(--section-spacing) 0;
}

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

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

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

.info-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 5rem;
  height: 5rem;
  background-color: #f0f5ff;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  flex-shrink: 0;
}

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

.info-item p,
.info-item a {
  margin-bottom: 0;
}

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

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

.social-icons a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 4.5rem;
  height: 4.5rem;
  background-color: #f0f5ff;
  border-radius: var(--radius-full);
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.form-checkbox input {
  width: auto;
  margin-top: 0.4rem;
}

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

.contact-form button {
  width: 100%;
  padding: 1.5rem;
}

.map-section {
  padding-bottom: var(--section-spacing);
}

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

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

/* ======= Thank You Modal ======= */
.thank-you-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius-md);
  max-width: 50rem;
  width: 100%;
  padding: 4rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 8rem;
  height: 8rem;
  background-color: #e6ffea;
  border-radius: var(--radius-full);
  margin: 0 auto 2rem;
  color: var(--success-color);
}

.thank-you-modal h2 {
  margin-bottom: 1.5rem;
}

.thank-you-modal p {
  margin-bottom: 3rem;
}

.close-btn {
  min-width: 15rem;
}

/* ======= Footer ======= */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 6rem 0 2rem;
}

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

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

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

.footer-links h3,
.footer-social h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

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

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

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

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

.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);
}

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

.footer-bottom p {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.4rem;
}

/* ======= Cookie Consent ======= */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 99;
  padding: 2rem 0;
  display: none;
}

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

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

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

.cookie-policy {
  font-size: 1.4rem;
  margin-bottom: 0;
}

/* ======= Responsive Styles ======= */
@media (max-width: 1024px) {
  html {
    font-size: 58%;
  }
  
  .post-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .product-details {
    flex-direction: column;
  }
  
  .product-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 30rem;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 56%;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-normal);
    z-index: 200;
    padding: 8rem 2rem 2rem;
  }
  
  nav.active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 201;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero h1,
  .blog-hero h1,
  .about-hero h1,
  .contact-hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p,
  .blog-hero p,
  .about-hero p,
  .contact-hero p {
    font-size: 1.7rem;
  }
  
  .post-header h1 {
    font-size: 3.2rem;
  }
  
  .newsletter form {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .newsletter input,
  .newsletter button {
    border-radius: var(--radius-md);
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  }
}

@media (max-width: 576px) {
  html {
    font-size: 54%;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .post-grid,
  .team-grid,
  .values-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }
  
  .prev-post,
  .next-post {
    max-width: 100%;
    text-align: left;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1,
  .blog-hero h1,
  .about-hero h1,
  .contact-hero h1,
  .post-header h1 {
    font-size: 3rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons button {
    width: 100%;
  }
}
