/* =========================================================
   BACKYARD LANDSCAPE & POOL
   LUXURY POOL PAGE
   Theme ke font (Poppins) aur customizable colors ke saath.
   Colors Appearance > Customize > Theme Colors se change hote hain:
   --bl-primary   = Green  (default #18aecb)
   --bl-secondary = Water Blue (default #18aecb)
   ========================================================= */

.bp-pool-page {

    --deep: #444444;
    --dark: #1a1a1a;
    --text: #666666;
    --light: #f5fbfc;

    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--dark);
    font-family: 'Josefin Sans', sans-serif;
}

.bp-pool-page * {
    box-sizing: border-box;
}

.bp-pool-page img {
    display: block;
    width: 100%;
}

.bp-container {
    width: min(1200px, 92%);
    margin: auto;
}

/* =========================================================
   HERO
========================================================= */

.bp-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(90deg,
            rgba(17,148,175,.82) 0%,
            rgba(17,148,175,.52) 45%,
            rgba(17,148,175,.20) 100%),
        var(--bl-project-bg, url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=2200&q=90'))
        center/cover no-repeat;
}

.bp-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 180px;
    background: linear-gradient(transparent, #fff);
    pointer-events: none;
}

.bp-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 110px 0;
}

.bp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
    opacity: 0;
    animation: bpFadeUp .9s ease forwards .15s;
}

.bp-eyebrow:before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--bl-secondary, #18aecb);
}

.bp-hero h1 {
    margin: 0;
    color: #fff;
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(40px, 7vw, 76px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}

.bp-hero h1 .word {
    display: inline-block;
    margin-right: .16em;
    opacity: 0;
    transform: translateX(-45px);
    filter: blur(7px);
    animation: bpWordIn 1s cubic-bezier(.16,1,.3,1) forwards;
}

.bp-hero h1 .word:nth-child(1) { animation-delay: .35s }
.bp-hero h1 .word:nth-child(2) { animation-delay: .50s }
.bp-hero h1 .word:nth-child(3) { animation-delay: .65s }
.bp-hero h1 .word:nth-child(4) { animation-delay: .80s }

.bp-hero-sub {
    max-width: 650px;
    color: rgba(255,255,255,.88);
    font-size: 17px;
    line-height: 1.8;
    margin: 30px 0 35px;
    opacity: 0;
    transform: translateY(25px);
    animation: bpFadeUp .9s ease forwards 1.05s;
}

.bp-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: bpFadeUp .9s ease forwards 1.25s;
}

.bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 50px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: .35s ease;
}

.bp-btn-primary {
    color: #fff !important;
    background: var(--bl-secondary, #18aecb);
    box-shadow: 0 12px 30px rgba(24,174,203,.28);
}

.bp-btn-primary:hover {
    transform: translateY(-4px);
    background: var(--bl-secondary, #18aecb);
}

.bp-btn-outline {
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.45);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
}

.bp-btn-outline:hover {
    background: #fff;
    color: var(--deep) !important;
    transform: translateY(-4px);
}

/* =========================================================
   INTRO
========================================================= */

.bp-intro {
    padding: 125px 0 105px;
    background: #fff;
}

.bp-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.bp-label {
    display: block;
    color: var(--bl-secondary, #18aecb);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.bp-section-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.2;
    font-weight: 600;
    color: var(--deep);
    margin: 0 0 25px;
}

.bp-text {
    color: var(--text);
    font-size: 16px;
    line-height: 1.9;
    margin: 0 0 20px;
}

.bp-small-line {
    width: 60px;
    height: 2px;
    background: var(--bl-secondary, #18aecb);
    margin-top: 30px;
}

/* =========================================================
   LUXURY IMAGE
========================================================= */

.bp-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(4,42,54,.16);
}

.bp-image-frame img {
    height: 600px;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.22,.8,.3,1);
}

.bp-image-frame:hover img {
    transform: scale(1.055);
}

.bp-image-frame:after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 14px;
    pointer-events: none;
}

/* =========================================================
   SERVICE SECTION
========================================================= */

.bp-services {
    padding: 115px 0;
    background: var(--light);
}

.bp-heading-center {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.bp-heading-center .bp-section-title {
    margin-bottom: 18px;
}

.bp-heading-center .bp-text {
    margin: 0;
}

.bp-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.bp-card {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    border-radius: 18px;
    background: var(--deep);
    box-shadow: 0 15px 40px rgba(4,42,54,.08);
}

.bp-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.22,.8,.3,1);
}

.bp-card:hover img {
    transform: scale(1.08);
}

.bp-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(17,148,175,.90) 0%,
        rgba(17,148,175,.15) 65%,
        transparent 100%
    );
}

.bp-card-content {
    position: absolute;
    z-index: 2;
    left: 28px;
    right: 28px;
    bottom: 28px;
    color: #fff;
}

.bp-card-number {
    color: var(--bl-secondary, #18aecb);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.bp-card h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 9px;
}

.bp-card p {
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   SHOWCASE
========================================================= */

.bp-showcase {
    padding: 125px 0;
    background: #fff;
}

.bp-showcase-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 22px;
    margin-top: 55px;
}

.bp-showcase-left,
.bp-showcase-right {
    display: grid;
    gap: 22px;
}

.bp-showcase-left {
    grid-template-rows: 1fr 250px;
}

.bp-showcase-right {
    grid-template-rows: 250px 1fr;
}

.bp-show-img {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.bp-show-img img {
    height: 100%;
    object-fit: cover;
    transition: transform .4s cubic-bezier(.22,.8,.3,1);
}

.bp-show-img:hover img {
    transform: scale(1.06);
}

/* =========================================================
   STATS
========================================================= */

.bp-stats {
    padding: 80px 0;
    background:
        linear-gradient(120deg, rgba(17,148,175,.95), rgba(24,174,203,.85)),
        var(--bl-project-bg, url('https://images.unsplash.com/photo-1572331165267-854da2b10ccc?auto=format&fit=crop&w=2000&q=80'))
        center/cover;
}

.bp-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.bp-stat {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.bp-stat strong {
    display: block;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 44px;
    line-height: 1;
    color: #fff;
    font-weight: 700;
    margin-bottom: 12px;
}

.bp-stat span {
    color: rgba(255,255,255,.70);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* =========================================================
   PROCESS
========================================================= */

.bp-process {
    padding: 125px 0;
    background: #fff;
}

.bp-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.bp-step {
    padding: 35px;
    border: 1px solid rgba(24,174,203,.16);
    border-radius: 16px;
    background: #fff;
    transition: .4s ease;
}

.bp-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(4,42,54,.10);
    border-color: var(--bl-secondary, #18aecb);
}

.bp-step-num {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--bl-secondary, #18aecb);
    line-height: 1;
    margin-bottom: 22px;
}

.bp-step h3 {
    font-family: 'Josefin Sans', sans-serif;
    color: var(--deep);
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 12px;
}

.bp-step p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* =========================================================
   BOXED VIDEO
========================================================= */

.bp-video-section {
    padding: 20px 0 125px;
    background: #fff;
}

.bp-video-box {
    position: relative;
    max-width: 1200px;
    margin: auto;
    aspect-ratio: 16/9;
    border-radius: 24px;
    overflow: hidden;
    background: var(--deep);
    box-shadow:
        0 35px 90px rgba(4,42,54,.22),
        0 0 0 1px rgba(24,174,203,.12);
}

.bp-video-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.bp-video-box:hover img {
    transform: scale(1.035);
}

.bp-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(17,148,175,.30);
}

.bp-play {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.7);
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .4s ease;
}

.bp-play:before {
    content: "";
    margin-left: 5px;
    border-left: 18px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.bp-play:hover {
    transform: scale(1.12);
    background: var(--bl-secondary, #18aecb);
    border-color: var(--bl-secondary, #18aecb);
}

.bp-video-caption {
    position: absolute;
    left: 35px;
    bottom: 30px;
    z-index: 3;
    color: #fff;
}

.bp-video-caption span {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 7px;
    color: #9cecf8;
}

.bp-video-caption strong {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 24px;
    font-weight: 600;
}

/* =========================================================
   FINAL CTA
========================================================= */

.bp-cta {
    position: relative;
    padding: 115px 0;
    background:
        linear-gradient(100deg, rgba(17,148,175,.96), rgba(24,174,203,.78)),
        var(--bl-project-bg, url('https://images.unsplash.com/photo-1576013551627-0cc20b96c2a7?auto=format&fit=crop&w=2000&q=85'))
        center/cover;
    color: #fff;
    text-align: center;
}

.bp-cta-inner {
    max-width: 800px;
    margin: auto;
}

.bp-cta h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 22px;
}

.bp-cta p {
    color: rgba(255,255,255,.80);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto 30px;
    max-width: 650px;
}

/* =========================================================
   FLOATING BUTTONS
========================================================= */

.bp-floating {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bp-float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #fff !important;
    font-size: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.18);
    transition: .3s ease;
}

.bp-float-btn:hover {
    transform: scale(1.1);
}

.bp-whatsapp {
    background: #25D366;
}

.bp-call {
    background: var(--bl-secondary, #18aecb);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.bp-reveal {
    opacity: 0;
    transform: translateY(45px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.22,.8,.3,1);
}

.bp-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   KEYFRAMES
========================================================= */

@keyframes bpWordIn {
    0% { opacity: 0; transform: translateX(-45px); filter: blur(7px); }
    100% { opacity: 1; transform: translateX(0); filter: blur(0); }
}

@keyframes bpFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
    .bp-two-col { grid-template-columns: 1fr; gap: 50px; }
    .bp-service-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-process-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .bp-showcase-grid { grid-template-columns: 1fr; }
    .bp-showcase-left, .bp-showcase-right { grid-template-rows: 350px 250px; }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
    .bp-container { width: 90%; }
    .bp-hero { min-height: 760px; background-position: center; }
    .bp-hero-content { padding: 100px 0 130px; }
    .bp-eyebrow { font-size: 10px; letter-spacing: 2px; }
    .bp-hero h1 { font-size: 42px; line-height: 1.15; }
    .bp-hero h1 .word { margin-right: .12em; }
    .bp-hero-sub { font-size: 15px; line-height: 1.75; margin: 25px 0 30px; }
    .bp-buttons { flex-direction: column; align-items: flex-start; }
    .bp-btn { min-height: 50px; padding: 0 23px; }
    .bp-intro, .bp-services, .bp-showcase, .bp-process { padding: 80px 0; }
    .bp-section-title { font-size: 32px; }
    .bp-text { font-size: 15px; line-height: 1.8; }
    .bp-image-frame img { height: 430px; }
    .bp-service-grid { grid-template-columns: 1fr; gap: 18px; }
    .bp-card { min-height: 390px; }
    .bp-showcase-grid { gap: 18px; margin-top: 40px; }
    .bp-showcase-left, .bp-showcase-right { gap: 18px; grid-template-rows: 300px 220px; }
    .bp-show-img { border-radius: 16px; }
    .bp-stats { padding: 65px 0; }
    .bp-stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .bp-stat { padding: 18px 8px; }
    .bp-stat strong { font-size: 32px; }
    .bp-stat span { font-size: 10px; letter-spacing: 1px; }
    .bp-process-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; }
    .bp-step { padding: 28px; }
    .bp-video-section { padding: 0 0 80px; }
    .bp-video-box { width: 94%; aspect-ratio: 16/10; border-radius: 18px; }
    .bp-play { width: 70px; height: 70px; }
    .bp-play:before { border-left-width: 15px; border-top-width: 10px; border-bottom-width: 10px; }
    .bp-video-caption { left: 20px; bottom: 18px; }
    .bp-video-caption strong { font-size: 19px; }
    .bp-cta { padding: 85px 20px; }
    .bp-cta h2 { font-size: 36px; }
    .bp-cta p { font-size: 15px; }
    .bp-floating { right: 14px; bottom: 14px; }
    .bp-float-btn { width: 50px; height: 50px; font-size: 18px; }
}
