/* SubPage CSS Copied from Cappadoccia */
#mainSubPage .bannerArea {
    position: relative;
}

#mainSubPage .bannerArea>.container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

#mainSubPage .bannerArea .tomatoes {
    position: absolute;
    z-index: 2;
    right: 0;
    padding-bottom: 0;
    padding-top: 180px; /* Increased to clear fixed header more comfortably */
}

#mainSubPage .bannerArea .tomatoes .small {
    font-size: 16.65px;
}

#mainSubPage .bannerArea .tomatoes .large {
    font-size: 38.6px;
    padding-left: 162px;
    padding-top: 6px;
}

#mainSubPage .bannerArea .tomatoes .large img {
    width: 100px;
    position: absolute;
    left: 104px;
    top: 11px;
}

#mainSubPage .bannerArea:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    background-color: rgba(0, 15, 28, 0.7);
}

#mainSubPage .bannerArea>img {
    width: 100%;
    height: 320px; /* Slightly taller for better banner feel */
    object-fit: cover;
}

#mainSubPage .leftMenuArea {
    background-color: #ffffff;
    -webkit-box-shadow: 0px 32px 30px 0px rgba(34, 31, 25, 0.09);
    -moz-box-shadow: 0px 32px 30px 0px rgba(34, 31, 25, 0.09);
    box-shadow: 0px 32px 30px 0px rgba(34, 31, 25, 0.09);
    min-width: 212px;
    margin-top: -65px;
}

#mainSubPage .leftMenuArea>ul {
    padding-bottom: 10px;
}

#mainSubPage .leftMenuArea ul li.active>a,
#mainSubPage .leftMenuArea ul li:hover>a {
    font-weight: 900;
}

#mainSubPage .leftMenuArea ul li a {
    position: relative;
    display: block;
}

#mainSubPage .leftMenuArea ul li a:before {
    content: "";
    position: absolute;
    left: -8px;
    top: 0;
    height: 100%;
    width: 8px;
}

#mainSubPage .leftMenuArea>ul>li.active>a:before {
    background-color: #d8b977;
}

#mainSubPage .leftMenuArea>ul>li>a {
    font-size: 18px;
    padding: 0 12px;
    height: 65px;
    align-items: center;
    display: flex;
}

#mainSubPage .leftMenuArea>ul>li.active>a {
    color: #d8b977;
}

#mainSubPage .leftMenuArea ul ul {
    padding-top: 12px;
}

#mainSubPage .leftMenuArea ul ul .subList {
    display: none;
    padding-left: 10px;
}

#mainSubPage .leftMenuArea ul ul li a {
    font-size: 16px;
    color: #343434;
    font-weight: 500;
    line-height: 36px;
    padding-left: 12px;
    border-top: 2px solid #f4f4f4;
    height: auto;
    display: block;
}

#mainSubPage .leftMenuArea ul ul li:first-child a {
    border-top: none;
}

#mainSubPage .leftMenuArea ul ul li.active a:before,
#mainSubPage .leftMenuArea ul ul li:hover a:before {
    background-color: #343434;
}

#mainSubPage .breadcrumb {
    padding-top: 80px; /* Clear fixed header overlay on breadcrumbs */
}

#mainSubPage .breadcrumb a {
    font-weight: 500;
    font-size: 13.61px;
    color: rgba(255, 255, 255, 0.85); /* More visible on banner */
    border-left: 2px solid rgba(255, 255, 255, 0.67);
    line-height: 15px;
    display: inline-block;
    padding: 0 5px;
}

#mainSubPage .breadcrumb a:first-child {
    border-left: none;
    padding-left: 0;
}

#mainSubPage .breadcrumb a:hover {
    color: rgba(255, 255, 255, 1);
}

#mainSubPage .breadcrumb span {
    font-weight: 500;
    font-size: 13.61px;
    color: rgba(255, 255, 255, 0.85);
    border-left: 2px solid rgba(255, 255, 255, 0.67);
    line-height: 15px;
    display: inline-block;
    padding: 0 5px;
}

#mainSubPage .contentColumn {
    margin-top: -80px; /* Adjusted to balance the layout */
    margin-bottom: 40px;
    padding-left: 32px;
    width: 100%;
}

#mainSubPage .contentColumn .content {
    padding-top: 50px;
}

#mainSubPage .paragraph {
    padding: 30px 6px;
}

#mainSubPage .paragraph p {
    font-size: 15px;
    color: #343434;
    padding: 10px 0;
    line-height: 22px;
}

#mainSubPage .content h1 {
    font-size: 44px;
    color: #d7b877;
    margin-bottom: 20px;
}

#mainSubPage .enjoyin .enjoyinList {
    margin-top: 20px;
    margin-bottom: 40px;
    position: relative;
    display: block;
    transition: all 0.3s linear;
}

#mainSubPage .enjoyin .imageFrame {
    padding: 13px;
    position: relative;
}

#mainSubPage .enjoyin .imageFrame img {
    width: 100%;
    object-fit: cover;
}

#mainSubPage .enjoyin .imageFrame:before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 40%;
    background-color: #f5f5f5;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    z-index: -1;
}

#mainSubPage .enjoyin .enjoyinList .imageFrame:after {
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    width: calc(100% - 26px);
    height: calc(100% - 26px);
    position: absolute;
    top: 13px;
    left: 13px;
    transition: all 0.3s linear;
}

#mainSubPage .enjoyin .enjoyinList .details {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    right: 0;
    padding-left: 40px;
}

#mainSubPage .enjoyin .enjoyinList .details span {
    font-weight: 500;
    font-size: 22.61px;
    color: #ffffff;
    display: block;
}

#mainSubPage .enjoyin .enjoyinList .details span.bold {
    font-weight: 900;
    padding-top: 5px;
}

#mainSubPage .enjoyin .enjoyinList .details img {
    width: 100px;
    position: absolute;
    right: 0;
    bottom: 0;
    right: 30px;
}

#mainSubPage .enjoyin .enjoyinList:hover .imageFrame:after {
    background-color: rgba(0, 0, 0, 0.2);
}

.stayin2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    margin-top: 30px;
}

.stayin2 .item a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.stayin2 .item a .img img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.stayin2 .item a:hover .img img {
    transform: scale(1.05);
}

.stayin2 .item a .desc {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    color: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@media(max-width: 768px) {
    .stayin2 {
        grid-template-columns: 1fr;
    }
}
/* Activities Page Styles */
.activities-list {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.activities-list .aitem {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
    position: relative;
    display: block;
    transition: all 0.3s linear;
}

.activities-list .aitem:hover .acont .imageFrame::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.activities-list .aitem .acont .imageFrame {
    padding: 13px;
    position: relative;
}

.activities-list .aitem .acont .imageFrame::after {
    content: "";
    background-color: rgba(0, 0, 0, 0.5);
    width: calc(100% - 26px);
    height: calc(100% - 26px);
    position: absolute;
    top: 13px;
    left: 13px;
    transition: all 0.3s linear;
}

.activities-list .aitem .acont .imageFrame::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 40%;
    background-color: #f5f5f5;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0 auto;
    z-index: -1;
}

.activities-list .aitem .acont .imageFrame img {
    height: 190px;
    width: 100%;
    object-fit: cover;
    display: block;
}

.activities-list .aitem .acont .details {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    right: 0;
    padding-left: 40px;
}

.activities-list .aitem .acont .details span {
    font-weight: 500;
    font-size: 20px;
    color: #ffffff;
    display: block;
}

#mainSubPage .leftMenuArea ul ul .subList {
    display: block;
    padding-left: 15px;
}

#mainSubPage .leftMenuArea ul ul .subList li a {
    font-size: 14px;
    color: #666;
    line-height: 28px;
    border-top: 1px solid #eee;
}

#mainSubPage .leftMenuArea ul ul .subList li a:hover {
    color: #d8b977;
}

@media(max-width: 992px) {
    .activities-list .aitem {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Fix global subpage grid */
    #mainSubPage .centerContent.row {
        flex-direction: column;
    }
    
    /* Sidebar full width on tablet/mobile */
    #mainSubPage .leftMenuArea {
        width: 100%;
        min-width: 100%;
        margin-top: 30px;
        box-shadow: none;
        border: 1px solid #eee;
        border-radius: 8px;
    }
    
    /* Content column reset */
    #mainSubPage .contentColumn {
        padding-left: 0;
        margin-top: 30px;
        width: 100%;
    }
    
    /* Banner adjustments */
    #mainSubPage .bannerArea>img {
        height: 250px;
    }
    
    #mainSubPage .bannerArea .tomatoes {
        padding-top: 120px;
        width: 100%;
        text-align: center;
    }
    
    #mainSubPage .bannerArea .tomatoes .large {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    #mainSubPage .bannerArea .tomatoes .large img {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
    }
    
    #mainSubPage .breadcrumb {
        padding-top: 100px;
        text-align: center;
    }
}

@media(max-width: 768px) {
    #mainSubPage .content h1 {
        font-size: 32px;
    }
    
    #mainSubPage .enjoyin .enjoyinList .details span {
        font-size: 18px;
    }
}
