/* ========================================
   OrigoWorks Website - Custom Styles
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-primary: #1a2a3a;
  --color-accent: #4a8fc2;
  --color-accent-dark: #3a7aad;
  --color-text: #2d2d2d;
  --color-text-light: #666;
  --color-white: #ffffff;
  --color-light-gray: #f5f5f5;
  --color-border: #e0e0e0;
  --color-footer-dark: #1e2d3d;
  --color-footer-blue: #4a8fc2;
  --font-primary: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Avenir', 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 100%;
  padding: 0 40px;
}

.logo {
  display: inline-block;
  line-height: 1;
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a::before {
  content: none;
}

.dropdown-arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.85rem;
}

.dropdown-menu a:hover {
  background: var(--color-light-gray);
}

.dropdown-menu a::after {
  display: none;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Slider --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 72px;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide video,
.project-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide default play button on mobile */
video::-webkit-media-controls-start-playback-button,
video::-webkit-media-controls-play-button {
  display: none !important;
  -webkit-appearance: none;
}
video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none;
}
video::-webkit-media-controls {
  display: none !important;
}

.hero-slide video {
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-white);
  padding: 12px 0;
  border-top: 2px solid var(--color-accent);
  display: inline-block;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.hero-dot.active {
  background: var(--color-white);
}

/* --- What We Do / Services Intro --- */
.what-we-do {
  padding: 80px 0;
}

.what-we-do .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.what-we-do-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.what-we-do h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 32px;
  color: var(--color-text);
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  color: var(--color-text);
  cursor: pointer;
  transition: color 0.3s ease;
}

.service-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.service-list li:hover {
  color: var(--color-accent);
}

.what-we-do-image {
  border-radius: 8px;
  overflow: hidden;
  height: 400px;
}

.what-we-do-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Recent Projects --- */
.recent-projects {
  padding: 80px 0;
  background: var(--color-white);
}

.recent-projects .container {
  max-width: 100%;
  padding: 0 40px;
}

.recent-projects-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 8px 20px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.nav-arrows {
  display: flex;
  gap: 8px;
}

.nav-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--color-text);
  transition: all 0.3s ease;
}

.nav-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.project-card-image {
  height: 380px;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.03);
}

.project-card-info {
  padding: 12px 16px;
}

.project-card-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.project-card-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Properties Section --- */
.properties {
  padding: 80px 0;
}

.properties-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.property-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.property-card-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.property-tags {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.tag-lease {
  background: var(--color-accent);
  color: var(--color-white);
}

.tag-sale {
  background: #e8a838;
  color: var(--color-white);
}

.tag-type {
  background: var(--color-white);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.property-card-info {
  padding: 14px 16px;
}

.property-card-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.property-card-info p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* --- Services Summary --- */
.services-summary {
  padding: 80px 0;
  background: var(--color-light-gray);
  text-align: center;
}

.services-summary .container {
  max-width: 720px;
}

.services-summary h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.services-summary p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border: 1.5px solid var(--color-accent);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* --- Footer --- */
.footer-bar {
  background: var(--color-footer-dark);
  padding: 16px 0;
  display: flex;
  align-items: center;
}

.footer-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bar .logo img {
  height: 24px;
}

.footer-bar .tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 16px;
}

.footer {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 48px 0 32px;
}

.footer .container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo-mark {
  line-height: 1;
}

.footer-logo-mark img {
  height: 100px;
  width: auto;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-white);
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.footer ul li a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--color-white);
  transition: background 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 24px;
  text-align: right;
}

/* --- About Page Hero --- */
.page-hero {
  margin-top: 72px;
  padding: 80px 0 40px;
  background: var(--color-white);
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1.2;
  max-width: 600px;
  margin-bottom: 16px;
}

.page-hero .subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 500px;
}

/* --- Stats Section --- */
.stats {
  padding: 40px 0 80px;
}

.stats .container {
  display: flex;
  gap: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Services Detail (Blue Background) --- */
.services-detail {
  background: var(--color-accent);
  color: var(--color-white);
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.services-detail .container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
}

.services-sidebar h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
}

.services-sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-sidebar ul li a {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  transform: translateX(0);
  letter-spacing: 0;
  font-weight: bold;
}

.services-sidebar ul li a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.services-sidebar ul li a.active {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(6px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-content {
  position: relative;
}

.service-panel {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

.service-panel.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.service-panel p {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-panel.active p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.service-panel .service-content-image {
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-panel.active .service-content-image {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.25s;
}

.service-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
  max-width: 600px;
}

.service-content-image {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  height: 450px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-content-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-panel.active .service-content-image img {
  animation: slowZoom 10s ease-out forwards;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

/* --- Team Section --- */
.team {
  padding: 80px 0;
}

.team-intro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.team-intro h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
}

.team-intro p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.team-slider-wrapper {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.team-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.team-grid::-webkit-scrollbar {
  display: none;
}

.team-member {
  text-align: left;
  min-width: calc((100% - 96px) / 5);
  flex-shrink: 0;
}

.team-member-image {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.team-member p {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.team-slider-arrows {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.team-slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.team-slider-arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.team-slider-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* --- Philosophy Section --- */
.philosophy {
  padding: 60px 0;
  background: var(--color-light-gray);
}

.philosophy-header {
  display: flex;
  gap: 40px;
  align-items: baseline;
  margin-bottom: 24px;
}

.philosophy h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.tab-links {
  display: flex;
  gap: 24px;
}

.tab-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.tab-link.active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.philosophy-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-accent);
  max-width: 700px;
}

/* --- Values Section --- */
.values {
  padding: 80px 0;
}

.values-header {
  display: flex;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 48px;
}

.values h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.values-acronym {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-light);
}

.value-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.value-item:first-child {
  border-top: 1px solid var(--color-border);
}

.value-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* --- Sales + Leasing Page --- */
.listings-page {
  margin-top: 72px;
  padding: 40px 0;
}

.listings-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.search-input {
  flex: 1;
  max-width: 300px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--color-accent);
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-accent);
  border-radius: 24px;
  background: none;
  color: var(--color-accent);
  font-size: 0.85rem;
  font-family: var(--font-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.reset-filters {
  font-size: 0.85rem;
  color: var(--color-accent);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-primary);
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.listings-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
}

.results-count {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.sort-select {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-primary);
  outline: none;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Contact Page --- */
.contact-page {
  margin-top: 72px;
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  margin-bottom: 32px;
}

.contact-details-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.contact-details-item .icon {
  width: 20px;
  text-align: center;
  color: var(--color-accent);
  font-size: 1rem;
  margin-top: 2px;
}

.contact-details-item .text {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-form {
  background: var(--color-light-gray);
  padding: 40px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  outline: none;
  background: var(--color-white);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-accent);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

/* --- Projects Page (old) --- */
.projects-page {
  margin-top: 72px;
  padding: 60px 0 80px;
}

.projects-page h1 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Projects Showcase --- */
.projects-showcase {
  margin-top: 72px;
}

.projects-showcase-header {
  padding: 60px 40px 40px;
}

.projects-showcase-header h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.showcase-filters {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}

.search-bar .search-icon {
  position: absolute;
  left: 12px;
  color: var(--color-text-light);
  pointer-events: none;
}

.search-bar input {
  padding: 8px 16px 8px 36px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  color: var(--color-text);
  width: 220px;
  transition: border-color 0.2s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.filter-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text-light);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-text);
  color: var(--color-text);
}

.filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.showcase-card.hidden,
.flyer-card.hidden {
  display: none;
}

.showcase-grid-3col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 0 40px 80px;
}

.showcase-grid-3col.loading {
  opacity: 0;
}

.showcase-grid-3col.ready {
  opacity: 1;
}

.showcase-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.showcase-image {
  overflow: hidden;
  height: 380px;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.showcase-card:hover .showcase-image img {
  transform: scale(1.03);
}

.showcase-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 16px;
}

.showcase-info h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.showcase-info p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Flyer Listings (Sales + Leasing) --- */
.flyer-listings {
  margin-top: 72px;
}

.flyer-listings-header {
  padding: 60px 40px 0;
}

.flyer-listings-header h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.flyer-listings-header .page-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.flyer-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 0;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0;
}

.flyer-tab {
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-primary);
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
}

.flyer-tab.active {
  color: var(--color-text);
  border-bottom-color: var(--color-accent);
}

.flyer-tab:hover {
  color: var(--color-text);
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 40px 80px;
}

.flyer-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.flyer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.flyer-card-image {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: var(--color-light-gray);
}

.flyer-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.flyer-card:hover .flyer-card-image img {
  transform: scale(1.03);
}

.flyer-download-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--color-text);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.flyer-card:hover .flyer-download-icon {
  opacity: 1;
}

.flyer-card-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 12px 16px;
}

.flyer-card-details h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.flyer-card-details .flyer-location {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.flyer-card-info .flyer-type {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flyer-load-more {
  text-align: center;
  margin-top: 48px;
}

.flyer-load-more button {
  padding: 12px 40px;
  font-size: 0.9rem;
  font-family: var(--font-primary);
  font-weight: 500;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.flyer-load-more button:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- Project Detail Page --- */
.project-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.project-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.project-hero-content {
  padding: 60px;
  color: var(--color-white);
}

.project-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.project-hero-location {
  font-size: 1.2rem;
  opacity: 0.85;
  font-weight: 400;
}

.project-detail {
  padding: 80px 0 60px;
}

.project-detail-header {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.project-detail-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

.project-detail-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text-light);
}

.project-detail-facts {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.project-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  font-weight: 600;
}

.fact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.project-gallery {
  padding: 0 60px 80px;
}

.project-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-gallery-item {
  border-radius: 12px;
  overflow: hidden;
}

.project-gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-gallery-item:hover img {
  transform: scale(1.03);
}

.project-gallery-wide {
  grid-column: 1 / -1;
}

.project-gallery-wide img {
  height: 500px;
}

.project-back {
  text-align: center;
  padding: 0 0 80px;
}

.btn-back {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 12px 28px;
  border: 1.5px solid var(--color-border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-back:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* --- Lightbox --- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 3.5rem;
  cursor: pointer;
  padding: 16px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 768px) {
  .flyer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .flyer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {

  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-member {
    min-width: calc((100% - 72px) / 4);
  }

  .footer .container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  /* --- Header --- */
  .header .container {
    padding: 0 20px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-links.active {
    display: flex;
  }

  .dropdown-menu,
  .dropdown-arrow {
    display: none !important;
  }

  /* --- Hero --- */
  .hero {
    height: 70vh;
    min-height: 350px;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .hero-dots {
    bottom: 16px;
    right: 16px;
  }

  /* --- Page Hero --- */
  .page-hero {
    padding: 40px 0;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero .subtitle {
    font-size: 0.95rem;
  }

  /* --- General Sections --- */
  .section-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  /* --- Recent Projects (Homepage) --- */
  .recent-projects .container {
    padding: 0 20px;
  }

  .recent-projects-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .project-card-image {
    height: 200px;
  }

  /* --- Services Summary (Homepage) --- */
  .services-summary {
    padding: 40px 20px;
  }

  .services-summary h2 {
    font-size: 1.5rem;
  }

  /* --- Stats --- */
  .stats .container {
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 20px;
    justify-content: center;
  }

  .stats .container > div:first-child {
    width: 100%;
    text-align: center;
  }

  .stat-item {
    text-align: center;
    flex: 1;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* --- Services Detail (About) --- */
  .services-detail {
    min-height: auto;
    padding: 60px 0;
  }

  .services-detail .container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }

  .services-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .services-sidebar ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .services-sidebar ul li a {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .service-content p {
    font-size: 1rem;
  }

  .service-content-image {
    height: 200px;
  }

  /* --- Team --- */
  .team-intro {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-intro h2 {
    font-size: 1.5rem;
  }

  .team-member {
    min-width: calc(50% - 12px);
  }

  .team-slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* --- Philosophy --- */
  .philosophy-header {
    flex-direction: column;
    gap: 16px;
  }

  .tab-links {
    gap: 12px;
  }

  .philosophy-text {
    font-size: 0.95rem;
  }

  /* --- Values --- */
  .values-header {
    flex-direction: column;
    gap: 8px;
  }

  .value-item h4 {
    font-size: 0.95rem;
  }

  .value-item p {
    font-size: 0.85rem;
  }

  /* --- Projects Page --- */
  .projects-showcase-header {
    padding: 40px 20px 24px;
  }

  .projects-showcase-header h1 {
    font-size: 1.8rem;
  }

  .showcase-filters {
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-bar {
    width: 100%;
    margin-top: 4px;
  }

  .search-bar input {
    width: 100%;
  }

  .filter-btn {
    font-size: 0.85rem;
    padding: 8px 14px;
  }

  .showcase-grid-3col {
    grid-template-columns: 1fr;
    padding: 0 20px 60px;
  }

  .showcase-image {
    height: 280px;
  }

  /* --- Sales + Leasing Page --- */
  .flyer-listings-header {
    padding: 40px 20px 0;
  }

  .flyer-listings-header h1 {
    font-size: 1.8rem;
  }

  .flyer-grid {
    padding: 20px 20px 60px;
  }

  .flyer-card {
    border-radius: 8px;
  }

  .flyer-card-image {
    height: 160px;
  }

  .flyer-card-info {
    padding: 10px 12px;
  }

  .flyer-card-details h3 {
    font-size: 0.85rem;
  }

  .flyer-card-details .flyer-location {
    font-size: 0.75rem;
  }

  .flyer-card-info .flyer-type {
    font-size: 0.65rem;
  }

  .flyer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px 20px 40px;
  }

  .listings-grid,
  .projects-full-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .listings-toolbar {
    flex-wrap: wrap;
    gap: 8px;
  }

  .search-input {
    max-width: 100%;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Contact Page --- */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-info h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* --- Project Detail Pages --- */
  .project-hero {
    height: 60vh;
    min-height: 300px;
  }

  .project-hero-content {
    padding: 24px 20px;
  }

  .project-hero-content h1 {
    font-size: 1.8rem;
  }

  .project-detail-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-detail-intro h2 {
    font-size: 1.3rem;
  }

  .project-gallery {
    padding: 0 20px 60px;
  }

  .project-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .project-gallery-item img,
  .project-gallery-wide img {
    height: 250px;
  }

  /* --- Footer --- */
  .footer .container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bar .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* --- Lightbox --- */
  .lightbox-arrow {
    font-size: 2.5rem;
    padding: 10px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}
