/* ====================================
   CreezyCreates - Main Stylesheet
   Inspired by MarcLou.com minimalist design
   ==================================== */

/* ====================================
   CSS Variables & Reset
   ==================================== */

:root {
  --color-yellow: #FFCB06;
  --color-black: #151A1E;
  --color-white: #FFFFFF;
  --color-gray-light: #F5F5F5;
  --color-gray-medium: #CCCCCC;
  --color-gray-dark: #666666;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

/* ====================================
   Typography
   ==================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====================================
   Layout Components
   ==================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  text-align: left;
}

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  max-width: 700px;
  margin-bottom: var(--spacing-lg);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-dark .section-title,
.section-dark .section-description,
.section-dark p {
  color: var(--color-white);
}

/* ====================================
   Header & Navigation
   ==================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
  min-height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--color-yellow);
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 1rem;
  color: var(--color-gray-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-black);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-yellow);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ====================================
   Buttons
   ==================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-yellow);
  color: var(--color-black);
  border-color: var(--color-yellow);
}

.btn-primary:hover {
  background-color: #E5B600;
  border-color: #E5B600;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 203, 6, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-secondary:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-black);
  border-color: var(--color-gray-medium);
}

.btn-outline:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

.btn-subscribe {
  display: none;
}

/* ====================================
   Hero Section
   ==================================== */

.hero {
  padding: var(--spacing-xl) 0;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-small {
  min-height: 40vh;
}

.hero-content {
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-lg);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

/* ====================================
   Product Components
   ==================================== */

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.product-card {
  padding: var(--spacing-lg);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: var(--transition);
  background-color: var(--color-white);
}

.product-card:hover {
  border-color: var(--color-yellow);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.product-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.product-description {
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

/* Products Page - Detailed View */
.products-showcase {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.product-detail {
  padding: var(--spacing-lg);
  border-left: 4px solid var(--color-yellow);
  background-color: var(--color-gray-light);
  border-radius: 8px;
}

.product-detail-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-sm);
}

.product-detail-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.product-detail-description {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.product-features {
  margin: var(--spacing-md) 0;
}

.features-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.features-list {
  list-style: disc;
  margin-left: var(--spacing-md);
  color: var(--color-gray-dark);
}

.features-list li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.product-detail.coming-soon {
  opacity: 0.7;
  border-left-color: var(--color-gray-medium);
}

/* ====================================
   Feature Cards (What I Do)
   ==================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  text-align: left;
}

.feature-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-yellow);
  opacity: 0.3;
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.feature-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.feature-description {
  color: var(--color-gray-dark);
  line-height: 1.7;
}

/* ====================================
   Blog Components
   ==================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.blog-card {
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-date {
  font-size: 0.875rem;
  color: var(--color-gray-dark);
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
}

.blog-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.blog-link {
  color: var(--color-black);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-link:hover {
  color: var(--color-yellow);
}

.link-more {
  font-weight: 600;
  color: var(--color-black);
  transition: var(--transition);
}

.link-more:hover {
  color: var(--color-yellow);
}

/* Blog Listing Page */
.blog-listing-grid {
  display: grid;
  gap: var(--spacing-lg);
}

.blog-listing-card {
  padding: var(--spacing-lg);
  border-left: 3px solid var(--color-yellow);
  background-color: var(--color-gray-light);
  border-radius: 8px;
  transition: var(--transition);
}

.blog-listing-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.blog-listing-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xs);
  flex-wrap: wrap;
}

.blog-listing-date,
.blog-listing-category {
  font-size: 0.875rem;
  font-weight: 600;
}

.blog-listing-date {
  color: var(--color-gray-dark);
}

.blog-listing-category {
  color: var(--color-black);
  background-color: var(--color-yellow);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.blog-listing-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.blog-listing-excerpt {
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.7;
}

.blog-listing-link {
  color: var(--color-black);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-listing-link:hover {
  color: var(--color-yellow);
}

/* ====================================
   Article/Blog Post Page
   ==================================== */

.article {
  padding: var(--spacing-lg) 0;
}

.article-header {
  text-align: left;
  margin-bottom: var(--spacing-lg);
}

.article-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.article-date,
.article-category {
  font-size: 0.875rem;
  font-weight: 600;
}

.article-date {
  color: var(--color-gray-dark);
}

.article-category {
  color: var(--color-black);
  background-color: var(--color-yellow);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

.article-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.article-subtitle {
  font-size: 1.25rem;
  color: var(--color-gray-dark);
  font-weight: 500;
}

.article-featured-image {
  margin-bottom: var(--spacing-lg);
  border-radius: 12px;
  overflow: hidden;
}

.placeholder-image {
  width: 100%;
  aspect-ratio: 2 / 1;
  background-color: var(--color-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-content {
  font-size: 1.125rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  font-size: 2rem;
}

.article-content p {
  margin-bottom: var(--spacing-md);
}

.article-content ul {
  list-style: disc;
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.article-content ul li {
  margin-bottom: 0.5rem;
  color: var(--color-gray-dark);
}

.article-content strong {
  font-weight: 700;
  color: var(--color-black);
}

.code-block {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 8px;
  overflow-x: auto;
  margin: var(--spacing-md) 0;
  border-left: 4px solid var(--color-yellow);
}

.code-block pre {
  margin: 0;
}

.code-block code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
  line-height: 1.6;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg) 0;
  border-top: 1px solid var(--color-gray-medium);
  border-bottom: 1px solid var(--color-gray-medium);
}

.article-nav-link {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--spacing-sm);
  border-radius: 8px;
  transition: var(--transition);
}

.article-nav-link:hover {
  background-color: var(--color-gray-light);
}

.article-nav-label {
  font-size: 0.875rem;
  color: var(--color-gray-dark);
  font-weight: 600;
}

.article-nav-title {
  font-weight: 600;
  color: var(--color-black);
}

.article-nav-next {
  text-align: right;
}

.article-cta {
  background-color: var(--color-gray-light);
  padding: var(--spacing-lg);
  border-radius: 12px;
  text-align: center;
  margin-top: var(--spacing-xl);
}

.article-cta-title {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-sm);
}

.article-cta-description {
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
}

/* ====================================
   Newsletter Section
   ==================================== */

.newsletter-section {
  background-color: var(--color-gray-light);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.newsletter-description {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
}

.newsletter-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--color-gray-medium);
  border-radius: 6px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-yellow);
}

.newsletter-message {
  margin-top: var(--spacing-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

.newsletter-message.success {
  color: #22C55E;
}

.newsletter-message.error {
  color: #EF4444;
}

/* ====================================
   Consulting Page Components
   ==================================== */

.consulting-intro {
  max-width: 800px;
  margin-bottom: var(--spacing-xl);
}

/*.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 700px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on small screens */
    }
}

.service-card {
  padding: var(--spacing-lg);
  background-color: var(--color-gray-light);
  border-radius: 12px;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.service-description {
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
}

.service-list {
  list-style: none;
  margin-top: var(--spacing-sm);
}

.service-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
  color: var(--color-gray-dark);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-yellow);
  font-weight: 700;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.benefit-item {
  text-align: left;
}

.benefit-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-yellow);
  margin-bottom: var(--spacing-sm);
  line-height: 1;
}

.benefit-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.benefit-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.cta-section {
  background-color: var(--color-gray-light);
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
}

.cta-description {
  font-size: 1.25rem;
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-md);
}

.cta-note {
  margin-top: var(--spacing-sm);
  color: var(--color-gray-dark);
  font-size: 0.875rem;
}

/* ====================================
   About Page Components
   ==================================== */

.content-block {
  margin-bottom: var(--spacing-xl);
}

.content-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

.content-text {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.mission-box {
  background-color: var(--color-yellow);
  padding: var(--spacing-lg);
  border-radius: 12px;
  margin: var(--spacing-md) 0;
}

.mission-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.5;
  text-align: center;
}

.timeline {
  position: relative;
  padding-left: var(--spacing-md);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-yellow);
}

.timeline-item {
  position: relative;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 8px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--color-yellow);
  border: 3px solid var(--color-white);
}

.timeline-year {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-yellow);
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.timeline-description {
  color: var(--color-gray-dark);
  line-height: 1.6;
}

/* ====================================
   Footer
   ==================================== */

.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

.footer-logo:hover {
  color: var(--color-yellow);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  border-radius: 6px;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--color-yellow);
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ====================================
   Animations
   ==================================== */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   Responsive Design
   ==================================== */

@media (max-width: 768px) {
  /* Mobile Navigation */
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hamburger {
    display: flex;
  }
  
  .btn-subscribe {
    display: none;
  }
  
  /* Hero adjustments */
  .hero {
    min-height: 50vh;
    padding: var(--spacing-lg) 0;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  /* Grid adjustments */
  .product-grid,
  .features-grid,
  .services-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Newsletter form */
  .newsletter-form {
    flex-direction: column;
  }
  
  /* Article navigation */
  .article-nav {
    grid-template-columns: 1fr;
  }
  
  .article-nav-next {
    text-align: left;
  }
  
  /* Section spacing */
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-title {
    margin-bottom: var(--spacing-md);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet adjustments */
  .product-grid,
  .blog-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn-subscribe {
    display: inline-block;
  }
}

@media (min-width: 1025px) {
  .btn-subscribe {
    display: inline-block;
  }
}

/* ====================================
   Accessibility
   ==================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .header,
  .footer,
  .newsletter-section,
  .cta-section {
    display: none;
  }
}

/* ====================================
   Videos Page Styles
   ==================================== */

.videos-filter-section {
  margin-bottom: var(--spacing-lg);
}

.filter-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.filter-label {
  font-weight: 600;
  font-size: 1rem;
}

.playlist-select {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--color-gray-medium);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-black);
  background-color: var(--color-white);
  cursor: pointer;
  transition: var(--transition);
  min-width: 250px;
}

.playlist-select:hover {
  border-color: var(--color-yellow);
}

.playlist-select:focus {
  outline: none;
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 2px rgba(255, 203, 6, 0.1);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.video-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
  border: 1px solid var(--color-gray-medium);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  border-color: var(--color-yellow);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(21, 26, 30, 0.1);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background-color: var(--color-gray-light);
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-play-button svg {
  width: 24px;
  height: 24px;
  fill: var(--color-black);
  margin-left: 2px;
}

.video-card:hover .video-play-button {
  opacity: 1;
}

.video-content {
  flex: 1;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
  color: var(--color-black);
}

.video-description {
  font-size: 0.938rem;
  color: var(--color-gray-dark);
  margin-bottom: var(--spacing-sm);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--color-gray-dark);
}

.video-date {
  display: block;
}

.video-duration {
  display: block;
}

.loading-indicator,
.error-message,
.no-videos-message {
  text-align: center;
  padding: var(--spacing-lg) var(--spacing-md);
}

.loading-indicator p,
.error-message p,
.no-videos-message p {
  font-size: 1.125rem;
  color: var(--color-gray-dark);
}

.error-message {
  color: #d32f2f;
}

.error-message p {
  color: #d32f2f;
}

@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .playlist-select {
    min-width: 100%;
  }
}