@media (max-width: 480px) {
  .coverflow-carousel {
    height: 210px;
    margin-bottom: 32px;
  }
  .carousel-item {
    width: 170px;
    height: 120px;
    margin-left: -85px;
    margin-top: -60px;
    border-radius: 8px;
  }
  .carousel-track-container {
    min-height: 140px;
  }
  .result-section {
    padding-bottom: 30px;
  }
}
/* Project Specs Table Layout */
.project-specs-table-wrapper {
  display: flex;
  justify-content: center;
  margin: 0 auto 24px auto;
  width: 100%;
  max-width: 600px;
}
.project-specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fafbfc;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(60,80,120,0.06);
  overflow: hidden;
  font-size: 1rem;
}
.project-specs-table th,
.project-specs-table td {
  padding: 16px 18px;
  text-align: left;
}
.project-specs-table th {
  background: #f2f6fa;
  color: #3A68B8;
  font-weight: 600;
  width: 38%;
  border-bottom: 1px solid #e0e0e0;
  letter-spacing: 1px;
}
.project-specs-table td {
  color: #222;
  background: #fafbfc;
  border-bottom: 1px solid #e0e0e0;
}
.project-specs-table tr:last-child th,
.project-specs-table tr:last-child td {
  border-bottom: none;
}
@media (max-width: 768px) {
  .project-specs-table-wrapper {
    max-width: 100%;
  }
  .project-specs-table th,
  .project-specs-table td {
    padding: 10px 8px;
    font-size: 0.97rem;
  }
}
@media (max-width: 480px) {
  .project-specs-table th,
  .project-specs-table td {
    padding: 7px 4px;
    font-size: 0.93rem;
  }
}
/* ===========================
   PROJECT SPECIFICATIONS SECTION
   =========================== */
.project-specs-section {
  background: #fff;
  padding: 90px 40px 70px 40px;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}
.project-specs-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.project-specs-title {
  font-size: 2.1rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 10px;
  letter-spacing: 6px;
}
.project-specs-subtitle {
  font-size: 0.95rem;
  color: #888;
  font-weight: 400;
  margin-bottom: 40px;
  letter-spacing: 1.5px;
}
.project-specs-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px 60px;
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
}
.spec-item {
  min-width: 180px;
  max-width: 260px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 10px;
}
.spec-label {
  font-size: 0.92rem;
  color: #3A68B8;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.spec-value {
  font-size: 1.08rem;
  color: #222;
  font-weight: 400;
  margin-bottom: 0;
}
.project-specs-seo {
  font-size: 1.01rem;
  color: #666;
  margin-top: 18px;
  font-weight: 300;
  letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
  .project-specs-list {
    gap: 24px 10px;
  }
  .spec-item {
    min-width: 140px;
    max-width: 100%;
    margin: 0 4px;
  }
}
@media (max-width: 768px) {
  .project-specs-section {
    padding: 60px 16px 40px 16px;
  }
  .project-specs-title {
    font-size: 1.4rem;
    letter-spacing: 3px;
  }
  .project-specs-list {
    flex-direction: column;
    align-items: center;
    gap: 18px 0;
    text-align: left;
  }
  .spec-item {
    min-width: 120px;
    max-width: 100%;
    align-items: flex-start;
    margin: 0;
  }
}
@media (max-width: 480px) {
  .project-specs-section {
    padding: 40px 6px 25px 6px;
  }
  .project-specs-title {
    font-size: 1.1rem;
    letter-spacing: 1.5px;
  }
  .project-specs-list {
    flex-direction: column;
    align-items: center;
    gap: 10px 0;
    text-align: left;
  }
  .spec-item {
    min-width: 0;
    max-width: 100%;
    align-items: flex-start;
    margin: 0;
  }
}
/* Gallery Page CSS */

body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f7f7;
  color: #222;
  overflow-x: hidden;
}

/* Smooth scrolling for all devices */
html {
  scroll-behavior: smooth;
}
/* Navbar styles extracted from your stylesheet (scope: header + nav + dropdown + mobile) */

/* MAIN HEADER */
.main-header {
    background: #FFFFFF;
    width: 100%;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #EEEEEE;
}

/* Container */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 85px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding: 0 40px;
}

/* LOGO */
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    margin-right: auto;
}

.header-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: #113768;
    border-radius: 16px;
    border: 2px solid rgba(17, 55, 104, 0.15);
    box-shadow: 0 4px 16px rgba(21, 57, 106, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.header-logo .logo-icon:hover {
    transform: scale(1.05);
}

.header-logo .h-letter {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.header-logo .logo-text {
    display: flex;
    flex-direction: column;
    color: #113768;
}

.header-logo .company-main {
    font-size: 1rem;
    font-weight: 700;
    color: #113768;
    letter-spacing: 0.5px;
}

.header-logo .company-sub {
    font-size: 0.7rem;
    color: #7C7C7C;
    letter-spacing: 0.5px;
}

/* NAVIGATION */
.header-nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header-nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-left: auto;
}

.header-nav-left .nav-link,
.header-nav-right .nav-link {
    color: #222222;
    font-weight: 300;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
    padding: 8px 0;
    position: relative;
}

.header-nav-left .nav-link:hover,
.header-nav-right .nav-link:hover {
    color: #3A68B8;
}

.header-nav-left .nav-link.active,
.header-nav-right .nav-link.active {
    color: #3A68B8;
}

.header-nav-left .nav-link.active::after,
.header-nav-right .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3A68B8;
}

/* CTA BUTTON */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #3A68B8;
    border-radius: 999px;
    color: #3A68B8;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-cta-btn:hover {
    background: #3A68B8;
    color: #FFFFFF;
}

/* MOBILE MENU TOGGLE */
.header-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 28px;
    height: 28px;
    justify-content: center;
    position: absolute;
    right: 40px;
}

.header-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #222222;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.header-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.header-menu.active span:nth-child(2) {
    opacity: 0;
}

.header-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* DROPDOWN */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #FFFFFF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 12px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    border: 1px solid #EEEEEE;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown .dropdown-menu li a {
    color: #222222;
    font-size: 0.9rem;
    font-weight: 300;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-dropdown .dropdown-menu li a:hover {
    background: #F7F7F7;
    color: #3A68B8;
}

/* Korean Minimal Mobile Typography */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.75;
  }

  h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    letter-spacing: 0.05em;
  }
}

/* ===========================
   NAVBAR RESPONSIVE STYLES
   =========================== */

@media (max-width: 768px) {
  .header-container {
    height: 70px;
    padding: 0 20px;
  }

  .header-logo .logo-icon {
    width: 42px;
    height: 42px;
  }

  .header-logo .h-letter {
    font-size: 1.6rem;
  }

  .header-logo .company-main {
    font-size: 0.95rem;
  }

  .header-logo .company-sub {
    font-size: 0.65rem;
  }

  .header-nav-left,
  .header-nav-right {
    display: none;
  }

  .header-menu {
    display: flex;
  }

  .header-cta-btn {
    display: none;
  }
}

@media (max-width: 480px) {
  .header-container {
    height: 65px;
    padding: 0 15px;
  }

  .header-logo .logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .header-logo .h-letter {
    font-size: 1.5rem;
  }

  .header-logo .company-main {
    font-size: 0.9rem;
  }

  .header-logo .company-sub {
    font-size: 0.6rem;
  }

  .header-menu {
    width: 26px;
    height: 26px;
    right: 15px;
  }

  .header-menu span {
    height: 2px;
  }
}

/* ===========================
   PROJECT HERO SECTION
   Korean Minimal Style
   =========================== */

.project-hero {
  background: #ffffff;
  padding: 140px 40px 100px 40px;
  border-bottom: 1px solid #e0e0e0;
}

.project-hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Breadcrumb */
.project-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: #999;
}

.project-breadcrumb a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
  color: #3A68B8;
}

.breadcrumb-separator {
  color: #d0d0d0;
}

.breadcrumb-current {
  color: #222;
}

/* Hero Title */
.project-hero-title {
  font-size: 4rem;
  font-weight: 300;
  color: #222;
  margin: 0 0 50px 0;
  letter-spacing: 12px;
  line-height: 1.2;
  text-align: center;
}

/* Project Meta */
.project-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  padding: 30px 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.meta-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #999;
}

.meta-value {
  font-size: 0.95rem;
  font-weight: 400;
  color: #222;
  letter-spacing: 1px;
}

.meta-divider {
  width: 1px;
  height: 40px;
  background: #e0e0e0;
}

/* Project Description */
.project-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .project-hero {
    padding: 140px 40px 100px 40px;
  }

  .project-hero-title {
    font-size: 3.5rem;
    letter-spacing: 12px;
    margin-bottom: 60px;
  }

  .project-meta {
    gap: 35px;
    padding: 35px 0;
  }

  .project-description {
    font-size: 1.02rem;
    line-height: 1.85;
  }
}

@media (max-width: 768px) {
  .project-hero {
    padding: 120px 30px 80px 30px;
    text-align: center;
  }

  .project-breadcrumb {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    font-size: 0.68rem;
    gap: 10px;
  }

  .project-hero-title {
    font-size: 2.2rem;
    letter-spacing: 4px;
    margin-bottom: 50px;
    font-weight: 200;
  }

  .project-meta {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
    margin-bottom: 50px;
  }

  .meta-item {
    gap: 10px;
  }

  .meta-label {
    font-size: 0.68rem;
    letter-spacing: 2px;
  }

  .meta-value {
    font-size: 0.95rem;
    font-weight: 300;
  }

  .meta-divider {
    width: 80px;
    height: 1px;
  }

  .project-description {
    font-size: 0.95rem;
    line-height: 1.85;
    padding: 0 15px;
    max-width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .project-hero {
    padding: 100px 20px 60px 20px;
    text-align: center;
  }

  .project-breadcrumb {
    font-size: 0.62rem;
    gap: 8px;
    margin-bottom: 35px;
    justify-content: center;
  }

  .project-hero-title {
    font-size: 1.65rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    line-height: 1.4;
    font-weight: 200;
  }

  .project-meta {
    gap: 25px;
    padding: 25px 0;
    margin-bottom: 35px;
  }

  .meta-item {
    gap: 8px;
  }

  .meta-label {
    font-size: 0.62rem;
    letter-spacing: 1.5px;
  }

  .meta-value {
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    font-weight: 300;
  }

  .meta-divider {
    width: 60px;
  }

  .project-description {
    font-size: 0.88rem;
    line-height: 1.7;
    padding: 0 10px;
    text-align: center;
  }
}

/* ===========================
   MATCHING PAIRS SECTION - SPLIT LAYOUT
   Korean Minimal Before & After
   =========================== */

.matching-pairs-section {
  background: #ffffff;
  padding: 120px 40px 100px 40px;
}

.matching-pairs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.matching-pairs-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  margin: 0 0 12px 0;
  letter-spacing: 8px;
  line-height: 1.3;
  text-align: center;
}

.matching-pairs-subtitle {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  margin: 0 0 70px 0;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

/* Split Headers */
.matching-pairs-header {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  margin-bottom: 40px;
  align-items: center;
}

.header-before {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 3px;
  padding: 15px 0;
}

.header-divider {
  width: 1px;
  height: 30px;
  background: #ddd;
  margin: 0 auto;
}

.header-after {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: #666;
  letter-spacing: 3px;
  padding: 15px 0;
}

/* Pairs Grid */
.matching-pairs-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.matching-pair {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 0;
  position: relative;
  transition: all 0.3s ease;
}

/* Number Badge */
.matching-pair::before {
  content: attr(data-number);
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.5px;
  z-index: 5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Center Divider Line */
.matching-pair::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, #ddd 10%, #ddd 90%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.pair-before,
.pair-after {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e8e8;
  position: relative;
}

.pair-before {
  grid-column: 1;
}

.pair-after {
  grid-column: 3;
}

.pair-before img,
.pair-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease;
}

.pair-before img {
  filter: grayscale(100%) brightness(0.95);
}

.pair-after img {
  filter: brightness(1);
}

.pair-before:hover img {
  transform: scale(1.03);
  filter: grayscale(80%) brightness(0.98);
}

.pair-after:hover img {
  transform: scale(1.03);
}

/* Responsive styles for matching pairs */
@media (max-width: 1024px) {
  .matching-pairs-section {
    padding: 120px 40px 100px 40px;
  }

  .matching-pairs-title {
    font-size: 2.2rem;
    letter-spacing: 8px;
    font-weight: 200;
  }

  .matching-pairs-subtitle {
    margin-bottom: 70px;
    font-size: 0.85rem;
  }

  .matching-pairs-grid {
    gap: 60px;
  }

  .matching-pair::before {
    width: 36px;
    height: 36px;
    font-size: 0.75rem;
    top: 15px;
    left: 15px;
  }

  .pair-before,
  .pair-after {
    aspect-ratio: 16 / 10;
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .matching-pairs-section {
    padding: 100px 30px 80px 30px;
  }
  
  .matching-pairs-title {
    font-size: 2rem;
    margin: 0 0 15px 0;
    letter-spacing: 6px;
    font-weight: 200;
  }
  
  .matching-pairs-subtitle {
    font-size: 0.82rem;
    letter-spacing: 2px;
    margin-bottom: 60px;
  }

  .matching-pairs-header {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 40px;
  }

  .matching-pairs-header::after {
    display: none;
  }

  .header-before,
  .header-after {
    font-size: 0.88rem;
    padding: 15px 0;
    letter-spacing: 3px;
  }

  .header-after {
    display: none;
  }

  .matching-pairs-grid {
    gap: 50px;
  }

  .matching-pair {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .matching-pair::after {
    display: none;
  }

  .matching-pair::before {
    width: 32px;
    height: 32px;
    font-size: 0.7rem;
    top: 12px;
    left: 12px;
  }

  .pair-before,
  .pair-after {
    grid-column: 1;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
  }

  .pair-after::before {
    content: 'AFTER';
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.68rem;
    font-weight: 600;
    color: #666;
    letter-spacing: 2.5px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    z-index: 5;
  }

  /* Better image scaling */
  .pair-before img,
  .pair-after img {
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 480px) {
  .matching-pairs-section {
    padding: 80px 20px 60px 20px;
  }
  
  .matching-pairs-title {
    font-size: 1.75rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 200;
  }
  
  .matching-pairs-subtitle {
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    margin-bottom: 50px;
  }

  .header-before {
    font-size: 0.85rem;
    padding: 12px 0;
    letter-spacing: 2.5px;
  }

  .matching-pairs-grid {
    gap: 40px;
  }

  .matching-pair::before {
    width: 30px;
    height: 30px;
    font-size: 0.65rem;
    top: 10px;
    left: 10px;
  }

  .pair-before,
  .pair-after {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }

  .pair-after::before {
    font-size: 0.65rem;
    padding: 4px 12px;
    top: 10px;
    right: 10px;
    letter-spacing: 2px;
  }

  /* Optimize hover effects for mobile */
  .pair-before:active img,
  .pair-after:active img {
    transform: scale(1.02);
  }

  .pair-before:hover img,
  .pair-after:hover img {
    transform: none;
  }
}

/* ===========================
   PROCESSING SECTION - SIMPLE 3×3 GRID
   Clean Border Style
   =========================== */

.processing-section {
  background: #ffffff;
  padding: 120px 40px 100px 40px;
}

.processing-container {
  max-width: 900px;
  margin: 0 auto;
}

.processing-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin: 0 0 12px 0;
  letter-spacing: 8px;
  line-height: 1.3;
}

.processing-subtitle {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  margin: 0 0 70px 0;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
}

/* Simple 3×3 Grid - Smaller Sizes */
.processing-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e0e0e0;
}

.processing-bento-item {
  overflow: hidden;
  background: #ffffff;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  aspect-ratio: 1 / 1;
  max-height: 280px;
  transition: all 0.3s ease;
  position: relative;
}

.processing-bento-item:nth-child(3n) {
  border-right: none;
}

.processing-bento-item:nth-child(n+7) {
  border-bottom: none;
}

.processing-bento-item:hover {
  background: #fafafa;
  z-index: 2;
}

.processing-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.processing-bento-item:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

/* Responsive Styles for Processing Section */
@media (max-width: 1024px) {
  .processing-section {
    padding: 100px 30px 80px 30px;
  }

  .processing-container {
    max-width: 750px;
  }

  .processing-title {
    font-size: 2rem;
    letter-spacing: 6px;
  }

  .processing-subtitle {
    margin-bottom: 60px;
  }

  .processing-bento-item {
    max-height: 240px;
  }
}

@media (max-width: 768px) {
  .processing-section {
    padding: 100px 30px 80px 30px;
  }

  .processing-container {
    max-width: 700px;
  }

  .processing-title {
    font-size: 2rem;
    letter-spacing: 6px;
    margin-bottom: 15px;
    font-weight: 200;
  }

  .processing-subtitle {
    font-size: 0.82rem;
    margin-bottom: 60px;
    letter-spacing: 2px;
  }

  .processing-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .processing-bento-item {
    max-height: 320px;
    aspect-ratio: 1 / 1;
  }

  .processing-bento-item:nth-child(3n) {
    border-right: 1px solid #e0e0e0;
  }

  .processing-bento-item:nth-child(2n) {
    border-right: none;
  }

  .processing-bento-item:nth-child(n+7) {
    border-bottom: 1px solid #e0e0e0;
  }

  .processing-bento-item:nth-child(n+7) {
    border-bottom: none;
  }

  /* Better touch feedback */
  .processing-bento-item:active {
    background: #f5f5f5;
  }
}

@media (max-width: 600px) {
  .processing-section {
    padding: 80px 20px 60px 20px;
  }

  .processing-container {
    max-width: 100%;
  }

  .processing-title {
    font-size: 1.75rem;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-weight: 200;
  }

  .processing-subtitle {
    font-size: 0.78rem;
    margin-bottom: 50px;
    letter-spacing: 1.5px;
  }

  .processing-bento-grid {
    grid-template-columns: 1fr;
    border-radius: 0;
    overflow: hidden;
    border: none;
  }

  .processing-bento-item {
    aspect-ratio: 4 / 3;
    max-height: none;
    border-radius: 0;
    border: none;
    border-bottom: 8px solid #ffffff;
  }

  .processing-bento-item:nth-child(2n) {
    border-right: none;
  }

  .processing-bento-item:nth-child(n+5) {
    border-bottom: 8px solid #ffffff;
  }

  .processing-bento-item:last-child {
    border-bottom: none;
  }

  /* Smoother image transitions */
  .processing-bento-item img {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
}

@media (max-width: 480px) {
  .processing-section {
    padding: 60px 0;
  }

  .processing-container {
    padding: 0;
  }

  .processing-title {
    font-size: 1.55rem;
    letter-spacing: 3px;
    margin-bottom: 12px;
    font-weight: 200;
    padding: 0 20px;
  }

  .processing-subtitle {
    font-size: 0.75rem;
    margin-bottom: 45px;
    letter-spacing: 1.5px;
    padding: 0 20px;
  }

  .processing-bento-item {
    aspect-ratio: 4 / 3;
    max-height: none;
    border-bottom: 10px solid #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  /* Optimize for very small screens */
  .processing-bento-item:hover {
    background: #ffffff;
  }

  .processing-bento-item:active {
    background: #f5f5f5;
  }

  .processing-bento-grid {
    border-radius: 0;
  }
}

/* ===========================
   RESULT SECTION - COVERFLOW CAROUSEL
   Korean Minimal Style
   =========================== */

.result-section {
  background: #ffffff;
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}

.result-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent);
}

.result-container {
  max-width: 1400px;
  margin: 0 auto;
}

.result-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin: 0 0 12px 0;
  letter-spacing: 8px;
  line-height: 1.3;
}

.result-subtitle {
  font-size: 0.85rem;
  color: #999;
  font-weight: 500;
  letter-spacing: 2px;
  margin: 0 0 70px 0;
  text-align: center;
  text-transform: uppercase;
}

/* Coverflow Carousel Container */
.coverflow-carousel {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  overflow: hidden;
}

.carousel-track-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  cursor: grab;
}

.carousel-track-container:active {
  cursor: grabbing;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Carousel Items - Single Row Stack */
.carousel-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 480px;
  height: 360px;
  margin-left: -240px;
  margin-top: -180px;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.4s ease;
  user-select: none;
  pointer-events: none;
}

/* Active (Center) Item */
.carousel-item.active {
  z-index: 10;
  transform: translateX(0) translateY(0) scale(1) rotateY(0deg);
  opacity: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.carousel-item.active img {
  filter: brightness(1);
}

/* Left Items - Stacked Behind */
.carousel-item.left-1 {
  z-index: 9;
  transform: translateX(-420px) translateY(0) scale(0.85) rotateY(25deg);
  opacity: 0.7;
}

.carousel-item.left-1 img {
  filter: brightness(0.9);
}

.carousel-item.left-2 {
  z-index: 8;
  transform: translateX(-700px) translateY(0) scale(0.7) rotateY(35deg);
  opacity: 0.4;
}

.carousel-item.left-2 img {
  filter: brightness(0.8);
}

.carousel-item.left-3 {
  z-index: 7;
  transform: translateX(-900px) translateY(0) scale(0.6) rotateY(40deg);
  opacity: 0.2;
}

.carousel-item.left-3 img {
  filter: brightness(0.7);
}

/* Right Items - Stacked Behind */
.carousel-item.right-1 {
  z-index: 9;
  transform: translateX(420px) translateY(0) scale(0.85) rotateY(-25deg);
  opacity: 0.7;
}

.carousel-item.right-1 img {
  filter: brightness(0.9);
}

.carousel-item.right-2 {
  z-index: 8;
  transform: translateX(700px) translateY(0) scale(0.7) rotateY(-35deg);
  opacity: 0.4;
}

.carousel-item.right-2 img {
  filter: brightness(0.8);
}

.carousel-item.right-3 {
  z-index: 7;
  transform: translateX(900px) translateY(0) scale(0.6) rotateY(-40deg);
  opacity: 0.2;
}

.carousel-item.right-3 img {
  filter: brightness(0.7);
}

/* Hidden Items - Far away */
.carousel-item.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) translateY(0) scale(0.3);
  z-index: 1;
}

/* Navigation Buttons */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 20;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-nav:hover {
  background: #ffffff;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav svg {
  color: #222;
}

.carousel-nav-left {
  left: 40px;
}

.carousel-nav-right {
  right: 40px;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d0d0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: #a0a0a0;
}

.indicator.active {
  width: 32px;
  border-radius: 4px;
  background: #222;
}

/* ===========================
   LIGHTBOX MODAL
   =========================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

/* Lightbox Close Button */
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-close:hover {
  background: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

.lightbox-close svg {
  color: #222;
}

/* Lightbox Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.lightbox-nav:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
  color: #222;
}

.lightbox-nav-left {
  left: 40px;
}

.lightbox-nav-right {
  right: 40px;
}

/* Lightbox Counter */
.lightbox-counter {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .coverflow-carousel {
    height: 500px;
  }

  .carousel-item {
    width: 400px;
    height: 300px;
    margin-left: -200px;
    margin-top: -150px;
  }

  .carousel-item.left-1 {
    transform: translateX(-350px) translateY(0) scale(0.85) rotateY(25deg);
  }

  .carousel-item.right-1 {
    transform: translateX(350px) translateY(0) scale(0.85) rotateY(-25deg);
  }

  .carousel-item.left-2 {
    transform: translateX(-580px) translateY(0) scale(0.7) rotateY(35deg);
  }

  .carousel-item.right-2 {
    transform: translateX(580px) translateY(0) scale(0.7) rotateY(-35deg);
  }

  .carousel-item.left-3 {
    transform: translateX(-750px) translateY(0) scale(0.6) rotateY(40deg);
  }

  .carousel-item.right-3 {
    transform: translateX(750px) translateY(0) scale(0.6) rotateY(-40deg);
  }
}

@media (max-width: 1024px) {
  .result-section {
    padding: 120px 40px 100px 40px;
  }

  .result-title {
    font-size: 2.2rem;
    letter-spacing: 8px;
    padding-left: 0;
    text-align: center;
    font-weight: 200;
  }

  .result-subtitle {
    margin: 0 0 70px 0;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .coverflow-carousel {
    height: 500px;
  }

  .carousel-item {
    width: 400px;
    height: 300px;
    margin-left: -200px;
    margin-top: -150px;
    border-radius: 16px;
  }

  .carousel-item.left-1 {
    transform: translateX(-320px) translateY(0) scale(0.82) rotateY(28deg);
  }

  .carousel-item.right-1 {
    transform: translateX(320px) translateY(0) scale(0.82) rotateY(-28deg);
  }

  .carousel-item.left-2 {
    transform: translateX(-530px) translateY(0) scale(0.68) rotateY(36deg);
  }

  .carousel-item.right-2 {
    transform: translateX(530px) translateY(0) scale(0.68) rotateY(-36deg);
  }

  .carousel-nav {
    width: 52px;
    height: 52px;
  }

  .carousel-nav-left {
    left: 25px;
  }

  .carousel-nav-right {
    right: 25px;
  }
}

@media (max-width: 768px) {
  .result-section {
    padding: 100px 30px 80px 30px;
  }

  .result-title {
    font-size: 1.8rem;
    letter-spacing: 4px;
    padding-left: 0;
    text-align: center;
    font-weight: 200;
    margin-bottom: 15px;
  }

  .result-title::before {
    display: none;
  }

  .result-subtitle {
    margin: 0 0 60px 0;
    text-align: center;
    font-size: 0.78rem;
    letter-spacing: 2px;
  }

  .coverflow-carousel {
    height: 380px;
  }

  .carousel-item {
    width: 320px;
    height: 240px;
    margin-left: -160px;
    margin-top: -120px;
    border-radius: 14px;
  }

  .carousel-item.left-1 {
    transform: translateX(-260px) translateY(0) scale(0.72) rotateY(32deg);
    opacity: 0.6;
  }

  .carousel-item.right-1 {
    transform: translateX(260px) translateY(0) scale(0.72) rotateY(-32deg);
    opacity: 0.6;
  }

  .carousel-item.left-2,
  .carousel-item.right-2,
  .carousel-item.left-3,
  .carousel-item.right-3 {
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .carousel-nav {
    width: 48px;
    height: 48px;
  }

  .carousel-nav svg {
    width: 20px;
    height: 20px;
  }

  .carousel-nav-left {
    left: 15px;
  }

  .carousel-nav-right {
    right: 15px;
  }
  
  .lightbox-nav {
    width: 52px;
    height: 52px;
  }

  .lightbox-close {
    width: 50px;
    height: 50px;
    top: 25px;
    right: 25px;
  }

  .lightbox-nav-left {
    left: 25px;
  }

  .lightbox-nav-right {
    right: 25px;
  }

  .lightbox-counter {
    bottom: 35px;
    font-size: 0.88rem;
    padding: 12px 24px;
  }

  /* Improve carousel touch interaction */
  .carousel-track-container {
    cursor: default;
  }

  .carousel-indicators {
    gap: 12px;
    margin-top: 30px;
  }
}

@media (max-width: 600px) {
  .result-section {
    padding: 90px 25px 70px 25px;
  }

  .result-title {
    font-size: 1.85rem;
    letter-spacing: 5px;
    font-weight: 200;
  }

  .result-subtitle {
    font-size: 0.8rem;
    margin-bottom: 55px;
  }

  .coverflow-carousel {
    height: 380px;
  }

  .carousel-item {
    width: 300px;
    height: 225px;
    margin-left: -150px;
    margin-top: -112px;
  }

  .carousel-item.left-1 {
    transform: translateX(-220px) translateY(0) scale(0.7) rotateY(35deg);
  }

  .carousel-item.right-1 {
    transform: translateX(220px) translateY(0) scale(0.7) rotateY(-35deg);
  }

  .carousel-nav-left {
    left: 12px;
  }

  .carousel-nav-right {
    right: 12px;
  }
}

@media (max-width: 480px) {
  .result-section {
    padding: 70px 20px 60px 20px;
  }

  .result-title {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-weight: 200;
  }

  .result-subtitle {
    font-size: 0.7rem;
    margin-bottom: 40px;
    letter-spacing: 1.5px;
  }

  .coverflow-carousel {
    height: 280px;
  }

  .carousel-item {
    width: 240px;
    height: 180px;
    margin-left: -120px;
    margin-top: -90px;
    border-radius: 10px;
  }

  .carousel-item.left-1,
  .carousel-item.right-1 {
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .carousel-item.left-2,
  .carousel-item.right-2,
  .carousel-item.left-3,
  .carousel-item.right-3 {
    opacity: 0;
    pointer-events: none;
    display: none;
  }

  .carousel-nav {
    width: 42px;
    height: 42px;
  }

  .carousel-nav svg {
    width: 18px;
    height: 18px;
  }

  .carousel-nav-left {
    left: 10px;
  }

  .carousel-nav-right {
    right: 10px;
  }

  .carousel-indicators {
    gap: 8px;
    margin-top: 20px;
  }

  .indicator {
    width: 7px;
    height: 7px;
  }

  .indicator.active {
    width: 26px;
  }

  .lightbox-content img {
    border-radius: 8px;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-close {
    top: 15px;
    right: 15px;
  }

  .lightbox-close svg,
  .lightbox-nav svg {
    width: 18px;
    height: 18px;
  }

  .lightbox-nav-left {
    left: 15px;
  }

  .lightbox-nav-right {
    right: 15px;
  }

  .lightbox-counter {
    font-size: 0.8rem;
    padding: 8px 16px;
    bottom: 25px;
  }

  /* Optimize for touch */
  .carousel-track-container {
    -webkit-overflow-scrolling: touch;
  }
}

/* ===========================
   BACK LINK SECTION - MINIMAL
   Korean Minimal Style
   =========================== */

.back-link-section {
  background: #ffffff;
  padding: 80px 40px;
  border-top: 1px solid #e0e0e0;
}

.back-link-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.minimal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 32px;
  background: transparent;
  border: 1px solid #d0d0d0;
  border-radius: 50px;
  color: #666;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.minimal-back-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
  transition: left 0.3s ease;
  z-index: -1;
}

.minimal-back-link:hover::before {
  left: 0;
}

.minimal-back-link:hover {
  border-color: #999;
  color: #222;
}

.back-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.minimal-back-link:hover .back-arrow {
  transform: translateX(-4px);
}

.back-text {
  font-family: 'Inter', sans-serif;
  letter-spacing: 2px;
}

/* Responsive Back Link */
@media (max-width: 768px) {
  .back-link-section {
    padding: 70px 30px;
  }

  .minimal-back-link {
    padding: 16px 32px;
    font-size: 0.85rem;
    gap: 14px;
    letter-spacing: 2.5px;
  }

  .back-arrow {
    font-size: 1.15rem;
  }
}

@media (max-width: 480px) {
  .back-link-section {
    padding: 60px 20px;
  }

  .minimal-back-link {
    padding: 14px 28px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    min-height: 48px;
  }

  .back-arrow {
    font-size: 1.1rem;
  }

  .back-text {
    letter-spacing: 2px;
  }
}

/* ===========================
   KOREAN MINIMAL MOBILE ENHANCEMENTS
   Clean Spacing & Touch-Optimized UX
   =========================== */

@media (max-width: 768px) {
  /* Improve touch targets for mobile */
  .carousel-nav,
  .lightbox-nav,
  .lightbox-close {
    min-width: 48px;
    min-height: 48px;
  }

  /* Better spacing for mobile readability */
  .project-description {
    padding: 0 15px;
  }

  /* Optimize image loading on mobile */
  .carousel-item img,
  .processing-bento-item img,
  .pair-before img,
  .pair-after img {
    image-rendering: auto;
  }

  /* Improve mobile menu spacing */
  .mobile-menu {
    padding-top: 15px;
  }

  /* Better font rendering on mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Prevent horizontal scroll on mobile */
  .project-hero-container,
  .matching-pairs-container,
  .processing-container,
  .result-container,
  .back-link-container {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* Better section dividers on mobile */
  .project-hero::after,
  .matching-pairs-section::before,
  .processing-section::before,
  .result-section::before {
    opacity: 0.5;
  }

  /* Enhanced Korean minimal spacing */
  section {
    margin-bottom: 0;
  }

  /* Larger, cleaner images */
  .carousel-item,
  .pair-before,
  .pair-after,
  .processing-bento-item {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
  }

  .carousel-item:hover,
  .pair-before:hover,
  .pair-after:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  /* Better typography hierarchy */
  h1, h2, h3 {
    font-weight: 200;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  /* Even better touch targets on small phones */
  .carousel-nav,
  .lightbox-nav,
  .lightbox-close {
    min-width: 50px;
    min-height: 50px;
  }

  /* Improve text readability */
  .project-description,
  .meta-value {
    font-size: 0.95rem;
    line-height: 1.75;
  }

  /* Better spacing for very small screens */
  .project-hero {
    padding: 100px 20px 60px 20px;
  }

  .matching-pairs-section,
  .result-section {
    padding: 80px 20px 60px 20px;
  }

  .processing-section {
    padding: 80px 0 60px 0;
  }

  /* Optimize carousel for small screens */
  .carousel-indicators {
    margin-top: 25px;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 30px;
  }

  /* Better image aspect ratios for mobile */
  .carousel-item {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  /* Optimize button sizes */
  .minimal-back-link {
    min-height: 48px;
  }

  /* Better section titles on mobile */
  .project-hero-title,
  .matching-pairs-title,
  .processing-title,
  .result-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-weight: 200;
  }

  /* Prevent zoom on form inputs (if any added later) */
  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Korean minimal aesthetic - more whitespace */
  section + section {
    margin-top: 0;
  }

  /* Cleaner, larger images */
  .pair-before,
  .pair-after {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
  }

  /* Better line height for readability */
  body {
    line-height: 1.7;
  }

  /* Improved section spacing */
  section {
    margin-bottom: 0;
  }

  /* Better image presentation */
  .carousel-item {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }
}

/* Performance optimizations for all mobile devices */
@media (max-width: 768px) {
  /* Enable hardware acceleration for smoother animations */
  .carousel-item,
  .processing-bento-item,
  .pair-before,
  .pair-after {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }

  /* Smooth image loading */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  /* Better tap highlighting */
  a,
  button {
    -webkit-tap-highlight-color: rgba(58, 104, 184, 0.1);
    -webkit-touch-callout: none;
  }

  /* Improve scroll performance */
  * {
    -webkit-overflow-scrolling: touch;
  }

  /* Better focus states for accessibility */
  a:focus,
  button:focus {
    outline: 2px solid rgba(58, 104, 184, 0.5);
    outline-offset: 2px;
  }
}
