body {
    margin: 0;
    padding: 0;
    background-color: #b19863;
    font-family: "FuturaCyrillicDemi", sans-serif;
    width: 100%;
    /* 背景颜色 */
}

html,
body {
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: "FuturaCyrillicDemi";
    src: url("../fonts/FuturaCyrillicDemi.ttf") format("truetype");
}

@font-face {
    font-family: "AzoMonoTest-Light";
    src: url("../fonts/AzoMonoTest-Light.otf") format("truetype");
}

@font-face {
    font-family: "FuturaCyrillicBook";
    src: url("../fonts/FuturaCyrillicBook.ttf") format("truetype");
}

@font-face {
    font-family: "FuturaCyrillicHeavy";
    src: url("../fonts/FuturaCyrillicHeavy.ttf") format("truetype");
}

@font-face {
    font-family: "FuturaCyrillicMedium";
    src: url("../fonts/FuturaCyrillicMedium.ttf") format("truetype");
}

@font-face {
    font-family: "Radikal";
    src: url("../fonts/Radikal.otf") format("truetype");
}

@font-face {
    font-family: "KumbhSansLight";
    src: url("../fonts/KumbhSansLight.ttf") format("truetype");
}


.logoFlex {
    flex: 0.9;
}

.active-link {
    text-decoration: underline;
    color: white;
}

html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.titleHeader {
    font-size: 54px;
    font-weight: bold;
    text-align: left;
    margin: 0px;
    color: #ded6cf
}

.spotlight p {
    color: #ded6cf;
}

.contactTitle {
    font-size: 54px;
    font-weight: bold;
    text-align: left;
    margin: 0px;
    color: #373736;
    margin-bottom: 10px;
    white-space: nowrap;
}

.header {
    display: flex;
    align-items: center;
    padding: 20px 55px;
    /* 调整内边距 */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    /* 初始背景色为透明 */
    transition: background-color 0.3s ease;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.nav {
    display: flex;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: #b19863;
    font-family: 'FuturaCyrillicMedium'
}

.hero {
    background-image: url("/images/home.jpg") !important;
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    /* background-attachment: fixed; */
    /* 背景图片固定 */
}

.hero-text {
    position: relative;
    z-index: 2;
    font-size: 75px;
    font-family: "KumbhSansLight";
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* 黑色半透明层 */
    z-index: 1;
}

.headerLogo {
    height: 50px;
    margin-left: 45px;
}

/* container style */
.containerAbout {
    margin: 0 auto;
    padding: 45px 90px 0px 90px;
}

.headerAbout {
    text-align: center;
    padding: 50px 0;
}

.headerAbout h1 {
    font-size: 36px;
    margin: 0;
    color: #333;
    /* 深色标题 */
}

.section {
    display: flex;
    padding: 90px;
    height: 650px;
    /* 设置固定高度 */
}

.sectionStory img {
    width: 100%;
    height: 350px;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    /* 确保边框和内边距不会影响尺寸 */
}

.sectionAbout img {
    height: 100%;
    object-fit: cover;
    padding: 0px 45px;
}

.section .contentStory {
    width: 50%;
    padding: 0px 45px;
}

.section .contentStory h2 {
    font-size: 54px;
    margin: 0px;
    color: #373736;
    /* font-family: auto; */
}

.contentStory h2 {
    position: relative;
    display: inline-block;
    /* 确保伪元素宽度基于内容 */
}

.section .contentStory h2::before {
    content: "";
    position: absolute;
    top: -15px;
    /* 根据需要调整 */
    left: 0;
    width: 30%;
    height: 8px;
    /* 边框的厚度 */
    background-color: #373736;
    /* 边框的颜色 */
}



.section .contentStory p {
    color: #373736;
}

p {
    font-size: 18px;
    line-height: 1.6;
    color:#373736;
    text-align: justify;
}


.sectionStory {
    display: flex;
    flex-wrap: wrap;
    background: #ded6cf;
    flex-direction: row-reverse;
}

.storyContent,
.contentStory {
    width: 50%;
    padding: 0 45px 45px;
    box-sizing: border-box;
}

.sectionAbout {
    display: flex;
    align-items: center;
    background: #2a2821;
    justify-content: center;
    /* 添加此行以水平居中对齐 */
}

.aboutTitle {

    font-size: 54px;
    width: 50%;
    color: #958155;
    position: relative;
}

.aboutTitle::before {
    content: "";
    position: absolute;
    top: -15px;
    /* 根据需要调整 */
    left: 0;
    width: 50%;
    height: 8px;
    /* 边框的厚度 */
    background-color: #958155;
    /* 边框的颜色 */
}

.aboutText {
    padding: 25px 0px;
    color: #958155;
}

.storyTitle {
    width: 80%;
}

img {
    max-width: 100%;
    height: auto;
}

/* client style */
.content-client {
    display: flex;
    margin: 0px auto;
    padding: 90px;
}

.containerClient {
    display: flex;
    flex-wrap: wrap;
    flex: 7;
    gap: 30px;
    /* 占据70%的空间 */
}

.category {
    /* 确保每行有4个图像 */
    margin-bottom: 20px;
    /* 在每个类别之间添加间距 */
    text-align: center;
    color: white;
    font-weight: bold;
    position: relative;
    font-size: 16px;
    /* 设置类别标题的字体大小 */
}

.category img {
    width: 210px;
    height: 320px;
    /* 确保图像在容器中居中 */
}

.category-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    top: 15px;
    font-size: 24px;
    /* 设置类别标题的字体大小 */
}

.spotlight {
    flex: 3;
    /* 占据30%的空间 */
    padding: 0px 120px 0px 0px;
    color: white;
    position: relative;
}


.spotlight h2 {
    font-size: 54px;
    font-weight: bold;
}

.content-client .spotlight h2::before {
    content: "";
    position: absolute;
    width: 25%;
    height: 8px;
    /* 边框的厚度 */
    background-color: #ded6cf;
    margin-top: -20px;
    /* 边框的颜色 */
}


/* getInTouch style */
.containerGetInTouch {
    width: 90%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ded6cf;
}

.image {
    flex: 1;
    text-align: center;
}

.image img {
    max-width: 100%;
    height: auto;
}

.form-container {
    padding-left: 80px;
    padding-right: 80px;
    flex: 1;
    border-radius: 5px;
}

.form-container h1 {
    color: #3c3b3b;
}

.form {
    border-radius: 5px;
    flex-direction: column;
    display: flex;
}

.form input,
.form textarea {
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #c0ad89;
    border-radius: 5px;
}

.form button {
    background-color: #b19863;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    align-self: flex-end;
}

.form input[type="text"],
.form input[type="email"],
.form textarea {
    color: #b19863;
    font-size: 18px;
    font-family: 'FuturaCyrillicBook';
    /* 更改文本颜色 */
}

.form input[type="text"]::placeholder,
.form input[type="email"]::placeholder,
.form textarea::placeholder {
    color: #b19863;
    /* 更改占位符颜色 */
}


/* service style */
/* body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #d1b38a;
} */
.services-title {
    padding-bottom: 45px;
    color: transparent;
    background: rgba(255, 255, 255, 0.5);
    /* 半透明背景 */
    -webkit-background-clip: text;
    background-clip: text;
    text-align: center;
    font-size: 54px;
    margin: 0px;
    font-weight: bold;
    line-height: inherit;
}

.content {
    padding: 45px;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #fff;
}

.services-grid {
    display: grid;
    flex-wrap: wrap;
    justify-self: center;
    grid-template-columns: repeat(3, 1fr);
}

.service-item {
    margin-bottom: 10px;
    padding: 10px;
    text-align: end;
    color: #333;
    display: flex;
}

.service-item img {
    width: 190px;
    height: 280px;
}

.service-item h2 {
    margin: 10px 0;
}

.service-description {
    text-align: left;
    margin-top: 20px;
    background-color: #e0d4b8;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-label {
    left: -2%;
    /* writing-mode: sideways-lr;
    text-align: end; */
    padding: 0px 10px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    width:60px;
    place-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    align-self: flex-start;
}

.textHeight{
    height: min-content;
}
/* choose style */
.choose-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 45px;
    padding-bottom: 45px;
    padding-left: 90px;
    padding-right: 90px;
    background-color: #e8e0d1;
    padding-bottom: 45px;
    column-gap: 90px;
    /* 调整为与图片相同的背景色 */
}

.choose-title {
    font-size: 54px;
    font-weight: bold;
    text-align: center;
    background-color: #e8e0d1;
    padding-top: 45px;
    color: #373736;
}

.choose-item {
    padding: 2px;
}

.choose-item h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    width: 65%;
}

.choose-item h2::first-letter {
    font-size: 2em;
    /* 调整第一个字符的大小 */
}

.choose-item p {
    color: #333;
    text-align: unset;
    /* 文字颜色 */
}

.rowInGetInTouch {
    display: flex;
    margin: 0 auto;
    padding: 0px 90px 0px 90px;
}

.columnInGetInTouchLeft,
.columnInGetInTouchRight {
  flex: 1; /* 或者使用 width: 50% */
  padding: 20px; /* 可选的内边距 */
}

.columnInGetInTouchLeft {
    flex: 1;
    padding: 180px 90px 180px 180px;
    background-color: #ded6cf;
}

.columnInGetInTouchRight {
    flex: 1;
    padding: 180px 180px 180px 90px;
    background-color: #ded6cf;
}

.footerLogo {
    width: 130px;
    height: 130px;
    align-self: center;
}

.footerLogoContainer {
    padding: 25px;
    align-self: flex-start;
    display: flex;
}


.footer {
    background-color: #1a1a1a;
    padding: 90px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: #fff;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-item {
    padding: 20px 80px;
}

.footer-item h3 {
    color: #b19863;
    font-family: 'FuturaCyrillicHeavy';
}

.footer-item p {
    font-size: 12px;
    font-family: 'Radikal';
    color: #fff;
}

.footer-item img {
    margin-right: 10px;
    height: 20px;
}

.row {
    display: flex;
    align-items: center;
}

.icon {
    width: 50px;
    /* 图标列的宽度 */
    text-align: center;
    /* 图标居中 */
    align-self: flex-start;
}

.iconLocation {
    width: 25px;
    height: 30px;
}

.column {
    flex: 1;
    /* 地址列占据剩余空间 */
}

/* menu */
.nav.active {
    display: flex;
    /* 激活时显示导航栏 */
}

.nav-toggle {
    display: none;
    /* 默认隐藏切换按钮 */
    background-color: transparent;
    /* 设置背景为透明 */
    border: none;
    /* 移除按钮边框 */
    color: #fff;
    /* 设置按钮文字颜色 */
    font-size: 24px;
    /* 设置按钮文字大小 */
    cursor: pointer;
    /* 鼠标悬停时显示为手型 */
}

.mobile-toggle
{
    display: none;
}


/* 添加媒体查询以适应移动设备 */
@media (max-width: 1024px) {
    .section .contentStory h2 {
     margin: revert;
     margin-bottom: 0px;
    }

    .section {
        height: auto;
        padding: 45px;
    }

    .sectionAbout img {
        padding: 0px;
    }

    .sectionAbout {
        flex-direction: column;
        align-items: flex-start;
    }

    .storyContent,
    .contentStory {
        width: 100% !important;
    }

    .spotlight {
        padding: 30px 20px;
        /* 调整内边距 */
    }

    .services-grid {
        grid-template-columns: repeat(2,1fr);
        place-content: center;
    }

    .choose-container {
        padding-left: 20px;
        padding-right: 20px;
        display: flex;
        flex-wrap: wrap;
    }

    .containerClient {
        gap: 30px;
        justify-content: center;
    }

    .columnInGetInTouchRight,
    .columnInGetInTouchLeft {
        align-content: center;
        padding: 45px;
    }


      
      /* 左右列响应式 */
      .columnInGetInTouchLeft,
      .columnInGetInTouchRight {
        flex: 1;
        max-width: 50%;
        padding: 20px;
        box-sizing: border-box;
      }
      
      /* 标题左对齐 */
      .contactTitle {
        text-align: left;
        margin-bottom: 20px;
        padding-left: 0;
        font-size: 38px;
      }
      
      /* 表单样式 */
      .form {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
      }
      
      
      /* 响应式布局 */
      @media screen and (max-width: 768px) {
        .rowInGetInTouch {
          flex-direction: column;
        }
        
        .columnInGetInTouchLeft,
        .columnInGetInTouchRight {
          max-width: 100%;
          width: 100%;
        }
        
        .form {
          padding: 0;
        }
      }

    .contactTitle {
        padding-left: 0px;
    }

    .footer {
        padding: 45px;
    }

    .footer-item {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .mobile-toggle{
        display: flex;
        background: transparent;
        border: none;
        font-size: 24px;
        cursor: pointer;
        color: white; /* 设置图标颜色 */
        padding: 10px;
    }

    .mobile-sidebar.active {
        display: flex;
        /* 激活时显示导航栏 */
    }
    
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: 0;
        width: 250px;
        height: 100%;
        background-color: #333;
        color: white;
        transition: right 0.3s ease;
        z-index: 1001;
        flex-direction: column;
        padding: 20px;
        display: none;
      }

    .containerAbout {
        padding: 20px;
    }

    .section {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .storyContent,
    .contentStory {
        width: 100% !important;
        padding: 0px !important;
    }


    .services-grid {
        grid-template-columns: 1fr;
        place-content: center;
    }
    

    .sectionAbout img {
        width: 100%;
        padding: 0;
    }

    .content-client {
        flex-wrap: wrap-reverse;
    }

    .containerClient {
        flex: auto;
    }

    .form {
        align-items: center;
    }

    .form input,
    .form textarea {
        width: 90%;
        align-self: center;
    }

    .nav {
        display: flex;
        flex-direction: column;
        /* display: none; */
        /* 默认隐藏导航栏 */
    }

    .nav-toggle {
        display: block;
        /* 在移动设备上显示切换按钮 */
    }

    .rowInGetInTouch {
        display: block;
    }

    .footer-container {
        gap: 0px
    }

    .footer {
        padding: 10px
    }

    .service-item {
        display: block;
        text-align: center;
    }

    .service-label{
        padding:10px;
        width:auto;
        writing-mode: unset;
        text-align: center;
        transform: unset;
    }

    .textHeight{
        height: auto;
    }
}


@media (max-width: 479px) {
    .hero-text {
        font-size: 48px;
    }

    .choose-container {
      gap: 0px
    }

    .aboutTitle,
    .aboutText,
    .storyTitle,
    .service-item {
        width: auto;
    }

    .aboutTitle{
        margin-bottom: 0px;
    }

    .aboutText{
       padding: 15px 0px; 
    }
  

    .services-grid {
        grid-template-columns: 1fr;
        place-content: center;
    }

   

    .content-client {
        padding: 30px;
    }

    .footer {
        padding: 15px !important;
        flex-wrap: wrap;
    }

    .footer-container {
        gap: 10px !important;
        padding: 20px;
        flex-wrap: wrap;
        display: flex !important;
    }


    .footerLogo {
        width: 50px;
        height: 50px;
    }

    .rowInGetInTouch {
        padding: 0px;
        height: auto;
        flex-wrap: wrap;
    }

    .contactTitle {
        padding-left: 0px;
        text-align: center;
        font-size: 32px;
    }

    .columnInGetInTouchLeft {
        flex: auto;
        padding: 45px
    }

    .columnInGetInTouchRight {
        padding: 10px;
    }

    .header {
        padding: 20px 0px
    }

    .form button {
        align-self: center;
    }

  
}