/* Base Styles */
:root {
  --primary-color: #3a7bd5;
  --secondary-color: #00d2ff;
  --accent-color: #ff5e62;
  --dark-color: #283149;
  --light-color: #f4f9ff;
  --text-color: #333;
  --light-text: #fff;
  --gray-color: #767676;
  --light-gray: #f5f5f5;
  --border-color: #ddd;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  --gradient-primary: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(to right, var(--accent-color), #ff9966);
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 5px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

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

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

body {
  font-family: var(--font-primary);
  font-size: 1.6rem;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--light-color);
}

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

h1 {
  font-size: 4.2rem;
}

h2 {
  font-size: 3.2rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 2rem;
}

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

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

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

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  background: var(--gradient-primary);
  color: var(--light-text);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: var(--box-shadow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.4rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  color: var(--light-text);
}

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

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

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-text);
}

/* 3D Button */
.btn-3d {
  position: relative;
  display: inline-block;
  padding: 1.5rem 3rem;
  background: var(--gradient-primary);
  color: var(--light-text);
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--border-radius);
  box-shadow: 0 6px 0 #1e5799, 0 8px 10px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
  cursor: pointer;
  font-size: 1.6rem;
}

.btn-3d:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #1e5799, 0 6px 8px rgba(0, 0, 0, 0.2);
}

.btn-3d:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #1e5799, 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-3d-section {
  text-align: center;
  margin: var(--spacing-lg) 0;
}

/* Header */
header {
  background-color: var(--light-color);
  padding: 2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem var(--spacing-lg);
}

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

.logo-container img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 1.5rem;
}

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

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

nav li {
  margin-left: 3rem;
}

nav a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

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

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 15rem 2rem;
  position: relative;
  margin-bottom: var(--spacing-lg);
}

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

.hero h2 {
  font-size: 5rem;
  margin-bottom: 2rem;
  color: var(--light-text);
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
}

/* Page Header */
.page-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/page-header.jpg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
  padding: 8rem 2rem;
  margin-bottom: var(--spacing-lg);
}

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

.page-header h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-text);
}

.page-header p {
  font-size: 1.8rem;
  opacity: 0.9;
}

/* Featured Posts */
.featured-posts {
  padding: var(--spacing-lg) var(--spacing-md);
}

.featured-posts h2 {
  text-align: center;
  margin-bottom: var(--spacing-md);
  position: relative;
}

.featured-posts h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1.5rem auto 0;
}

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

.post-card {
  background: white;
  border-radius: var(--border-radius);
  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-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.post-content {
  padding: 2rem;
}

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

.post-content p {
  margin-bottom: 2rem;
  color: var(--gray-color);
}

.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary-color);
  position: relative;
}

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

.read-more:hover::after {
  margin-left: 1rem;
}

/* Daily Collection */
.daily-collection {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--light-gray);
  text-align: center;
}

.daily-collection h2 {
  margin-bottom: var(--spacing-md);
  position: relative;
}

.daily-collection h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1.5rem auto 0;
}

.collection-container {
  max-width: 1000px;
  margin: 0 auto;
}

.collection-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.collection-images img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.collection-images img:hover {
  transform: scale(1.03);
  box-shadow: var(--box-shadow);
}

/* Newsletter */
.newsletter {
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--gradient-primary);
  color: var(--light-text);
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

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

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.newsletter input {
  flex: 1;
  min-width: 250px;
  padding: 1.2rem 1.5rem;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
}

.newsletter button {
  background: var(--dark-color);
}

/* Blog Posts Page */
.blog-posts {
  padding: var(--spacing-lg) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.post-card-large {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .post-card-large {
    grid-template-columns: 300px 1fr;
  }
}

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

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

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

.post-card-large h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.post-meta {
  color: var(--gray-color);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
}

.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.category {
  background: var(--light-gray);
  color: var(--primary-color);
  padding: 0.3rem 1rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Portfolio Page */
.portfolio-filter {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background: var(--light-gray);
  border: none;
  border-radius: 3rem;
  font-size: 1.4rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  color: white;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 0 var(--spacing-md);
  max-width: 1400px;
  margin: 0 auto var(--spacing-lg);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem;
  color: white;
  transform: translateY(100px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
}

.gallery-overlay p {
  font-size: 1.4rem;
  margin-bottom: 0;
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-accent);
  color: var(--light-text);
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--light-text);
  margin-bottom: 1.5rem;
}

.cta-section p {
  margin-bottom: 3rem;
  font-size: 1.8rem;
}

.cta-section .btn {
  background: var(--light-text);
  color: var(--accent-color);
}

.cta-section .btn:hover {
  background: var(--dark-color);
  color: var(--light-text);
}

/* About Page */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto var(--spacing-xl);
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .about-story {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about-content h2 {
  margin-bottom: 2.5rem;
  position: relative;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 1.5rem;
}

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

.team-section {
  background-color: var(--light-gray);
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.team-section h2 {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.team-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1.5rem auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.team-member:hover img {
  transform: scale(1.05);
}

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

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

.values-section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.values-section h2 {
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.values-section h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin: 1.5rem auto 0;
}

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

.value-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

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

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

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

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

/* Contact Page */
.contact-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto var(--spacing-lg);
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .contact-section {
    grid-template-columns: 1fr 1.5fr;
  }
}

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

.contact-info h2 {
  margin-bottom: 3rem;
  position: relative;
}

.contact-info h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 1.5rem;
}

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

.info-icon {
  color: var(--primary-color);
  margin-right: 2rem;
  flex-shrink: 0;
}

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

.info-item p, .info-item a {
  color: var(--gray-color);
  margin-bottom: 0;
}

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

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

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

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

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

.contact-form-container h2 {
  margin-bottom: 3rem;
  position: relative;
}

.contact-form-container h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gradient-primary);
  margin-top: 1.5rem;
}

.contact-form .form-group {
  margin-bottom: 2rem;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1.6rem;
}

.contact-form textarea {
  resize: vertical;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
}

.checkbox-label input {
  width: auto;
  margin-top: 0.5rem;
}

.map-section {
  max-width: 1200px;
  margin: 0 auto var(--spacing-lg);
  padding: 0 var(--spacing-md);
  text-align: center;
}

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

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

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

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

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

.modal p {
  margin-bottom: 2.5rem;
}

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

/* Blog Post */
.blog-post {
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
  padding: 0 var(--spacing-md);
}

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

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

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

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

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

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

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

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

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

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

.image-caption {
  text-align: center;
  font-size: 1.4rem;
  color: var(--gray-color);
  margin-top: 1rem;
}

.tip-box {
  background-color: var(--light-gray);
  padding: 2rem;
  border-left: 3px solid var(--primary-color);
  border-radius: var(--border-radius);
  margin: 3rem 0;
}

.tip-box h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.tip-box p, .tip-box ul {
  margin-bottom: 0;
}

.comparison-table {
  margin: 3rem 0;
  overflow-x: auto;
}

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

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

.comparison-table td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

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

.author-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 5rem;
  background-color: var(--light-gray);
  padding: 2rem;
  border-radius: var(--border-radius);
}

.author-section img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-bio h3 {
  margin-bottom: 1rem;
}

.author-bio p {
  margin-bottom: 0;
  font-size: 1.5rem;
}

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

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

.related-posts {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

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

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

.related-post {
  text-align: center;
}

.related-post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.related-post h4 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

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

.footer-links h4 {
  color: white;
  margin-bottom: 2rem;
  position: relative;
}

.footer-links h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 1rem;
}

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

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

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

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

.footer-social h4 {
  color: white;
  margin-bottom: 2rem;
  position: relative;
}

.footer-social h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
  margin-top: 1rem;
}

.footer-social .social-icons {
  margin-top: 1.5rem;
}

.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: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 1.4rem;
  opacity: 0.7;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--dark-color);
  color: white;
  padding: 2rem;
  z-index: 1000;
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

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

.btn-cookie {
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-cookie.secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

.cookie-link {
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.cookie-link:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
  html {
    font-size: 56.25%; /* 9px = 1rem */
  }

  .post-grid, .portfolio-gallery {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%; /* 8px = 1rem */
  }

  header {
    flex-direction: column;
    padding: 1.5rem;
  }

  .logo-container {
    margin-bottom: 1.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }

  nav li {
    margin: 0.5rem 1rem;
  }

  .hero {
    padding: 10rem 2rem;
  }

  .hero h2 {
    font-size: 3.5rem;
  }

  .collection-images {
    grid-template-columns: 1fr;
  }

  .newsletter form {
    flex-direction: column;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo, .footer-links h4, .footer-social h4 {
    align-items: center;
  }

  .footer-links h4::after, .footer-social h4::after {
    margin-left: auto;
    margin-right: auto;
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .post-grid, .team-grid, .values-grid, .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 250px;
  }

  .author-section {
    flex-direction: column;
    text-align: center;
  }

  .post-navigation {
    flex-direction: column;
    gap: 2rem;
  }

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