/* ============================================
   MICHAEL BISHOP REALTOR - MAIN STYLESHEET
   Oahu, Hawaii Real Estate
   ============================================ */

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

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #c5a55a;
  --accent-light: #d4b96a;
  --text-light: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #8a8a9a;
  --bg-light: #f8f7f4;
  --bg-white: #ffffff;
  --bg-dark: #0f0f1a;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', 'Helvetica Neue', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-white);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* ---------- TYPOGRAPHY ---------- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-light);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 90, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

.btn-dark {
  background: var(--primary);
  color: var(--text-light);
}

.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

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

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 3px;
  color: var(--text-light);
  font-weight: 400;
  text-transform: uppercase;
  display: flex;
  align-items: center;
}

.nav-logo-svg {
  height: 36px;
  width: auto;
}

.nav-logo-img {
  height: 160px;
  width: auto;
}

.nav-logo span {
  color: var(--accent);
}

.footer-logo-svg {
  height: 28px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

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

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

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

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

.nav-contact {
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent) !important;
}

.nav-search {
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
}

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

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

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

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-size: cover;
  background-position: center;
}

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

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 26, 0.4) 0%,
    rgba(15, 15, 26, 0.3) 50%,
    rgba(15, 15, 26, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-light);
  padding: 0 24px;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 1s ease 0.6s forwards;
}

.hero-subtitle {
  font-family: var(--font-accent);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 0.8s forwards;
}

.hero-license {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  color: var(--accent);
  animation: fadeUp 1s ease 1s forwards;
  margin-bottom: 36px;
}

.hero-cta {
  opacity: 0;
  animation: fadeUp 1s ease 1.2s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--text-light);
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s ease 1.4s forwards;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-light);
  animation: scrollPulse 2s ease infinite;
}

/* ---------- FEATURED PROPERTIES ---------- */
.featured-properties {
  background: var(--bg-white);
}

.featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.property-card {
  background: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.property-img {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: var(--text-light);
  padding: 6px 16px;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}

.property-info {
  padding: 28px;
}

.property-price {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.property-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.property-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- SELLING / BUYING CTA ---------- */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.cta-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-selling {
  background: var(--primary);
  color: var(--text-light);
}

.cta-buying {
  background: var(--bg-light);
  color: var(--text-dark);
}

.cta-block .section-title {
  margin-bottom: 16px;
}

.cta-block .section-subtitle {
  margin-bottom: 32px;
}

.cta-selling .section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* ---------- PROPERTY CATEGORIES ---------- */
.categories {
  background: var(--bg-light);
}

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

.category-card {
  position: relative;
  height: 420px;
  overflow: hidden;
  cursor: pointer;
}

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

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,15,26,0.8) 0%, rgba(15,15,26,0.1) 60%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  transition: var(--transition);
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(15,15,26,0.9) 0%, rgba(15,15,26,0.2) 60%);
}

.category-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

/* ---------- NEIGHBORHOODS ---------- */
.neighborhoods {
  background: var(--bg-white);
}

.neighborhoods-header {
  text-align: center;
  margin-bottom: 50px;
}

.neighborhoods-header .section-subtitle {
  margin: 0 auto;
}

.neighborhood-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.neighborhood-tab {
  padding: 10px 18px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  background: transparent;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-family: var(--font-body);
}

.neighborhood-tab.active,
.neighborhood-tab:hover {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.neighborhood-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 500px;
  overflow: hidden;
}

.neighborhood-image {
  position: relative;
  overflow: hidden;
}

.neighborhood-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.6s ease;
}

.neighborhood-details {
  background: var(--bg-light);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.neighborhood-details h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 400;
}

.neighborhood-details p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ---------- ABOUT / BIO ---------- */
.about-section {
  background: var(--primary);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-subtitle {
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

.about-text .section-title {
  color: var(--text-light);
}

.about-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.about-credentials {
  display: flex;
  gap: 40px;
  margin-bottom: 36px;
}

.credential {
  text-align: center;
}

.credential-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--accent);
  font-weight: 400;
}

.credential-label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: top;
}

.about-image::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--accent);
  z-index: -1;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ---------- BLOG ---------- */
.blog-section {
  background: var(--bg-light);
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

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

.blog-card {
  background: var(--bg-white);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-img {
  height: 240px;
  overflow: hidden;
}

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

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

.blog-content {
  padding: 28px;
}

.blog-date {
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- CONTACT / CTA SECTION ---------- */
.contact-section {
  background: var(--bg-white);
  position: relative;
}

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

.contact-text .section-title {
  margin-bottom: 20px;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg-light);
  outline: none;
  color: var(--text-dark);
}

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

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

.contact-or {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.contact-phone {
  text-align: center;
  margin-top: 4px;
}

.contact-phone a {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.3rem;
}

.contact-phone a:hover {
  color: var(--accent-light);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h5 {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 600;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.footer-contact-info p {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-contact-info a {
  color: rgba(255,255,255,0.5);
}

.footer-contact-info a:hover {
  color: var(--accent);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.35);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ---------- AREAS OF EXPERTISE ---------- */
.expertise-section {
  background: var(--primary);
  padding: 80px 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.expertise-item {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.expertise-item:last-child {
  border-right: none;
}

.expertise-item:hover {
  background: rgba(255,255,255,0.03);
}

.expertise-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.expertise-item h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: 8px;
}

.expertise-item p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- SEARCH OVERLAY ---------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 26, 0.98);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.search-overlay-content {
  text-align: center;
  width: 100%;
  max-width: 700px;
  padding: 0 24px;
}

.search-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 32px;
  font-weight: 400;
}

.search-overlay input {
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-light);
  outline: none;
  text-align: center;
  letter-spacing: 2px;
}

.search-overlay input::placeholder {
  color: rgba(255,255,255,0.3);
}

.search-close {
  position: absolute;
  top: 40px;
  right: 40px;
  font-size: 2rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.search-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .neighborhood-content {
    grid-template-columns: 1fr;
  }

  .neighborhood-image {
    height: 350px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 450px;
  }

  .about-image::after {
    display: none;
  }

  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .expertise-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }

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

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    height: 300px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .neighborhood-tabs {
    gap: 6px;
  }

  .neighborhood-tab {
    padding: 8px 16px;
    font-size: 0.65rem;
  }

  .neighborhood-details {
    padding: 40px 24px;
  }

  .about-credentials {
    flex-wrap: wrap;
    gap: 24px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
  }

  .expertise-item {
    border-right: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 2px;
  }
  
  .property-img {
    height: 240px;
  }
}
