/* Eun Pottery - Standalone Web App & Admin Stylesheet (Iwasaki Ryuji Ceramic Theme) */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Serif+KR:wght@300;400;600&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  --bg-primary: #F6F4EE;
  --bg-secondary: rgba(244, 240, 232, 0.7);
  --bg-dark: #1C1B1A;
  --text-main: #2C2A29;
  --text-muted: #78736E;
  --text-light: #FDFBF7;
  --accent: #B8734A;
  --accent-light: #D9A07E;
  --border-color: rgba(215, 208, 196, 0.6);
  --font-heading: 'Cormorant Garamond', 'Noto Serif KR', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --header-height: 80px;
  --transition-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 15px);
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 15% 15%, rgba(184, 115, 74, 0.05) 0px, transparent 40%),
    radial-gradient(at 85% 85%, rgba(217, 160, 126, 0.05) 0px, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.container-narrow {
  width: 85%;
  max-width: 860px;
  margin: 0 auto;
}

/* Unified Background Sections */
.info-section, .philosophy-section, .works-section, .instagram-section, .card-nav-section {
  background-color: transparent !important;
}

/* Header & Dropdown Navigation */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(246, 244, 238, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(215, 208, 196, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: background-color 0.4s ease;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-main);
  white-space: nowrap;
}

.logo span {
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
}

.pc-nav ul {
  display: flex;
  gap: 2.5rem;
}

.pc-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-main);
  position: relative;
  padding: 0.3rem 0;
  font-weight: 500;
}

.pc-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s var(--transition-smooth);
}

.pc-nav a:hover::after,
.pc-nav a.active::after {
  width: 100%;
}

.menu-item-has-children {
  position: relative;
}

.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: rgba(253, 251, 247, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 0.8rem 0;
  min-width: 210px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  display: block !important;
  z-index: 1000;
}

.sub-menu::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 0;
  width: 100%;
  height: 15px;
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  display: block;
  padding: 0.6rem 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.sub-menu a::after {
  display: none;
}

.sub-menu a:hover {
  background-color: rgba(184, 115, 74, 0.08);
  color: var(--accent);
}

/* Mobile Drawer Overlay */
.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 20px;
  z-index: 1001;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(28, 27, 26, 0.97);
  backdrop-filter: blur(15px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.mobile-nav-menu {
  text-align: center;
}

.mobile-nav-menu li {
  margin: 1.5rem 0;
}

.mobile-nav-menu a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav-menu a span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 0.3rem;
}

/* Hero Full-Screen Visual Slider */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-img-wrap {
  width: 100%;
  height: 100%;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
}

.hero-overlay {
  position: absolute;
  bottom: 12%;
  left: 8%;
  z-index: 10;
  color: #FFF;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* Section Common Headings */
.section-title-wrap {
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-main);
}

.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: 0.4rem;
}

/* Philosophy Section */
.philosophy-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 6rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(232, 227, 218, 0.7);
}

.philosophy-card:nth-child(even) {
  grid-template-columns: 1.2fr 1fr;
}

.philosophy-card:nth-child(even) .philosophy-img-box {
  order: 2;
}

.philosophy-img-box {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.philosophy-img-box img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.philosophy-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
}

.philosophy-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin: 0.5rem 0 1.2rem;
  line-height: 1.25;
}

/* Category Filter Tabs */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.3rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  border: 1px solid rgba(215, 208, 196, 0.7);
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  color: var(--text-main);
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  color: #FFF;
  background-color: var(--text-main);
  border-color: var(--text-main);
}

/* Works Paginated 6-Item Collection Grid (3 cols x 2 rows = 6 items per view) */
.works-paginated-container {
  margin-top: 2.5rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  min-height: 400px;
  opacity: 1;
  animation: fadeInGrid 0.4s ease forwards;
}

@keyframes fadeInGrid {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.works-pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3.5rem;
  flex-wrap: wrap;
}

.page-nav-btn {
  background: rgba(253, 251, 247, 0.95);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.page-nav-btn:hover:not(:disabled) {
  background: var(--text-main);
  color: #FFF;
  border-color: var(--text-main);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.page-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.page-number-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 0.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #FFF;
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-number-btn:hover,
.page-number-btn.active {
  background: var(--accent);
  color: #FFF;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(184, 115, 87, 0.3);
}

/* Works Collection Grid Card */

.work-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(232, 227, 218, 0.7);
  box-shadow: 0 8px 24px rgba(0,0,0,0.02);
  transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s ease;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  background: rgba(255, 255, 255, 0.95);
}

.work-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.06);
}

.work-info {
  padding: 1.5rem;
  text-align: center;
}

.work-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.work-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Works Artistic Diffuse Slideshow Carousel */
.works-featured-wrap {
  margin-bottom: 3.5rem;
  position: relative;
  border-radius: 12px;
  background: rgba(28, 27, 26, 0.94);
  backdrop-filter: blur(16px);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.works-featured-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.works-category-slider {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.artistic-diffuse-slide {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #161514;
}

.diffuse-bg {
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background-size: cover;
  background-position: center;
  filter: blur(65px) opacity(0.3) saturate(0.85);
  transition: transform 1.2s ease, filter 1s ease;
}

.diffuse-vignette-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(28, 27, 26, 0.15) 20%, rgba(18, 17, 16, 0.88) 100%);
  z-index: 1;
}

.artistic-diffuse-slide:hover .diffuse-bg {
  transform: scale(1.08);
  filter: blur(55px) opacity(0.38) saturate(1.0);
}

.diffuse-img-box {
  position: relative;
  z-index: 2;
  height: 84%;
  max-width: 70%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diffuse-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.6s var(--transition-smooth);
}

.artistic-diffuse-slide:hover .diffuse-img-box img {
  transform: scale(1.04);
}

.diffuse-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 2rem;
  z-index: 3;
  color: #FFF;
  background: rgba(28, 27, 26, 0.85);
  backdrop-filter: blur(12px);
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.diffuse-cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 600;
}

.diffuse-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
}

.diffuse-cue {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.works-category-slider .swiper-button-next,
.works-category-slider .swiper-button-prev {
  color: #FFF;
  width: 44px;
  height: 44px;
  background: rgba(28, 27, 26, 0.8);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 10;
}

/* Instagram Live Grid Section */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.insta-item {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 4px;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(184, 115, 74, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item:hover .insta-overlay {
  opacity: 1;
}

/* Visual Card Nav Section */
.card-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nav-card {
  position: relative;
  height: 320px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.nav-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.nav-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: #FFF;
}

.nav-card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
}

.nav-card-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

.nav-card:hover img {
  transform: scale(1.08);
}

/* Contact & Footer Section */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 8rem 0 3rem;
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

.btn-contact {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 30px;
  color: #FFF;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: #FFF;
  color: var(--bg-dark);
}

/* Visitor Counter Widget (Ceramic Minimalist Style) */
.visitor-counter-wrap {
  display: flex;
  justify-content: center;
  margin: 3.5rem 0 1rem;
}

.visitor-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.55rem 1.4rem;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.visitor-counter-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(184, 115, 74, 0.45);
  transform: translateY(-2px);
}

.visitor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  display: inline-block;
  animation: pulse-dot 2.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.25); }
}

.visitor-label {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--accent-light);
  letter-spacing: 0.16em;
}

.visitor-counts {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.visitor-stat {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.visitor-stat small {
  font-size: 0.65rem;
  opacity: 0.55;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.visitor-stat strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #FFF;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.visitor-divider {
  opacity: 0.25;
  font-size: 0.75rem;
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

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

.modal-content {
  background: var(--bg-primary);
  border-radius: 8px;
  max-width: 960px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-main);
  z-index: 10;
}

.modal-img-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  background: #EAE6DF;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-wrap {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Admin Dashboard Specific */
.admin-card {
  background: #FFF;
  padding: 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.03);
}

.admin-form-group {
  margin-bottom: 1.5rem;
}

.admin-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
}

.admin-textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-admin {
  background-color: var(--accent);
  color: #FFF;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.btn-admin:hover {
  background-color: var(--text-main);
}

/* Comprehensive Responsive Styles for Mobile & Tablet Devices */
/* Artist Profile Section Layout */
.artist-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.artist-profile-img-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.artist-profile-name {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.artist-profile-title {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.8rem;
  font-weight: 600;
}

.artist-profile-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .artist-profile-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .artist-profile-img-wrap {
    max-width: 400px;
    margin: 0 auto 1rem auto;
    width: 100%;
  }
  .artist-profile-text-wrap {
    text-align: center;
  }
  .artist-profile-btns {
    justify-content: center;
  }
  .artist-profile-name {
    font-size: 2.1rem;
  }
  .artist-profile-title {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 1024px) {
  .header-nav .container { padding: 0 1.5rem; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .card-nav-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Navigation Header Mobile Optimizations */
  #header {
    height: auto !important;
    padding: 0.3rem 0;
  }
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
  }
  .logo {
    font-size: 1.4rem;
    white-space: nowrap !important;
    display: inline-block;
  }
  .pc-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem 0.7rem;
  }
  .pc-nav a {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    padding: 0.2rem 0;
  }
  .header-sns {
    display: none;
  }

  /* Hero Section */
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.15em; }

  /* Philosophy Cards */
  .philosophy-card, .philosophy-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
  }
  .philosophy-card:nth-child(even) .philosophy-img-box {
    order: unset;
  }

  /* Works Grid & Filters */
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .filter-buttons {
    gap: 0.4rem;
  }
  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.72rem;
  }

  /* Lightbox Modal */
  .modal-overlay {
    padding: 1rem;
  }
  .modal-content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-info-wrap {
    padding: 1.5rem;
  }

  /* Banners */
  .subpage-banner {
    height: 180px;
    margin-bottom: 2rem;
  }
  .subpage-banner-title {
    font-size: 1.6rem;
  }
  .subpage-banner-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
  }

  /* Instagram */
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  /* Admin Cards */
  .admin-card {
    padding: 1.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .works-grid { grid-template-columns: 1fr; }
  .subpage-banner { height: 150px; }
  .subpage-banner-title { font-size: 1.3rem; }
  .contact-title { font-size: 2.2rem; }
  .btn-contact { padding: 0.8rem 1.5rem; font-size: 0.78rem; }
}

/* Enlarged Instagram Header Icon */
.header-sns {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.header-sns a[aria-label="Instagram"] {
  font-size: 1.5rem;
  color: var(--text-main);
  transition: transform 0.3s ease, color 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(184, 115, 74, 0.12);
  border: 1px solid rgba(184, 115, 74, 0.25);
}

.header-sns a[aria-label="Instagram"]:hover {
  color: var(--accent);
  transform: scale(1.12);
  background: rgba(184, 115, 74, 0.22);
}

/* Subpage Visual Header Banner */
.subpage-banner {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 3.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border: 1px solid rgba(215, 208, 196, 0.6);
}

.subpage-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
}

.subpage-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28,27,26,0.85), rgba(28,27,26,0.3));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  text-align: center;
  padding: 1.5rem;
}

.subpage-banner-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.subpage-banner-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-top: 0.4rem;
  font-weight: 600;
}


/* Exhibitions & Awards Timeline Styles */
.exhibition-year-block {
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px dashed rgba(215, 208, 196, 0.7);
}

.exhibition-year-block:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.exhibition-year-badge {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.8rem;
  display: inline-block;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.1rem;
}

.exhibition-shows-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.exhibition-shows-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.6;
}

.exhibition-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.exhibition-link {
  color: var(--text-main);
  border-bottom: 1px solid var(--accent);
  transition: color 0.3s ease, border-color 0.3s ease;
  font-weight: 500;
}

.exhibition-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.award-timeline-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-size: 1.05rem;
}

.admin-footer-link:hover {
  color: var(--accent) !important;
}


