/*
Theme Name: Delaroz Real Estate
Theme URI: https://delaroz.ae
Author: Delaroz Real Estate
Author URI: https://delaroz.ae
Description: A premium one-page property management theme for Delaroz Real Estate (Abu Dhabi, UAE). Navy and gold brand styling, hero slider, animated counters, services, mission and vision, and a contact section.
Version: 1.0.0
Requires at least: 5.5
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: delaroz
Tags: business, one-page, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ====================================================================
   Delaroz Real Estate â€” one page site
   Palette sampled from logo: navy + gold on warm cream
   ==================================================================== */
:root{
  --navy:#15294d;
  --navy-deep:#0d1b34;
  --navy-soft:#22386a;
  --gold:#c2a04c;
  --gold-light:#e3c884;
  --gold-deep:#a9863a;
  --cream:#f7f3ec;
  --sand:#efe6d6;
  --ink:#1b2333;
  --muted:#5d6577;
  --white:#ffffff;
  --radius:18px;
  --maxw:1200px;
  --serif:'Playfair Display', Georgia, serif;
  --display:'Cinzel', Georgia, serif;
  --script:'Cormorant Garamond', Georgia, serif;
  --sans:'Jost', system-ui, sans-serif;
  --shadow:0 24px 60px rgba(13,27,52,.14);
  --shadow-sm:0 10px 30px rgba(13,27,52,.10);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 28px}
.section{padding:120px 0}
.eyebrow{
  font-family:var(--sans);font-weight:500;letter-spacing:.28em;
  text-transform:uppercase;font-size:.72rem;color:var(--gold-deep);margin-bottom:18px;
}
.section-title{
  font-family:var(--serif);font-weight:600;line-height:1.12;
  font-size:clamp(2rem,4vw,3.1rem);color:var(--navy);margin-bottom:22px;
}
.section-lead{color:var(--muted);max-width:620px;font-size:1.05rem}
.center{text-align:center;margin:0 auto 64px}
.center .section-lead{margin:0 auto}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;align-items:center;gap:9px;
  font-family:var(--sans);font-weight:500;font-size:.86rem;letter-spacing:.08em;
  text-transform:uppercase;padding:15px 30px;border-radius:50px;border:1px solid transparent;
  cursor:pointer;transition:.35s ease;white-space:nowrap;
}
.btn .arrow{font-size:1.05em;transition:transform .35s ease}
.btn:hover .arrow{transform:translate(2px,-2px)}
.btn-gold{background:linear-gradient(120deg,var(--gold-light),var(--gold));color:var(--navy-deep);box-shadow:0 12px 28px rgba(194,160,76,.35)}
.btn-gold:hover{filter:brightness(1.05);transform:translateY(-2px)}
.btn-navy{background:var(--navy);color:#fff;margin-top:10px}
.btn-navy:hover{background:var(--navy-deep);transform:translateY(-2px)}
.btn-ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.45);backdrop-filter:blur(6px)}
.btn-ghost:hover{background:rgba(255,255,255,.16);border-color:#fff}
.btn.full{width:100%;justify-content:center}

/* ---- Header ---- */
.site-header{
  position:fixed;top:0;left:0;width:100%;z-index:50;
  padding:12px 0;transition:.4s ease;
  background:rgba(247,243,236,.96);backdrop-filter:blur(12px);
  box-shadow:0 4px 20px rgba(13,27,52,.08);
}
.site-header.scrolled{padding:6px 0;box-shadow:0 6px 24px rgba(13,27,52,.13)}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:inline-flex;align-items:center}
.brand img{height:92px;width:auto;transition:.4s ease}
.site-header.scrolled .brand img{height:74px}
/* solid header throughout â€” always use the navy logo */
.brand .logo-light{display:none}
.brand .logo-navy{display:block}
.nav{display:flex;gap:30px;margin-left:auto;margin-right:8px}
.nav-link{
  font-weight:500;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;
  color:var(--navy);position:relative;padding:4px 0;transition:.3s;
}
.nav-link::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold);transition:.3s}
.nav-link:hover::after,.nav-link.active::after{width:100%}
.nav-link:hover{color:var(--gold-deep)}
.nav-cta{padding:11px 22px;font-size:.78rem}
.nav-toggle{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.nav-toggle span{width:26px;height:2px;background:var(--navy);transition:.3s}

/* ---- Hero ---- */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;color:#fff}
.hero-slides,.hero-slide{position:absolute;inset:0}
.hero-slide{
  background-size:cover;background-position:center;opacity:0;transform:scale(1.08);
  transition:opacity 1.4s ease, transform 7s ease;
}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-overlay{position:absolute;inset:0;background:
  linear-gradient(180deg,rgba(13,27,52,.55) 0%,rgba(13,27,52,.25) 35%,rgba(13,27,52,.78) 100%),
  radial-gradient(120% 80% at 50% 20%,transparent 40%,rgba(13,27,52,.5) 100%)}
.hero-content{position:relative;z-index:3;text-align:center;padding-top:90px;margin:0 auto}
.hero-eyebrow{font-weight:500;letter-spacing:.34em;text-transform:uppercase;font-size:.8rem;color:var(--gold-light);margin-bottom:20px}
.hero-title{font-family:var(--serif);font-weight:600;line-height:.98;font-size:clamp(2.9rem,8.5vw,7rem);letter-spacing:-.01em;text-shadow:0 6px 40px rgba(0,0,0,.35)}
.hero-title .script{display:block;font-family:var(--script);font-style:italic;font-weight:600;color:var(--gold-light);font-size:1.15em;line-height:.9;margin-top:-.05em}
.hero-sub{max-width:560px;margin:26px auto 0;font-size:1.1rem;color:rgba(255,255,255,.9)}
.hero-actions{display:flex;gap:16px;justify-content:center;margin-top:36px;flex-wrap:wrap}
.hero-badge{position:absolute;top:32%;right:6%;z-index:3;display:flex;flex-direction:column;align-items:center;
  background:rgba(13,27,52,.4);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(8px);
  border-radius:16px;padding:18px 22px;text-align:center}
.badge-num{font-family:var(--serif);font-size:1.7rem;color:var(--gold-light);font-weight:700}
.badge-text{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:#fff;max-width:90px;margin-top:4px}
.hero-controls{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);z-index:4;display:flex;align-items:center;gap:18px}
.hero-arrow{width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(255,255,255,.08);
  color:#fff;font-size:1.5rem;line-height:1;cursor:pointer;transition:.3s;backdrop-filter:blur(6px)}
.hero-arrow:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-deep)}
.hero-dots{display:flex;gap:9px}
.hero-dots button{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.4);cursor:pointer;transition:.3s;padding:0}
.hero-dots button.active{background:var(--gold-light);width:26px;border-radius:6px}
.hero-tagline{position:absolute;left:28px;bottom:42px;z-index:3;max-width:330px;font-size:.82rem;color:rgba(255,255,255,.8);line-height:1.6;border-left:2px solid var(--gold);padding-left:14px}

/* ---- About ---- */
.about{background:var(--cream)}
.about-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:70px;align-items:center}
.about-media{position:relative}
.about-media img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;height:560px;object-fit:cover}
.about-media-tag{position:absolute;left:-26px;bottom:38px;background:var(--navy);color:#fff;padding:22px 26px;border-radius:14px;
  font-family:var(--serif);font-size:1.15rem;line-height:1.3;box-shadow:var(--shadow-sm)}
.tag-line{display:block;width:40px;height:2px;background:var(--gold);margin-bottom:12px}
.about-text p{color:var(--muted);margin-bottom:18px}

/* ---- Mission / Vision (Purpose) â€” light editorial style ---- */
.purpose{background:#fff;position:relative;overflow:hidden}
.purpose::before{content:"";position:absolute;top:-80px;left:50%;transform:translateX(-50%);
  width:560px;height:560px;border-radius:50%;
  background:radial-gradient(circle,rgba(194,160,76,.08),transparent 70%);pointer-events:none}
.purpose .section-head{position:relative;z-index:1}
.purpose-grid{position:relative;z-index:1;display:grid;grid-template-columns:1fr auto 1fr;gap:54px;align-items:stretch}
.purpose-item{display:flex;gap:24px;align-items:flex-start}
.purpose-index{font-family:var(--serif);font-size:3.2rem;line-height:.9;font-weight:700;
  background:linear-gradient(140deg,var(--gold-light),var(--gold-deep));-webkit-background-clip:text;
  background-clip:text;color:transparent;flex-shrink:0;opacity:.9}
.purpose-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.purpose-icon{width:42px;height:42px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;
  color:var(--gold-deep);border:1px solid rgba(194,160,76,.45);
  background:linear-gradient(150deg,rgba(227,200,132,.22),rgba(194,160,76,.08))}
.purpose-icon svg{width:22px;height:22px}
.purpose-head h3{font-family:var(--serif);font-size:1.7rem;color:var(--navy);font-weight:600}
.purpose-body p{color:var(--muted);font-size:1.04rem;line-height:1.75}
.purpose-divider{width:1px;align-self:stretch;
  background:linear-gradient(180deg,transparent,rgba(194,160,76,.55),transparent)}

/* ---- Services ---- */
.services{background:var(--sand)}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.service-card{background:#fff;border-radius:var(--radius);padding:36px 28px;box-shadow:var(--shadow-sm);
  transition:.4s;position:relative;overflow:hidden;border:1px solid rgba(21,41,77,.05)}
.service-card::before{content:"";position:absolute;left:0;top:0;height:3px;width:0;background:linear-gradient(90deg,var(--gold-light),var(--gold));transition:.4s}
.service-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.service-card:hover::before{width:100%}
.service-icon{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;color:var(--gold-deep);
  background:linear-gradient(150deg,rgba(227,200,132,.25),rgba(194,160,76,.12));margin-bottom:22px}
.service-icon svg{width:28px;height:28px}
.service-card h3{font-family:var(--serif);font-size:1.22rem;color:var(--navy);margin-bottom:10px;line-height:1.25}
.service-card p{color:var(--muted);font-size:.93rem}

/* ---- Stats ---- */
.stats{position:relative;background-size:cover;background-position:center;background-attachment:fixed;padding:90px 0 70px;color:#fff;overflow:hidden}
.stats-overlay{position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,27,52,.86),rgba(13,27,52,.92))}
.stats-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(4,1fr);gap:30px;text-align:center}
.stat-num{font-family:var(--serif);font-weight:700;font-size:clamp(2.4rem,5vw,3.6rem);color:var(--gold-light);display:block;line-height:1}
.stat-label{display:block;margin-top:10px;font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.82)}
.stats-note{position:relative;z-index:2;text-align:center;margin-top:42px;font-size:.8rem;color:rgba(255,255,255,.5)}

/* ---- Why Us ---- */
.why{background:var(--cream)}
.why-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:70px;align-items:center}
.why-list{list-style:none;margin-top:14px}
.why-list li{display:flex;gap:20px;padding:22px 0;border-bottom:1px solid rgba(21,41,77,.1)}
.why-list li:last-child{border-bottom:0}
.why-mark{font-family:var(--serif);font-size:1.5rem;color:var(--gold);font-weight:700;min-width:40px}
.why-list h4{font-family:var(--serif);font-size:1.2rem;color:var(--navy);margin-bottom:4px}
.why-list p{color:var(--muted);font-size:.95rem}
.why-media img{border-radius:var(--radius);box-shadow:var(--shadow);height:480px;width:100%;object-fit:cover}

/* gallery slider */
.gallery-wrap{margin-top:80px;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.gallery{display:flex;gap:22px;width:max-content;animation:scroll 34s linear infinite}
.gallery img{height:240px;width:340px;object-fit:cover;border-radius:14px;box-shadow:var(--shadow-sm)}
.gallery-wrap:hover .gallery{animation-play-state:paused}
@keyframes scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---- Contact ---- */
.contact{background:var(--navy);color:#fff}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center}
.contact .section-title{color:#fff}
.contact-text p{color:rgba(255,255,255,.82)}
.contact-info{list-style:none;margin-top:30px}
.contact-info li{display:flex;align-items:center;gap:14px;margin-bottom:16px;font-size:1.02rem}
.contact-info a:hover{color:var(--gold-light)}
.ci-icon{width:42px;height:42px;border-radius:10px;display:grid;place-items:center;color:var(--gold-light);
  background:rgba(255,255,255,.07);border:1px solid rgba(227,200,132,.25)}
.ci-icon svg{width:20px;height:20px}
.contact-form{background:rgba(255,255,255,.05);border:1px solid rgba(227,200,132,.18);border-radius:var(--radius);padding:38px}
.field{margin-bottom:18px}
.field label{display:block;font-size:.74rem;letter-spacing:.12em;text-transform:uppercase;color:var(--gold-light);margin-bottom:8px}
.field input,.field select,.field textarea{
  width:100%;padding:13px 16px;border-radius:10px;border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);color:#fff;font-family:var(--sans);font-size:.95rem;transition:.3s;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:rgba(255,255,255,.4)}
.field input:focus,.field select:focus,.field textarea:focus{outline:0;border-color:var(--gold);background:rgba(255,255,255,.08)}
.field select option{color:#15294d}
.form-note{font-size:.74rem;color:rgba(255,255,255,.45);margin-top:12px;text-align:center}

/* ---- Footer ---- */
.footer{background:var(--navy-deep);color:rgba(255,255,255,.78);padding:60px 0 26px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;align-items:start;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.12)}
.footer-brand img{height:64px;margin-bottom:16px}
.footer-brand p{font-family:var(--serif);font-size:1.02rem;max-width:300px;color:rgba(255,255,255,.7)}
.footer-nav{display:flex;flex-direction:column;gap:12px}
.footer-nav a:hover,.footer-contact a:hover{color:var(--gold-light)}
.footer-contact{display:flex;flex-direction:column;gap:10px}
.footer-contact a{color:var(--gold-light)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:22px;font-size:.82rem;color:rgba(255,255,255,.5)}
.to-top:hover{color:var(--gold-light)}

/* ---- Reveal animation ---- */
.reveal{opacity:0;transform:translateY(34px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}

/* ====================================================================
   Responsive
   ==================================================================== */
@media (max-width:980px){
  .section{padding:84px 0}
  .about-grid,.why-grid,.contact-grid{grid-template-columns:1fr;gap:44px}
  .about-media img,.why-media img{height:auto}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:40px 20px}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-badge{display:none}
  .hero-tagline{display:none}
  .purpose-grid{grid-template-columns:1fr;gap:36px}
  .purpose-divider{width:60%;height:1px;justify-self:center;align-self:auto;
    background:linear-gradient(90deg,transparent,rgba(194,160,76,.55),transparent)}
}
@media (max-width:760px){
  .nav,.nav-cta{display:none}
  .nav-toggle{display:flex}
  .nav.open{display:flex;position:absolute;top:100%;left:0;width:100%;flex-direction:column;gap:0;
    background:var(--cream);box-shadow:0 12px 30px rgba(13,27,52,.14);padding:8px 0;margin:0}
  .nav.open .nav-link{color:var(--navy);padding:14px 28px;border-bottom:1px solid rgba(21,41,77,.07)}
  .nav.open .nav-link::after{display:none}
  .purpose-item{gap:18px}
  .purpose-index{font-size:2.6rem}
  .purpose-head h3{font-size:1.5rem}
  .container{padding:0 20px}
}
@media (max-width:520px){
  .services-grid{grid-template-columns:1fr}
  .stats-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr;text-align:center}
  .footer-brand p{margin:0 auto}
  .footer-nav,.footer-contact{align-items:center}
  .footer-bottom{flex-direction:column;gap:10px}
  .about-media-tag{left:50%;transform:translateX(-50%);bottom:-22px;white-space:nowrap}
  .hero-actions .btn{flex:1}
}
