/* Reset & Base Styles */
:root {
  --primary-color: #0f172a; /* Navy Blue */
  --secondary-color: #b45309; /* Bronze/Gold Accent */
  --accent-light: #f3f4f6; /* Light Gray */
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --spacing-container: 1200px;
  --spacing-padding: 2rem;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

ul {
  list-style: none;
}

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

/* Utilities */
.container {
  max-width: var(--spacing-container);
  margin: 0 auto;
  padding: 0 var(--spacing-padding);
}

.section-padding {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--accent-light);
}

.bg-navy {
  background-color: var(--primary-color);
  color: var(--white);
}

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

.text-white {
  color: var(--white);
}

.text-white p {
  color: #e2e8f0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #92400e;
}

.btn-outline {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Top Bar */
.top-bar {
  background-color: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--text-light);
}

.top-contact {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
}

/* Header & Nav */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

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

.logo a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

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

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-dark);
}

.main-nav a:hover {
  color: var(--secondary-color);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.9rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: #0f172a; /* Fallback color */
  background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)),
    url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&q=80'); /* London placeholder */
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 8rem 0;
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero .lead {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.trust-badge {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-top: 2rem;
}

/* Trust Bar */
.trust-bar {
  background-color: #f8fafc;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  text-align: center;
}

.trust-bar p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.logos-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  color: var(--text-light);
  font-weight: 600;
  opacity: 0.7;
}

/* Features / Pain Points */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  border: 1px solid #e2e8f0;
  padding: 2rem;
  border-radius: 8px;
  background-color: var(--white);
}

.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.services-cta {
  margin-top: 2rem;
}

/* About / Split */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* About Me page */
.about-page .about-section {
  min-height: 60vh;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-content h1 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
}

.about-content p {
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.about-content .btn {
  margin-top: 1rem;
}

.main-nav a.active {
  color: var(--secondary-color);
  font-weight: 600;
}

/* Services page */
.services-page .services-intro .section-header h1 {
  margin-bottom: 0.5rem;
  font-size: 2.25rem;
}

.service-block {
  padding: 4rem 0;
}

.service-block--no-top-padding {
  padding-top: 0;
}

.service-block:nth-child(even) {
  background-color: var(--accent-light);
}

.service-block__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  gap: 3rem;
  align-items: center;
}

.service-block--reverse .service-block__image {
  order: 2;
}

.service-block--reverse .service-block__content {
  order: 1;
}

.service-block__image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.service-block__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.service-block__content {
  padding: 0.5rem 0;
}

.service-block__content h2 {
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  color: var(--text-dark);
}

.service-block__content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.service-block__content p:last-child {
  margin-bottom: 0;
}

.check-list li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.placeholder-img {
  background-color: rgba(255, 255, 255, 0.1);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dark);
}

.testimonial-card cite {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
  font-style: normal;
}

/* Testimonials page */
.testimonials-page .testimonials-content {
  max-width: 720px;
}

.testimonials-page .testimonials-intro {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.testimonials-page .testimonial-list {
  margin: 0;
}

.testimonials-page .testimonial-item {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
}

.testimonials-page .testimonial-item p {
  margin-bottom: 0.5rem;
  font-style: italic;
  color: var(--text-dark);
}

.testimonials-page .testimonial-item cite {
  font-style: normal;
  font-weight: 600;
  color: var(--secondary-color);
}

.testimonials-page .testimonial-sep {
  margin: 1.5rem 0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details .detail {
  margin-bottom: 1.5rem;
}

.contact-details strong {
  display: block;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.styled-form {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.1);
}

.form-disclaimer {
  font-size: 0.8rem;
  margin-top: 1rem;
  text-align: center;
}

/* Footer */
.main-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 1rem 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

  .top-bar {
    font-size: 0.65rem;
  }

  .top-contact {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .main-nav {
    display: none; /* Hide for now, can implement toggle JS */
  }

  .nav-cta {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .split-layout,
  .about-layout,
  .contact-wrapper,
  .service-block__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-block--reverse .service-block__image,
  .service-block--reverse .service-block__content {
    order: unset;
  }

  .about-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-form-container {
    order: -1; /* Put form first on mobile contact section */
  }

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

/* Credentials page */
.credentials-page .section-header {
  margin-bottom: 2rem;
}

.credentials-page .section-header p {
  margin-bottom: 0;
}

.credentials-actions {
  margin: 2rem auto 0 auto;
  width: fit-content;
}

.pdf-viewer-wrap {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  min-height: 600px;
}

.pdf-viewer {
  width: 100%;
  height: 80vh;
  min-height: 600px;
  display: block;
}

.pdf-viewer-wrap p {
  padding: 2rem;
  text-align: center;
}
