/* 
  PublicSphere Photography Blog - Main Stylesheet
  Author: Lisa Shoals
  Version: 1.0
*/

/* ==============================
   Base Styles
   ============================== */
:root {
  --primary-color: #3d5a80;
  --secondary-color: #98c1d9;
  --accent-color: #ee6c4d;
  --light-color: #e0fbfc;
  --dark-color: #293241;
  --gray-color: #6c757d;
  --light-gray: #f8f9fa;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --body-font: 'Montserrat', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0,0,0,0.05);
  --shadow-hover: 0 5px 15px rgba(0,0,0,0.1);
  --container-width: 1200px;
}

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

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

body {
  font-family: var(--body-font);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

button, input, select, textarea {
  font-family: var(--body-font);
}

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

/* ==============================
   Buttons
   ============================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background-color: #324a6a;
  color: white;
}

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

.btn-secondary:hover {
  background-color: #8ab8d3;
  color: var(--dark-color);
}

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

.btn-accent:hover {
  background-color: #e05a3b;
  color: white;
}

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

.btn-outline:hover {
  background-color: var(--light-gray);
  color: var(--dark-color);
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo a {
  display: flex;
  align-items: center;
  color: var(--dark-color);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
}

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

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

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

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

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

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

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

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
}

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

.hero h1 {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ==============================
   Page Header
   ============================== */
.page-header {
  background-color: var(--light-color);
  padding: 5rem 0;
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--gray-color);
}

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

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

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
}

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

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

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

.post-image {
  height: 240px;
  overflow: hidden;
}

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

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-content {
  padding: 1.5rem;
}

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

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

.post-meta span {
  display: flex;
  align-items: center;
}

.post-meta i {
  margin-right: 0.5rem;
}

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

.read-more i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

.view-all-container {
  text-align: center;
  margin-top: 3rem;
}

/* ==============================
   Daily Inspiration Section
   ============================== */
.daily-inspiration {
  background-color: var(--light-color);
  padding: 5rem 0;
}

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

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

.inspiration-text h3 {
  margin-bottom: 1.5rem;
}

.quote {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent-color);
}

.quote blockquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.quote cite {
  font-style: normal;
  color: var(--gray-color);
}

/* ==============================
   Concepts Comparison Section
   ============================== */
.concepts-comparison {
  padding: 5rem 0;
}

.table-container {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

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

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

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

table tr:hover {
  background-color: rgba(152, 193, 217, 0.2);
}

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

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

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

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

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

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

/* ==============================
   Blog Section
   ============================== */
.blog-section {
  padding: 3rem 0 5rem;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.blog-post {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-post:hover {
  box-shadow: var(--shadow-hover);
}

.blog-post .post-image {
  height: 100%;
}

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

.blog-post h2 {
  margin-bottom: 1rem;
}

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

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background-color: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.sidebar-widget h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

.category-list a {
  display: flex;
  justify-content: space-between;
  color: var(--dark-color);
}

.category-list a:hover {
  color: var(--accent-color);
}

.category-list span {
  color: var(--gray-color);
  font-size: 0.9rem;
}

.recent-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  margin-bottom: 1.25rem;
}

.recent-posts li:last-child {
  margin-bottom: 0;
}

.recent-posts a {
  display: flex;
  gap: 1rem;
  color: var(--dark-color);
}

.recent-posts img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.recent-posts h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.recent-posts span {
  font-size: 0.85rem;
  color: var(--gray-color);
}

.inspiration-widget {
  text-align: center;
}

.inspiration-widget img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.inspiration-widget blockquote {
  font-family: var(--heading-font);
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.inspiration-widget cite {
  display: block;
  font-style: normal;
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-form input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
}

/* ==============================
   Single Post
   ============================== */
.single-post {
  padding: 3rem 0 5rem;
}

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

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

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

.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.post-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.post-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.post-body h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

.post-body ul, .post-body ol {
  margin-bottom: 1.5rem;
}

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

.post-body strong {
  font-weight: 600;
}

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

.post-image span {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-top: 0.75rem;
  font-style: italic;
}

.post-image-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.post-image-dual img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-image-dual span {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-top: 0.75rem;
  font-style: italic;
}

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

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

.post-tags a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--light-gray);
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.post-tags a:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.post-author {
  display: flex;
  gap: 2rem;
  margin: 4rem 0;
  padding: 2rem;
  background-color: var(--light-color);
  border-radius: 8px;
}

.author-image {
  flex-shrink: 0;
}

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

.author-info h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.author-info h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.author-social {
  margin-top: 1rem;
}

.author-social a {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: var(--primary-color);
}

.author-social a:hover {
  color: var(--accent-color);
}

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

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

.prev-post {
  text-align: left;
}

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

.post-navigation span {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-color);
  margin-bottom: 0.5rem;
}

.post-navigation a {
  font-weight: 600;
  font-size: 1.1rem;
}

.related-posts {
  margin-bottom: 3rem;
}

.related-posts h3 {
  margin-bottom: 2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.related-post img {
  height: 180px;
  object-fit: cover;
}

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

.related-post span {
  display: block;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* ==============================
   Portfolio Gallery
   ============================== */
.portfolio-filter {
  margin-bottom: 2rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  background-color: var(--light-gray);
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

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

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  padding: 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

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

.item-overlay h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.item-overlay p {
  margin-bottom: 0;
  opacity: 0.8;
}

/* ==============================
   Testimonials
   ============================== */
.testimonials {
  padding: 5rem 0;
  background-color: var(--light-color);
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  padding: 1rem;
}

.testimonial-content {
  background-color: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.client-info h4 {
  margin-bottom: 0.25rem;
}

.client-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--gray-color);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  opacity: 0.5;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  opacity: 1;
  background-color: var(--primary-color);
}

/* ==============================
   CTA Section
   ============================== */
.cta-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 5rem 0;
  text-align: center;
}

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

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

.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* ==============================
   Contact Section
   ============================== */
.contact-section {
  padding: 5rem 0;
}

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

.contact-info {
  padding-right: 2rem;
}

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

.info-item i {
  width: 50px;
  height: 50px;
  background-color: var(--light-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

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

.info-item p {
  margin-bottom: 0.5rem;
  color: var(--gray-color);
}

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

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

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

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

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

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

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

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

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

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.map-section {
  padding: 3rem 0 5rem;
}

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

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

.modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

.thank-you-message i {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1.5rem;
}

.thank-you-message h3 {
  margin-bottom: 1rem;
}

.thank-you-message p {
  margin-bottom: 2rem;
}

/* ==============================
   About Page
   ============================== */
.about-story {
  padding: 3rem 0 5rem;
}

.story-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-text {
  padding-right: 2rem;
}

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

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

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

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

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

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

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

.value-card p {
  margin-bottom: 0;
  color: var(--gray-color);
}

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

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

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

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

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

.team-member p {
  color: var(--gray-color);
  margin-bottom: 1rem;
}

.member-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

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

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

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

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.equipment-category {
  background-color: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.equipment-category h3 {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.equipment-category h3 i {
  margin-right: 0.75rem;
  color: var(--accent-color);
}

.equipment-category ul {
  padding-left: 1rem;
}

.equipment-category li {
  margin-bottom: 0.5rem;
}

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

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2rem;
  align-items: center;
}

.client-logo {
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
}

/* ==============================
   Footer
   ============================== */
footer {
  background-color: var(--dark-color);
  color: white;
  padding-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

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

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

.footer-logo p {
  opacity: 0.8;
}

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

.footer-links h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

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

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

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

.footer-contact h4 {
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-contact h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-contact li {
  display: flex;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  margin-right: 1rem;
  color: var(--accent-color);
  width: 16px;
  text-align: center;
}

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

.footer-contact .social-icons a {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer-contact .social-icons a:hover {
  background-color: var(--accent-color);
}

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

/* ==============================
   Cookie Consent
   ============================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  justify-content: center;
}

.cookie-content {
  max-width: 1000px;
}

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

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

.cookie-content a {
  font-size: 0.9rem;
}

/* ==============================
   Responsive Design
   ============================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .story-content,
  .inspiration-content,
  .blog-layout,
  .contact-layout,
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .blog-sidebar {
    position: static;
  }
  
  .story-text {
    padding-right: 0;
  }
  
  .post-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .author-social {
    justify-content: center;
  }
  
  .blog-post {
    grid-template-columns: 1fr;
  }
  
  .blog-post .post-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    margin: 0.75rem 0;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .post-navigation {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .prev-post, .next-post {
    max-width: 100%;
  }
  
  .next-post {
    text-align: left;
  }
  
  .post-image-dual {
    grid-template-columns: 1fr;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .posts-grid,
  .gallery-grid,
  .values-grid,
  .team-grid,
  .equipment-grid,
  .clients-grid {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-logo img {
    margin: 0 auto 1rem;
  }
  
  .footer-links h4:after,
  .footer-contact h4:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact li {
    justify-content: center;
  }
  
  .footer-contact .social-icons {
    justify-content: center;
  }
}
