.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-section {
    margin-top: -68px;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    height: 760px;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 15, 15, 0.88) 0%, rgba(15, 15, 15, 0.58) 44%, rgba(15, 15, 15, 0.52) 100%);
}

.hero-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 60rem;
    color: var(--white);
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0.5rem 0 1rem;
}

.hero-text {
    font-size: 1.08rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
    justify-content: center;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.hero-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.6rem 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.hero-highlights i {
    color: var(--accent-color);
}

.hero-arrow {
    width: 42px;
    height: 42px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
}

.position-relative {
    position: relative;
}

.page-img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.28);
    z-index: 1;
}

.pag-txt {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pag-head {
    margin: 0;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: capitalize;
}

.about-section {
    background: linear-gradient(180deg, #f5f0ec 0%, #ffffff 100%);
}

.about-image-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.25rem;
    align-items: end;
}

.about-image-card {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.about-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-image-card-large {
    height: 420px;
}

.about-image-card-small {
    height: 300px;
    transform: translateY(-30px);
}

.about-copy {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--muted);
    line-height: 1.9;
}

.about-features {
    display: grid;
    gap: 1rem;
    margin-top: 1.75rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature-item i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 39, 26, 0.1);
    color: var(--primary-color);
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.services-section {
    background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
}

.services-wrapper {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(181, 39, 26, 0.08);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.tab-nav-link {
    border-radius: 999px;
    padding: 0.75rem 1.2rem;
    border: 1px solid rgba(181, 39, 26, 0.16);
    color: var(--text-color);
    background: transparent;
    font-weight: 600;
    transition: all 0.2s ease;
}

.tab-nav-link:hover {
    background: transparent;
    border-color: rgba(181, 39, 26, 0.16);
    color: var(--primary-color) !important;
}

.tab-nav-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
    box-shadow: 0 12px 24px rgba(181, 39, 26, 0.22);
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(16, 16, 16, 0.06);
    border-radius: 22px;
    padding: 1rem;
    height: 100%;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.04);
}

.service-card-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 18px 30px rgba(181, 39, 26, 0.15);
}

.service-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-body {
    flex: 1;
    min-width: 0;
}

.service-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
    min-width: 0;
}

.service-card-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.service-dots {
    flex: 1;
    min-width: 20px;
    border-bottom: 2px dotted rgba(181, 39, 26, 0.45);
    margin: 0 0.45rem;
    transform: translateY(-2px);
}

.service-card-body p {
    color: var(--muted);
    line-height: 1.8;
}

.s-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.service-card-actions {
    margin-top: 1rem;
}

.gallery-section {
    background: linear-gradient(180deg, #ffffff 0%, #f7f3ee 100%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 280px;
    box-shadow: var(--shadow);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.75));
    color: var(--white);
    font-weight: 600;
}

.gallery-page {
    background: linear-gradient(180deg, #fffaf8 0%, #ffffff 100%);
    margin-top: -120px;
}

.page-cover-wrapper {
    margin-top: -68px;
}

.gallery-hero-grid {
    margin-top: 0;
}

.gallery-hero-card {
    position: relative;
    overflow: hidden;
}

.gallery-hero-card .page-img {
    height: 24rem;
}

.gallery-page-content {
    padding-top: 2.5rem;
    padding-bottom: 5rem;
}

.gallery-page-intro {
    margin-bottom: 1.5rem;
}

.gallery-page-intro .com-tit {
    margin-top: 0.5rem;
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 22px;
    background: #f5f0ec;
    box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

.gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-page-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.08);
}

.gallery-page-item-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(180deg, transparent, rgba(17, 17, 17, 0.76));
    color: var(--white);
    font-weight: 600;
    letter-spacing: 0.04em;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-page-item:hover .gallery-page-item-overlay {
    transform: translateY(0);
}

.contact-page-section {
    background: linear-gradient(180deg, #f7f3ee 0%, #ffffff 100%);
    padding: 5rem 0;
}

.contact-info-wrap {
    display: grid;
    gap: 1.25rem;
}

.contact-intro {
    color: var(--muted);
    line-height: 1.8;
    margin-top: 0.5rem;
}

.contact-info-list {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(181, 39, 26, 0.08);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.03);
}

.contact-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(181, 39, 26, 0.1);
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-item label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.contact-info-item p {
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.contact-socials {
    margin-top: 0.5rem;
}

.contact-socials h6 {
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 0.85rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-links a:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(181, 39, 26, 0.22);
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(181, 39, 26, 0.08);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 22px 50px rgba(17, 17, 17, 0.08);
}

.contact-form-card h3 {
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.contact-form-card .form-control {
    border-radius: 14px;
    border: 1px solid rgba(17, 17, 17, 0.11);
    padding: 1rem 1rem;
    background: #fff;
}

.contact-form-card .form-control:focus {
    border-color: rgba(181, 39, 26, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(181, 39, 26, 0.12);
}

.contact-form-card label {
    color: #6a6a6a;
}

.contact-map {
    border-top: 1px solid rgba(17, 17, 17, 0.08);
}

@media (max-width: 991px) {
    .hero-slide {
        height: 640px;
    }

    .services-wrapper {
        padding: 1rem;
    }
}

@media (max-width: 991px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    
    .gallery-hero-grid {
    display:none;
}

    
    .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
    
    .page-cover-wrapper {
    display:none;
}

    
    .hero-title{
    font-size: 2rem;
    margin-top: 4rem;
    }
    .section-shell {
        padding: 45px 0;
    }

    .gallery-page-content {
        padding-top: 10rem;
        padding-bottom: 3rem;
    }



    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-brand {
        font-size: 1.1rem;
    }

    .custom-navbar {
        padding: 0.75rem 0;
    }

    .nav-cta {
        width: 100%;
        justify-content: space-between;
        margin-top: 1rem;
    }

    .nav-cta-mobile {
        width: 100%;
        margin-top: 1rem;
    }

    .nav-cta-mobile .btn-book {
        width: 100%;
        justify-content: center;
    }

    .custom-navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .navbar-nav {
        align-items: flex-start;
    }

    .navbar-nav .nav-item {
        width: 100%;
    }

    .navbar-nav .c-nav-link {
        display: block;
        width: 100%;
        padding: 0.85rem 1rem !important;
    }

    .logo-nav {
        display: none;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-text {
        font-size: 0.98rem;
    }
    .hero-highlights{
        display:none !important;
    }

    .hero-actions,
    .hero-highlights,
    .about-actions {
        display: grid;
        gap: 0.8rem;
    }

    .hero-action-btn,
    .btn-book,
    .btn-outline-primary,
    .btn-outline-light {
        width: 100%;
        justify-content: center;
    }

    .about-image-grid
     {
        display:none;
    }

    .about-image-card-small {
        transform: none;
        height: 260px;
    }

    .service-card-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-card-icon {
        width: 70px;
        height: 70px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-copy {
        text-align: center;
    }
}
