/*
Theme Name: Dream Digit
Theme URI: https://yourwebsite.com
Author: Hemant Janjarya
Author URI: https://yourwebsite.com
Description: Dream Digit Custom WordPress Theme
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dream-digit
Tags: custom-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
    --cream: #F6F1E9;
    --cream-dim: #EEE7D9;
    --ink: #202B22;
    --ink-soft: #4A5347;
    --sage: #6B7F5E;
    --terracotta: #B5502D;
    --terracotta-dark: #8C3D22;
    --line: #DED6C4;
    --radius: 3px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter',sans-serif;
    line-height: 1.6;
}


*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;background:var(--cream);color:var(--ink);
  font-family:'Inter',sans-serif;line-height:1.6;
}
h1,h2,h3,.display{font-family:'Fraunces',serif;font-weight:600;letter-spacing:-0.01em;margin:0;}
.mono{font-family:'IBM Plex Mono',monospace;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

/* Header */
header.site{position:sticky;top:0;z-index:50;background:rgba(246,241,233,.94);backdrop-filter:blur(6px);border-bottom:1px solid var(--line);}
header.site .wrap{display:flex;align-items:center;justify-content:space-between;height:80px;}
.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:600;font-family:'Fraunces',serif;}
.brand .mark{width:28px;height:28px;border:1.6px solid var(--ink);border-radius:50%;position:relative;flex-shrink:0;}
.brand .mark::before{content:'';position:absolute;top:8px;left:6px;width:16px;height:12px;border:1.6px solid var(--terracotta);border-bottom:none;border-radius:4px 4px 0 0;}
nav.main{display:flex;gap:34px;}
nav.main a{font-size:14px;font-weight:500;color:var(--ink-soft);border-bottom:2px solid transparent;padding:6px 0;transition:.15s;}
nav.main a:hover{color:var(--ink);border-color:var(--terracotta);}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;font-size:14px;font-weight:600;border-radius:var(--radius);border:1px solid var(--ink);transition:.15s;}
.btn-primary{background:var(--ink);color:var(--cream);}
.btn-primary:hover{background:var(--terracotta-dark);border-color:var(--terracotta-dark);}
.btn-ghost{background:transparent;}
.btn-ghost:hover{background:var(--ink);color:var(--cream);}

/* Hero */
.hero{padding:80px 0 0;position:relative;}
.hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;gap:56px;align-items:center;}
.eyebrow{font-family:'IBM Plex Mono',monospace;font-size:12.5px;color:var(--terracotta-dark);letter-spacing:.06em;display:flex;align-items:center;gap:10px;margin-bottom:18px;}
.eyebrow::before{content:'';width:8px;height:8px;background:var(--sage);border-radius:50%;}
.hero h1{font-size:54px;line-height:1.05;max-width:560px;}
.hero p.lead{font-size:17px;color:var(--ink-soft);max-width:460px;margin:22px 0 30px;}
.hero .cta-row{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:40px;}

/* Search bar */
.search-bar{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:8px;display:flex;gap:8px;box-shadow:0 12px 30px -18px rgba(32,43,34,.3);}
.search-bar select,.search-bar input{border:none;background:transparent;font-family:inherit;font-size:14px;padding:10px 12px;color:var(--ink);flex:1;min-width:0;}
.search-bar select:focus,.search-bar input:focus{outline:none;}
.search-bar .btn{padding:12px 18px;}

/* Hero illustration */
.plot-illustration{position:relative;}
.plot-illustration svg{width:100%;height:auto;}

/* Stat strip */
.stat-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:36px 0;margin-top:60px;}
.stat-strip .wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.stat{border-left:2px solid var(--terracotta);padding-left:16px;}
.stat .val{font-family:'Fraunces',serif;font-size:28px;font-weight:600;}
.stat .lbl{font-size:12.5px;color:var(--ink-soft);margin-top:4px;}

section{padding:92px 0;}
.section-head{max-width:620px;margin-bottom:52px;}
.section-head h2{font-size:36px;line-height:1.15;}
.section-head p{color:var(--ink-soft);margin-top:14px;font-size:16px;}
.section-head-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:52px;gap:24px;}

/* Listings */
.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.listing-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;transition:transform .18s, box-shadow .18s;}
.listing-card:hover{transform:translateY(-4px);box-shadow:0 20px 34px -22px rgba(32,43,34,.35);}
.listing-media{background:var(--cream-dim);padding:28px;display:flex;align-items:center;justify-content:center;position:relative;border-bottom:1px solid var(--line);}
.listing-media img{width:64px;height:64px;}
.listing-tag{position:absolute;top:14px;left:14px;background:var(--sage);color:#fff;font-size:11px;font-weight:600;padding:4px 9px;border-radius:2px;letter-spacing:.03em;}
.listing-body{padding:22px;}
.listing-price{font-family:'IBM Plex Mono',monospace;font-size:13.5px;color:var(--terracotta-dark);margin-bottom:8px;}
.listing-body h3{font-size:19px;margin-bottom:6px;}
.listing-loc{font-size:13.5px;color:var(--ink-soft);margin-bottom:16px;}
.listing-specs{display:flex;gap:14px;font-size:13px;color:var(--ink-soft);border-top:1px solid var(--line);padding-top:14px;font-family:'IBM Plex Mono',monospace;}

/* Why us */
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;}
.feature{padding:0;}
.feature .num{font-family:'IBM Plex Mono',monospace;color:var(--terracotta);font-size:13px;}
.feature h3{font-size:19px;margin:12px 0 8px;}
.feature p{color:var(--ink-soft);font-size:14.5px;margin:0;}

/* Process rail */
.process{display:grid;grid-template-columns:repeat(4,1fr);position:relative;}
.process::before{content:'';position:absolute;top:19px;left:0;right:0;height:1px;background:var(--line);}
.proc-step{position:relative;padding-right:24px;}
.proc-step .dot{width:38px;height:38px;border-radius:50%;background:var(--cream);border:1.6px solid var(--ink);display:flex;align-items:center;justify-content:center;font-family:'IBM Plex Mono',monospace;font-size:13px;margin-bottom:22px;position:relative;z-index:2;}
.proc-step h4{font-size:16px;margin-bottom:8px;font-family:'Fraunces',serif;}
.proc-step p{font-size:14px;color:var(--ink-soft);margin:0;}

/* Testimonials */
.testi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;}
.testi-card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:26px;}
.testi-card p{font-size:15px;color:var(--ink-soft);margin:0 0 18px;font-style:italic;}
.testi-name{font-size:14px;font-weight:600;}
.testi-role{font-size:12.5px;color:var(--ink-soft);font-family:'IBM Plex Mono',monospace;}

/* Contact */
.contact-block{background:var(--ink);color:var(--cream);border-radius:6px;padding:56px;display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.contact-block h2{color:var(--cream);font-size:32px;margin-bottom:16px;}
.contact-block p{color:#C9CFC4;font-size:15px;max-width:400px;}
.contact-block form{display:flex;flex-direction:column;gap:14px;}
.contact-block input,.contact-block textarea{background:#2B372C;border:1px solid #40503F;color:var(--cream);padding:12px 14px;border-radius:2px;font-family:inherit;font-size:14.5px;}
.contact-block input::placeholder,.contact-block textarea::placeholder{color:#8B9787;}
.contact-block .btn-primary{background:var(--terracotta);border-color:var(--terracotta);color:#fff;justify-content:center;}
.contact-block .btn-primary:hover{background:var(--terracotta-dark);border-color:var(--terracotta-dark);}

/* Footer */
footer{border-top:1px solid var(--line);padding:52px 0 30px;background:var(--cream-dim);}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;margin-bottom:40px;}
footer h5{font-size:13px;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-soft);margin-bottom:16px;}
footer a{display:block;font-size:14.5px;color:var(--ink-soft);margin-bottom:10px;}
footer a:hover{color:var(--ink);}
.foot-bottom{border-top:1px solid var(--line);padding-top:22px;display:flex;justify-content:space-between;font-size:13px;color:var(--ink-soft);font-family:'IBM Plex Mono',monospace;}

@media (max-width:900px){
  .hero .wrap{grid-template-columns:1fr;}
  .hero h1{font-size:38px;}
  .stat-strip .wrap{grid-template-columns:repeat(2,1fr);}
  .listing-grid,.feature-grid,.testi-grid{grid-template-columns:1fr;}
  .process{grid-template-columns:1fr;}
  .process::before{display:none;}
  .contact-block{grid-template-columns:1fr;padding:32px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .search-bar{flex-wrap:wrap;}
  nav.main{display:none;}
}
/* ================= RESULT PAGE ================= */

.result-box{
    width:95%;
    margin:20px auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    border:2px solid #ccc;
    min-height:120px;
}

.logo{
    width:140px;
    text-align:center;
}

.logo img{
    width:100px;
    height:100px;
    object-fit:contain;
}

.content{
    flex:1;
    text-align:center;
}

.time{
    font-size:32px;
    font-weight:bold;
    color:#0a5a0a;
}

.title{
    font-size:42px;
    font-weight:bold;
    color:#ff0a6c;
    margin-top:8px;
}

.status{
    width:220px;
    height:120px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    color:#fff;
    font-weight:bold;
}

.status i{
    font-size:34px;
    margin-bottom:5px;
}

.status span{
    font-size:36px;
}

.number{
    font-size:70px;
}

.green{
    background:#005d00;
}

.orange{
    background:#ff9800;
}

.purple{
    background:#9c27b0;
}

.blue{
    background:#0d47a1;
}

.morning{
    border-color:#006400;
}

.day{
    border-color:#ff9800;
}

.evening{
    border-color:#9c27b0;
}

.night{
    border-color:#0d47a1;
}
