/* ==========================================================================
   ArtOfMG.com — Central Stylesheet
   Martine Gaudissart Original Wall-Art & Studio
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. Root Variables & Reset
   ========================================================================== */
:root {
  --bg: #0b0b0f;
  --bg-elevated: #121218;
  --bg-warm: #221f1c;
  --text: #f2f0f5;
  --text-muted: #a8a3b3;
  --accent: #c084fc;
  --accent-bright: #e879f9;
  --accent-light: #f5d0fe;
  --teal: #2dd4bf;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.18);
  --radius: 12px;
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.narrow {
  max-width: 720px;
}

/* ==========================================================================
   2. Site Header & Navigation Bar (Shared across all pages)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 11, 15, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-social {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  width: 9.8rem;
}

.logo-mark {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #e8f0ff;
  white-space: nowrap;
}

.logo-accent {
  color: var(--accent-bright);
}

.logo-sub {
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  margin-top: 2px;
  white-space: nowrap;
}

/* Social media links next to logo */
.social-bar {
  display: flex;
  flex-direction: row;
  gap: 0.45rem;
  align-items: center;
}

.social-bar a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e8f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.social-bar a:hover {
  background: var(--accent-bright);
  color: #1a0a1f;
  border-color: var(--accent-bright);
  transform: scale(1.08);
}

/* Top Navigation Links */
.main-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

/* Pink on hover — all nav text + icons */
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent-bright) !important;
}

.main-nav a:hover .icon-home,
.main-nav a:hover .icon-info,
.main-nav a:hover .gift-icon-img,
.main-nav a:focus-visible .icon-home,
.main-nav a:focus-visible .icon-info {
  color: var(--accent-bright);
  stroke: var(--accent-bright);
  filter: drop-shadow(0 0 4px rgba(232, 121, 249, 0.45));
}

/* Pink when current page / active slider section */
.main-nav a.active,
.main-nav a[aria-current="page"] {
  color: var(--accent-bright) !important;
  font-weight: 600;
}

.main-nav a.active .icon-home,
.main-nav a.active .icon-info,
.main-nav a.active .gift-icon-img,
.main-nav a[aria-current="page"] .icon-home,
.main-nav a[aria-current="page"] .icon-info {
  color: var(--accent-bright);
  stroke: var(--accent-bright);
  filter: drop-shadow(0 0 5px rgba(232, 121, 249, 0.55));
}

/* Footer matches */
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent-bright) !important;
}
.footer-links a.active,
.footer-links a[aria-current="page"] {
  color: var(--accent-bright) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  position: absolute;
  left: 0;
  transition: 0.3s;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }

/* Home Icon link in Nav — white/muted by default; pink only when active (homepage) or hover */
.nav-home {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.4rem !important;
  color: var(--text-muted) !important; /* same as other menu text */
}

.nav-home .icon-home {
  width: 20px;
  height: 20px;
  color: inherit;
  fill: currentColor;
}

.nav-home:hover,
.nav-home.active,
.nav-home[aria-current="page"] {
  color: var(--accent-bright) !important;
}

/* Question mark (About) and Gift emoji icons in nav */
.nav-about,
.nav-gift {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.15rem 0.4rem !important;
  color: var(--accent-bright);
  transition: transform 0.2s ease, color 0.2s ease;
}
.nav-about:hover,
.nav-gift:hover,
.nav-about.active,
.nav-gift.active {
  color: #f0abfc !important;
  transform: scale(1.1);
}
.nav-gift {
  font-size: 1.35rem;
  filter: drop-shadow(0 0 4px rgba(232, 121, 249, 0.4));
}
.nav-about .icon-info {
  width: 20px;
  height: 20px;
  display: block;
}
.nav-about:hover .icon-info,
.nav-about.active .icon-info {
  stroke: #f0abfc;
}


/* ==========================================================================
   3. Site Footer (Shared across all pages)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-brand .logo-mark {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.copyright {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 1rem;
  opacity: 0.7;
}

/* ==========================================================================
   4. Universal Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  letter-spacing: -0.01em;
  white-space: nowrap;
  width: auto !important;
  min-width: 0 !important;
  max-width: max-content;
}

.btn-primary {
  background: var(--accent-bright);
  color: #1a0a1f;
}

.btn-primary:hover {
  background: #f0abfc;
  transform: translateY(-1px);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-1px);
}

.btn-shop {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
}

.btn-home,
.btn-gift {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  max-height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(11, 11, 15, 0.45);
  color: #fff;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  margin-left: 0.35rem;
  overflow: hidden;
}

.btn-home {
  margin-left: 0;
}

.btn-home:hover,
.btn-gift:hover {
  background: rgba(232, 121, 249, 0.35);
  border-color: #e879f9;
  color: #fff;
}

.btn-home .icon-home {
  width: 22px;
  height: 22px;
}

.btn-gift .gift-icon-img,
.gift-icon-img {
  width: 22px !important;
  height: 22px !important;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.nav-gift .gift-icon-img {
  width: 20px !important;
  height: 20px !important;
}


/* ==========================================================================
   5. Main Hero Slider & Touch Section Sliders
   ========================================================================== */
.hero-slider.main-slider {
  position: relative;
  margin-top: 72px; /* clear fixed menu bar — no overlap */
  height: calc(100dvh - 72px);
  min-height: 500px;
  max-height: none;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.hero-slider.main-slider:active {
  cursor: grabbing;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  display: flex;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 5.5rem; /* space under dots; matches Work vertical feel */
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.04);
}

.slide.active .hero-image {
  animation: kenBurns 28s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1.04) translate(0%, 0%); }
  50% { transform: scale(1.10) translate(-1%, 0.6%); }
  100% { transform: scale(1.06) translate(0.8%, -0.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Darker left + bottom for readable text; image still visible on right/top */
  background:
    linear-gradient(
      to right,
      rgba(11, 11, 15, 0.88) 0%,
      rgba(11, 11, 15, 0.72) 28%,
      rgba(11, 11, 15, 0.35) 55%,
      rgba(11, 11, 15, 0.18) 100%
    ),
    linear-gradient(
      to top,
      rgba(11, 11, 15, 0.92) 0%,
      rgba(11, 11, 15, 0.75) 18%,
      rgba(11, 11, 15, 0.35) 45%,
      rgba(11, 11, 15, 0.15) 70%,
      rgba(11, 11, 15, 0.25) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 740px;
  pointer-events: auto;
  margin-top: -3vh;
  padding-left: 5rem;
  padding-right: 5rem;
}

.eyebrow {
  font-size: 0.76rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.7rem;
  font-weight: 600;
  display: inline-block;
  background: rgba(0, 0, 0, 0.5);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
}

.hero-title {
  margin-bottom: 1.4rem;
}

.title-line-1 {
  font-size: clamp(1.45rem, 3.4vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #dce6ff;
  line-height: 1.15;
  margin-bottom: 0.08em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}

.title-line-2 {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem); /* fits "Martine Gaudissart" on one line */
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #eef4ff;
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.hero-ctas {
  display: flex;
  flex-wrap: nowrap;          /* keep buttons side-by-side on desktop */
  align-items: center;
  gap: 0.85rem;
}

/* Arrows + Dots */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(11, 11, 15, 0.55);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(6px);
}

.slider-arrow:hover {
  background: rgba(232, 121, 249, 0.35);
  border-color: var(--accent-bright);
}

.slider-arrow.prev { left: 1.1rem; }
.slider-arrow.next { right: 1.1rem; }

.slider-dots {
  position: absolute;
  bottom: 4.2rem; /* clear black space under the dots */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.dot.active {
  background: var(--accent-bright);
  transform: scale(1.25);
}

/* Section Slider Container (Artist, Analisa, Work, Gallery, Gifts) */
.section-slider-wrap {
  position: relative;
  scroll-margin-top: 72px;
  overflow: hidden;
}

/* Gifts page: first content below fixed header — clear the menu */
#gifts-section {
  margin-top: 72px;
}
#gifts-section .section-slider {
  height: calc(100dvh - 72px);
  min-height: 500px;
}

@media (max-width: 700px) {
  .section-slider-wrap {
    scroll-margin-top: 56px;
  }
}

.section-slider {
  position: relative;
  width: 100%;
  height: calc(100dvh - 72px);
  min-height: 500px;
  max-height: none;
  overflow: hidden;
  background: #0b0b0f;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.section-slider:active {
  cursor: grabbing;
}

.section-slider .sec-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.55s ease, visibility 0.55s ease;
  display: block;
}

.section-slider .sec-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.section-slider .sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.section-slider .sec-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.04);
}

.section-slider .sec-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Strong left + bottom darkness for panel text readability */
  background:
    linear-gradient(
      to right,
      rgba(11, 11, 15, 0.92) 0%,
      rgba(11, 11, 15, 0.78) 32%,
      rgba(11, 11, 15, 0.40) 58%,
      rgba(11, 11, 15, 0.15) 100%
    ),
    linear-gradient(
      to top,
      rgba(11, 11, 15, 0.88) 0%,
      rgba(11, 11, 15, 0.55) 22%,
      rgba(11, 11, 15, 0.20) 50%,
      rgba(11, 11, 15, 0.12) 100%
    );
}

.section-slider .sec-panel {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  padding: 2.5rem 5rem 2.5rem 5rem; /* 5rem side padding all modes */
  margin: 0;
  pointer-events: auto;
}

/* Keep ALL action buttons/icons in a single non-wrapping horizontal row */
.section-slider .sec-panel > .btn,
.section-slider .sec-panel > a.btn {
  display: inline-flex !important;
  flex-shrink: 0;
  margin-right: 0.45rem;
  margin-bottom: 0;
  vertical-align: middle;
}
.section-slider .sec-panel .btn-home,
.section-slider .sec-panel .btn-gift {
  margin-right: 0.35rem;
}

/* Horizontal non-wrapping button row for section panels (esp. Gallery) */
.sec-actions {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
}
.sec-actions .btn,
.sec-actions a.btn {
  display: inline-flex !important;
  flex-shrink: 0;
  margin: 0 !important;
  white-space: nowrap;
}


/* Force the button group itself to stay on one line (especially Gallery quotes) */
#gallery-section .sec-panel {
  /* text stays stacked; buttons stay side-by-side */
}
#gallery-section .sec-panel a.btn,
#gallery-section .sec-panel .btn {
  display: inline-flex !important;
  white-space: nowrap;
}
/* Create an implicit row for consecutive buttons */
.section-slider .sec-panel {
  /* already flex column */
}
.section-slider .sec-panel > a.btn + a.btn,
.section-slider .sec-panel > .btn + .btn,
.section-slider .sec-panel > a.btn + .btn,
.section-slider .sec-panel > .btn + a.btn {
  margin-left: 0;
}

.sec-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.sec-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
  color: #fff;
}

.sec-panel p {
  color: rgba(230, 230, 240, 0.88);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   6. Page Number Navigation Bar for Section Sliders
   ========================================================================== */
.page-nav {
  position: absolute !important;
  bottom: 2.6rem !important; /* more space under the page numbers */
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  display: flex !important;
  align-items: center;
  gap: 0.35rem;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  pointer-events: auto !important;
  max-width: min(94vw, 780px);
  overflow-x: auto;
  scrollbar-width: none;
}

.page-nav::-webkit-scrollbar {
  display: none;
}

.page-arrow {
  width: 30px;
  height: 30px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  flex-shrink: 0;
}

.page-arrow:hover {
  background: rgba(232, 121, 249, 0.45);
  color: #fff !important;
}

.page-nums {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.page-nums::-webkit-scrollbar {
  display: none;
}

.page-num {
  min-width: 28px;
  height: 28px;
  padding: 0 0.3rem;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 28px;
  cursor: pointer;
  border-radius: 8px;
  font-family: inherit;
  flex-shrink: 0;
}

.page-num.active {
  color: #1a0a1f !important;
  background: #e879f9 !important;
}

.page-num:hover:not(.active) {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   7. Specialized Section Cards & Grids
   ========================================================================== */
/* The Artist Section */
#artist-section .artist-panel {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(1040px, 94%) !important;
  max-width: 1040px !important;
  margin: 0 !important;
  padding: 2.5rem 5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  z-index: 3 !important;
}

#artist-section .artist-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  width: 100%;
  align-items: center;
}

#artist-section .artist-col {
  background: transparent;
  border: none;
  padding: 0;
}

#artist-section .artist-lorem {
  color: rgba(230, 230, 240, 0.88);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

/* The Work Section */
#work-section .work-panel {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(1040px, 94%) !important;
  max-width: 1040px !important;
  margin: 0 !important;
  padding: 2.5rem 5rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  z-index: 3 !important;
}

#work-section .work-two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
  width: 100%;
  align-items: center;
}

#work-section .work-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#work-section .work-col-media {
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
}

#work-section .work-cover {
  display: block;
  width: min(100%, 420px);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: min(440px, 58vh);
  object-fit: contain;
  object-position: center center;
  border-radius: 12px;
}

#work-section .work-actions {
  display: flex;
  flex-wrap: nowrap;          /* keep buttons side-by-side on desktop */
  align-items: center;
  gap: 0.55rem;
  margin-top: auto;
}

/* ==========================================================================
   8. iPad & Mobile Phone Responsive Typography & Image Scaling Rules
   ==========================================================================
   Focus: Keep images large, prominent, and full-screen; make fonts & padding
   significantly smaller on mobile/tablet so text is minimal and unobtrusive.
   ========================================================================== */

/* iPad / Tablet (max-width: 1024px) */
/* iPad / Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-slider.main-slider {
    margin-top: 72px !important;
    height: calc(100dvh - 72px) !important;
    min-height: 480px !important;
  }
  #gifts-section {
    margin-top: 72px !important;
  }
  #gifts-section .section-slider {
    height: calc(100dvh - 72px) !important;
    min-height: 480px !important;
  }

  .section-slider {
    height: calc(100dvh - 72px) !important;
    min-height: 480px !important;
  }

  .slide {
    padding-bottom: 7.5rem;
  }

  .slider-dots {
    bottom: 4.2rem; /* still clear black space under dots */
  }

  .page-nav {
    bottom: 2.2rem !important;
  }

  .hero-ctas {
    flex-wrap: nowrap;
  }

  .title-line-1 {
    font-size: 1.25rem;
  }

  .title-line-2 {
    font-size: 2.15rem;
  }

  .sec-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 0.45rem;
  }

  .sec-panel p {
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 0.75rem;
  }

  .eyebrow, .sec-eyebrow {
    font-size: 0.62rem;
    margin-bottom: 0.3rem;
  }

  .btn {
    padding: 0.45rem 0.95rem;
    font-size: 0.78rem;
  }

  .section-slider > .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .section-slider > .slider-arrow.prev { left: 0.55rem; }
  .section-slider > .slider-arrow.next { right: 0.55rem; }
}

/* Mobile Phones (max-width: 700px) — Amazon-like compact text */
@media (max-width: 700px) {
  .header-inner {
    height: 56px;
  }

  .logo {
    width: 7.4rem;
  }

  .logo-mark {
    font-size: 0.82rem;
  }

  .logo-sub {
    font-size: 0.48rem;
  }

  .social-bar a {
    width: 24px;
    height: 24px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(18, 18, 24, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.65rem;
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-slider.main-slider {
    margin-top: 56px !important; /* clear fixed menu on phone */
    height: calc(100dvh - 56px) !important;
    min-height: 400px !important;
  }
  #gifts-section {
    margin-top: 56px !important;
  }
  #gifts-section .section-slider {
    height: calc(100dvh - 56px) !important;
    min-height: 400px !important;
  }

  .section-slider {
    height: calc(100dvh - 56px) !important;
    min-height: 400px !important;
  }

  .slide {
    padding-top: 1.5rem;
    padding-bottom: 6.8rem; /* extra black space under the dots on phone */
  }

  .slider-dots {
    bottom: 3.6rem; /* clear space below the circles */
  }

  .hero-ctas {
    flex-wrap: wrap; /* allow wrapping only on small phones if needed */
    gap: 0.5rem;
  }

  /* Gallery + all section buttons stay side-by-side even on phone */
  #gallery-section .sec-panel > .btn,
  #gallery-section .sec-panel > a.btn,
  .section-slider .sec-panel > .btn,
  .section-slider .sec-panel > a.btn {
    display: inline-flex !important;
    flex-shrink: 0;
    margin-bottom: 0 !important;
  }

  /* Compact text panel — image dominates, text stays tiny like Amazon product pages */
  .section-slider .sec-panel {
    top: 50% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    padding: 1rem 5rem 1.2rem !important; /* 5rem side padding */
    max-width: 100% !important;
  }

  .title-line-1 {
    font-size: 0.92rem;
    margin-bottom: 0.04em;
  }

  .title-line-2 {
    font-size: 1.35rem;
    white-space: nowrap;
  }

  .sec-panel h2 {
    font-size: 1.05rem;
    margin-bottom: 0.28rem;
    letter-spacing: -0.02em;
  }

  .sec-panel p,
  .artist-lorem,
  .gallery-quote,
  .work-lorem {
    font-size: 0.68rem !important;   /* Amazon-like body size */
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
  }

  .eyebrow, .sec-eyebrow {
    font-size: 0.52rem;
    margin-bottom: 0.2rem;
    padding: 0.08rem 0.25rem;
    letter-spacing: 0.1em;
  }

  .btn {
    padding: 0.32rem 0.7rem;
    font-size: 0.68rem;
  }

  .btn-home,
  .btn-gift {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 50% !important;
  }

  .btn-home .icon-home {
    width: 16px;
    height: 16px;
  }

  .btn-gift .gift-icon-img {
    width: 16px !important;
    height: 16px !important;
  }

  #artist-section .artist-panel,
  #work-section .work-panel {
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    padding: 1rem 5rem !important; /* 5rem side padding */
  }

  #artist-section .artist-two-col,
  #work-section .work-two-col {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  /* Hide cover images in The Work section on phone only */
  #work-section .work-cover,
  #work-section .work-col-media {
    display: none !important;
  }

  /* All section panels: enough side padding so text never overlaps arrows */
  .section-slider .sec-panel {
    padding-left: 5rem !important;
    padding-right: 5rem !important;
  }

  .page-nav {
    padding: 0.2rem 0.4rem;
    bottom: 1.6rem !important; /* still space under the numbers */
  }

  .page-arrow, .page-num {
    min-width: 24px;
    height: 24px;
    font-size: 0.75rem;
    line-height: 24px;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
    font-size: 1.2rem;
  }

  .slider-arrow.prev { left: 0.4rem; }
  .slider-arrow.next { right: 0.4rem; }
}

/* Very small phones */
@media (max-width: 400px) {
  .title-line-2 {
    font-size: 1.28rem;
  }
  .sec-panel h2 {
    font-size: 0.95rem;
  }
  .sec-panel p,
  .artist-lorem,
  .gallery-quote {
    font-size: 0.64rem !important;
  }
  .btn {
    font-size: 0.64rem;
    padding: 0.28rem 0.6rem;
  }
}
