.logo a {
    text-transform: unset !important;
}
/* Scroll Button - override .button defaults */
.scroll-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    min-height: auto;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 50% !important;
    background: #fff;
    color: #333;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.scroll-button span {
    display: none !important;
}

.scroll-button i.icon-angle-down {
    margin: 0 !important;
    font-size: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-button:hover {
    transform: scale(1.05);
}

/* Pulse ring effect */
.scroll-button::before,
.scroll-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    z-index: -1;
    animation: pulse-ring 2.5s ease-out infinite;
}

.scroll-button::after {
    animation-delay: 1.25s;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.6;
    }
    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

.button.is-link {
    display: inline;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: #1c1c1c;
}

.button.is-link:after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    width: 0;
    bottom: -3px;
    background: #000;
    height: 2px;
    transition-property: width;
    transition-duration: 0.4s;
    transition-timing-function: ease-out;
}
.button.is-link:hover:after, .button.is-link:focus:after, .button.is-link:active:after {
    left: 0;
    right: auto;
    width: 100%;
    text-decoration: none;
}

/* ========================================
   Project Page Template
   ======================================== */

/* Filter Navigation */
.project-filter {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 0 0 30px;
}

.project-filter li a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s, border-color 0.3s;
}

.project-filter li.active a,
.project-filter li a:hover {
    color: #1c1c1c;
    border-bottom-color: #1c1c1c;
}

/* Grid */
.project-grid {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
}

.project-item {
    padding: 4px !important;
    margin-bottom: 0 !important;
}

.page-wrapper .project-grid {
    margin-left: 0;
    margin-right: 0;
}

.project-item .col-inner {
    padding: 0;
}

/* Card */
.project-card {
    display: block;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.project-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* Overlay */
.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__content {
    text-align: center;
    color: #fff;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-card__content {
    transform: translateY(0);
}

.project-card__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #fff;
}

.project-card__link {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    padding-bottom: 2px;
}

.project-card__arrow {
    margin-left: 4px;
}

/* Pagination */
.project-pagination {
    text-align: center;
    padding: 40px 0;
}

.project-pagination .page-numbers {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin: 0 4px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.project-pagination .page-numbers.current,
.project-pagination .page-numbers:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

.project-pagination .page-numbers.dots {
    border: none;
    pointer-events: none;
}

nav.project-pagination {
    text-align: center;
    padding: 40px 0;
}

nav.project-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

nav.project-pagination .nav-links a,
nav.project-pagination .nav-links span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

nav.project-pagination .nav-links .current,
nav.project-pagination .nav-links a:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

nav.project-pagination .nav-links .dots {
    border: none;
    pointer-events: none;
}

/* ========================================
   Page Hero (shared component)
   ======================================== */

.page-hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 60px;
    z-index: 0;
    overflow: hidden;
}

.page-hero__img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.page-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.page-hero__title {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.page-hero__desc {
    color: rgba(255,255,255,0.85);
    font-size: 28px;
    font-weight: 400;
    margin: 15px 0 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.page-hero__scroll {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.page-hero__scroll:hover {
    transform: scale(1.1);
}

.page-hero__scroll::before,
.page-hero__scroll::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.15);
    z-index: -1;
    animation: pulse-ring 2.5s ease-out infinite;
}

.page-hero__scroll::after {
    animation-delay: 1.25s;
}

@media (max-width: 768px) {
    .logo a {
        font-size: 28px !important;
    }

    .page-hero {
        height: 70vh;
        padding-bottom: 40px;
    }

    .page-hero__img {
        height: 70vh;
    }

    .page-hero__title {
        font-size: 32px;
    }

    .page-hero__desc {
        font-size: 15px;
    }
}

/* ========================================
   Single Project Page
   ======================================== */

.single-project-info,
.single-project-gallery,
#footer {
    position: relative;
    z-index: 1;
    background: #fff;
}

.single-project-info {
    padding-top: 30px;
}

#project-info .row > .col:first-child {
    padding-right: 15px;
}

#project-info .row > .col:last-child {
    padding-left: 15px;
}

@media (max-width: 768px) {
    #project-info .row > .col:first-child,
    #project-info .row > .col:last-child {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* Section 2: Info */

.single-project-info .col-inner {
    height: 100%;
}

.single-project-info__image {
    overflow: hidden;
    height: 100%;
}

.single-project-info__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-project-info__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 80px;
    background: #f5f5f5;
    height: 100%;
}

.single-project-info__title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px;
    line-height: 1.3;
    color: #1c1c1c;
}

.single-project-info__desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.single-project-info__desc p:last-child {
    margin-bottom: 0;
}

.single-project-info__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.single-project-info__cats a {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: all 0.3s;
}

.single-project-info__cats a:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

/* Section 3: Gallery */
.single-project-gallery {
    padding-top: 20px;
    padding-bottom: 80px;
}

.single-project-gallery__item {
    overflow: hidden;
}

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

.single-project-gallery__item:hover img {
    transform: scale(1.03);
}

/* Section 4: Related Projects */
.single-project-related {
    position: relative;
    z-index: 1;
    background: #f7f7f7;
    padding: 60px 0;
}

.single-project-related__title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Single Project: Responsive */
@media (max-width: 768px) {
    .single-project-info__content {
        padding: 40px 20px;
    }

    .single-project-info__title {
        font-size: 22px;
    }
}

/* Mobile: filter scroll ngang */
@media (max-width: 991px) {
    .project-filter {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 20px;
        padding: 0 15px 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #ccc transparent;
    }

    .project-filter::-webkit-scrollbar {
        height: 3px;
    }

    .project-filter::-webkit-scrollbar-track {
        background: #eee;
        border-radius: 3px;
    }

    .project-filter::-webkit-scrollbar-thumb {
        background: #bbb;
        border-radius: 3px;
    }

    .project-filter li {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Hiện title trên mobile */
    .project-card__overlay {
        opacity: 1;
        background: linear-gradient(0deg, rgba(0,0,0,0.55) 0%, transparent 60%);
        align-items: flex-end;
        justify-content: flex-start;
    }

    .project-card__content {
        transform: translateY(0);
        text-align: left;
        padding: 15px;
    }

    .project-card__title {
        font-size: 16px;
        margin: 0;
    }

    .project-card__link {
        display: none;
    }
}

/* ========================================
   Custom Footer
   ======================================== */

/* CTA Section */
.cyno-footer-cta {
    background: #1c1c1c;
    padding: 80px 20px;
    text-align: center;
}

.cyno-footer-cta__title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px;
}

.cyno-footer-cta__btn {
    display: inline-block;
    padding: 14px 40px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.cyno-footer-cta__btn:hover {
    background: #fff;
    color: #1c1c1c;
}

/* Footer Info */
.cyno-footer-info {
    padding: 60px 0 40px;
}

.cyno-footer-info__heading {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 15px;
    color: #1c1c1c;
}

.cyno-footer-info p {
    font-size: 14px;
    color: #555;
    margin: 0 0 5px;
    line-height: 1.7;
}

.cyno-footer-info a {
    color: #555;
    text-decoration: none;
}

.cyno-footer-info__icon {
    flex-shrink: 0;
    margin-right: 8px;
    color: #888;
    vertical-align: -2px;
}

.cyno-footer-info__link {
    font-size: 14px;
    text-decoration: underline !important;
}

/* Social Media */
.cyno-footer-social {
    display: flex;
    gap: 12px;
}

.cyno-footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 50%;
    color: #555;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.cyno-footer-social__link:hover {
    background: #1c1c1c;
    color: #fff;
    border-color: #1c1c1c;
}

/* Copyright */
.cyno-footer-copyright {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.cyno-footer-copyright p {
    font-size: 13px;
    color: #999;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .cyno-footer-cta {
        padding: 50px 20px;
    }

    .cyno-footer-cta__title {
        font-size: 24px;
    }

    .cyno-footer-info .col {
        margin-bottom: 30px;
    }
}