@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary-color: #0b1a2a; /* Dark blue background */
  --accent-color: #c89645; /* Gold accent */
  --text-color: #333333;
  --text-light: #ffffff;
  --font-heading: 'Didot', 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.site-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 5px;
}

.contact-info-header {
  font-size: 0.85rem;
  color: #a0aab5;
  display: flex;
  gap: 15px;
}

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

.nav-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.main-nav a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

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

.main-nav a.active {
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 5px;
}

.header-right-logos {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.three-trees-logo {
  height: 45px;
}

.partner-logos {
  display: flex;
  gap: 15px;
  align-items: center;
}

.partner-logos img {
  height: 40px;
}

/* Hero Section (Home) */
.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 600px;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  padding: 0 5%;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../images/bg-header-mod.jpg');
  background-size: cover;
  background-position: center 15%;
  opacity: 0.75;
  filter: grayscale(100%);
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(11, 26, 42, 0.95) 0%, rgba(11, 26, 42, 0.5) 45%, rgba(0,0,0,0) 80%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 300;
}

.hero-divider {
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
  margin: 30px 0;
}

.hero-content p {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Page Layout */
.page-container {
  display: flex;
  min-height: 100vh;
}

.page-hero {
  width: 40%;
  position: relative;
  background-color: var(--primary-color);
  padding: 40px 5%;
  color: var(--text-light);
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../images/bg-header-mod.jpg');
  background-size: cover;
  background-position: left 15%;
  opacity: 0.75;
  filter: grayscale(100%);
  z-index: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(11, 26, 42, 0.9) 0%, rgba(11, 26, 42, 0.4) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.page-tag {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 20px;
  display: block;
}

.page-hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 30px;
}

.page-hero-content p {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 20px;
  opacity: 0.9;
}

.page-hero-content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 30px;
}

.page-content {
  width: 60%;
  background-color: #ffffff;
  padding: 80px 8%;
  overflow-y: auto;
}

/* Expertise List */
.expertise-item {
  margin-bottom: 60px;
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 40px;
}
.expertise-item:last-child {
  border-bottom: none;
}

.expertise-item h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  width: 35%;
  padding-right: 20px;
  color: #222;
}

.expertise-item .item-content {
  width: 65%;
}

.expertise-item p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #444;
}

/* Team Page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 40px;
}

.team-member {
  margin-bottom: 30px;
}

.team-member img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-member h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-member h4 {
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-member p {
  color: #444;
}

/* Contact Page */
.contact-section {
  max-width: 600px;
}
.contact-section h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: var(--primary-color);
}
.contact-section p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  color: #a0aab5;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  gap: 20px;
}

.site-footer a {
  color: #a0aab5;
}
.site-footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    gap: 20px;
  }
  .nav-container {
    flex-direction: column;
    width: 100%;
  }
  .page-container {
    flex-direction: column;
  }
  .page-hero, .page-content {
    width: 100%;
  }
  .expertise-item {
    flex-direction: column;
  }
  .expertise-item h3 {
    width: 100%;
    margin-bottom: 20px;
  }
  .expertise-item .item-content {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .main-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}
