yintai-company-home/src/pages/Business/CommercialGroup.module.css

303 lines
4.8 KiB
CSS

/* Overview Section */
.overview {
background: #f0f2f4;
/* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23e8eaed' fill-opacity='0.5' d='M0 50 Q 25 30 50 50 T 100 50 L 100 100 L 0 100 Z'/%3E%3C/svg%3E"); */
padding: 6.25rem 16.25rem;
}
.overviewInner {
margin: 0 auto;
}
.overviewTitle {
font-size: 2.5rem;
font-weight: 700;
color: #222;
margin: 0 0 1.5rem;
}
.overviewDesc {
font-size: 1.125rem;
line-height: 1.8;
color: #222;
margin: 0 0 2.5rem;
max-width: 100%;
}
/* Two-column Section */
.twoColSection {
/* display: flex; */
align-items: stretch;
min-height: 28rem;
padding: 6.25rem 0 9.375rem;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.twoColSection.reverse {
flex-direction: row-reverse;
}
.twoColSectionTabs {
height: 4.125rem;
display: flex;
flex-direction: row;
justify-content: center;
gap: 8.125rem;
border-bottom: 1px solid #D5D8DC;
margin: 0 16.25rem;
margin-bottom: 3.75rem;
}
.twoColSectionTab {
cursor: pointer;
font-weight: 500;
font-size: 24px;
color: #14355C;
line-height: 34px;
}
.twoColSectionTab.active {
border-bottom: 2px solid #14355C;
}
.twoColSectionContent {
display: grid;
grid-template-columns: 1fr 1fr;
}
.twoColImage {
min-width: 0;
background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
display: flex;
align-items: center;
justify-content: center;
aspect-ratio: 4/3;
}
.twoColImage img {
width: 100%;
height: 100%;
object-fit: cover;
}
.twoColImage .placeholder {
width: 100%;
height: 100%;
min-height: 0;
}
.twoColText {
padding: 100px 260px 150px 80px;
background: #F0F2F4;
}
.twoColTitle {
font-size: 2.5rem;
font-weight: 700;
color: #222;
margin: 0 0 1.5rem;
}
.twoColDesc {
font-size: 1.125rem;
line-height: 1.8;
color: #222;
margin: 0 0 1rem;
}
.twoColDesc + .twoColDesc {
margin-top: 0;
}
.btnPrimary {
margin-top: 6.25rem;
display: inline-block;
width: 104px;
height: 38px;
border-radius: 0px 0px 0px 0px;
border: 1px solid #333333;
font-size: 16px;
color: #333333;
line-height: 38px;
text-align: center;
cursor: pointer;
}
.btnPrimary:hover {
background: #0f2847;
color: #fff;
}
/* Features Section */
.featuresHero {
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 100px 260px;
}
.featuresHeroContent {
height: 690px;
width: 100%;
color: #FFFFFF;
}
.featuresHeroTabs {
display: flex;
flex-direction: row;
justify-content: center;
gap: 200px;
border-top: 1px solid rgba(255,255,255,0.5);
}
.featuresHeroTab {
font-weight: 500;
font-size: 20px;
color: #FFFFFF;
line-height: 60px;
height: 60px;
cursor: pointer;
}
.featuresHeroTab.active {
border-top: 2px solid #FFFFFF;
}
.propertyServices {
height: 100vh;
color: #fff;
padding: 0 260px;
}
.propertyServicesContent {
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.propertyServicesTitle {
font-weight: 700;
font-size: 40px;
color: #FFFFFF;
line-height: 50px;
}
.propertyServicesSubtitle {
font-weight: 500;
font-size: 18px;
color: #FFFFFF;
line-height: 26px;
margin-top: 20px;
}
.propertyServicesBtn {
width: 104px;
height: 38px;
line-height: 38px;
text-align: center;
border-radius: 0px 0px 0px 0px;
border: 1px solid #FFFFFF;
margin-top: 100px;
}
.propertyServicesBtn:hover {
background: #14355C;
border-color: #14355C;
color: #FFFFFF;
}
.placeholder {
width: 100%;
height: 100%;
min-height: 16rem;
background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
display: flex;
align-items: center;
justify-content: center;
color: #999;
font-size: 0.875rem;
}
/* Responsive */
@media (max-width: 1024px) {
.overview {
padding: 3rem 2rem;
}
.statsRow {
gap: 2rem;
}
.twoColText {
padding: 2rem;
}
.featuresGrid {
grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.overview {
padding: 2rem 1rem;
}
.overviewTitle {
font-size: 1.875rem;
}
.statNum {
font-size: 1.875rem;
}
.statsRow {
flex-direction: column;
gap: 1.5rem;
}
.twoColSection {
flex-direction: column;
}
.twoColSection.reverse {
flex-direction: column;
}
.twoColImage {
aspect-ratio: 16/9;
min-height: 12rem;
}
.twoColText {
padding: 1.5rem 1rem;
}
.twoColTitle {
font-size: 1.875rem;
}
.featuresHero {
min-height: 14rem;
}
.featuresHeroTitle {
font-size: 1.875rem;
}
.featureBlock {
min-height: 18rem;
padding: 1.5rem;
}
.featureBlockTitle {
font-size: 1.875rem;
}
}