/* Theme Name: Precision Replica */
body { font-family: 'Open Sans', sans-serif; color: #545454; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { font-family: 'Noto Sans', sans-serif; color: #262626; font-weight: 700; margin-top: 0; }
a { text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.btn { display: inline-block; padding: 15px 30px; background: #23A3EA; color: #fff; border-radius: 4px; font-weight: bold; }
.text-center { text-align: center; }

/* Home Page Scoped CSS */
.hero-sec { position: relative; overflow: hidden; padding: 150px 0 100px; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-sec .parallax-layer { position: absolute; left: 0; width: 100%; top: 0; height: 100%; background: url('/wp-content/uploads/2026/08/136656301_389474398711633_7360875835529310350_n2-7454852.jpg') center/cover no-repeat; will-change: transform; z-index: 0; }
.hero-sec:before { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.45); z-index: 1; }
.hero-sec img { position: relative; z-index: 10; max-width: 460px; }
.hero-badge { position: relative; z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.hero-badge .badge-frame { border: none; padding: 0; background: none; }
.hero-badge img { max-width: 460px; width: 85%; margin: 0; }
.curve-bottom { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; transform: rotate(180deg); z-index: 5; }
.curve-bottom svg { display: block; width: calc(100% + 1.3px); height: 50px; }
.curve-bottom .shape-fill { fill: #FFFFFF; }

.text-sec { background: #fff; padding: 60px 20px; text-align: center; max-width: 800px; margin: 0 auto; }
.text-sec h5 { color: #23A3EA; margin-bottom: 15px; }
.text-sec h2 { font-size: 32px; margin-bottom: 20px; }

/* The dark middle section that overlaps */
.mid-sec { background: #111; text-align: center; padding: 220px 0 250px; position: relative; overflow: hidden; }
.mid-sec .parallax-layer { position: absolute; left: 0; width: 100%; top: 0; height: 100%; background: url('/wp-content/uploads/2026/08/j6ldt3pl-7450901.jpg') center/cover no-repeat; will-change: transform; z-index: 0; }
.mid-sec:before { content:''; position:absolute; inset:0; background: rgba(0,0,0,0.1); z-index: 1; }
.mid-sec img { max-width: 300px; position: relative; z-index: 10; }
.mid-curve { position: absolute; bottom: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 5; }
.mid-curve svg { display: block; width: calc(100% + 1.3px); height: 50px; }
.mid-curve .shape-fill { fill: #FFFFFF; }

.info-cards { max-width: 1000px; margin: -150px auto 80px; position: relative; z-index: 20; background: #fff; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.15); display: flex; }
.info-col { flex: 1; min-width: 250px; padding: 40px 30px; text-align: center; border-right: 1px solid #eee; }
.info-col:last-child { border: none; }
.info-icon { font-size: 30px; color: #23A3EA; margin-bottom: 15px; }
.info-col h4 { margin-bottom: 10px; font-size: 20px; }

.services-sec { max-width: 1100px; margin: 0 auto 80px; display: flex; justify-content: space-between; gap: 30px; padding: 0 20px; }
.srv-card { flex: 1; min-width: 300px; background: #333; position: relative; border: 10px solid #eee; overflow: hidden; box-sizing: border-box; }
.srv-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.5; transition: opacity 0.3s; }
.srv-content { position: relative; z-index: 2; padding: 80px 30px; text-align: center; color: #fff; }
.srv-card:hover .srv-bg { opacity: 0.7; }
.srv-card:nth-child(2) { transform: translateY(-40px); }
.srv-content h3 { color: #fff; font-size: 26px; margin-bottom: 15px; }
.srv-content p { margin-bottom: 25px; }
.srv-btn { display: inline-block; padding: 10px 25px; background: #23A3EA; color: #fff; font-weight: bold; }

.gallery-sec { text-align: center; padding: 60px 20px; }
.gallery-grid { display: flex; gap: 15px; max-width: 1100px; margin: 40px auto; justify-content: center; }
.gallery-grid img { width: 32%; object-fit: cover; aspect-ratio: 1; }

.carousel { position:relative; max-width:1100px; margin:40px auto 0; overflow:hidden; padding: 0 55px; }
.carousel-viewport { overflow:hidden; }
.carousel-track { display:flex; gap:15px; transition: transform 0.45s ease; }
.carousel-slide { flex: 0 0 calc(33.333% - 10px); }
.carousel-slide img { width:100%; height:280px; object-fit:cover; display:block; border-radius: 4px; }
.carousel-btn { position:absolute; top:50%; transform:translateY(-50%); background:#23A3EA; color:#fff; border:none; width:42px; height:42px; border-radius:50%; cursor:pointer; font-size:18px; z-index:5; line-height:1; }
.carousel-btn:hover { background:#1c86c4; }
.carousel-prev { left:2px; }
.carousel-next { right:2px; }
.carousel-dots { display:flex; justify-content:center; gap:8px; margin-top:24px; flex-wrap:wrap; }
.carousel-dot { width:10px; height:10px; border-radius:50%; background:#dcd9d9; cursor:pointer; border:none; padding:0; }
.carousel-dot.active { background:#23A3EA; }
@media(max-width:999px){ .carousel-slide{ flex:0 0 calc(50% - 8px);} }
@media(max-width:699px){ .carousel-slide{ flex:0 0 100%;} .carousel{ padding:0 45px; } }

.reviews-sec { background: #f4f7f6; padding: 80px 20px; text-align: center; position: relative; }
.rev-curve { position: absolute; top: -1px; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 5; }
.rev-curve svg { display: block; width: calc(100% + 1.3px); height: 50px; }
.rev-curve .shape-fill { fill: #FFFFFF; }
.reviews-box { background: #fff; max-width: 800px; margin: 40px auto; padding: 40px; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }

.pre-footer { display: flex; }
.pf-left { flex: 1; background: #f4f7f6; }
.pf-right { flex: 1; background: #23A3EA; color: #fff; padding: 80px 60px; text-align: center; }
.pf-right h2 { color: #fff; margin-bottom: 20px; }
.pf-btn { display: inline-block; padding: 15px 30px; background: #fff; color: #23A3EA; font-weight: bold; margin-top: 20px; }

@media(max-width: 768px) {
    .info-cards { flex-direction: column; }
    .services-sec { flex-direction: column; }
    .srv-card:nth-child(2) { transform: translateY(0); }
    .pre-footer { flex-direction: column; }
    .info-col { border-right: none; border-bottom: 1px solid #eee; }
}
