/*
Theme Name: India Home Rent
Theme URI: https://example.com/india-home-rent
Author: OpenAI
Description: A lightweight real estate WordPress theme for Home Sale, Home Rent, Shop Sale and Shop Rent listings.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: india-home-rent
*/

:root{
  --ihr-primary:#123a63;
  --ihr-accent:#f59e0b;
  --ihr-bg:#f6f8fb;
  --ihr-text:#172033;
  --ihr-muted:#6b7280;
  --ihr-white:#fff;
  --ihr-radius:18px;
  --ihr-shadow:0 12px 35px rgba(18,58,99,.12);
}
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--ihr-bg);color:var(--ihr-text);line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto;display:block}
.ihr-container{width:min(1180px,92%);margin:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid #e5e7eb}
.ihr-nav{min-height:74px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-branding{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.15rem;color:var(--ihr-primary)}
.site-branding .mark{width:38px;height:38px;border-radius:12px;background:linear-gradient(135deg,var(--ihr-primary),#2563eb);display:grid;place-items:center;color:#fff;font-size:18px}
.primary-menu{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0;font-weight:600}
.header-actions{display:flex;align-items:center;gap:10px}
.ihr-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;border-radius:12px;font-weight:700;border:1px solid transparent;transition:.2s ease;cursor:pointer}
.ihr-btn-primary{background:var(--ihr-accent);color:#111827}
.ihr-btn-primary:hover{transform:translateY(-1px);filter:brightness(.98)}
.ihr-btn-outline{border-color:#cbd5e1;background:#fff;color:var(--ihr-primary)}
.mobile-toggle{display:none;background:none;border:0;font-size:26px}

.hero{position:relative;min-height:530px;overflow:hidden;background:#0f2741}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .8s ease;background-size:cover;background-position:center}
.hero-slide.active{opacity:1}
.hero-slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,25,43,.78),rgba(9,25,43,.35) 55%,rgba(9,25,43,.18))}
.hero-content{position:relative;z-index:2;min-height:530px;display:flex;align-items:center;color:#fff}
.hero-copy{max-width:680px;padding:70px 0 130px}
.hero-kicker{text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:.8rem;color:#fde68a}
.hero h1{font-size:clamp(2.2rem,5vw,4.5rem);line-height:1.04;margin:12px 0 16px}
.hero p{font-size:1.12rem;max-width:600px;color:#e5eef8}
.hero-controls{position:absolute;right:5%;bottom:26px;z-index:5;display:flex;gap:8px}
.hero-control{width:12px;height:12px;border-radius:99px;border:1px solid #fff;background:rgba(255,255,255,.35)}
.hero-control.active{background:#fff}
.search-panel{position:relative;z-index:10;margin-top:-70px}
.search-box{background:#fff;border-radius:20px;box-shadow:var(--ihr-shadow);padding:18px;display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:12px}
.search-box select,.search-box input{width:100%;border:1px solid #dbe2ea;background:#fff;border-radius:12px;padding:13px 14px;font:inherit;color:#111827}

.section{padding:70px 0}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.section-title h2{margin:0;font-size:clamp(1.6rem,3vw,2.3rem)}
.section-title p{margin:6px 0 0;color:var(--ihr-muted)}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.category-card{background:#fff;border:1px solid #e5e7eb;border-radius:var(--ihr-radius);padding:24px;box-shadow:0 8px 20px rgba(15,23,42,.05);transition:.2s ease}
.category-card:hover{transform:translateY(-3px);box-shadow:var(--ihr-shadow)}
.category-icon{width:54px;height:54px;border-radius:14px;background:#eef4fb;display:grid;place-items:center;font-size:26px;margin-bottom:14px}
.category-card h3{margin:0 0 6px;font-size:1.1rem}.category-card p{margin:0;color:var(--ihr-muted);font-size:.92rem}

.listing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.property-card{background:#fff;border-radius:var(--ihr-radius);overflow:hidden;border:1px solid #e5e7eb;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.property-thumb{aspect-ratio:4/3;background:linear-gradient(135deg,#dbeafe,#e5e7eb);overflow:hidden}
.property-thumb img{width:100%;height:100%;object-fit:cover}
.property-body{padding:18px}.property-meta{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}
.property-price{font-weight:800;color:var(--ihr-primary);font-size:1.15rem}.property-badge{font-size:.76rem;padding:5px 9px;border-radius:999px;background:#fff7ed;color:#9a3412;font-weight:700}
.property-card h3{margin:0 0 8px;font-size:1.08rem}.property-location{color:var(--ihr-muted);font-size:.92rem}
.empty-listing{grid-column:1/-1;background:#fff;border:1px dashed #cbd5e1;border-radius:16px;padding:30px;text-align:center;color:var(--ihr-muted)}

.cta{padding:0 0 70px}.cta-box{background:linear-gradient(135deg,var(--ihr-primary),#1d4f80);color:#fff;border-radius:26px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-box h2{margin:0 0 8px}.cta-box p{margin:0;color:#dce8f5}
.site-footer{background:#0d2238;color:#d9e4ef;padding:52px 0 24px;margin-top:20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer h3,.site-footer h4{color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:8px 0}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:35px;padding-top:20px;color:#9fb3c8;font-size:.9rem}

@media(max-width:900px){.primary-menu{display:none;position:absolute;top:74px;left:0;right:0;background:#fff;padding:18px 4%;flex-direction:column;align-items:flex-start;border-bottom:1px solid #e5e7eb}.primary-menu.open{display:flex}.mobile-toggle{display:block}.header-actions .ihr-btn-outline{display:none}.search-box{grid-template-columns:1fr 1fr}.category-grid{grid-template-columns:repeat(2,1fr)}.listing-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero-copy{padding-bottom:150px}}
@media(max-width:620px){.hero,.hero-content{min-height:560px}.search-panel{margin-top:-85px}.search-box{grid-template-columns:1fr}.category-grid,.listing-grid,.footer-grid{grid-template-columns:1fr}.cta-box{flex-direction:column;align-items:flex-start}.site-branding{font-size:1rem}.header-actions .ihr-btn-primary{padding:9px 12px}.hero-copy{padding-top:55px}.section{padding:52px 0}}
