/*
Theme Name: Unitree Valley
Theme URI: https://unitree-valley.vercel.app/
Author: Subhansu Gour
Description: Landing page theme for Unitree Valley — premium plotted estates on the Sawantwadi–Amboli State Highway. Ported from the Next.js build.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: unitree-valley
*/

:root {
  --green-950: #061e17;
  --green-900: #0a2a20;
  --green-800: #123b2d;
  --green-700: #245240;
  --ivory: #f5f0e7;
  --paper: #ffffff;
  --white: #ffffff;
  --ink: #10271f;
  --muted: #627269;
  --gold: #b99356;
  --gold-light: #143a2b;
  --line: rgba(16, 39, 31, 0.16);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: min(1380px, calc(100vw - 96px));
  --header-h: 92px;
}

* { box-sizing: border-box;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h);
}

body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden;
}

a { color: inherit; text-decoration: none;
}

img { display: block; width: 100%;
}

button, input, textarea { font: inherit;
}

button { cursor: pointer;
}

.container { width: var(--container); margin-inline: auto;
}

.section-pad { padding: 124px 0;
}

h1, h2, h3, p { margin-top: 0;
}

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em;
}

h2 { font-size: clamp(46px, 5.2vw, 78px); line-height: .98;
}

p { line-height: 1.75;
}

.button { display: inline-flex; align-items: center; justify-content: center; gap: 38px; min-height: 60px; padding: 0 28px; border: 1px solid; font-size: 14px; font-weight: 650; letter-spacing: .03em; transition: .3s ease;
}

.button span { font-size: 22px; font-weight: 300;
}

.button-light { min-width: 240px; border-color: var(--white); color: var(--white); background: rgba(8, 28, 21, .16); backdrop-filter: blur(8px); text-transform: uppercase; font-size: 11px; font-weight: 500; letter-spacing: .22em;
}

.button-light:hover { color: var(--white); background: var(--gold-light);
}

.button-gold { border-color: var(--white); color: var(--white); background: #000;
}

.button-gold:hover { color: var(--green-950); background: var(--white); border-color: var(--white); transform: translateY(-2px);
}

.site-header { position: fixed; z-index: 20; top: 0; left: 0; display: flex; width: 100%; height: var(--header-h); flex-direction: row; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 4vw; color: var(--white); background: #000; border-bottom: 1px solid rgba(255,255,255,.18);
}

.brand { display: inline-flex; width: clamp(230px, 19vw, 330px); align-items: center;
}

.brand img { width: 100%; height: auto;
}

.main-nav { display: flex; align-items: center; gap: clamp(38px, 4vw, 70px); font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
}

.menu-toggle { display: none; border: 0; background: transparent;
}

.hero { position: relative; min-height: 760px; height: 100svh; overflow: hidden; background: var(--green-950); color: var(--white);
}

.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 50%;
}

.hero-video { width: 100%;
}

.hero-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,34,24,.61), rgba(6,34,24,.61)), linear-gradient(0deg, rgba(3,20,14,.42), transparent 42%);
}

.hero-content { position: relative; z-index: 2; display: flex; min-height: 100%; flex-direction: column; align-items: center; justify-content: center; width: min(1420px, calc(100vw - 10vw)); margin: 0 auto; padding: calc(var(--header-h) + 36px) 0 34px; text-align: center;
}

.hero h1 { max-width: 1320px; margin-bottom: 36px; font-size: clamp(64px, 7.2vw, 124px); line-height: .92; color: var(--ivory); letter-spacing: -.045em;
}

.hero-content > p { margin-bottom: 42px; font-family: var(--serif); font-size: clamp(19px, 1.65vw, 29px); line-height: 1.55; color: rgba(255,255,255,.82);
}

.hero-actions { display: flex; gap: 14px;
}

.contact { color: var(--green-950); background: var(--white); border-top: 1px solid var(--line);
}

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 10vw;
}

.contact-details h2 { max-width: 570px;
}

.contact-details > p { color: var(--muted);
}

.contact address { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 44px; color: var(--muted); font-size: 13px; font-style: normal; line-height: 1.7;
}

.contact address strong { color: var(--green-800); font-family: var(--serif); font-size: 24px; font-weight: 400; letter-spacing: .04em;
}

.contact address a:hover { color: var(--gold);
}

.contact address .contact-line { display: flex; align-items: flex-start; gap: 12px;
}

.contact address .contact-line svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: #000; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}

.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; align-self: center; padding: 48px; border: 1px solid var(--line); background: var(--paper);
}

.field { position: relative; padding-top: 18px; border-bottom: 1px solid rgba(16,39,31,.25);
}

.field:nth-child(3), .field:nth-child(4) { grid-column: 1 / -1;
}

.field label { position: absolute; top: 29px; left: 0; color: var(--muted); font-size: 12px; transition: .2s; pointer-events: none;
}

.field input, .field textarea { width: 100%; padding: 10px 0; border: 0; outline: 0; color: var(--green-950); background: transparent; resize: vertical;
}

.field:focus-within label { top: 0; color: var(--gold); font-size: 9px; letter-spacing: .15em; text-transform: uppercase;
}

.enquiry-form .button { grid-column: 1 / -1; justify-self: start;
}

.form-status { grid-column: 1 / -1; min-height: 18px; margin: 0; color: var(--green-700); font-size: 13px;
}

.site-footer { padding: 38px 0 28px; color: rgba(255,255,255,.55); background: #000; border-top: 1px solid rgba(255,255,255,.08);
}

.footer-top { display: flex; min-height: 112px; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.16);
}

.footer-top nav { display: flex; gap: clamp(34px, 4vw, 68px); padding-top: 20px;
}

.footer-top nav a { color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .18em;
}

.footer-top nav a:hover { color: var(--white);
}

.footer-social { display: inline-flex; align-items: center; gap: 22px; padding-top: 16px;
}

.footer-social a { display: inline-flex; color: rgba(255,255,255,.6); transition: color .25s ease;
}

.footer-social a:hover { color: var(--gold);
}

.footer-social svg { width: 22px; height: 22px;
}

.footer-wordmark { display: flex; min-height: 294px; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.16);
}

.footer-wordmark img { width: min(100%, 1280px); height: auto;
}

.footer-bottom { display: flex; min-height: 86px; align-items: flex-end; justify-content: space-between; gap: 30px; padding-top: 28px; font-size: 10px; letter-spacing: .03em;
}

.footer-bottom p { margin: 0 0 5px;
}

.footer-bottom small { color: rgba(255,255,255,.33); font-size: 8px;
}

.back-top { display: flex; align-items: center; gap: 15px; color: rgba(255,255,255,.66); letter-spacing: .2em; text-transform: uppercase;
}

.back-top i { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--white); font-size: 17px; font-style: normal; transition: .3s ease;
}

.back-top:hover i { color: var(--green-950); background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-3px);
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease;
}

.reveal.is-visible { opacity: 1; transform: none;
}

.showcase { width: 100%; background: var(--green-950); }

.showcase img { display: block; width: 100%; height: clamp(340px, 52vw, 760px); object-fit: cover; object-position: center; }

.scroll-cue { position: absolute; left: 50%; bottom: 34px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: translateX(-50%); color: rgba(255,255,255,.92); text-decoration: none; transition: opacity .3s ease; }

.scroll-cue:hover { opacity: .68; }

.scroll-cue-mouse { position: relative; display: block; width: 30px; height: 50px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 999px; }

.scroll-cue-mouse::after { content: ""; position: absolute; left: 50%; top: 9px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--white); animation: scroll-cue 2s cubic-bezier(.4,0,.2,1) infinite; }

.scroll-cue-label { font-family: var(--sans); font-size: 14px; letter-spacing: .04em; color: rgba(255,255,255,.92); }

@keyframes scroll-cue { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateY(21px); opacity: 0; } }

.masterplan { background: #f6f4ee; color: var(--green-950); border-top: 1px solid var(--line); }

.masterplan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; margin-bottom: 52px; }

.masterplan-eyebrow { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--green-700); }

.masterplan-head h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.02em; }

.masterplan-head > div > p { max-width: 620px; margin: 0; color: var(--muted); }

.plan-download { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; padding: 16px 26px; color: var(--white); background: #000; font-size: 13px; font-weight: 600; transition: .3s ease; }

.plan-download:hover { background: var(--green-800); transform: translateY(-2px); }

.plan-download svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.plan-card { display: grid; grid-template-columns: minmax(280px, 360px) 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }

.plan-aside { display: flex; flex-direction: column; padding: 46px 38px; color: var(--white); background: #000; }

.plan-aside-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.plan-aside h3 { margin: 42px 0 22px; font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.12; letter-spacing: -.01em; }

.plan-aside > p { margin: 0; color: rgba(255,255,255,.72) !important; font-size: 14px !important; line-height: 1.75; }

.plan-legend { margin-top: auto; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.18); }

.plan-legend-title { display: block; margin-bottom: 20px; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255,255,255,.6); }

.plan-legend ul { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin: 0; padding: 0; list-style: none; }

.plan-legend li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,.86); }

.plan-legend i { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; }

.plan-main { display: flex; flex-direction: column; padding: 26px 26px 0; }

.plan-figure { display: block; width: 100%; padding: 24px; border: 1px solid var(--line); background: var(--paper); cursor: zoom-in; }

.plan-figure img { width: 100%; height: auto; }

.plan-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding: 20px 4px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.plan-expand { display: inline-flex; align-items: center; gap: 12px; padding: 0; border: 0; background: transparent; color: var(--green-950); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: color .25s ease; }

.plan-expand:hover { color: var(--gold); }

.plan-expand svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.plan-lightbox { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 5vmin; background: rgba(4,14,10,.92); cursor: zoom-out; }

.plan-lightbox img { width: auto; max-width: 100%; max-height: 90vh; border-radius: 8px; background: var(--paper); cursor: default; }

.plan-close { position: absolute; top: 22px; right: 26px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: var(--white); background: transparent; font-size: 26px; line-height: 1; transition: .25s ease; }

.plan-close:hover { color: var(--green-950); background: var(--white); }

@media (max-width: 1100px) {

.plan-card { grid-template-columns: 1fr; }

.plan-main { padding: 22px 22px 0; }

:root { --container: min(100% - 48px, 940px);
}

.main-nav { gap: 42px;
}
}

@media (max-width: 760px) {

.masterplan-head { flex-direction: column; gap: 28px; margin-bottom: 34px; }

.plan-aside { padding: 34px 24px; }

.plan-aside h3 { margin: 30px 0 18px; font-size: 27px; }

.plan-figure { padding: 14px; }

.plan-foot { flex-direction: column; align-items: flex-start; gap: 14px; }

.plan-legend ul { grid-template-columns: 1fr; gap: 13px; }



.scroll-cue { bottom: 22px; gap: 10px; }

.scroll-cue-label { font-size: 13px; }


.showcase img { height: clamp(240px, 58vw, 420px); }

:root { --container: calc(100vw - 36px); --header-h: 74px;
}

.section-pad { padding: 82px 0;
}

h2 { font-size: clamp(42px, 12vw, 58px);
}

.site-header { position: fixed; height: var(--header-h); flex-direction: row; justify-content: space-between; gap: 0; padding: 0 18px; background: #000;
}

.brand { width: 205px;
}

.menu-toggle { z-index: 3; display: flex; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}

.menu-toggle span { display: block; width: 23px; height: 1px; background: var(--white); transition: .3s;
}

.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg);
}

.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg);
}

.main-nav { position: fixed; inset: 0; display: flex; visibility: hidden; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; padding: 76px 36px; opacity: 0; background: var(--green-950); transition: .3s;
}

.menu-open .main-nav { visibility: visible; opacity: 1;
}

.hero { min-height: 720px;
}

.hero-image { object-position: 65% center;
}

.hero-shade { background: rgba(6,34,24,.66);
}

.hero-content { width: calc(100% - 36px); padding: 110px 0 34px;
}

.hero h1 { margin-bottom: 26px; font-size: clamp(54px, 16vw, 76px); line-height: .92;
}

.hero-content > p { max-width: 340px; margin-bottom: 34px; font-size: 19px;
}

.hero-actions { width: 100%; flex-direction: column; align-items: stretch;
}

.hero-actions .button { width: 100%; min-width: 0;
}

.contact-grid { grid-template-columns: 1fr;
}

.contact-grid { gap: 60px;
}

.enquiry-form { grid-template-columns: 1fr; padding: 28px 22px;
}

.field, .field:nth-child(3), .field:nth-child(4) { grid-column: 1;
}

.site-footer { padding-top: 24px;
}

.footer-top { min-height: 124px; align-items: flex-start; gap: 24px;
}

.footer-top nav { flex-direction: column; gap: 12px; padding-top: 0;
}

.footer-wordmark { min-height: 176px;
}

.footer-wordmark img { width: 100%;
}

.footer-bottom { align-items: center; padding-top: 24px;
}

.footer-bottom small { display: block; max-width: 210px;
}

.back-top span { display: none;
}
}

@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto;
}

*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important;
}

.reveal { opacity: 1; transform: none;
}
}

/* Site-wide typography scale */
body h2 {
  font-size: 45px !important;
}

body p {
  font-size: 15px !important;
}

.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 8px 22px rgba(37,211,102,.42), 0 2px 8px rgba(0,0,0,.22); transition: transform .25s ease, box-shadow .25s ease; }

.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 28px rgba(37,211,102,.5); }

.wa-float svg { width: 32px; height: 32px; }

@media (max-width: 760px) { .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; } .wa-float svg { width: 29px; height: 29px; } }

/* ---- WordPress adjustments ---- */
.plan-lightbox[hidden] { display: none; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
