/*
Theme Name: Ruff Diamond Properties
Theme URI: https://ruff-diamond-properties.ldbehie.chatgpt.site
Author: Ruff Diamond Properties, LLC
Description: A responsive property-management theme created for Ruff Diamond Properties, LLC, with dedicated Home, Available Rentals, and About Us page designs.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: ruff-diamond-properties
*/

:root {
  --navy: #082742;
  --blue: #0b5792;
  --sky: #dceefa;
  --white: #ffffff;
  --ink: #172736;
  --muted: #61717f;
  --line: #d9e2e8;
  --sand: #f6f3ee;
  --shadow: 0 20px 60px rgba(8, 39, 66, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.site-header { position: relative; z-index: 10; color: var(--navy); background: white; border-bottom: 1px solid var(--line); }
.site-header.solid { color: var(--navy); background: white; border-color: var(--line); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-logo-crop { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; }
.brand-logo-crop img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small { margin-top: 5px; font-size: 11px; letter-spacing: .18em; font-weight: 700; opacity: .78; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links .menu-item { list-style: none; margin: 0; padding: 0; }
.nav-links .menu-item a { display: block; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 15px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: currentColor; transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.menu-button { display: none; border: 0; color: inherit; background: transparent; font: inherit; font-weight: 800; padding: 10px; }

.hero { min-height: 760px; padding: 68px 0; color: white; position: relative; display: grid; align-items: start; background-position: center center; background-size: cover; background-repeat: no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 170px; background: linear-gradient(transparent, rgba(4,26,45,.3)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; width: min(700px, 100%); }
.hero .hero-kicker { max-width: 900px; margin: 0 0 12px; color: white; font: 700 clamp(4rem, 8vw, 6.6rem)/.92 Georgia, "Times New Roman", serif; letter-spacing: -.055em; text-shadow: 0 4px 28px rgba(4,26,45,.28); }
.hero-content .eyebrow { margin-bottom: 22px; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; font-size: 13px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.5rem, 4.5vw, 3.8rem); max-width: 960px; }
.hero h1 { white-space: nowrap; }
.hero p { font-size: clamp(1.08rem, 2vw, 1.35rem); max-width: 600px; margin: 26px 0 34px; color: rgba(255,255,255,.91); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; background: var(--white); color: var(--navy); font-weight: 800; text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.15); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.22); }
.button.blue { background: var(--blue); color: white; }

.section { padding: 100px 0; }
.section.tint { background: var(--sand); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 60px; align-items: end; margin-bottom: 55px; }
.section h2 { color: var(--navy); font-size: clamp(2.35rem, 4vw, 4.2rem); }
.section-head p { max-width: 620px; margin: 0; font-size: 1.12rem; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { padding: 38px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.card-number { color: var(--blue); font: 700 13px/1 Inter, sans-serif; letter-spacing: .16em; }
.card h3 { margin: 24px 0 12px; color: var(--navy); font: 700 1.5rem/1.2 Georgia, serif; }
.card p { margin: 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split p { color: var(--muted); font-size: 1.08rem; }
.diamond-panel { min-height: 420px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 30px; background: linear-gradient(145deg, var(--navy), var(--blue)); color: white; box-shadow: var(--shadow); }
.diamond-panel::before, .diamond-panel::after { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid rgba(255,255,255,.22); transform: rotate(45deg); }
.diamond-panel::after { width: 160px; height: 160px; }
.diamond-panel strong { position: relative; z-index: 1; max-width: 260px; text-align: center; font: 700 2.25rem/1.15 Georgia, serif; }
.photo-panel { min-height: 420px; position: relative; overflow: hidden; display: grid; place-items: end start; border-radius: 30px; background: linear-gradient(0deg, rgba(4,26,45,.78), rgba(4,26,45,0) 62%), url("assets/images/home-interior.png") center / cover no-repeat; box-shadow: var(--shadow); }
.photo-panel strong { position: relative; z-index: 1; max-width: 360px; padding: 34px; color: white; font: 700 2.25rem/1.15 Georgia, serif; }

.page-hero { padding: 96px 0 86px; background: linear-gradient(135deg, var(--navy), #0d4f7e); color: white; }
.page-hero .eyebrow { opacity: .72; }
.page-hero h1 { font-size: clamp(3rem, 6vw, 5.5rem); }
.page-hero p { max-width: 650px; margin: 22px 0 0; font-size: 1.15rem; color: rgba(255,255,255,.82); }
.empty-state { max-width: 760px; margin: 0 auto; padding: 70px 42px; text-align: center; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: var(--shadow); }
.empty-state .icon { width: 76px; height: 76px; margin: 0 auto 26px; display: grid; place-items: center; border-radius: 22px; background: var(--sky); color: var(--blue); font-size: 34px; }
.empty-state h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.empty-state p { max-width: 540px; margin: 20px auto 0; color: var(--muted); }
.about-copy { max-width: 760px; }
.about-copy p { font-size: 1.12rem; color: var(--muted); }
.values { margin-top: 50px; display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value { padding: 28px; border-top: 3px solid var(--blue); background: var(--sand); }
.value h3 { margin: 0 0 10px; color: var(--navy); }
.value p { margin: 0; color: var(--muted); }
.site-footer { padding: 54px 0; background: white; color: var(--muted); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: center; }
.site-footer .brand { color: var(--navy); }
.site-footer p { margin: 0; font-size: 14px; }
.footer-contact { display: grid; grid-template-columns: minmax(220px, 1.3fr) minmax(190px, 1fr); gap: 10px 36px; font-style: normal; font-size: 15px; }
.footer-contact strong { color: var(--navy); }
.footer-contact a { color: var(--blue); text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .address { grid-row: span 2; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.editor-content { max-width: 760px; margin-top: 36px; }
.editor-content > *:first-child { margin-top: 0; }
.editor-content a { color: var(--blue); }
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.property-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); }
.property-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.property-card-content { padding: 26px; }
.property-card h2 { font-size: 1.6rem; }
.property-card p { margin-bottom: 0; color: var(--muted); }
.property-card h2 a { text-decoration: none; }
.property-card h2 a:hover, .property-link:hover { text-decoration: underline; }
.property-image-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; background: var(--sky); color: var(--blue); font-size: 64px; }
.property-facts { font-weight: 700; color: var(--navy) !important; }
.property-link { display: inline-block; margin-top: 18px; color: var(--blue); font-weight: 800; text-decoration: none; }
.property-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; align-items: start; }
.property-detail-image { width: 100%; border-radius: 22px; }
.property-detail .editor-content { margin-top: 24px; }
.wp-post-image { height: auto; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 1160px); }
  .nav { min-height: 72px; }
  .brand-text { font-size: 14px; }
  .brand-logo-crop { flex-basis: 42px; width: 42px; height: 42px; }
  .menu-button { display: block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 14px; right: 14px; padding: 20px; flex-direction: column; align-items: stretch; gap: 6px; border-radius: 18px; background: white; color: var(--navy); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px; }
  .nav-links .menu-item { width: 100%; }
  .hero { min-height: 690px; padding: 48px 0; background-position: 62% center; }
  .hero .hero-kicker { font-size: clamp(3.2rem, 15vw, 4.8rem); }
  .hero-content { padding-top: 0; }
  .hero p { max-width: 92%; }
  .hero h1 { white-space: normal; }
  .section { padding: 72px 0; }
  .section-head, .split { grid-template-columns: 1fr; gap: 30px; }
  .cards, .values, .property-grid, .property-detail { grid-template-columns: 1fr; }
  .card { padding: 30px; }
  .diamond-panel, .photo-panel { min-height: 330px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-contact .address { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
