:root {
  /* Brand Palette */
  --color-stone: #B4A79E; /* London Stone */
  --color-sage: #8A9A5B; /* Serene Sage */
  --color-navy: #1B263B; /* Midnight Navy */
  --color-linen: #F9F7F2; /* Soft Linen */
  --color-white: #FFFFFF;
  
  /* Spacing */
  --section-padding: 120px 80px;
  --section-padding-mobile: 60px 20px;
  
  /* Fonts */
  --font-serif: 'Lora', 'Playfair Display', serif;
  --font-sans: 'Inter', 'Montserrat', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-linen);
  color: var(--color-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

p {
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(27, 38, 59, 0.85);
}

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

a:hover {
  opacity: 0.7;
}

/* Updated Navigation for Readability */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 80px;
  /* Glassmorphism effect for contrast against hero image */
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.logo img {
  height: auto;
  width: auto;
  max-height: 80px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-navy);
  position: relative;
  padding-bottom: 5px;
}

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

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

.cta-button {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 12px 24px;
  border-radius: 2px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--color-sage);
  opacity: 1;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /* Darkened overlay for text contrast */
  background-image: linear-gradient(rgba(27, 38, 59, 0.4), rgba(27, 38, 59, 0.4)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000');
  background-size: cover;
  background-position: center;
  color: var(--color-white);
  text-align: center;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

/* Section Styling */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px auto;
}

.section-title h2 {
  font-size: 3rem;
  margin-bottom: 25px;
  color: var(--color-navy);
}

.section-title p {
    font-size: 1.2rem;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  border: 1px solid var(--color-stone);
  padding: 10px;
  background-color: var(--color-white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.team-member h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.team-member .role {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-sage);
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background-color: var(--color-white);
  padding: 60px 50px;
  border-radius: 2px;
  box-shadow: 0 5px 30px rgba(0,0,0,0.03);
  transition: all 0.4s ease;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  border-bottom: 4px solid var(--color-sage);
  transform: translateY(-10px);
}

.service-card h3 {
  margin-bottom: 25px;
  font-size: 2rem;
}

/* Footer */
footer {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: 100px 80px;
  text-align: center;
}

.footer-logo img {
  height: auto;
  width: auto;
  max-height: 120px;
  margin-bottom: 50px;
  object-fit: contain;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 968px) {
  nav { padding: 20px 40px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.8rem; }
  .team-grid { grid-template-columns: 1fr; gap: 80px; }
  section { padding: var(--section-padding-mobile); }
}
