/* 关于我们页面样式 */
.navbar {
    width: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0);
}

.navbar-brand img {
    filter: grayscale(100%) brightness(1000%);
}
.language-selector img {
    filter: grayscale(100%) brightness(1000%);
}
.language-selector .dropdown-toggle {
    color: #FFF;
}
.navbar {
    border-bottom: 1px solid #FFF;
}

/* 图片展示部分 */
.gallery-section {
    position: relative;
}

/* 第一个网格 - 上部两张图片 */
.gallery-grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 10px;
    margin-bottom: 10px;
}

/* 第二个网格 - 下部三张图片 */
.gallery-grid1 {
    display: grid;
    grid-template-columns: 3fr 3fr 4fr;
    gap: 10px;
}

/* 第一张图片 - 上部左侧 60% */
.gallery-item-1 {
    grid-column: 1 / 2;
}

/* 第二张图片 - 上部右侧 40% */
.gallery-item-2 {
    grid-column: 2 / 3;
}

/* 第三张图片 - 下部左侧第一张 30% */
.gallery-sub-item-1 {
    grid-column: 1 / 2;
}

/* 第四张图片 - 下部左侧第二张 30% */
.gallery-sub-item-2 {
    grid-column: 2 / 3;
}

/* 第五张图片 - 下部右侧 40% */
.gallery-sub-item-3 {
    grid-column: 3 / 4;
}

.gallery-grid-left{
    display: grid;
    grid-template-columns: 5fr 5fr;
    gap: 10px;
}

.gallery-item {
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-sub-item {
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover,
.gallery-sub-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image,
.gallery-sub-item:hover .gallery-image {
    transform: scale(1.05);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
        height: auto;
    }
    
    .gallery-item-1 {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }
    
    .gallery-item-2 {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
    }
    
    .gallery-item-3 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
    
    .gallery-item-4 {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

/* 响应式设计 - 平板端 */
@media (max-width: 768px) {
    .gallery-section {
        padding: 10px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }
    
    .gallery-item-1,
    .gallery-item-2 {
        grid-column: 1 / 2;
        height: 200px;
    }
    
    .gallery-grid1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        height: auto;
        gap: 15px;
    }
    
    .gallery-sub-item-1 {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        height: 150px;
    }
    
    .gallery-sub-item-2 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        height: 150px;
    }
    
    .gallery-sub-item-3 {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        height: 150px;
    }
}

/* 响应式设计 - 手机端 */
@media (max-width: 480px) {
    .gallery-grid,
    .gallery-grid1 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item-1,
    .gallery-item-2,
    .gallery-sub-item-1,
    .gallery-sub-item-2,
    .gallery-sub-item-3 {
        grid-column: 1 / 2;
        height: 200px;
        grid-template-columns:unset;
    }
}

/* UK Property Background 和 20 Years 部分样式 */
.property-experience-section {
    padding: 50px 0;
}

.property-experience-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 50px;
    gap: 60px;
}

/* 左侧 UK Property Background 样式 */
.property-background {
    flex: 1;
    padding-right: 30px;
}

/* 右侧 20 Years 样式 */
.years-experience {
    flex: 1;
    padding-left: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .property-experience-content {
        flex-direction: column;
        gap: 20px;
        padding: 0 10px;
    }
    
    .property-background,
    .years-experience {
        padding: 0;
    }
    
    .years-experience {
        border-left: none;
        border-top: 1px solid #e0e0e0;
        padding-top: 10px;
    }
    
    .property-title,
    .years-title {
        font-size: 2rem;
    }
}
.navbar-nav .nav-link {
    color: #FFF !important;
}

.navbar-nav .nav-link.active {
    color: #FFF !important;
}

.navbar-nav .nav-link.active::after {
    background-color: var(--main-color);
}

.about-background {
    padding: 10px 0;
}


.about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    padding: 30px;
    background-image: url('../images/about-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 左侧关于我们板块 */
.about-left {
    flex: 1;
    max-width: 60%;
}

.about-section {
    padding: 90px 40px;
}

.about-title {
    color: var(--main-color);
    font-size: 32px;
    margin-bottom: 30px;
    position: relative;
}

.about-text p {
    color: #333;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* 右侧四个板块 */
.about-right {
    flex: 1;
    max-width: 40%;
}

.feature-blocks {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.feature-content {
    flex: 1;
}

.feature-title {
    color: var(--main-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 1rem;
    line-height: 1.5;
    height: 3rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        gap: 20px;
        padding: 10px;
    }
    
    .about-left,
    .about-right {
        max-width: 100%;
    }
    .about-left{
        padding: 20px;
    }
    
    .about-background {
        padding: 60px 0;
    }
}

/* 11 Offices 部分样式 */
.offices-section {
}

.offices-content {
    display: flex;
    background-color: #F5F4EF;
    align-items: center;
}

/* 左侧标题文字 */
.offices-left {
    flex: 1;
    max-width: 30%;
    padding-left: 50px;
}

.offices-title {
    font-family: 'Century', sans-serif;
    color: var(--main-color);
    font-size: 2.2rem;
    line-height: 1.2;
    position: relative;
    margin-bottom: 20px;
}

.offices-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 5px;
    width: 10px;
    height: 4px;
    background: var(--main-color);
}

.offices-subtitle,.property-desc {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

/* 右侧图片 */
.offices-right {
    flex: 1;
    max-width: 70%;
}

.offices-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .offices-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-top: 20px;
    }
    
    .offices-left,
    .offices-right {
        max-width: 100%;
        padding:0;
    }
    
    .offices-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .offices-section {
        padding: 60px 0;
    }
    
    .offices-title {
        font-size: 2.5rem;
    }
    
    .offices-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .offices-section {
        padding: 10px 0;
    }
    
    .offices-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .offices-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-bigimg img{
        width: 100%;
        height: 400px;
        object-fit: cover;
    }
    
    .navbar-nav .nav-link {
        color: var(--primary-color) !important;
    }
    
    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }
    .about-background {
        padding: 40px 0;
    }
    
    .about-section {
        padding: 30px 20px;
    }
    
    .about-title {
        font-size: 2rem;
        margin-bottom: 25px;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .feature-block {
        padding: 20px;
        gap: 15px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon img {
        width: 28px;
        height: 28px;
    }
    
    .feature-title {
        font-size: 1.2rem;
    }
    
    .feature-desc {
        font-size: 0.95rem;
    }
    .property-experience-section {
        padding: 20px 0;
    }
}

@media (max-width: 480px) {
    .about-background {
        padding: 10px 0;
    }
    
    .about-section {
        padding: 0;
    }
    
    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .feature-block {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .feature-content {
        text-align: center;
    }
}
