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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  color: #222;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a:hover {
  opacity: 0.8;
}

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

/* ===== Header / Navigation ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 45px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  color: #333;
  transition: color 0.3s;
}

.nav a:hover,
.nav a.active {
  color: #000;
  opacity: 1;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #333;
  background: none;
  border: none;
  font-family: inherit;
  transition: color 0.3s;
}

.dropdown-toggle:hover {
  color: #000;
}

.dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 16px 0 8px;
  min-width: 180px;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: #666;
  transition: background 0.2s, color 0.2s;
}

.dropdown-menu a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #000;
  opacity: 1;
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.05) 60%,
    rgba(255, 255, 255, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-left: 6vw;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 6px;
  margin-bottom: 8px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 4px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ===== Sections ===== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 4vw;
}

.section-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #999;
  margin-bottom: 12px;
}

.section-heading {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #222;
}

.section-subtitle {
  font-size: 18px;
  color: #666;
  font-weight: 300;
  margin-bottom: 16px;
}

.section-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.section-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 700px;
}

/* ===== Exhibition Feature (Homepage) ===== */
.exhibition-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 4vw;
}

.exhibition-feature.reverse {
  direction: rtl;
}

.exhibition-feature.reverse > * {
  direction: ltr;
}

.exhibition-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.exhibition-info {
  padding: 20px 0;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border: 1px solid #222;
  color: #222;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: 24px;
}

.btn:hover {
  background: #222;
  color: #fff;
  opacity: 1;
}

/* ===== Open Call Page ===== */
.page-header {
  padding-top: 140px;
  padding-bottom: 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 4px;
  color: #222;
}

.open-call-grid {
  display: grid;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 4vw 80px;
}

.open-call-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.open-call-item:nth-child(even) {
  direction: rtl;
}

.open-call-item:nth-child(even) > * {
  direction: ltr;
}

.open-call-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.open-call-info h2 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 8px;
  color: #222;
}

.open-call-info h3 {
  font-size: 16px;
  font-weight: 300;
  color: #666;
  margin-bottom: 16px;
}

.open-call-info .meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 16px;
  line-height: 1.8;
}

.open-call-info .description {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

/* ===== Exhibition Detail Page ===== */
.exhibition-hero {
  padding-top: 70px;
  text-align: center;
}

.exhibition-hero .poster {
  width: 100%;
  margin: 0 auto 40px;
  border-radius: 0;
}

.exhibition-hero h1,
.exhibition-hero h2,
.exhibition-hero .meta,
.exhibition-hero .description {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 4vw;
  padding-right: 4vw;
}

.exhibition-hero h1 {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 8px;
  color: #222;
}

.exhibition-hero h2 {
  font-size: 18px;
  font-weight: 300;
  color: #666;
  margin-bottom: 16px;
}

.exhibition-hero .meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
}

.exhibition-hero .description {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Award Section ===== */
.award-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 4vw;
}

.award-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  color: #222;
}

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.artwork-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.artwork-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ratio-4-3 .artwork-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f5f5f5;
}

.artwork-card .artwork-info {
  padding: 16px;
}

.artwork-card .artwork-title {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
  color: #222;
}

.artwork-card .artwork-artist {
  font-size: 13px;
  color: #888;
  font-weight: 300;
}

/* ===== Artwork Detail Page ===== */
.artwork-detail {
  padding-top: 70px;
  min-height: 100vh;
}

.artwork-detail-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 4vw 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.artwork-detail-image img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.artwork-detail-info {
  padding-top: 20px;
}

.artwork-detail-info h1 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #222;
}

.artwork-detail-info .artist-name {
  font-size: 20px;
  color: #555;
  margin-bottom: 32px;
}

.artwork-detail-info .audio-player {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.audio-player .audio-label {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
  display: block;
}

.audio-player audio {
  width: 100%;
  height: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #888;
  margin-bottom: 30px;
  transition: color 0.3s;
}

.back-link:hover {
  color: #222;
  opacity: 1;
}

@media (max-width: 768px) {
  .artwork-detail-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .artwork-detail-info h1 {
    font-size: 28px;
  }
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 40px 4vw;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 16px;
  color: #222;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.footer-social a:hover {
  background: #222;
  border-color: #222;
  opacity: 1;
}

.footer-social a:hover svg {
  fill: #fff;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: #333;
}

.footer-email {
  font-size: 13px;
  color: #888;
}

.footer-email a {
  color: #666;
  transition: color 0.3s;
}

.footer-email a:hover {
  color: #000;
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header {
    height: 60px;
  }

  .logo img {
    height: 35px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .nav.open {
    display: flex;
  }

  .nav a,
  .dropdown-toggle {
    font-size: 18px;
  }

  .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    backdrop-filter: none;
    margin-top: 8px;
    padding: 0;
    min-width: auto;
    text-align: center;
  }

  .dropdown-menu a {
    padding: 6px 20px;
    font-size: 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .hero-content p {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .exhibition-feature {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 6vw;
  }

  .exhibition-feature.reverse {
    direction: ltr;
  }

  .open-call-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .open-call-item:nth-child(even) {
    direction: ltr;
  }

  .section-heading {
    font-size: 30px;
  }

  .page-header h1 {
    font-size: 32px;
  }

  .exhibition-hero h1 {
    font-size: 28px;
  }

  .artwork-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  .award-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .artwork-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .artwork-card .artwork-info {
    padding: 10px;
  }

  .artwork-card .artwork-title {
    font-size: 12px;
  }

  .artwork-card .artwork-artist {
    font-size: 11px;
  }
}
