/* ============================================================
   style.css — Global styles for Olivia Ahn Portfolio
   Fashion brand aesthetic: chic, minimal, editorial
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Helvetica+Neue:wght@300;400&display=swap');

:root {
  /* color palltte */
  --black: #0a0a0a;
  --white: #faf9f7;
  --warm-gray: #e8e6e1;
  --mid-gray: #b0aca5;
  --light-gray: #f2f0ec;
  --text: #1a1a1a;
  --text-light: #7a7570;
  --accent: #1a1a1a;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --header-h: 52px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --max-w: 1280px;
}

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

html {
  scroll-behavior: smooth;
  background-color: #1a1a1a
}


body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  letter-spacing: 0.04em;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#site-header.header-hidden {
  transform: translateY(-100%);
}

/* Logo (left) */
.header-logo a {
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
}

.header-logo img,
.header-logo svg {
  display: block;
  height: 128px;
  width: auto;
}

/* Nav (center) */
.header-nav {
  display: flex;
  gap: 32px;
  list-style: none;
  position: absolute;
  left: 89%;
  top: 18px;
  transform: translateX(-50%);
}

.header-nav li {
  position: relative;
}

.header-nav a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  transition: color var(--transition);
}

.header-nav a:hover {
  color: var(--mid-gray);
}

/* Dropdown menus */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-top: none;
  padding: 12px 0;
  min-width: 200px;
  display: none;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.header-nav li:hover .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: background-color 0.2s ease, color var(--transition);
  text-decoration: none;
}

.nav-dropdown a:hover {
  background-color: var(--light-gray);
  color: var(--text);
}

.nav-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  cursor: default;
}

/* Icons (right) */
.header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
  color: var(--text);
  transition: color var(--transition);
}

.header-icon-btn:hover {
  color: var(--mid-gray);
}

.header-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.2;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-family: var(--font-body);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.cart-badge.visible {
  opacity: 1;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-content {
  padding-top: var(--header-h);
  min-height: 100vh;
}

/* ============================================================
   HERO SECTION (index.html)
   ============================================================ */
.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 60px 32px;
  position: relative;
  padding-top: 10px;
}

/* ── Handwritten SVG logo ── */
.hero-logo {
  margin-bottom: 0px;
  opacity: 0.8;
  animation: fadeUp 1.2s var(--transition) 0.2s forwards;
}

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

/* ── Name ── */
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  margin-bottom: 16px;
  opacity: 1;
  animation: fadeUp 1s var(--transition) 0.5s forwards;
}

/* ── Tagline ── */
.hero-tagline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 40px;
  opacity: 1;
  animation: fadeUp 1s var(--transition) 0.7s forwards;
}

/* ── Contact icons ── */
.hero-contacts {
  display: flex;
  gap: 24px;
  align-items: center;
  opacity: 1;
  animation: fadeUp 1s var(--transition) 0.9s forwards;
}

.contact-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  transition: color var(--transition);
}

.contact-link:hover {
  color: var(--black);
}

.contact-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.3;
}

.contact-link span {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  border-top: 1px solid var(--warm-gray);
  padding: 96px 0;
  width: 100%;
  overflow: hidden;
}

/* ============================================================
   ABOUT CAROUSEL SECTION
   ============================================================ */

.about-carousel-wrapper {
  position: relative;
  min-width: 0;
}

.about-carousel-wrapper {
  position: relative;
  width: 100%;
  padding-left: 32px;
}

.about-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 18px;
}

.about-carousel::-webkit-scrollbar {
  height: 4px;
}

.about-carousel::-webkit-scrollbar-track {
  background: var(--light-gray);
}

.about-carousel::-webkit-scrollbar-thumb {
  background: var(--mid-gray);
}

.about-card {
  min-width: 95vw;
  height: 550px;
  scroll-snap-align: center;
  background: var(--light-gray);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  border: 1px solid var(--warm-gray);
}

.about-card-image {
  background: var(--warm-gray);
  min-height: 420px;
  overflow: hidden;
}

.about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-card-tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 18px;
}

.about-card-text h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.15;
  margin-bottom: 24px;
}

.about-card-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 520px;
}

.about-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid var(--warm-gray);
  background: var(--white);
  color: var(--text);
  font-size: 18px;
  transition: background var(--transition), color var(--transition);
}

.about-arrow:hover {
  background: var(--black);
  color: var(--white);
}

.about-arrow-left {
  left: -18px;
}

.about-arrow-right {
  right: -18px;
}

.about-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  padding-left: 40px;
  margin-bottom: 12px;
}

.about-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.about-body p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 560px;
}

/*===================================================================================*/
/* Full image background cards */
.about-card-full {
  position: relative;
  display: block;
  overflow: hidden;
}

.about-card-full .about-card-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

.about-card-full .about-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-card-full .about-card-text {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 520px;
  padding: 56px 64px;
  justify-content: flex-end;
  color: var(--white);
}

.about-card-full .about-card-tag,
.about-card-full .about-card-text p {
  color: rgba(250, 249, 247, 0.82);
}

.about-card-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.08));
  z-index: 1;
}

.about-card-full::after {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.15));
}

/* ============================================================
   PROJECTS GRID (main page)
   ============================================================ */
.projects-section {
  border-top: 1px solid var(--warm-gray);
  padding: 64px 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ── Grid ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── Project card ── */
.project-card {
  cursor: pointer;
  position: relative;
  overflow: hidden;
  background: var(--light-gray);
}

/* Image area */
.project-card-img {
  aspect-ratio: 3/4;
  background: var(--warm-gray);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card-img img {
  position: absolute;
  inset: 100;
  height: 65%;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card:hover .project-card-img img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.project-card-img .placeholder-label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  user-select: none;
}

/* "New" tag */
.tag-new {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}

/* Card info */
.project-card-info {
  padding: 14px 0 8px;
}

.project-card-info h3 {
  padding: 0 14px 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.project-card-info .card-sub {
  padding: 0 14px 0;
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.project-card-info .card-sub {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.project-card:hover .project-card-info .card-sub {
  max-height: 40px;
  opacity: 1;
}

.project-card-info .card-date {
  padding: 0 14px 0;
  font-size: 11px;
  color: var(--mid-gray);
  margin-top: 2px;
}

/* ── Coming soon card ── */
.coming-soon-card {
  background: var(--light-gray);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--warm-gray);
}

.coming-soon-card span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ============================================================
   PRODUCT PAGE (project.html)
   ============================================================ */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--header-h));
}

/* Left — image panel */
.product-image-panel {
  position: sticky;
  top: var(--header-h);
  height: calc(100vh - var(--header-h));
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image-viewer {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Main image container with zoom */
.product-image-main {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--light-gray);
}

.product-image-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

/* Navigation buttons */
.image-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition);
}

.image-nav-btn:hover {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.image-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
}

.image-nav-prev {
  left: 16px;
}

.image-nav-next {
  right: 16px;
}

/* Image preview gallery */
.product-image-previews {
  height: 96px;
  background: var(--white);
  border-top: 1px solid var(--warm-gray);
  display: flex;
  gap: 8px;
  padding: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.product-image-preview {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: var(--warm-gray);
  border: 2px solid var(--warm-gray);
  cursor: pointer;
  overflow: hidden;
  transition: border-color var(--transition);
}

.product-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-image-preview.active {
  border-color: var(--black);
}

.product-image-preview:hover {
  border-color: var(--text-light);
}

/* Placeholder when no image */
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image-placeholder span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* Right — details panel */
.product-details-panel {
  padding: 64px 56px 80px;
  overflow-y: auto;
}

/* Breadcrumb */
.product-breadcrumb {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 28px;
}

.product-breadcrumb a:hover {
  color: var(--text);
}

.product-breadcrumb span {
  margin: 0 8px;
}

/* Title */
.product-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 8px;
}

/* Subtitle */
.product-subtitle {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Date (replaces price) */
.product-date {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

/* Divider */
.product-divider {
  border: none;
  border-top: 1px solid var(--warm-gray);
  margin: 28px 0;
}

/* Links section label */
.product-links-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 14px;
}

/* Platform link icons */
.product-links {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.product-link-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--warm-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
  cursor: pointer;
  color: var(--text);
}

.product-link-btn:hover {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.product-link-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.3;
}

.product-no-links {
  font-size: 11px;
  color: var(--mid-gray);
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

/* Description */
.product-description {
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Add to bag button */
.btn-add-to-bag {
  width: 100%;
  padding: 16px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  margin-bottom: 12px;
}

.btn-add-to-bag:hover {
  background: var(--text-light);
}

.btn-add-to-bag.in-cart {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}

/* ── Next project ── */
.next-project {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--warm-gray);
}

.next-label {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 16px;
}

.next-project-card {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: opacity var(--transition);
}

.next-project-card:hover {
  opacity: 0.7;
}

.next-project-thumb {
  width: 72px;
  height: 96px;
  background: var(--warm-gray);
  flex-shrink: 0;
  overflow: hidden;
}

.next-project-thumb img {
  height: 100%;
  object-fit: cover;
}

.next-project-info h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.next-project-info p {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.next-arrow {
  margin-left: auto;
  color: var(--mid-gray);
}

.next-arrow svg {
  width: 20px;
  height: 20px;
  stroke-width: 1;
}

/* ============================================================
   CART PAGE (cart.html)
   ============================================================ */
.cart-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px 120px;
}

.cart-page-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.cart-page-subtitle {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 48px;
}

/* Cart items list */
.cart-items {
  margin-bottom: 48px;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--warm-gray);
}

.cart-item:last-child {
  border-bottom: 1px solid var(--warm-gray);
}

.cart-item-thumb {
  width: 80px;
  height: 106px;
  background: var(--warm-gray);
  overflow: hidden;
}

.cart-item-thumb img {
  height: 100%;
  object-fit: cover;
}

.cart-item-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
}

.cart-item-info .cart-item-date {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cart-item-remove {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-body);
  transition: color var(--transition);
}

.cart-item-remove:hover {
  color: var(--black);
}

/* Email suggestion box */
.email-suggestion {
  background: var(--light-gray);
  padding: 28px 32px;
  margin-bottom: 32px;
  border-left: 2px solid var(--black);
}

.email-suggestion-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.email-suggestion-text {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0;
}

/* Checkout */
.cart-checkout-btn {
  width: 100%;
  padding: 18px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition);
  display: block;
  text-align: center;
}

.cart-checkout-btn:hover {
  background: var(--text-light);
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 96px 0;
  color: var(--mid-gray);
}

.cart-empty p {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 24px;
}

.cart-empty a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: underline;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--warm-gray);
  padding: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }

  50% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
}

/* ── Scroll reveal utility ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-page {
    grid-template-columns: 1fr;
  }

  .product-image-panel {
    position: relative;
    height: 60vw;
  }

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

@media (max-width: 640px) {
  #site-header {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
  }

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

  .product-details-panel {
    padding: 36px 20px 60px;
  }

  .hero {
    padding: 40px 20px;
  }

  .about-section,
  .projects-section {
    padding-left: 20px;
    padding-right: 20px;
  }
}