/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 22px 48px;
    background: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar-inner {
    max-width: 100vw;
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    flex-direction: column;
    font-family: var(--body-font);
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-color);
    text-decoration: none;
}

.navbar-logo img {
    height: 55px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: var(--text-font);
}

.navbar-menu a {
    text-decoration: none;
    color: var(--white-color);
    font-family: var(--body-font);
    font-size: 16x;
    font-weight: 500;
    position: relative;
    transition: color 0.2s ease;
}

.navbar-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--gold-color);
    transition: width 0.25s ease;
}

.navbar-menu a:hover {
    color: var(--gold-color);
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-cta {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--gold-color);
    background: rgba(0, 0, 0, 0.25);
    color: var(--white-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--text-font);
    letter-spacing: 0.5px;
    transition: background 0.25s ease, transform 0.2s ease,
        box-shadow 0.25s ease;
}

.navbar-cta:hover {
    background: var(--gold-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* ===== State saat SCROLL ===== */
.navbar.scrolled {
    background-color: rgba(20, 36, 62, 0.96);
    padding: 10px 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.navbar.scrolled .navbar-inner {
    max-width: 1300px !important;
    transition: 0.5s ease;
}

/* ===== Burger (Mobile) ===== */
.navbar-burger {
    display: none;
    position: relative;
    width: 26px;
    height: 22px;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
}

.navbar-burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background-color: var(--white-color);
    transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.navbar-burger span:nth-child(1) {
    top: 0;
}

.navbar-burger span:nth-child(2) {
    top: 10px;
}

.navbar-burger span:nth-child(3) {
    top: 20px;
}

.navbar-burger.is-open span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.navbar-burger.is-open span:nth-child(2) {
    opacity: 0;
}

.navbar-burger.is-open span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* ===== Responsive - Navbar ===== */
@media (max-width: 768px) {
    .navbar {
        padding: 14px 18px;
    }

    .navbar.scrolled {
        padding: 8px 16px;
    }

    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 12px;
        right: 12px;
        margin-top: 10px;
        padding: 10px 0;
        background: rgba(20, 36, 62, 0.98);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-radius: 14px;
        border: 1px solid rgba(222, 184, 135, 0.45);
        box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
        transform-origin: top center;
        transform: translateY(-8px) scaleY(0.9);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease, transform 0.25s ease;
        backdrop-filter: blur(12px);
    }

    .navbar-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scaleY(1);
    }

    .navbar-menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 18px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 1.6px;
        font-family: var(--body-font);
        color: #f7f7f7;
        text-decoration: none;
        position: relative;
    }

    .navbar-menu a + a {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .navbar-menu a::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        border-radius: 999px;
        background-color: var(--gold-color);
        transition: height 0.2s ease;
    }

    .navbar-menu a:hover::before {
        height: 55%;
    }

    .navbar-menu a:hover {
        background: rgba(255, 255, 255, 0.02);
        color: var(--gold-color);
    }

    .navbar-cta {
        display: none;
    }

    .navbar-burger {
        display: block;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 14px 10px;
    }

    .navbar-burger {
        width: 24px;
        height: 12px;
    }

    .navbar-logo img {
        height: 48px;
    }

    .navbar-burger span {
        height: 1.7px;
    }

    .navbar-burger span:nth-child(2) {
        top: 8px;
    }

    .navbar-burger span:nth-child(3) {
        top: 17px;
    }
}

/* ===== Preloader ===== */
.js-preloader .preloader-inner {
    z-index: var(--z-modal);
    position: fixed;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: var(--dark-blue-color);
    overflow: hidden;
}

.js-preloader .vertical-line-loader {
    margin-left: 30px;
    margin-right: 20px;
    height: 100px;
    width: 1px;
    background-color: var(--gold-color);

    opacity: 0;
    transform: translateX(-40px);
    animation: fadeSlideIn 1s ease forwards 0.3s;
}

.js-preloader .text-loader {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeSlideIn 1s ease forwards 0.3s;
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.js-preloader .text-loader .header-loader {
    font-size: 40px;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: 1px;
}

.js-preloader .text-loader .header-subtitle {
    font-size: 16px;
    font-weight: 200;
    font-family: var(--text-font);
    color: var(--white-color);
}

.js-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    height: 0 !important;
    width: 0 !important;
}

.js-preloader.loaded .preloader-inner {
    height: 0 !important;
    width: 0 !important;
}

/* ===== Responsive - Preloader ===== */
@media (max-width: 992px) {
    .js-preloader .vertical-line-loader {
        margin-left: 25px;
        margin-right: 15px;
        height: 70px;
    }

    .preloader-inner img {
        max-width: 63px;
        height: auto;
    }

    .js-preloader .text-loader .header-loader {
        font-size: 36px;
    }

    .js-preloader .text-loader .header-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .js-preloader .vertical-line-loader {
        margin-left: 20px;
        margin-right: 10px;
        height: 60px;
    }

    .preloader-inner img {
        max-width: 58px;
        height: auto;
    }

    .js-preloader .text-loader .header-loader {
        font-size: 32px;
    }

    .js-preloader .text-loader .header-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .js-preloader .vertical-line-loader {
        margin-left: 10px;
        margin-right: 10px;
        height: 55px;
    }

    .preloader-inner img {
        max-width: 50px;
        height: auto;
    }

    .js-preloader .text-loader .header-loader {
        font-size: 28px;
    }

    .js-preloader .text-loader .header-subtitle {
        font-size: 10px;
    }
}

/* ===== Home - Jumbotron ===== */
.container.home {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home .home-jumbotron {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home .img-cover-jumbotron {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue-color);
    opacity: 85%;
}

.ladyofjustice {
    position: absolute;
    right: 0;
    bottom: 0;
}

.jumbotron-text-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;

    top: 50%;
    left: 8%;
    transform: translateY(-50%);
}

.jumbotron-text-wrapper .jumbotron-title {
    font-family: var(--body-font);
    color: var(--gold-color);
    font-size: 48px;
    font-weight: 700;
}

.jumbotron-text-wrapper .jumbotron-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--white-color);
}

.jumbotron-text-wrapper .jumbotron-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--white-color);
    font-family: var(--text-font);
    font-weight: 400;
    margin-top: 40px;
}

.jumbotron-text-wrapper button {
    width: fit-content;
    padding: 16px 20px;
    border: none;
    background-color: var(--gold-color);
    margin-top: 20px;
    font-size: 16px;

    color: var(--white-color);
    font-weight: 600;
}

.jumbotron-text-wrapper button:hover {
    background-color: #8f6c48;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* ===== Responsive - Jumbotron ===== */
@media (max-width: 1245px) {
    .ladyofjustice {
        right: -100px;
    }
}

@media (max-width: 1100px) {
    .ladyofjustice {
        right: -100px;
        width: 650px;
    }

    .jumbotron-text-wrapper {
        max-width: 500px;
        left: 6%;
    }
}

@media (max-width: 992px) {
    .ladyofjustice {
        right: -120px;
    }

    .jumbotron-text-wrapper .jumbotron-title {
        font-size: 44px;
    }

    .jumbotron-text-wrapper .jumbotron-subtitle {
        font-size: 22px;
    }

    .jumbotron-text-wrapper {
        max-width: 350px;
        left: 6%;
    }
}

@media (max-width: 768px) {
    .container.home {
        position: relative;
        width: 100%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        overflow: hidden;
    }

    /* background tetap full di belakang */
    .home .home-jumbotron,
    .home .img-cover-jumbotron {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* TEKS – di atas */
    .jumbotron-text-wrapper {
        position: relative;
        top: 20%;
        left: auto;
        transform: none;
        max-width: 480px;
        width: 100%;
        padding: 0 20px;
        margin: 0 auto;
        z-index: 2;
        order: 1;
    }

    .jumbotron-text-wrapper .jumbotron-title {
        font-size: 34px;
    }

    .jumbotron-text-wrapper .jumbotron-subtitle {
        font-size: 18px;
    }

    .jumbotron-text-wrapper .jumbotron-description {
        font-size: 14px;
        margin-top: 30px;
    }

    .jumbotron-text-wrapper button {
        font-size: 14px;
        margin-top: 30px;
    }

    .ladyofjustice {
        right: auto;
        bottom: 0;
        width: 100%;
        max-width: 500px;
        order: 2;
    }
}

/* Tambahan untuk layar sangat kecil */
@media (max-width: 576px) {
    .jumbotron-text-wrapper {
        top: 15%;
    }

    .jumbotron-text-wrapper {
        padding: 0 16px;
    }

    .jumbotron-text-wrapper .jumbotron-title {
        font-size: 30px;
    }

    .jumbotron-text-wrapper .jumbotron-subtitle {
        font-size: 16px;
    }

    .jumbotron-text-wrapper .jumbotron-description {
        font-size: 12px;
        margin-top: 20px;
    }

    .jumbotron-text-wrapper button {
        font-size: 12px;
        margin-top: 20px;
    }

    .ladyofjustice {
        width: 450px;
    }
}

/* ===== Fungsi ===== */
.container.fungsi {
    max-width: 100vw;
    background: linear-gradient(120deg, #826242 0%, #b5895c 50%, #6c5338 100%);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    color: var(--white-color);
    text-align: center;
    padding: 40px 20px;
    margin-top: -26px;
}

.fungsi-title {
    font-family: var(--body-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 40px;
}

.fungsi-wrapper {
    display: flex;
    flex-direction: row;
}

.fungsi-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.fungsi-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    font-family: var(--text-font);
}

.fungsi-item h3 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    color: var(--white-color);
}

.fungsi-item p {
    max-width: 300px;
    width: 100%;
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
}

.fungsi-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
}

/* ===== Responsive - Fungsi ===== */
@media (max-width: 1000px) {
    .fungsi-item p {
        max-width: 200px;
    }
}

@media (max-width: 992px) {
    .container.fungsi {
        top: -40px;
        padding: 32px 16px;
    }

    .fungsi-title {
        font-size: 28px;
        margin-bottom: 28px;
    }

    .fungsi-content {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .container.fungsi {
        top: 0;
        padding: 32px 18px 28px;
    }

    .fungsi-title {
        font-size: 24px;
    }

    .fungsi-content {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .fungsi-item {
        max-width: 360px;
    }

    .fungsi-item p {
        max-width: 300px;
    }

    .fungsi-item:not(:last-child)::after {
        right: auto;
        top: auto;
        height: 1px;
        width: 65%;
        left: 50%;
        bottom: -12px;
        transform: translateX(-50%);
    }

    .fungsi-item:last-child::after {
        display: none;
    }

    .fungsi-item h3 {
        font-size: 14px;
    }

    .fungsi-item p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .fungsi-item h3 {
        font-size: 12px;
    }

    .fungsi-item p {
        font-size: 12px;
    }
}

/* ===== Visi-Misi ===== */
.container.visi-misi {
    margin: 80px 0;
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visi-misi-wrapper {
    width: 90%;
}

.visi-misi .visi-misi-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.visi-misi-title {
    font-family: var(--body-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--dark-color);
}

.visi-misi-line {
    height: 1px;
    width: 70px;
    background-color: var(--gold-color);
    margin-top: 10px;
}

.visi-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.visi-wrapper .visi-title {
    font-family: var(--text-font);
    font-size: 20px;
    font-weight: 600;
}

.visi-wrapper .visi-description {
    position: relative;
    padding: 20px 40px;
    background-color: #f5f5f5;
    margin-top: 10px;
    font-family: var(--text-font);
    font-size: 16px;
}

.visi-description::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background-color: var(--gray-color);
}

.misi-wrapper {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
}

.misi-wrapper .misi-title {
    font-family: var(--text-font);
    font-size: 20px;
    font-weight: 600;
}

.misi-wrapper .misi-list {
    margin-top: 10px;
    font-family: var(--text-font);
    font-size: 16px;
}

/* ===== Responsive - Visi-Misi ===== */
@media (max-width: 992px) {
    .container.visi-misi {
        margin: 60px 0;
    }

    .visi-misi-wrapper {
        margin-top: 28px;
        width: 92%;
    }

    .visi-misi-title {
        font-size: 28px;
    }

    .visi-wrapper .visi-description {
        padding: 18px 24px;
    }
}

@media (max-width: 768px) {
    .container.visi-misi {
        margin: 50px 0;
    }

    .visi-misi-wrapper {
        width: 94%;
    }

    .visi-misi-title {
        font-size: 24px;
        text-align: center;
    }

    .visi-wrapper .visi-title,
    .misi-wrapper .misi-title {
        font-size: 18px;
    }

    .visi-wrapper .visi-description {
        padding: 16px 16px 16px 26px;
        font-size: 14px;
    }

    .misi-wrapper .misi-list {
        font-size: 14px;
        padding-left: 20px;
    }
}

@media (max-width: 576px) {
    .container.visi-misi {
        margin: 40px 0;
    }

    .visi-misi-wrapper {
        width: 92%;
    }

    .visi-wrapper .visi-description {
        padding: 12px 12px 12px 20px;
        font-size: 12px;
    }

    .misi-wrapper .misi-list {
        font-size: 12px;
        padding-left: 18px;
    }
}

/* ===== Periode ===== */
.container.periode {
    padding-top: 40px;
    padding-bottom: 40px;
    position: relative;
    max-width: 100vw;
    width: 100%;
    background-color: #14243e;
    background-image: url("../images/pattern.svg");
}

.periode-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        180deg,
        rgba(20, 36, 62, 0.1) 0%,
        rgba(20, 36, 62, 1) 40%,
        rgba(20, 36, 62, 1) 70%,
        rgba(20, 36, 62, 0.1) 100%
    );
    pointer-events: none;
}

/* ===== Kepengurusan ===== */
.kepengurusan-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.kepengurusan-head {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.kepengurusan-title {
    font-family: var(--body-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-color);
}

.kepengurusan-line {
    height: 1px;
    width: 70px;
    background-color: var(--white-color);
    margin-top: 10px;
}

/* Grid utama */
.kepengurusan-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    cursor: pointer;
    background-color: var(--dark-blue-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    bottom: 0;
    width: 100%;
    background: var(--gold-color);
    opacity: 0.9;
    padding: 12px 10px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
    transform: translateY(0);
    transition: background-color 0.4s ease, padding 0.3s ease;
}

.card:hover .overlay {
    background-color: #8a6642;
    padding: 16px 14px;
}

/* ===== Reponsive Kepengurusan ===== */
@media (max-width: 1024px) {
    .kepengurusan-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .kepengurusan-title {
        font-size: 28px;
    }

    .kepengurusan-head {
        margin-bottom: 28px;
    }
}

@media (max-width: 768px) {
    .kepengurusan-wrapper {
        width: 92%;
    }

    .kepengurusan-title {
        font-size: 24px;
        text-align: center;
    }

    .kepengurusan-body {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .overlay {
        font-size: 14px;
        padding: 10px 10px;
    }
}

@media (max-width: 576px) {
    .kepengurusan-wrapper {
        width: 94%;
    }

    .overlay {
        font-size: 12px;
        padding: 16px 10px;
    }

    .card:hover .overlay {
        padding: 20px 14px;
    }
}

/* ===== Gallery ===== */
.gallery-wrapper {
    max-width: 100vw;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-head {
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.gallery-title {
    font-family: var(--body-font);
    font-size: 32px;
    font-weight: 700;
    color: var(--gold-color);
}

.gallery-line {
    height: 1px;
    width: 70px;
    background-color: var(--white-color);
    margin-top: 10px;
}

/* ====== Swiper Wrapper ====== */
.gallery-swiper {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    background-color: #0f1b30;
    position: relative;
}

.gallery-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-swiper .swiper-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.8s ease;
}

.gallery-swiper .swiper-slide-active img {
    transform: scale(1.05);
}

/* ====== Pagination Bullets ====== */
.gallery-swiper .swiper-pagination {
    bottom: 15px !important;
}

.gallery-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: var(--gold-color);
    width: 22px;
    border-radius: 999px;
}

/* ====== Navigation Arrows ====== */
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
    color: var(--gold-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(10, 18, 33, 0.7);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, background 0.25s ease,
        box-shadow 0.25s ease;
}

.gallery-swiper .swiper-button-prev::after,
.gallery-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.gallery-swiper .swiper-button-prev {
    left: 20px;
}

.gallery-swiper .swiper-button-next {
    right: 20px;
}

.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
    transform: scale(1.05);
    background: rgba(10, 18, 33, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.55);
}

/* ====== Responsive - Gallery ====== */
@media (max-width: 992px) {
    .gallery-title {
        font-size: 28px;
    }

    .gallery-head {
        margin-bottom: 28px;
    }
}

@media (max-width: 768px) {
    .gallery-wrapper {
        padding: 60px 20px 40px;
    }

    .gallery-title {
        font-size: 24px;
    }

    .gallery-swiper {
        max-width: 95vw;
        border-radius: 18px;
    }

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

@media (max-width: 576px) {
    .gallery-wrapper {
        padding: 40px 20px 40px;
    }

    .gallery-swiper .swiper-button-prev,
    .gallery-swiper .swiper-button-next {
        top: 52%;
    }
}

/* ====== Footer ====== */
.footer {
    position: relative;
    background: linear-gradient(135deg, #b5895c 0%, #a47449 45%, #8a5b35 100%);
    padding: 50px 20px 30px;
    color: #fff;
    font-family: var(--text-font);
    overflow: hidden;
}

.footer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at top,
        rgba(255, 255, 255, 0.15) 0,
        transparent 50%
    );
    pointer-events: none;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 18px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--body-font);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.footer-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
}

.footer-menu {
    display: flex;
    gap: 24px;
}

.footer-menu a {
    text-decoration: none;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.6px;
    position: relative;
    padding-bottom: 2px;
    transition: opacity 0.2s ease, transform 0.15s ease;
}

.footer-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background-color: #fef5dd;
    transition: width 0.25s ease;
}

.footer-menu a:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.footer-menu a:hover::after {
    width: 100%;
}

.footer-icons {
    display: flex;
    gap: 12px;
}

.footer-icons a {
    text-decoration: none;
}

.icon-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 252, 241, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(94, 64, 34, 0.4);
    box-shadow: 0 4px 12px rgba(60, 35, 16, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icon-circle svg {
    color: #fff;
}

.footer-icons a:hover .icon-circle {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(40, 20, 5, 0.8);
}

.footer-copy {
    margin-top: 5px;
    opacity: 0.9;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 10px;
    text-align: center;
}

/* ===== Responsive - Footer ===== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 18px 26px;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-menu {
        gap: 18px;
    }
}

@media (max-width: 480px) {
    .footer-title {
        font-size: 20px;
    }

    .footer-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-menu a {
        font-size: 12px;
    }

    .icon-circle {
        width: 30px;
        height: 30px;
    }
}
