@charset "utf-8";
body {
	background-color: #594F95;
}
.bg-purple {
	background-color: #594F95;
}
.main-nav ul {
	background-color: #675CA8;
}

.main-nav .current a {
    background-color: #675CA8;
}

.contact-links a, .contact-social a {
    color: #fff;
}

/* ------------------------------------------------------------------- 
 * ## modal popup
 * ------------------------------------------------------------------- */
.modal-popup {
    max-width        : 960px;
    background-color : black;
    font-size        : calc(var(--text-size) * 0.9447);
    line-height      : var(--vspace-0_875);
    color            : var(--color-gray-4);
    overflow-y       : auto;
    position         : relative;
}

.container {
	padding: 2rem;
}

.slider-wrapper {
	position: relative;
	max-width: 960px;
	margin: 0 auto;
}

.slider {
	display: flex;
	aspect-ratio: 16 / 9;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-ms-overflow-style: none; /* Hide scrollbar IE and Edge */
	scrollbar-width: none; /* Hide scrollbar Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slider::-webkit-scrollbar {
	display: none;
}

.slider img {
	width: auto;
	height:auto;
	flex: 1 0 100%;
	scroll-snap-align: start;
	object-fit: cover;
	margin-bottom : var(--vspace-0_75);
}

.slider-nav {
	display: flex;
	column-gap: 1rem;
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1;
}

.slider-nav a {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background-color: #fff;
	opacity: 0.75;
	transition: opacity ease 250ms;
}

.slider-nav a:hover {
	opacity: 70;
}

@media screen and (max-width: 800px) {
    .slider {
        flex-direction: column;
    }
    
    .slider img {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 600px) {
    .slider {
        flex-direction: column;
    }
    
    .slider img {
        width: 100%;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 400px) {
    .slider {
        flex-direction: column;
    }
    
    .slider img {
        width: 100%;
        margin-bottom: 10px;
    }
}

.modal-popup {
    max-width: 960px;
    background-color: #594f95;
    font-size: calc(var(--text-size) * 0.9447);
    line-height: var(--vspace-0_875);
    color: var(--color-gray-4);
    overflow-y: auto;
    position: relative;
}

.modal-popup h5 {
    font-family: var(--font-1);
    font-size: var(--text-size);
    line-height: var(--vspace-1);
    font-weight: 500;
    margin-top: 0;
    margin-bottom: var(--vspace-0_25);
    color: #fff;
}

.modal-popup__cat {
    list-style: none;
    margin-left: 0;
    font-size: var(--text-sm);
    line-height: var(--vspace-0_5);
    color: #fff;
    padding-left: calc(0.875 * var(--space));
    position: relative;
}

.logo {
	margin-bottom: 0;
}

.header-mobile {
    background-color: #675ca8;
}

.s-footer {
    margin-top: auto;
    padding-top: var(--vspace-1);
    padding-bottom: var(--vspace-3);
    color: #fff;
}

.btn:focus, button:focus, input[type="submit"]:focus, input[type="reset"]:focus, input[type="button"]:focus, .btn:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
    background-color: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
    color: #594f95;
    outline: 0;
}

.btn, button, input[type="submit"], input[type="reset"], input[type="button"] {
    --btn-height: var(--vspace-btn);
    display: inline-block;
    font-family: var(--font-1);
    font-weight: 600;
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: .35em;
    height: var(--btn-height);
    line-height: calc(var(--btn-height) - 2px);
    padding: 0 3.6rem;
    margin: 0 0.4rem var(--vspace-0_5) 0;
    color: #594f95;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s;
    background-color: #fff;
    border: 1px solid #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.s-footer a {
    color: #594f95;
}

.ss-go-top a {
    display: flex
;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0 none;
    height: calc(1.625 * var(--space));
    width: var(--vspace-1_5);
    background-color: #fff;
    position: relative;
    border: 1px solid #fff;
}

.ss-go-top svg path {
    fill: #594f95;
}

body {
    font-family: var(--font-1);
    font-size: var(--base-font-size);
    font-weight: 300;
    line-height: var(--vspace-1);
    color: #fff;
}

.folio-list__item-cat {
    font-size: var(--text-sm);
    color: #fff;
    line-height: var(--vspace-0_75);
    margin-left: .2rem;
}.project-image {
  width: 100%;
  max-width: 2480px;
  height: 420px;     /* 你可以根据需求调整 */
  object-fit: cover;
}

.modal-popup {
    max-width: 960px;
    background-color: #594f95;
    font-size: calc(var(--text-size) * 0.9447);
    line-height: var(--vspace-0_875);
    color: #fff;
    overflow-y: auto;
    position: relative;
}

.text-pretitle.with-line {
    color: #fff;
    padding-left: 6rem;
    transform: translateX(-6rem);
}
.project {
  text-align: center;
  padding: 40px 0;
}

.project-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.description-box {
  max-width: 600px; /* Matches image width */
  margin: 20px auto 0 auto; /* Centers it */
  background-color: #5f4b8b;
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}

.Brochure-img {
    width: 960px;
    height: 540px;
}

.project-section {
  background-color: #5b4fa3; /* purple rectangle background */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-description {
  padding: 2rem;
  color: white;
}

.project-description h5 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Optional: helps maintain balance if image ratio is weird */
  border-radius: 0; /* optional - remove if your design doesn't need rounded corners */
  margin: 0 auto;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.project-section {
  width: 100%;
  max-width: 100%;
  background-color: #5b4fa3;
  padding: 0;
  margin: 0 auto;
}

.project-image {
  width: 100%;
  height: 500px; /* or whatever you want */
  object-fit: cover;
  display: block;
}

.project-image {
  width: 100%;
  height: auto;
  display: block;
}

.rectangle-first {
  width: 800px;
  height: 300px;
  background-color: #5e529a;
  color: white;
  padding: 20px;
}

.project-image,
.poster-img {
  width: 700px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

img.your-image-class {
  width: 100%;       /* Make image full width of its container */
  height: auto;      /* Keep aspect ratio */
  object-fit: cover; /* Crop excess parts to fit container */
  max-height: 400px; /* Set maximum height (adjust to your needs) */
  display: block;    /* Remove default inline spacing */
}