/* =============================================================
   V2 JDA Approved Properties - Main Stylesheet
   Loaded by inc/enqueue.php; theme metadata lives in /style.css
   ============================================================= */

:root {
  --brand: #c9a227;
  --brand-dark: #8a6d10;
  --ink: #0e1726;
  --ink-soft: #1f2a3d;
  --muted: #5b6a82;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --line: #e6e8ef;
  --success: #16a34a;
  --danger: #dc2626;
  --radius: 14px;
  --shadow-sm: 0 4px 14px rgba(14,23,38,.06);
  --shadow-md: 0 10px 30px rgba(14,23,38,.10);
  --shadow-lg: 0 20px 60px rgba(14,23,38,.18);
  --container: 1200px;
  --transition: .35s cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  margin: 0;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p  { color: var(--muted); margin: 0 0 1em; }

.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); -webkit-clip-path: inset(50%); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}
.screen-reader-text:focus {
  background: #fff; clip: auto; clip-path: none; color: var(--ink); display: block;
  font-size: 14px; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 15px 23px 14px;
  text-decoration: none; top: 5px; width: auto; z-index: 100000;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  color: var(--brand-dark);
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { margin-top: 12px; }

/* ----------------------- BUTTONS ---------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
  font-size: .95rem;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 24px rgba(201,162,39,.35); }
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--brand); color: var(--brand-dark); background: transparent; }
.btn-ghost:hover { background: var(--brand); color: #fff; }

/* ----------------------- HEADER ---------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,23,38,.85);
  backdrop-filter: blur(10px);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled { background: rgba(14,23,38,.97); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 1.05rem; }
.brand-logo .mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #f4d063 100%);
  display: grid; place-items: center; color: var(--ink);
  font-family: 'Playfair Display', serif; font-weight: 800;
}
.brand-logo small { display: block; font-size: .68rem; color: #cdd5e3; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: #e7ecf4; font-weight: 500; font-size: .95rem; position: relative; }
.nav-links a:hover, .nav-links a.active, .nav-links .current-menu-item > a { color: var(--brand); }
.nav-links a.active::after, .nav-links .current-menu-item > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--brand); border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; font-weight: 600; font-size: .9rem;
  border: 1px solid rgba(255,255,255,.2);
  padding: 8px 14px; border-radius: 999px;
}
.phone-pill i { color: var(--brand); }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

@media (max-width: 960px) {
  .nav-links {
    position: fixed; inset: 64px 0 0 0;
    background: var(--ink); flex-direction: column;
    padding: 30px; gap: 18px;
    transform: translateX(100%); transition: transform var(--transition);
  }
  .nav-links.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .phone-pill { display: none; }
}

/* ----------------------- HERO ---------------------- */
.hero {
  position: relative; min-height: 100vh;
  display: grid; place-items: center;
  color: #fff; text-align: center;
  overflow: hidden;
  padding-top: 80px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero-content { position: relative; z-index: 2; max-width: 900px; padding: 0 20px; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 span { color: var(--brand); }
.hero p { color: #d6dcea; font-size: 1.1rem; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  position: relative; z-index: 2;
  margin-top: 60px; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: 30px;
  max-width: 900px; width: 100%; padding: 0 20px;
}
.stat { text-align: center; }
.stat strong { display: block; font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--brand); }
.stat span { color: #cdd5e3; font-size: .9rem; letter-spacing: .05em; }
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

.scroll-indicator {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: #fff; opacity: .7; animation: bob 1.8s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob { 0%,100%{transform:translate(-50%,0)} 50%{transform:translate(-50%,8px)} }

/* ----------------------- USPs ---------------------- */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.usp-card {
  background: #fff; padding: 32px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.usp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand); }
.usp-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, #fff7d6, #fce58a);
  color: var(--brand-dark); font-size: 1.6rem;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.usp-card h3 { margin-bottom: 8px; font-family: 'Poppins'; font-size: 1.05rem; }
@media (max-width: 960px) { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .usp-grid { grid-template-columns: 1fr; } }

/* ----------------------- PROJECTS ---------------------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--brand); color: var(--ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.project-badge.completed { background: #16a34a; color: #fff; }
.project-badge.upcoming { background: #2563eb; color: #fff; }

.project-body { padding: 22px; }
.project-body h3 { margin-bottom: 6px; font-family: 'Playfair Display', serif; }
.project-body h3 a { color: inherit; }
.project-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; color: var(--muted); font-size: .85rem; }
.project-meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-meta i { color: var(--brand); }

.tabs { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.tab {
  padding: 10px 22px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-weight: 600; cursor: pointer; transition: all var(--transition);
  font-size: .9rem; font-family: inherit; color: var(--ink);
}
.tab:hover { border-color: var(--brand); color: var(--brand-dark); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ----------------------- ABOUT ---------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-img-wrap { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img-wrap::after {
  content: ''; position: absolute; inset: auto -20px -20px auto;
  width: 100px; height: 100px; background: var(--brand); border-radius: var(--radius); z-index: -1;
}
.about-text ul { list-style: none; margin-top: 20px; padding: 0; }
.about-text li { display: flex; gap: 12px; padding: 8px 0; color: var(--ink-soft); }
.about-text li i { color: var(--brand-dark); margin-top: 4px; }

/* ----------------------- TESTIMONIALS ---------------------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .testimonial-grid { grid-template-columns: 1fr; } }
.testimonial {
  background: #fff; padding: 30px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); position: relative; border: 1px solid var(--line);
}
.testimonial::before {
  content: '\201C'; font-family: 'Playfair Display', serif;
  position: absolute; top: 8px; left: 18px;
  font-size: 4rem; color: var(--brand); opacity: .35; line-height: 1;
}
.testimonial p { font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.t-author .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #f4d063);
  display: grid; place-items: center; color: var(--ink); font-weight: 700;
}
.t-author strong { color: var(--ink); display: block; }
.t-author small { color: var(--muted); }
.t-rating { color: var(--brand); margin-bottom: 6px; }

/* ----------------------- GALLERY ---------------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 14px;
}
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(transparent 50%, rgba(14,23,38,.7));
  opacity: 0; transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
@media (max-width: 800px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 1; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; background: rgba(14,23,38,.95);
  display: none; z-index: 1000; place-items: center; padding: 20px;
}
.lightbox.open { display: grid; animation: fade .3s ease; }
.lightbox img { max-width: 92%; max-height: 88vh; border-radius: var(--radius); }
.lightbox .close {
  position: absolute; top: 24px; right: 28px;
  background: transparent; border: 0; color: #fff; font-size: 2rem; cursor: pointer;
}
@keyframes fade { from{opacity:0} to{opacity:1} }

/* ----------------------- CTA BAND ---------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #1a2740 100%);
  color: #fff; padding: 70px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(201,162,39,.25), transparent 60%),
              radial-gradient(circle at 80% 70%, rgba(201,162,39,.18), transparent 55%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #cdd5e3; margin-bottom: 26px; }

/* ----------------------- CONTACT FORM ---------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px; }
.contact-info h3 { color: #fff; margin-bottom: 10px; }
.contact-info p { color: #cdd5e3; }
.info-list { list-style: none; margin-top: 24px; padding: 0; }
.info-list li { display: flex; gap: 14px; padding: 12px 0; align-items: flex-start; }
.info-list i {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(201,162,39,.15); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-list strong { display: block; color: #fff; }
.info-list a, .info-list span { color: #cdd5e3; }
.info-list a:hover { color: var(--brand); }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  color: #fff; transition: background var(--transition), transform var(--transition);
}
.socials a:hover { background: var(--brand); color: var(--ink); transform: translateY(-3px); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .95rem; color: var(--ink);
  background: var(--bg-soft);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
.form-status { margin-top: 14px; font-size: .9rem; min-height: 20px; }
.form-status.success { color: var(--success); }
.form-status.error { color: var(--danger); }

/* ----------------------- PAGE HERO (sub pages) ---------------------- */
.page-hero {
  padding: 160px 0 80px;
  background:
    linear-gradient(rgba(14,23,38,.78), rgba(14,23,38,.88)),
    url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=1920&q=80');
  background-size: cover; background-position: center;
  color: #fff; text-align: center;
}
.page-hero h1 { color: #fff; }
.page-hero .crumbs { color: #cdd5e3; margin-top: 10px; font-size: .9rem; }
.page-hero .crumbs a { color: var(--brand); }

/* ----------------------- MEDIA / VIDEOS ---------------------- */
.media-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 800px) { .media-grid { grid-template-columns: 1fr; } }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }
.video-card .v-body { padding: 18px 22px; }
.video-card h3 { font-size: 1.05rem; font-family: 'Poppins'; }

/* ----------------------- FOOTER ---------------------- */
.site-footer { background: #0a1220; color: #cdd5e3; padding: 70px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-col h4 {
  color: #fff; font-family: 'Poppins'; font-size: .95rem;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 18px;
}
.foot-col a { display: block; padding: 4px 0; color: #cdd5e3; font-size: .92rem; }
.foot-col a:hover { color: var(--brand); }
.foot-about p { font-size: .92rem; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding: 22px 0; text-align: center; font-size: .85rem; color: #8a96ad; }

/* ----------------------- FLOATING CTA ---------------------- */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-cta a {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  font-size: 1.3rem; box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.float-cta a:hover { transform: scale(1.08); }
.float-cta .wa { background: #25d366; }
.float-cta .call { background: var(--brand); color: var(--ink); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(201,162,39,.6); }
  70% { box-shadow: 0 0 0 14px rgba(201,162,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,162,39,0); }
}

/* ----------------------- ANIMATIONS ---------------------- */
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
[data-aos].in-view { opacity: 1; transform: translateY(0); }
[data-aos="fade-right"] { transform: translateX(-30px); }
[data-aos="fade-right"].in-view { transform: translateX(0); }
[data-aos="fade-left"] { transform: translateX(30px); }
[data-aos="fade-left"].in-view { transform: translateX(0); }
[data-aos="zoom-in"] { transform: scale(.9); }
[data-aos="zoom-in"].in-view { transform: scale(1); }

[data-delay="100"] { transition-delay: .1s; }
[data-delay="200"] { transition-delay: .2s; }
[data-delay="300"] { transition-delay: .3s; }
[data-delay="400"] { transition-delay: .4s; }
[data-delay="500"] { transition-delay: .5s; }

/* WordPress core */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin: 0 auto 16px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--muted); font-size: .85rem; text-align: center; padding-top: 6px; }

@media print { .site-header, .float-cta, .site-footer { display: none; } }
