/* Hero Banner */
h2, h3 {
    font-family: 'soleto_light';
}
.hero {
    position: relative;
    height: 450px;
    background: url('../images/decking/banner.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    background: rgba(255,255,255,0.9);
    padding: 30px 80px;
    text-align: center;
    max-width: 800px;
}
.hero h1 {
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 5px 0;
    color: #000000;
    font-weight: 300;
}
.hero p {
    font-size: 18px;
    color: #000000;
    margin: 5px 0;
}
.hero-btn {
    background: #253C6B;
    color: white;
    padding: 8px 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin-top: 10px;
}

/* Contact Bar */
.contact-bar {
    background: #a09990;
    color: white;
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 16px 0;
    text-align: center;
}
.contact-bar div {
    display: flex;
    flex-direction: column;
}
.contact-bar a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.contact-bar span {
    font-size: 13px;
    opacity: 0.9;
}

/* About Section */
.about-section {
    display: flex;
    gap: 40px;
    padding: 60px 10%;
    justify-content: flex-end;
}

.about-text {
    max-width: 600px;
    margin-top: 20px;
}

.about-text h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin: 5px 0;
    color: #555;
}

.about-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 12px;
}
.about-img-placeholder {
    width: 400px;
    height: 400px;
    background: url('../images/decking/about-deck.jpg') center/cover no-repeat;
    flex-shrink: 0;
}

/* Brands Section */
.brands-section {
    background: #f8f8f8;
    padding: 60px 0;
    text-align: center;
    background: url('../images/decking/brands-section.jpg') center/cover no-repeat;
}

.brands-section-content {
    background: rgba(255, 255, 255, 0.8);
    padding: 20rpx 0;
    display: flex;
    flex-direction: column;
    justify-items: center;
}


.brands-section h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #4E4B48;
    font-weight: 500;
}
.brands-section .subtitle {
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}
.brands-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding: 20px 0;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.08);
}
.logo-item {
    width: 180px;
    height: 50px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.logo-timbertech { background-image: url('../images/decking/timbertech-logo.png'); }
.logo-trex { background-image: url('../images/decking/trex-logo.png'); }
.logo-azek { background-image: url('../images/decking/azek-logo.png'); }
.logo-fiberon { background-image: url('../images/decking/fiberon-logo.png'); }
.brands-bg-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    height: 80px;
    opacity: 0.2;
}
.brands-bg-grid div {
    background: #ddd;
}

/* Railings Section */
.railings-section {
    padding: 60px 10%;
    text-align: center;
}
.railings-section h2 {
    font-size: 32px;
    text-transform: uppercase;
    color: #000;
    margin: 5px 0 50px;
    font-weight: 500;
    font-family: 'soleto_light';
}
.railings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}
.railing-item {
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}
.railing-img {
    width: 100%;
    height: 180px;
    background-size: cover;
    background-position: center;
    margin-bottom: 8px;
}
.railing-img-1 { background-image: url('../images/decking/railing-1.jpg'); }
.railing-img-2 { background-image: url('../images/decking/railing-2.jpg'); }
.railing-img-3 { background-image: url('../images/decking/railing-3.jpg'); }
.railing-img-4 { background-image: url('../images/decking/railing-4.jpg'); }
.railing-item p {
    font-weight: bold;
    font-size: 18px;
    color: #4A3E2C;
    text-align: center;
    margin: 10px 0;
}

/* Budget Wood Section */
.budget-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.budget-img {
    height: 400px;
    background: url('../images/decking/wood-deck.jpg') center/cover no-repeat;
}
.budget-text {
    background: #1a3d7d;
    color: white;
    padding: 50px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url('../images/decking/budget-text.jpg') center/cover no-repeat;
}
.budget-text h3 {
    font-size: 18px;
    margin: 5px 0;
    text-transform: uppercase;
}

.budget-text h3:last-child {
    margin-bottom: 20px;
}

.budget-text p {
    font-size: 13px;
    margin: 0;
}

/* Structural Framing Section */
.structural-section {
    padding: 60px 10%;
    text-align: center;
}
.structural-section h2 {
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000000;
    font-family: 'soleto_light';
}
.structural-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.structural-img {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
}

/* Before & After Section */
.ba-section {
    background: #f8f8f8;
    padding: 60px 10%;
}
.ba-title-bar {
    background: #1a3d7d;
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 22px;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.ba-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 40px;
}
.ba-item {
    text-align: center;
}
.ba-img {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    margin-bottom: 8px;
}
.ba-label {
    background: #1a3d7d;
    color: white;
    padding: 4px 12px;
    font-size: 18px;
    display: inline-block;
    text-transform: uppercase;
}

.ba-full-layout {
    display: grid;
    grid-template-rows: auto auto;  /* 两行，高度自适应 */
    gap: 20px;  /* 行间距 */
}

/* 第一行：左图60%，右图40% */
.ba-col-left {
    display: grid;
    grid-template-columns: 60% 40%;  /* 左60% 右40% */
    gap: 10px;
    align-items: center;  /* 图片底部对齐 */
}

/* 第二行：左图40%，右图60% */
.ba-col-right {
    display: grid;
    grid-template-columns: 40% 60%;  /* 左40% 右60% */
    gap: 10px;
    align-items: center;  /* 图片底部对齐 */
}

.ba-row img {
    width: 100%;
    height: auto;
    display: block;
}