/*
Theme Name: Dalmatia Pool Care
Theme URI: https://dalmatiapoolcare.com
Author: Dalmatia Pool Care
Description: Custom theme for Dalmatia Pool Care — pool and garden maintenance, central Dalmatia.
Version: 2.0
Text Domain: dpc
*/

  :root{
    --deep:#14171C; --deep-2:#0A0C0F; --pool:#3D6BFF; --pool-light:#7C9BFF;
    --stone:#F3F4F6; --stone-dim:#E4E6EA; --sand:#9AA0A8; --ink:#1A1D21; --white:#FFFFFF;
    --fb:#1877F2; --wa:#25D366; --radius:18px; --radius-sm:12px;
    --grad-primary: linear-gradient(135deg, #4C7BFF 0%, #2648C9 100%);
    --grad-dark: linear-gradient(160deg, #14171C 0%, #1B2333 55%, #23304A 100%);
    --grad-card: linear-gradient(160deg, rgba(61,107,255,0.06), rgba(61,107,255,0) 60%);
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  body{font-family:'Public Sans',sans-serif; color:var(--ink); background:var(--stone); line-height:1.5; -webkit-font-smoothing:antialiased; overflow-x:hidden;}
  h1,h2,h3{font-family:'Fraunces',serif; font-weight:600; letter-spacing:-0.01em;}
  .mono{font-family:'IBM Plex Mono',monospace;}
  a{color:inherit; text-decoration:none;}
  img{max-width:100%; display:block;}
  .container{max-width:1180px; margin:0 auto; padding:0 28px;}
  :focus-visible{outline:2px solid var(--pool); outline-offset:3px;}

  header{position:sticky; top:0; z-index:100; background:rgba(245,241,232,0.9); backdrop-filter:blur(8px); border-bottom:1px solid var(--stone-dim);}
  nav{display:flex; align-items:center; justify-content:space-between; padding:18px 28px; max-width:1180px; margin:0 auto;}
  .logo{font-family:'Fraunces',serif; font-size:1.45rem; font-weight:700; color:var(--deep);}
  .logo span{color:var(--pool);}
  .nav-links{display:none; gap:32px; font-size:0.95rem; font-weight:500;}
  .nav-links a:hover{color:var(--pool);}
  @media(min-width:900px){ .nav-links{display:flex;} }
  #lang-toggle{font-family:'IBM Plex Mono',monospace; font-size:0.8rem; border:1px solid var(--deep); background:none; padding:6px 14px; cursor:pointer; color:var(--deep); border-radius:999px;}
  #lang-toggle:hover{background:var(--deep); color:var(--stone);}

  /* ===== PARALLAX HERO ===== */
  .hero{background:var(--grad-dark); color:var(--stone); position:relative; overflow:hidden; padding:90px 0 0; min-height:88vh; display:flex; align-items:center;}
  .parallax-blob{position:absolute; border-radius:50%; filter:blur(60px); pointer-events:none;}
  .blob-1{width:520px; height:520px; background:radial-gradient(circle, rgba(47,168,184,0.35), transparent 70%); top:-120px; right:-100px;}
  .blob-2{width:420px; height:420px; background:radial-gradient(circle, rgba(111,203,214,0.2), transparent 70%); bottom:-160px; left:-80px;}
  .hero-inner{display:grid; grid-template-columns:1fr; gap:48px; position:relative; z-index:1; padding-bottom:60px; width:100%;}
  @media(min-width:960px){ .hero-inner{grid-template-columns:1.1fr 0.9fr; align-items:center;} }
  .eyebrow{font-family:'IBM Plex Mono',monospace; font-size:0.78rem; letter-spacing:0.12em; text-transform:uppercase; color:var(--pool-light); margin-bottom:18px;}
  .hero h1{font-size:clamp(2.3rem,5vw,3.4rem); line-height:1.05; margin-bottom:22px; max-width:14ch;}
  .hero p.lead{font-size:1.1rem; color:var(--stone-dim); max-width:44ch; margin-bottom:32px;}
  .hero-actions{display:flex; gap:14px; flex-wrap:wrap;}
  .btn{display:inline-flex; align-items:center; gap:8px; padding:14px 28px; font-weight:600; font-size:0.95rem; border:1px solid transparent; cursor:pointer; border-radius:999px; transition:transform .15s ease, box-shadow .15s ease, background .15s ease;}
  .btn-primary{background:var(--grad-primary); color:#fff; box-shadow:0 10px 24px -10px rgba(61,107,255,0.6);}
  .btn-primary:hover{transform:translateY(-2px); box-shadow:0 14px 28px -10px rgba(61,107,255,0.75);}
  .btn-ghost{border-color:rgba(245,241,232,0.3); color:var(--stone); background:rgba(255,255,255,0.04);}
  .btn-ghost:hover{border-color:var(--stone); transform:translateY(-2px);}

  .report-card{background:linear-gradient(160deg, var(--white), #F6F8FF); color:var(--ink); border-radius:calc(var(--radius) + 6px); padding:24px; box-shadow:0 30px 70px -20px rgba(0,0,0,0.55); max-width:360px; margin:0 auto; transition:transform .08s linear; border:1px solid rgba(61,107,255,0.08);}
  .report-top{display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid var(--stone-dim); padding-bottom:12px; margin-bottom:14px;}
  .report-top .who{font-weight:700; font-size:0.9rem;}
  .report-top .when{font-family:'IBM Plex Mono',monospace; font-size:0.72rem; color:#7a8b8f;}
  .report-photos{display:grid; grid-template-columns:1fr 1fr; gap:8px; margin-bottom:14px;}
  .report-photos div{aspect-ratio:4/3; background:var(--grad-primary); border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:0.65rem; color:rgba(255,255,255,0.9); padding:6px; text-align:center;}
  .report-stats{display:flex; gap:18px; margin-bottom:14px;}
  .stat .val{font-family:'IBM Plex Mono',monospace; font-size:1.3rem; font-weight:500; color:var(--deep);}
  .stat .lbl{font-family:'IBM Plex Mono',monospace; font-size:0.65rem; color:#7a8b8f; text-transform:uppercase;}
  .report-tasks{list-style:none; font-size:0.85rem;}
  .report-tasks li{padding:4px 0; display:flex; gap:8px;}
  .report-tasks li::before{content:"✓"; color:var(--pool); font-weight:700;}

  .scroll-cue{position:absolute; bottom:24px; left:50%; transform:translateX(-50%); font-family:'IBM Plex Mono',monospace; font-size:0.7rem; color:var(--pool-light); letter-spacing:0.1em; display:flex; flex-direction:column; align-items:center; gap:6px; animation:bob 2s ease-in-out infinite;}
  .scroll-cue::after{content:""; width:1px; height:26px; background:var(--pool-light);}
  @keyframes bob{0%,100%{transform:translate(-50%,0);} 50%{transform:translate(-50%,8px);}}

  /* ===== SCROLL REVEAL ===== */
  .reveal{opacity:0; transform:translateY(28px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}

  .trust{background:var(--stone); border-bottom:1px solid var(--stone-dim); padding:56px 0;}
  .trust-grid{display:grid; gap:20px; grid-template-columns:1fr;}
  @media(min-width:800px){ .trust-grid{grid-template-columns:repeat(3,1fr);} }
  .trust-item{background:linear-gradient(160deg, var(--white), var(--stone)); border:1px solid var(--stone-dim); border-radius:var(--radius); padding:24px; box-shadow:0 12px 28px -16px rgba(20,23,28,0.18); transition:transform .2s ease, box-shadow .2s ease;}
  .trust-item:hover{transform:translateY(-4px); box-shadow:0 18px 36px -16px rgba(20,23,28,0.25);}
  .trust-item .num{font-family:'IBM Plex Mono',monospace; font-size:0.75rem; color:var(--pool); margin-bottom:8px; display:block;}
  .trust-item h3{font-size:1.15rem; margin-bottom:8px; color:var(--deep);}
  .trust-item p{font-size:0.92rem; color:#4A5058;}

  section{padding:88px 0;}
  .section-head{max-width:640px; margin-bottom:48px;}
  .section-head .eyebrow{color:var(--pool);}
  .section-head h2{font-size:clamp(1.8rem,3.4vw,2.4rem); color:var(--deep);}
  .section-head p{color:#3e4e52; margin-top:12px; font-size:1.02rem;}

  .services-grid{display:grid; gap:18px; grid-template-columns:1fr;}
  @media(min-width:700px){ .services-grid{grid-template-columns:1fr 1fr;} }
  @media(min-width:1050px){ .services-grid{grid-template-columns:repeat(3,1fr);} }
  .service{background:linear-gradient(160deg, var(--white), var(--stone)); border:1px solid var(--stone-dim); border-radius:var(--radius); padding:28px 26px; box-shadow:0 12px 26px -18px rgba(20,23,28,0.18); transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;}
  .service:hover{transform:translateY(-4px); border-color:rgba(61,107,255,0.35); box-shadow:0 18px 34px -16px rgba(20,23,28,0.22);}
  .service h3{font-size:1.08rem; color:var(--deep); margin-bottom:8px;}
  .service p{font-size:0.9rem; color:#4A5058;}

  .pricing-wrap{background:var(--deep); color:var(--stone);}
  .pricing-wrap .section-head h2{color:var(--stone);}
  .pricing-wrap .section-head p{color:var(--stone-dim);}
  .pricing-wrap .eyebrow{color:var(--pool-light);}
  .pricing-grid{display:grid; gap:20px; grid-template-columns:1fr;}
  @media(min-width:850px){ .pricing-grid{grid-template-columns:repeat(3,1fr);} }
  .plan{background:linear-gradient(160deg, #1B1F26, var(--deep-2)); border:1px solid rgba(245,241,232,0.12); border-radius:var(--radius); padding:32px 26px; display:flex; flex-direction:column; transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;}
  .plan:hover{transform:translateY(-6px); border-color:var(--pool); box-shadow:0 20px 40px -20px rgba(61,107,255,0.35);}
  .plan.featured{border-color:var(--pool); position:relative; background:linear-gradient(160deg, #202A42, var(--deep-2));}
  .plan.featured::before{content:attr(data-badge); position:absolute; top:-13px; left:26px; background:var(--grad-primary); color:#fff; font-family:'IBM Plex Mono',monospace; font-size:0.68rem; text-transform:uppercase; padding:5px 12px; border-radius:999px;}
  .plan h3{font-size:1.3rem; margin-bottom:6px;}
  .plan .tagline{font-size:0.85rem; color:var(--pool-light); margin-bottom:20px;}
  .plan ul{list-style:none; margin-bottom:24px; flex-grow:1;}
  .plan li{padding:7px 0; font-size:0.9rem; border-top:1px solid rgba(245,241,232,0.08); display:flex; gap:8px;}
  .plan li:first-child{border-top:none;}
  .plan li::before{content:"—"; color:var(--pool);}
  .plan .cta{text-align:center; padding:12px; border:1px solid var(--stone); font-weight:600; font-size:0.9rem; border-radius:999px; transition:background .2s ease, box-shadow .2s ease;}
  .plan.featured .cta{background:var(--grad-primary); border-color:transparent; color:#fff; box-shadow:0 10px 22px -10px rgba(61,107,255,0.6);}
  .plan .cta:hover{background:var(--grad-primary); border-color:transparent; color:#fff;}

  .area{display:grid; gap:40px; grid-template-columns:1fr;}
  @media(min-width:900px){ .area{grid-template-columns:1fr 1fr; align-items:center;} }
  .area-map{background:var(--stone-dim); aspect-ratio:4/3; border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono',monospace; font-size:0.78rem; color:#6B7178; padding:20px; text-align:center; border:1px dashed var(--sand);}
  .area-list{list-style:none;}
  .area-list li{padding:14px 0; border-bottom:1px solid var(--stone-dim); display:flex; justify-content:space-between; font-size:0.98rem;}
  .area-list li .place{font-weight:600; color:var(--deep);}

  .steps{display:grid; gap:20px; grid-template-columns:1fr;}
  @media(min-width:800px){ .steps{grid-template-columns:repeat(3,1fr);} }
  .step{background:linear-gradient(160deg, var(--white), var(--stone)); border:1px solid var(--stone-dim); border-radius:var(--radius); padding:24px;}
  .step .n{font-family:'IBM Plex Mono',monospace; font-size:0.8rem; color:var(--pool); margin-bottom:10px;}
  .step h3{font-size:1.1rem; color:var(--deep); margin-bottom:8px;}
  .step p{font-size:0.9rem; color:#4A5058;}

  /* ===== CONNECT (replaces contact form) ===== */
  .connect{background:var(--stone-dim); text-align:center;}
  .connect .section-head{margin:0 auto 40px; text-align:center;}
  .connect-buttons{display:flex; justify-content:center; gap:20px; flex-wrap:wrap;}
  .connect-btn{display:inline-flex; align-items:center; gap:12px; padding:18px 32px; font-weight:600; font-size:1.05rem; color:#fff; border-radius:999px; transition:transform .15s ease, box-shadow .15s ease;}
  .connect-btn:hover{transform:translateY(-3px); box-shadow:0 14px 28px -10px rgba(0,0,0,0.35);}
  .connect-btn.wa{background:var(--wa);}
  .connect-btn.fb{background:var(--fb);}
  .connect-btn svg{width:22px; height:22px; fill:currentColor;}
  .connect-note{margin-top:24px; font-size:0.9rem; color:#3e4e52;}

  /* Floating WhatsApp button */
  .float-wa{position:fixed; bottom:22px; right:22px; width:58px; height:58px; border-radius:50%; background:var(--wa); display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,0.25); z-index:200; transition:transform .15s ease;}
  .float-wa:hover{transform:scale(1.08);}
  .float-wa svg{width:28px; height:28px; fill:#fff;}

  footer{background:var(--deep-2); color:var(--stone-dim); padding:36px 0; font-size:0.85rem;}
  .footer-inner{display:flex; flex-wrap:wrap; justify-content:space-between; gap:16px; align-items:center;}
  .footer-inner .logo{color:var(--stone);}
  .footer-social{display:flex; gap:14px;}
  .footer-social a{width:34px; height:34px; border:1px solid rgba(245,241,232,0.25); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:border-color .2s ease, background .2s ease;}
  .footer-social a:hover{border-color:var(--pool); background:var(--pool);}
  .footer-social svg{width:16px; height:16px; fill:var(--stone-dim);}

  .placeholder-note{background:#fff8e1; border:1px solid #B4623F; color:#6b3f22; font-family:'IBM Plex Mono',monospace; font-size:0.68rem; padding:4px 10px; border-radius:999px; display:inline-block;}

  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{transition:none !important; animation:none !important;}
    .reveal{opacity:1; transform:none;}
  }

.page-content{padding:80px 0; max-width:760px; margin:0 auto;}
.page-content h1{color:var(--deep); font-size:2.2rem; margin-bottom:20px; font-family:'Fraunces',serif;}
.page-content p{margin-bottom:16px; font-size:1.02rem; color:#4A5058;}
