/* Professional Property Management - Refined Design */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #1a2d4a;
  --navy-light: #2d4466;
  --accent: #c4a35a;
  --accent-hover: #b8923f;
  --bg: #f8f9fa;
  --bg-card: #ffffff;
  --text: #2c3e50;
  --text-muted: #5a6c7d;
  --border: #e2e8f0;
}

body {
  margin: 0;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* Header - Tab-style navigation */
.header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.logo {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0.5rem 0 0;
  letter-spacing: 0.02em;
}
.logo:hover { color: var(--accent); }
.logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-tabs {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-tabs a {
  display: flex;
  align-items: center;
  padding: 1.1rem 1.4rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}
.nav-tabs a:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}
.nav-tabs a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-bottom-color: var(--accent);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switcher {
  display: flex;
  gap: 0;
}
.lang-btn {
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.9);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.lang-btn:first-child { border-radius: 4px 0 0 4px; border-right: none; }
.lang-btn:last-child { border-radius: 0 4px 4px 0; }
.lang-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.lang-btn.active {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}
.hero-content {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.hero h1 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.5rem;
  margin: 0 0 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.hero .lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 1rem;
  line-height: 1.6;
}
.hero .tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin: 1.5rem 0 0;
  letter-spacing: 0.05em;
}

/* Main content */
.main {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
.page-title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 2.25rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.page-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}
.content h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  font-weight: 700;
}
.content h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  font-weight: 700;
}
.content p {
  margin: 0 0 1rem;
  color: var(--text);
}
.content ul {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}
.content li {
  margin-bottom: 0.4rem;
}
.content li::marker { color: var(--accent); }

/* Service cards on homepage */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 4px 20px rgba(26,45,74,0.08);
  transform: translateY(-2px);
}
.service-card h4 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Why Work With Us - feature list */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.why-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.why-item span { display: block; }

/* Team page */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2.5rem 0;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.team-card:hover {
  box-shadow: 0 4px 20px rgba(26,45,74,0.08);
}
.team-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 1.5rem 2rem;
}
.team-card-header h3,
.team-card-header .team-role,
.team-card-header .team-credentials {
  color: #fff !important;
}
.team-card-header h3 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
  font-weight: 700;
}
.team-card-header .team-role {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.25rem;
  letter-spacing: 0.01em;
  line-height: 1.4;
}
.team-card-header .team-credentials {
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}
.team-card-body {
  padding: 1.5rem 2rem;
}
.team-card-body p {
  margin: 0 0 1rem;
}
.team-card-body p:last-child {
  margin-bottom: 0;
}
.team-closing {
  margin: 2.5rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.team-closing h2 {
  margin-top: 0;
}

/* Properties / Our Work page */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.property-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.property-card:hover {
  box-shadow: 0 6px 24px rgba(26,45,74,0.12);
  transform: translateY(-3px);
}
.property-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--border);
}
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.property-info {
  padding: 1.25rem 1.5rem;
}
.property-info h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.property-location {
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}
.property-detail {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA box */
.cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin: 3rem 0;
  text-align: center;
}
.cta-box h3 {
  color: #fff;
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
}
.cta-box p {
  color: rgba(255,255,255,0.9);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
}
.cta-btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background: var(--accent);
  color: var(--navy);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease;
}
.cta-btn:hover { background: var(--accent-hover); color: var(--navy); }

/* Services page - section cards */
.service-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.service-section h3 {
  margin-top: 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: 1rem;
}
.service-section ul { margin-bottom: 0.5rem; }

/* Contact page */
.contact-info-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.contact-details {
  flex: 1;
  min-width: 200px;
}
.contact-logo {
  flex-shrink: 0;
}
.contact-logo img {
  height: 180px;
  width: auto;
  display: block;
  object-fit: contain;
}
@media (max-width: 600px) {
  .contact-info-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.contact-page .page-title { margin-bottom: 0.25rem; }
.contact-form {
  max-width: 480px;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact-form label span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}
.contact-form input,
.contact-form textarea {
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(26,45,74,0.1);
}
.contact-form button {
  padding: 0.85rem 1.75rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.2s ease;
}
.contact-form button:hover { background: var(--navy-light); }
.form-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.footer p { margin: 0; color: inherit; }

/* Mobile */
@media (max-width: 768px) {
  .nav { flex-direction: column; align-items: stretch; padding: 1rem; }
  .nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-tabs a { padding: 0.75rem 1rem; font-size: 0.9rem; }
  .nav-right { justify-content: center; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.2); }
  .hero h1 { font-size: 1.85rem; }
  .hero { padding: 3rem 1rem; }
  .service-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
