.hero-section {
    background-color: var(--bg-light);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-content {
    flex: 1;
}

.hero-slider {
    flex: 1;
    width: 50%;
    height: 100%;
}

.swiper {
    width: 100%;
    height: 630px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* history-info */
.history-info-section {
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.history-info-container {
    display: flex;
    align-items: stretch;
}

.discovery-box {
    width: 50%;
    background-color: #6d2316;
    background-image: linear-gradient(135deg, #7e3528 75%, #6d2316 75%);
    display: flex;
    align-items: center;
    padding: 60px 80px;

    color: #ffffff;
}

.details-box {
    position: absolute;
    top: -60px;
    right: 8.3%;

    width: 25%;
    height: 25.39rem;

    background-color: #333333;
    padding: 10px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    color: #ffffff;
}

.plan-visit-header {
    background-color: #333333;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444;
}

.history-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.history-info-icon {
    color: #d35400;
    font-size: 1.5rem;
    margin-top: 5px;
}

.history-info-link {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

/* article-history */
.article-histroy-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.article-history-img-wrapper {
    float: left;
    position: relative;
    width: 45%;
    height: 400px;
    margin: 0 60px 20px 0;
}

.article-history-img-wrapper svg {
    position: absolute;
    z-index: -1;
    top: -12%;
    left: -10%;
    width: 120%;
    height: 120%;
}

.article-history-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.article-histroy-section::after {
    content: "";
    display: table;
    clear: both;
}

.badge {
    position: absolute;
    top: 20%;
    right: -33px;
    transform: translateY(-50%);
    z-index: 2;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: "Lato", sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 0 2px 15px #91412f;
}

.badge span {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
}

/* categories-section */
.categories-section {
    padding-top: 100px;
    padding-bottom: 100px;

    text-align: center;
}


.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.category-card {
    display: flex;
    align-items: center;
    position: relative;
    height: 100px;

    border: 1px solid black;
    border-radius: 3px;
}

.category-icon-box {
    width: 90px;
    height: 90px;
    background: #f8f8f8;
    border: 1px solid black;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -4%;
    top: -8%;
    z-index: 2;
    transition: all 0.3s ease;
}

.category-icon-box img {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.card-content {
    margin-left: 100px;
}

/* activities-section */
.activities-section {
    padding-top: 100px;
    padding-bottom: 100px;

    display: flex;
    align-items: stretch;
    gap: 20px;
}

.our-activities {
    width: 68%;
}

.museum-card {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.museum-card.reverse {
    flex-direction: row-reverse;
}

.image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.image-wrapper img {
    width: 100%;
    display: block;
    object-fit: cover;
    height: 250px;
}

.date-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #8b4513;
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.date-badge span {
    font-size: 16px;
    font-weight: normal;
}

.content {
    flex: 1;
}

.content.align-right {
    text-align: right;
}

.activities-meta-info {
    margin-bottom: 20px;
    font-size: 14px;

    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.activities-meta-info > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.content.align-right .activities-meta-info {
    justify-content: flex-end;
}

.content.align-right .activities-meta-info span {
    margin-right: 0;
}

.activities-meta-info img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.activities-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.notice {
    width: 32%;
    padding-top: 0;
    display: flex;
    flex-direction: column;
}

.notice-list-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.notice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.notice-item {
    display: flex;
    gap: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.notice-item:last-child {
    border-bottom: none;
}

.item-image {
    width: 150px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-content {
    flex: 1;
}

.meta-info {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: #737373;
}

.meta-info svg {
    margin-right: 5px;
    fill: var(--primary-color);
}

/* testimonial-section */
.testimonial-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

.testimonial-slide {
    background-color: #f9f5f5;
    position: relative;
    overflow: hidden !important;
}

.testimonialSwiper {
    padding: 40px 80px;
    max-width: 1000px;
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden !important;
}

.swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: transparent;
    width: 100%;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-image img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content {
    position: relative;
    flex: 1;
}

.quote-wrapper {
    position: relative;
    padding: 20px 0;
}

.accent {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.accent-top {
    top: 0;
    left: -25px;
    border-width: 20px 20px 0 0;
    border-color: #91412f transparent transparent transparent;
}

.accent-bottom {
    bottom: 0;
    right: 0;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent #91412f transparent;
}

.swiper-button-next,
.swiper-button-prev {
    color: #91412f;
    background: rgba(255, 255, 255, 0.5);
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* gallery-section */
.gallery-section {
    margin-top: 100px;
    background-color: black;
    padding: 80px 20px;
    color: var(--text-light);
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.gallery-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    color: #8b8b8b;
}

.title-area {
    color: white;
}

.filter-item {
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    color: #8b8b8b;
}

.filter-item.active,
.filter-item:hover {
    color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-item {
    grid-column: span 3;
    height: 500px;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.video-overlay h3 {
    font-size: 80px;
    letter-spacing: 5px;
    opacity: 0.9;
}

@media (max-width: 1284px) {
    .discovery-box {
        width: 100%;
        padding: 60px 40px;
    }

    .details-box {
        position: static;
        width: 100%;
        height: auto;
        top: 0;
    }

    .testimonialSwiper {
        max-width: 700px;
    }
}

@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }
    .hero-content {
        padding: 40px 20px;
        text-align: center;
    }

    .hero-slider {
        width: 100%;
    }

    /* history.history-info section  */
    .history-info-container {
        flex-direction: column;
    }

    .discovery-box {
        width: 87.2%;
        padding: 60px 30px;
    }

    .details-box {
        position: static;
        width: 87.2%;
        height: auto;
        padding: 60px 30px;
        top: 0;
    }

    /* article-history */
    .article-history-img-wrapper {
        float: none;
        width: 95%;
        height: 370px;
        margin: 0 0 30px 0;
    }

    .article-history-img-wrapper svg {
        top: -15%;
        left: -15%;
        width: 125%;
        height: 125%;
    }

    .category-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }
    .category-card {
        margin-left: 15px;
    }
    .btn-sec {
        padding: 0;
        min-width: auto;
    }

    .activities-section {
        padding-top: 50px;
        padding-bottom: 50px;

        flex-direction: column;
    }

    .notice,
    .our-activities {
        width: 100%;
    }

    .museum-card,
    .museum-card.reverse {
        flex-direction: column;
        text-align: left;
    }
    .content.align-right {
        text-align: left;
    }

    .content.align-right .activities-meta-info {
        justify-content: flex-start;
    }

    .testimonialSwiper {
        max-width: 300px;
    }
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .testimonial-image img {
        width: 200px;
        height: 200px;
    }

    .accent-top {
        left: 0;
    }

    .accent-bottom {
        right: 0;
    }

    .testimonial-author {
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .video-item {
        grid-column: span 1;
        height: 300px;
    }
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 668px) {
    .article-histroy-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .article-history-img-wrapper {
        float: none;
        width: 95%;
        height: 200px;
        margin: 0 0 30px 0;
    }

    .article-history-img-wrapper svg {
        top: -5%;
        left: -5%;
        width: 115%;
        height: 115%;
    }

    .badge {
        top: 30%;
        right: -15px;
    }

    .testimonialSwiper {
        padding: 50px 50px;
        max-width: 200px;
    }

    .testimonial-image img {
        width: 160px;
        height: 160px;
    }

    .testimonial-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

@media (max-width: 425px) {
    .discovery-box {
        width: 86%;
        padding: 60px 20px;
    }

    .details-box {
        width: 86%;
        padding: 60px 20px;
    }

    .category-icon-box {
        width: 80px;
        height: 80px;
        left: -10px;
    }
    .category-icon-box img {
        width: 45px;
    }
    .card-content {
        margin-left: 85px;
    }

    .testimonial-image img {
        width: 120px;
        height: 120px;
    }

    .testimonial-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 32px;
        height: 32px;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
}
