/* ============================================
   BAKKERIJ FUNK — Stylesheet
   Nordic-Punk Pastry Counter
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --color-bg: #F5F0EB;
  --color-bg-white: #FFFFFF;
  --color-bg-off: #F5F0EB;
  --color-text: #1A1A1A;
  --color-text-secondary: #6B6560;
  --color-funk-red: #780406;
  --color-funk-red-rgb: 120, 4, 6;
  --color-dough-blue: #253185;
  --color-dough-blue-rgb: 37, 49, 133;
  --color-brioche: #EE9441;
  --color-espresso: #1C1917;
  --color-border: #E5E0DA;
  --color-border-rgb: 229, 224, 218;
  --color-linen: #DEDEDE;
  --color-success: #2D8A4E;
  --color-error: #B80011;
  --color-disabled: #C8C4BF;
  --color-card: #FFFFFF;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', 'Courier New', Courier, monospace;

  /* Spacing */
  --page-margin: 40px;
  --page-max: 120rem;
  --section-gap: 100px;
  --section-gap-mobile: 60px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.35s ease;
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

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

/* --- Typography --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-funk-red);
  margin-bottom: 1rem;
}

.eyebrow-light {
  color: var(--color-brioche);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.section-title-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-funk-red);
  color: #FFFFFF;
  border-color: var(--color-funk-red);
}

.btn-primary:hover {
  background-color: #5c0305;
  border-color: #5c0305;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background-color: var(--color-text);
  color: var(--color-bg-white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 0.9375rem;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background-color: var(--color-funk-red);
  color: #FFFFFF;
  text-align: center;
  padding: 10px 60px 10px 20px;
  position: relative;
  z-index: 1000;
}

.announcement-bar p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.announcement-bar a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar a:hover {
  opacity: 0.85;
}

.announcement-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #FFFFFF;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  padding: 4px;
}

.announcement-close:hover {
  opacity: 1;
}

.announcement-bar.hidden {
  display: none;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition-medium);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-margin);
  height: 64px;
  max-width: var(--page-max);
  margin: 0 auto;
}

.header-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text);
  transition: all var(--transition-fast);
}

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

.logo-svg {
  height: 28px;
  width: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--color-text);
  transition: color var(--transition-fast);
}

.header-icon-btn:hover {
  color: var(--color-funk-red);
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: 2px;
  right: -2px;
  background-color: var(--color-funk-red);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: all var(--transition-fast);
}

.cart-count.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-bg-white);
  z-index: 1100;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: left var(--transition-slow);
  overflow-y: auto;
}

.mobile-nav.open {
  left: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--page-margin);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.mobile-nav-close {
  font-size: 2rem;
  line-height: 1;
  padding: 4px;
  color: var(--color-text);
}

.mobile-nav-links {
  padding: 24px var(--page-margin);
  flex: 1;
}

.mobile-nav-links li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-links a {
  display: block;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

.mobile-nav-links a:hover {
  color: var(--color-funk-red);
}

.mobile-nav-footer {
  padding: 24px var(--page-margin);
  border-top: 1px solid var(--color-border);
}

.mobile-nav-footer .btn {
  width: 100%;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.mobile-nav-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 1200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-medium);
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 600px;
  padding: 0 var(--page-margin);
}

.search-form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #FFFFFF;
  padding-bottom: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 2rem;
  color: #FFFFFF;
  padding: 0;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.search-submit {
  color: #FFFFFF;
  padding: 8px;
  transition: opacity var(--transition-fast);
}

.search-submit:hover {
  opacity: 0.7;
}

.search-close {
  color: #FFFFFF;
  font-size: 2rem;
  padding: 4px 0 4px 16px;
  line-height: 1;
  transition: opacity var(--transition-fast);
}

.search-close:hover {
  opacity: 0.7;
}

.search-results {
  margin-top: 24px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.search-result-item img {
  width: 56px;
  height: 56px;
  object-fit: cover;
}

.search-result-info h4 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #FFFFFF;
}

.search-result-info p {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.search-no-results {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 40px 0;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 30%,
    rgba(0, 0, 0, 0.5) 70%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-margin) 80px;
  max-width: var(--page-max);
  margin: 0 auto;
  width: 100%;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7.2vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-style: italic;
  color: var(--color-brioche);
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 2rem;
}

/* ============================================
   BOOK SECTION
   ============================================ */
.book-section {
  padding: var(--section-gap) 0;
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.book-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.book-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.book-image-wrapper:hover .book-image {
  transform: scale(1.03);
}

.book-content-col {
  padding: 20px 0;
}

.book-description {
  margin-bottom: 2rem;
}

.book-description p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.book-description p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SEASONAL SECTION
   ============================================ */
.seasonal-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.seasonal-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.seasonal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seasonal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.seasonal-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--page-margin);
  max-width: 600px;
}

.seasonal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.seasonal-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   COLLAB SECTION
   ============================================ */
.collab-section {
  padding: var(--section-gap) 0;
  background-color: var(--color-bg-white);
}

.collab-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.collab-content-col p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.collab-note {
  font-family: var(--font-mono) !important;
  font-size: 0.8125rem !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-funk-red) !important;
  margin-top: 1.5rem !important;
}

.collab-image-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.collab-image-main {
  grid-row: 1 / -1;
}

.collab-image-item {
  overflow: hidden;
}

.collab-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform var(--transition-slow);
}

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

.collab-image-main img {
  aspect-ratio: auto;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
  padding: var(--section-gap) 0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.category-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover .category-image {
  transform: scale(1.06);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  transition: background var(--transition-medium);
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.1) 50%
  );
}

.category-label {
  position: absolute;
  bottom: 56px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.1;
}

.category-sublabel {
  position: absolute;
  bottom: 28px;
  left: 24px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FEATURE SECTION (SOURDOUGH)
   ============================================ */
.feature-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.feature-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.feature-content {
  position: relative;
  z-index: 2;
  padding: 60px var(--page-margin);
  max-width: 560px;
}

.feature-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.feature-text {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: var(--section-gap) 0;
  background-color: var(--color-bg-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text {
  margin-bottom: 2.5rem;
}

.about-text p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.about-details {
  display: flex;
  gap: 48px;
}

.about-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-detail-label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.about-detail-value {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
}

.about-image-stack {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
  align-items: end;
}

.about-img {
  width: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-1 {
  aspect-ratio: 3/4;
}

.about-img-2 {
  aspect-ratio: 3/4;
  margin-bottom: 40px;
}

.about-img:hover {
  transform: translateY(-4px);
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products-section {
  padding: var(--section-gap) 0;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  position: relative;
}

.product-card-link {
  display: block;
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background-color: var(--color-bg-off);
  margin-bottom: 12px;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-brioche);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
}

.product-info {
  padding: 0 4px;
}

.product-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 4px;
}

.product-price {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-espresso);
  color: #FFFFFF;
  padding: 80px 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  max-width: 320px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-nav-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.footer-nav-links li {
  margin-bottom: 10px;
}

.footer-nav-links a {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-fast);
}

.footer-nav-links a:hover {
  color: #FFFFFF;
}

/* Newsletter */
.footer-newsletter {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 32px;
}

.footer-newsletter-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.footer-newsletter-input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-right: none;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: #FFFFFF;
  outline: none;
  transition: border-color var(--transition-fast);
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.footer-newsletter-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter-form .btn {
  border-radius: 0;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social-link {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-social-link:hover {
  color: #FFFFFF;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --page-margin: 28px;
    --section-gap: 80px;
  }

  .book-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .book-image-wrapper {
    aspect-ratio: 16/10;
  }

  .collab-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-images {
    order: -1;
  }

  .about-image-stack {
    max-width: 500px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    max-height: 700px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
  }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --page-margin: 20px;
    --section-gap: 60px;
  }

  .header-menu-btn {
    display: flex;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-image-wrapper {
    aspect-ratio: 16/9;
  }

  .seasonal-section {
    height: 60vh;
    min-height: 400px;
  }

  .feature-section {
    min-height: auto;
    padding: 80px 0;
  }

  .feature-media {
    display: none;
  }

  .feature-overlay {
    display: none;
  }

  .feature-section {
    background-color: var(--color-espresso);
  }

  .feature-content {
    max-width: 100%;
  }

  .feature-title {
    color: #FFFFFF;
  }

  .feature-text {
    color: rgba(255, 255, 255, 0.7);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .collab-image-grid {
    grid-template-columns: 1fr 1fr;
  }

  .collab-image-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .collab-image-main img {
    aspect-ratio: 16/10;
  }

  .about-image-stack {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .about-img-1,
  .about-img-2 {
    margin-bottom: 0;
  }

  .about-details {
    flex-direction: column;
    gap: 20px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .footer-newsletter-input {
    border-right: 1px solid rgba(255, 255, 255, 0.3);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .announcement-bar p {
    font-size: 0.6875rem;
  }

  .hero {
    max-height: 600px;
    min-height: 500px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-subtitle {
    font-size: 0.75rem;
  }

  .seasonal-overlay {
    background: rgba(0, 0, 0, 0.55);
  }

  .seasonal-content {
    padding: 0 var(--page-margin);
  }

  .seasonal-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
}

/* ============================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-title {
    font-size: 0.8125rem;
  }

  .product-price {
    font-size: 0.8125rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.8125rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.875rem;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-secondary);
}

/* Selection color */
::selection {
  background-color: rgba(var(--color-funk-red-rgb), 0.15);
  color: var(--color-text);
}
