@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap");

:root {
  /* base */
  --p-base-black: #000;
  --p-base-white: #fff;
  --p-base-transparent: transparent;

  /* greys */
  --p-grey-1: #222;
  --p-grey-2: #444;
  --p-grey-3: #666;
  --p-grey-4: #888;
  --p-grey-5: #aaa;
  --p-grey-6: #ccc;
  --p-grey-7: #eee;

  /* brand */
  --p-brand-gold: #e4c172;
  --p-brand-aqua: #9ad5ca;
  --p-brand-blue: #468fea;
  --p-brand-purple: #a833b9;
  --p-brand-black: #131b23;
  --p-brand-blood: #5e0b15;
  --p-brand-red: #d16361;
  --p-brand-green: #5b8e7d;

  /* gold scale */
  --p-gold-0: #a16611;
  --p-gold-1: #b18345;
  --p-gold-2: #c69e56;
  --p-gold-3: #d1ac5f;
  --p-gold-4: #dcb96d;
  --p-gold-5: #e4c172;
  --p-gold-6: #eece75;
  --p-gold-7: #f7e090;
  --p-gold-8: #ede9b5;

  /* bng */
  --p-bng-blue: #201e5c;
  --p-bng-gold: #f7d116;
  --p-bng-l-blue: #a5a3e1;
  --p-bng-l-gold: #fdf3c4;
  --p-bng-m-blue: #4b4799;
  --p-bng-m-gold: #fae475;
  --p-bng-d-blue: #100f2e;
  --p-bng-d-gold: #625104;

  /* rainbow */
  --p-rainbow-red: #f72116;
  --p-rainbow-orange: #f78f16;
  --p-rainbow-yellow: #f7d316;
  --p-rainbow-green: #589c2b;
  --p-rainbow-blue: #4646a2;
  --p-rainbow-purple: #6c1a86;

  /* skule */
  --p-skule-black: #0a0a0a;
  --p-skule-white: #fff;
  --p-skule-blue: #59a1c6;
  --p-skule-gold: #ffec8e;
  --p-skule-purple: #8372bb;
  --p-skule-green: #68ba98;
  --p-skule-teal: #5da7a7;
  --p-skule-orange: #ffcf8e;
  --p-skule-red: #ff8e8e;

  /* palette*/
  --p-vibrant-coral: #ff595eff;
  --p-tangerine-dream: #ff924cff;
  --p-golden-pollen: #ffca3aff;
  --p-lemon-lime: #c5ca30ff;
  --p-yellow-green: #8ac926ff;
  --p-dark-cyan: #36949dff;
  --p-steel-blue: #1982c4ff;
  --p-smart-blue: #4267acff;
  --p-dusty-grape: #565aa0ff;
  --p-dusty-grape-2: #6a4c93ff;
}

.weekly-schedule {
  --ss-bg: transparent;
  --ss-card: #ffffff;
  --ss-accent: #0f172a;
  --ss-muted: #6b7280;
  --ss-line: rgba(255, 255, 255, 0.3);
  --ss-gap: 1.25rem;
  --ss-timecol: 100px;
  --ss-day-minwidth: 220px;
  --ss-timeline-h: 1200px;
  --ss-timeline-h-tablet: 760px;
  --ss-timeline-h-mobile: 560px;
  --ss-radius: 10px;
}

html {
  font-family: "Lato", sans-serif;
  height: 100%;
}
body {
  font-family: "Lato", sans-serif;
  color: var(--p-grey-7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--p-steel-blue) 0%, var(--p-dusty-grape-2) 100%);
  background-attachment: fixed;
}
main {
  flex: 1;
  background-color: transparent;
}

.schedule-calendar {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: var(--ss-gap);
  align-items: start;
}
.day-column {
  background: var(--ss-bg);
  border-radius: var(--ss-radius);
  padding: 0.9rem;
  box-shadow: 0 1px 0 rgba(0, 0, , 0.04);
  min-width: var(--ss-day-minwidth);
  color: var(--p-grey-7);
}
.day-column h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}
.events {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
}
.event-card {
  background: var(--ss-card);
  border: 1px solid rgba(230, 233, 242, 0.9);
  padding: 0.65rem;
  border-radius: 8px;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  position: absolute;
  left: 10px;
  right: 10px;
  box-sizing: border-box;
  font-size: 1rem;
  z-index: 1;
}
.event-time {
  font-weight: 700;
  color: var(--ss-accent);
  min-width: 72px;
  font-size: 1rem;
}
.event-title {
  color: #0b1220;
}
@media (max-width: 600px) {
  .schedule-calendar {
    grid-template-columns: repeat(1, minmax(120px, 1fr));
  }
  .event-time {
    min-width: 50px;
    font-size: 0.85rem;
  }
}
.day-timeline {
  position: relative;
  height: var(--ss-timeline-h);
  background: transparent;
  overflow: hidden;
}
.time-marker {
  position: absolute;
  left: 6px;
  right: auto;
  font-size: 0.75rem;
  color: #6b7280;
  background: transparent;
  padding: 2px;
}
.calendar-wrapper {
  display: grid;
  grid-template-columns: var(--ss-timecol) 1fr;
  gap: 1rem;
  align-items: start;
}
.time-column {
  position: relative;
}
.time-labels {
  position: relative;
  height: var(--ss-timeline-h);
}
.time-label {
  position: absolute;
  left: 0;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--p-grey-7);
  padding: 4px 10px;
}
.schedule-area {
  position: relative;
  border: 3px solid var(--ss-line);
  border-radius: var(--ss-radius);
}
.grid-lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
}
.grid-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--ss-line);
}
.event-card {
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  border-radius: 8px;
  user-select: none;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(8, 15, 52, 0.1);
}

/* modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.modal {
  background: var(--p-dusty-grape);
  border-radius: 12px;
  max-width: 640px;
  width: 86%;
  padding: 1.25rem;
  box-shadow: 0 14px 40px rgba(2, 6, 23, 0.22);
}
.modal .modal-title {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  font-weight: bold;
}
.modal .meta {
  color: var(--p-grey-7);
  font-size: 1.25rem;
  
}

.modal .location {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

/* mobile stuffs */
@media (min-width: 601px) and (max-width: 1024px) {
  .calendar-wrapper {
    grid-template-columns: 60px 1fr;
  }
  .time-column {
    display: block;
  }
  .schedule-calendar {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .schedule-calendar::-webkit-scrollbar {
    height: 8px;
  }
  .schedule-calendar > .day-column {
    flex: 0 0 260px;
    min-width: 260px;
  }
  .day-timeline {
    height: var(--ss-timeline-h-tablet);
  }
  .time-labels {
    height: var(--ss-timeline-h-tablet);
  }
  .grid-lines {
    left: 0;
    right: 0;
    background-color: transparent !important;
  }
  .grid-line {
    background-color: transparent !important;
  }
  .modal {
    width: 90%;
    max-width: 700px;
  }
}


@media (max-width: 600px) {
  .calendar-wrapper {
    grid-template-columns: 1fr;
  }
  .time-column {
    display: none;
  }
  .day-timeline {
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: transparent;
  }
  .event-card {
    overflow: visible;
    position: static;
    left: auto;
    right: auto;
    top: auto;
    height: auto;
    padding: 0.45rem;
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  .grid-lines {
    left: 0;
    right: 0;
    background-color: transparent !important;
    display: none;
  }
  .grid-line {
    background-color: transparent !important;
  }
  .modal {
    width: 96%;
    max-width: 640px;
  }
}


@media (max-width: 420px) {
  .day-timeline {
    height: calc(var(--ss-timeline-h-mobile) - 100px);
  }
  .event-card {
    padding: 0.4rem;
    font-size: 0.9rem;
  }
  .modal {
    width: 98%;
    padding: 0.75rem;
  }
}

.site-header {
  background: transparent;
}
.site-header-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 5px;
  gap: 16px;
  box-sizing: border-box;
}
.brand {
  align-items: center;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 14px;
}
.brand {
  order: 0;
  margin-right: auto;
}
.site-nav {
  order: 1;
}
.site-nav a {
  color: var(--ss-accent);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1rem;
  display: inline-block;
}
.site-nav a:hover {
  background: rgba(15, 23, 42, 0.06);
}
.site-nav a.primary {
  background: var(--ss-accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}
.site-nav a.primary:hover {
  filter: brightness(0.95);
}
.site-footer {
  display: flex;
  background: transparent;
  margin: 0 0 0 0;
  align-items: center;
  border-radius: 0;
  padding: 0.5rem 0;
  width: 100%;
}
.site-header-inner {
  width: 100%;
  max-width: none;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}
.brand {
  margin: 0;
  display: flex;
  align-items: center;
}
.site-logo {
  display: block;
  width: auto;
}
.site-nav {
  margin: 0;
}

.site-footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 1rem;
  text-align: left;
  box-sizing: border-box;
  text-decoration: none;
  color: var(--p-base-white);
}
.contact {
  text-decoration: underline;
  color: var(--p-bng-m-gold);
}

.late-label {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem;
}

.title-container {
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 2rem;
  margin-top: 20vh;
  margin-bottom: 25vh;
}
.title-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 1rem;
}

.title-big-text {
  color: var(--p-bng-m-gold);
  font-size: 5rem;
  font-weight: bold;
}

.title-date {
  font-size: 3rem;
  font-weight: bold;
}

.title-date {
  font-size: 2rem;
  font-weight: normal;
}

.schedule-button {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  border: 2px solid var(--p-bng-m-gold);
  color: var(--p-bng-m-gold);
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
}
.schedule-button:hover,
.schedule-button:focus {
  background: var(--p-bng-m-gold);
  color: var(--p-base-black);
  transform: translateY(-2px);
  outline: none;
}
.schedule-button:active {
  transform: translateY(0);
}

.content-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20vh;
}

.content-text {
  margin: 0 20% 0 20%;
  font-size: 1.5rem;
}
.content-title {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.schedule-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.day-title {
  display: flex;
  justify-content: center;
  font-size: 1.3rem;
  padding-bottom: 0.5rem;
  font-weight: bold;
}

/* Mobile / small screens: make homepage stack and scale */
@media (max-width: 720px) {
  .title-container {
    flex-direction: column;
    margin-top: 6vh;
    margin-bottom: 6vh;
    column-gap: 0;
    padding: 0 1rem;
    text-align: center;
  }
  .logo-container {
    margin-top: 1rem;
  }
  .godiva-logo {
    width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
    user-select: none;
  }
  .title-big-text {
    font-size: 2.2rem;
    line-height: 1.1;
  }
  .title-date {
    font-size: 1rem;
  }
  .title-description {
    font-size: 0.95rem;
  }
  .schedule-button {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0.5rem auto 0 auto;
    text-align: center;
    padding: 0.7rem 1rem;
    font-size: 1rem;
  }
  .content-text {
    margin: 0 1rem;
    font-size: 1rem;
  }
  .content-container {
    margin-bottom: 4vh;
  }
}

/* Photo gallery grid */
.photo-gallery {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1rem;
}
.gallery-title {
  text-align: center;
  color: var(--p-base-white);
  margin-bottom: 1rem;
  font-size: 2rem;
  font-style: bold;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  padding: 0;
  border: 0;
  background: #f3f4f6;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(2, 6, 23, 0.06);
  user-select: none;
  cursor: pointer;
}
.gallery-item:focus {
  outline: 2px solid rgba(255, 255, 255, 0.2);
}
.gallery-thumb {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
}
.gallery-modal[aria-hidden="false"] {
  display: flex;
}
.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-modal-content {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}
.gallery-modal-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.gallery-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 130;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }
}

@media (max-width: 420px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-credit {
  text-align: center;
}
.photo-credit a {
  color: var(--p-bng-m-gold);
  text-decoration: underline;
}
