/* DUO Architects - Option 4: Gallery Light Theme */
:root {
  --bg-color: #ffffff;
  --text-color: #111111;
  --text-gray: #666666;
  --line-color: #e0e0e0;
  --accent-color: #111111;

  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Manrope", sans-serif;
  --font-kr: "Noto Sans KR", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  height: 100vh;
  padding: 2rem; /* Space for the frame */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Frame Border (Fixed outer borders) */
.frame-border {
  position: fixed;
  background: var(--text-color);
  z-index: 100;
}
.frame-border.top {
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.frame-border.bottom {
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.frame-border.left {
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
}
.frame-border.right {
  top: 0;
  bottom: 0;
  right: 0;
  width: 4px;
}

/* Content Layout */
.content-wrapper {
  width: 100%;
  height: 100%;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
  position: relative;
}

/* Header */
.header {
  width: 100%;
  display: flex;
  justify-content: center;
}

.logo {
  width: 280px; /* Significantly increased for prominence */
  height: auto;
  filter: none;
  /* If logo is white in the file, we invert it for the light theme */
  /* filter: invert(1);  */
  transition: transform 0.5s ease;
}

.logo:hover {
  transform: scale(1.02); /* Subtle breath on hover */
}

/* Main */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.eng-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.main-title {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--text-color);
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.divider-line {
  width: 1px;
  height: 60px;
  background-color: var(--text-color);
  margin-bottom: 3rem;
}

.msg-box {
  font-family: var(--font-kr);
}

.kor-main {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--text-color);
}

.kor-sub {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.7;
  font-weight: 300;
}

/* Footer */
.footer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 1rem;
  border-top: 1px solid var(--line-color);
  padding-top: 1.5rem;
}

.info-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.25rem;
}
.footer .info-group:last-child {
  text-align: right;
  align-items: flex-end;
}

.label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-gray);
  font-weight: 600;
}

.value {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-color);
  font-style: italic;
}

.link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

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

/* Animations */
.logo {
  animation: fadeIn 1.5s ease-out;
}

.main-title {
  animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.divider-line {
  height: 0;
  animation: growLine 1s ease-out 1s forwards;
}

.msg-box {
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
}

/* Schedule Box */
.schedule-box {
  margin: 2rem 0 3rem 0;
  padding: 2rem 3rem;
  border: 1px solid var(--text-color);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  position: relative;
  animation: fadeInUp 1s ease-out 0.8s backwards;
  min-width: 320px;
}

/* Double border effect for premium look */
.schedule-box::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px solid var(--line-color);
  pointer-events: none;
}

.schedule-header {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--text-color);
  display: inline-block;
}

.schedule-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.schedule-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.schedule-label {
  font-family: var(--font-kr);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-gray);
  width: 40px;
  text-align: right;
}

.schedule-value {
  font-family: var(--font-kr);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
  text-align: left;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes growLine {
  from {
    height: 0;
  }
  to {
    height: 30px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 1.2rem; /* Slightly reduced padding for more screen real estate */
    height: 100dvh; /* Use dynamic viewport height for mobile browsers */
  }

  .frame-border {
    width: 1px; /* Thinner, more elegant border on mobile */
    height: 1px;
  }
  .frame-border.top,
  .frame-border.bottom {
    height: 1px;
  }
  .frame-border.left,
  .frame-border.right {
    width: 1px;
  }

  .content-wrapper {
    padding: 1rem 0; /* More breathing room inside the frame */
    justify-content: space-evenly; /* Better vertical distribution */
  }

  .header {
    margin-bottom: 0; /* Let flex-gap handle spacing */
  }

  .logo {
    width: 200px; /* Optimal size for mobile width */
  }

  .eng-subtitle {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
  }

  .main-title {
    font-size: 13vw; /* Massive responsive text for impact */
    line-height: 0.85;
    margin-bottom: 2rem;
    width: 100%;
  }

  .divider-line {
    height: 20px; /* Slightly shorter */
    margin-bottom: 2rem;
    opacity: 0.5;
  }

  .schedule-box {
    width: 100%;
    min-width: unset; /* Allow it to shrink */
    padding: 1.0rem;
    margin: 1rem 0 2rem 0;
  }

  .schedule-row {
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
  }
  
  .schedule-row:last-child {
    margin-bottom: 0;
  }

  .schedule-label {
    width: auto;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.8;
  }

  .schedule-value {
    text-align: center;
    font-size: 1rem;
  }

  .kor-main {
    font-size: 1.3rem;
    font-weight: 600; /* Bolder for readability */
    margin-bottom: 0.5rem;
  }

  .kor-sub {
    font-size: 0.95rem;
    word-break: keep-all; /* Prevent awkward Korean line breaks */
    padding: 0 1rem;
  }

  .footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding-top: 0;
    border-top: none; /* Cleaner look without the divider on mobile */
  }

  .footer .info-group,
  .footer .info-group:last-child {
    text-align: center;
    align-items: center;
    padding-top: 1rem;
  }

  .footer .info-group:first-child {
    display: none;
  }

  .footer .info-group .label {
    display: none;
  }

  .label {
    margin-bottom: 0.3rem;
  }

  .value {
    font-size: 1.1rem; /* Easier to tap/read */
  }
}
