:root {
  --bg-color: #eff3e9;
  --text-color: #111111;
  --primary-color: #ff9900;
  --primary-color-2: #fffb00;
  --accent-dark: #000000;
  --card-bg: rgba(255, 255, 255, 0.7);
  --card-border: rgba(0, 0, 0, 0.08);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --font-head: "Momo Trust Display", sans-serif;
  --font-body: "Outfit", sans-serif;
}

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

html,
body {
  min-height: 100%;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.left-visual {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 26vw;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 90px 16px 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.left-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  background-image: url("./images/paintings.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (min-width: 1200px) {
  .left-visual {
    display: flex;
  }
}

.layout-with-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.main-col {
  min-width: 0;
}

.side-panel {
  display: none;
}

.side-image {
  width: 600px;
  height: 600px;
  background-image: url("./images/paintings.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

@media (min-width: 1024px) {
  .layout-with-side {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .side-panel {
    display: none;
  }
}

body[data-active-tab="kids"] .left-image {
  filter: saturate(1.05) brightness(1.02);
}

@media (min-width: 768px) and (max-width: 1199px) {
  .layout-with-side {
    grid-template-columns: 1fr;
  }
}

.background-globes {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 12% 20%, rgba(255, 204, 0, 0.25) 0%, transparent 45%), radial-gradient(circle at 88% 80%, rgba(255, 153, 0, 0.25) 0%, transparent 45%), radial-gradient(circle at 50% 50%, rgba(255, 251, 0, 0.12) 0%, transparent 55%);
  filter: blur(30px);
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(239, 243, 233, 0.6);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 2px;
  background: linear-gradient(-170deg, var(--primary-color-2), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tab-nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.tab-btn {
  background: transparent;
  border: none;
  color: rgba(0, 0, 0, 0.55);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.tab-btn:hover {
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(-170deg, var(--primary-color-2), var(--primary-color));
  color: #000;
  box-shadow: 0 6px 18px rgba(255, 153, 0, 0.35);
}

body[data-active-tab="kids"] .tab-btn.active[data-tab="kids"] {
  background: linear-gradient(-170deg, rgba(255, 251, 0, 1), rgba(255, 191, 0, 1));
  box-shadow: 0 6px 18px rgba(255, 191, 0, 0.35);
}

.content-container {
  flex: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 5%;
  width: 100%;
  position: relative;
  z-index: 1;
  transition: padding-left 0.2s ease;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 2.25rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.card h2 {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #ff7a00;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
  font-weight: 800;
  font-family: var(--font-body);
}

.about-card h2 {
  color: #ff0055;
}

.kids-card h2 {
  color: #ffb700;
}

.card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
  font-family: var(--font-head);
  color: #000;
}

.card p {
  margin-bottom: 1.1rem;
  color: #222;
  font-size: 1.075rem;
  max-width: 800px;
}

.hero-text {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
}

.hero-text h1 {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 0.4rem;
  background: linear-gradient(-170deg, var(--primary-color-2), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1rem;
  color: #444;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-kids h1 {
  background: linear-gradient(-170deg, #fff06a, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.notice-card h3 {
  color: #000;
}

.notice-card .contact a {
  color: #b55a00;
  text-decoration: none;
  font-weight: 700;
}

.notice-card .contact a:hover {
  text-decoration: underline;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

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

footer {
  text-align: center;
  padding: 2rem;
  color: #666;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.25rem;
  }
  .card {
    padding: 1.6rem;
  }
  .card h3 {
    font-size: 1.5rem;
  }
}