
/* =====================================================
   MELBOURNE CHINESE NEW YEAR
   GLOBAL DESIGN SYSTEM
   File: global.css
   ===================================================== */

/* 1. GLOBAL VARIABLES */
:root {
  --primary: #a91520;
  --primary-dark: #790d16;
  --secondary: #d6a84b;
  --gold-light: #f4dfaa;
  --dark: #171717;
  --dark-soft: #252525;
  --light: #ffffff;
  --background: #f8f6f2;
  --text: #333333;
  --muted: #777777;

  --radius: 12px;
  --radius-large: 20px;

  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --shadow-hover: 0 16px 40px rgba(0,0,0,.16);

  --transition: .3s ease;
}

/* 2. RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--text);
  font-family: 'Muli', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--secondary);
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: var(--primary);
  color: white;
}

/* 3. TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

h1 {
  font-size: clamp(36px, 5vw, 64px);
}

h2 {
  font-size: clamp(27px, 3vw, 40px);
}

h3 {
  font-size: 27px;
}

p {
  margin-bottom: 18px;
}

/* 4. GENERAL LAYOUT */
#wrapper {
  width: 100%;
  overflow: hidden;
}

.container {
  max-width: 1320px;
}

.site-content,
.homepage-content {
  width: 100%;
}

section {
  position: relative;
}

.position-relative {
  position: relative;
}

/* 5. HEADER */
.main-header {
  position: relative;
  width: 100%;
  background: var(--dark);
  color: white;
}

.main-header > .container:first-child {
  padding-top: 25px;
  padding-bottom: 25px;
}

.main-header .box-container {
  min-height: 270px;
  padding: 25px;
  color: white;
  border-right: 1px solid rgba(255,255,255,.12);
}

.main-header .box-container:last-child {
  border-right: 0;
}

.main-header .box-container p {
  color: rgba(255,255,255,.8);
  font-size: 14px;
}

.box-top-text {
  display: inline-block;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.box-bottom-text {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition);
}

.link-for-black {
  color: white;
}

.link-for-black:hover {
  color: var(--secondary);
}

.link-for-dark {
  color: var(--dark);
}

.arrow-icon::after {
  content: " →";
  margin-left: 5px;
  transition: margin var(--transition);
}

.arrow-icon:hover::after {
  margin-left: 12px;
}

/* 6. LOGO */
.website-logo-wrapper {
  padding: 15px 0;
}

.website-logo-wrapper img {
  display: block;
  width: 100%;
  max-width: 220px;
  max-height: 120px;
  object-fit: contain;
  margin: 0 auto 15px;
}

.website-logo-wrapper .h1 {
  color: var(--secondary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 23px;
  font-weight: 700;
}

/* 7. MENU TOGGLE */
.general-toggler {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 20;
  padding: 12px;
  cursor: pointer;
}

.toggler-bar {
  width: 30px;
  height: 7px;
  margin-bottom: 4px;
}

.toggler-bar span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}

/* 8. EVENTS GRID */
.container-events-all {
  max-width: 1320px;
  padding-top: 35px;
  padding-bottom: 35px;
}

.container-events-all > .row {
  row-gap: 25px;
}

.container-events-all > .row > [class*="col-"] {
  margin-bottom: 25px;
}

.box-news {
  min-height: 420px;
  padding: 25px;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--dark);
  background-position: center;
  background-size: cover;
  color: white;
  box-shadow: var(--shadow);
  transition: transform var(--transition),
              box-shadow var(--transition);
}

.box-news:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
}

.box-news .opacity {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.45) 40%,
    rgba(0,0,0,.92) 100%
  );
}

.box-news > .row,
.box-news .post-date {
  position: relative;
  z-index: 2;
}

.box-news h2 {
  margin-top: 75px;
  margin-bottom: 15px;
  color: white;
  font-family: 'Muli', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.box-news p {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.box-news a {
  color: white;
}

.box-news a:hover {
  color: var(--secondary);
}

.post-date {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  min-width: 85px;
  padding: 9px 12px;
  border-radius: 6px;
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* 9. SPONSORS */
#sponsor-section {
  padding: 60px 0;
  overflow: hidden;
  background: white;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.sponsor-section-image {
  display: block;
  max-width: 230px;
  max-height: 170px;
  object-fit: contain;
  margin: auto;
}

.marquee-wrapper img {
  max-width: 180px;
  max-height: 85px;
  margin: 0 25px;
  object-fit: contain;
}

/* 10. SUPPORTERS */
#supportters-section {
  padding: 50px 0;
  background: var(--background);
}

#supportters-section .box-container {
  min-height: 250px;
  padding: 25px;
  border-right: 1px solid #e8e3da;
}

.supportters-section-1 {
  background: #fff;
}

.supportters-section-2 {
  background: #f2e7d5;
}

.supportters-section-3 {
  background: #fff;
}

.supportters-section-4 {
  background: #eee6d9;
}

#supportters-section .post-archive a {
  color: var(--dark);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

#supportters-section .post-archive a:hover {
  color: var(--primary);
}


/* =====================================================
   11. FOOTER - REDESIGNED
   ===================================================== */

#footer-main-copyright {
  position: relative;
  padding: 55px 0 25px;
  background: linear-gradient(
    135deg,
    #171717 0%,
    #252020 55%,
    #790d16 100%
  );
  color: #fff;
  border-top: 3px solid var(--secondary);
}

/* Footer columns */

#footer-main-copyright .container {
  max-width: 1320px;
}

.box-container-footer {
  padding: 15px 25px;
  text-align: center;
}

/* Footer text */

.box-container-footer p,
.box-container-footer span {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 8px;
}

/* Footer links */

.box-container-footer a {
  display: inline-block;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.box-container-footer a:hover {
  color: var(--secondary);
  transform: translateY(-2px);
}

/* Footer navigation */

.footer-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 25px;
  padding: 20px 15px;
  margin-bottom: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: white;
  font-size: 13px;
}

.footer-navigation a {
  color: rgba(255,255,255,.85);
  font-weight: 600;
}

.footer-navigation a:hover {
  color: var(--secondary);
}

/* Footer logo */

.jin-logo {
  display: inline-block;
  margin-top: 10px;
}

.jin-logo svg {
  width: auto;
  max-height: 28px;
  vertical-align: middle;
  border-radius: 5px;
}

/* Copyright */

#footer-main-copyright .copyright-text {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  font-size: 12px;
  text-align: center;
}

/* Footer decorative accent */

#footer-main-copyright::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 90px;
  height: 3px;
  background: var(--gold-light);
  transform: translateX(-50%);
}

/* =====================================================
   FOOTER RESPONSIVE
   ===================================================== */

@media (max-width: 991px) {
  #footer-main-copyright {
    padding: 40px 0 20px;
  }

  .box-container-footer {
    padding: 15px;
  }
}

@media (max-width: 767px) {
  #footer-main-copyright {
    padding: 35px 0 20px;
    text-align: center;
  }

  .box-container-footer {
    padding: 12px 10px;
    text-align: center !important;
  }

  .box-container-footer p,
  .box-container-footer span {
    font-size: 12px;
  }

  .footer-navigation {
    flex-direction: column;
    gap: 12px;
    padding: 20px 10px;
  }

  .footer-navigation a {
    font-size: 13px;
  }

  #footer-main-copyright .copyright-text {
    font-size: 11px;
    line-height: 1.8;
  }
}

}
