/* ASHCROFT LAW STYLE GUIDE - FINAL REFINEMENT FROM STYLESHEET */

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

:root {
  --font-sans: 'Montserrat', sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Colors from stylesheet */
  --color-bg: #131313;
  --color-text: #e0e0e0;
  --color-accent: #c9a66d;
  --color-border: rgba(255, 255, 255, 0.15);
  --color-bg-light: #1A1A1A;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Transitions */
  --transition-fast: all 0.15s ease;
}

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

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.8;
  font-size: 18px; /* Base font size */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: #ffffff;
  margin-bottom: var(--space-md);
  font-weight: 400 !important; /* From stylesheet */
  line-height: 135%;
}

h1 { font-size: 54px; }
h2 { font-size: 40px; }
h3 { font-size: 32px; color: #ffffff; } /* Adjusted to be title on cards */
p { margin-bottom: 40px !important; }
a { color: var(--color-accent); text-decoration: none; transition: var(--transition-fast); }
a:hover { color: #ffffff; }

/* Layout */
.container { max-width: 1300px; margin: 0 auto; padding: 0 30px; }

/* Navigation */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1001; transition: var(--transition-fast); padding: 50px 0; }
nav { display: flex; justify-content: space-between; align-items: center; }
header.scrolled { background: rgba(19, 19, 19, 0.9); backdrop-filter: blur(10px); padding: 20px 0; }
nav .logo { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700; color: #ffffff; }
nav ul { display: flex; gap: 50px; list-style: none; }
nav ul li a {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem; /* Corrected font size */
  letter-spacing: .2em;
  font-family: var(--font-sans);
  font-weight: 700;
  transition: var(--transition-fast);
}
nav ul li a:hover, nav ul li.current-menu-item a { color: var(--color-accent); }

/* Sections */
section { padding: 80px 0; }
.text-center { text-align: center; }

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(to bottom, rgba(19,19,19,0) 1%, #131313 100%),
              url('https://picsum.photos/1600/900?grayscale') center/cover no-repeat;
  padding: var(--space-lg);
}
.hero p { font-size: 1.25rem; max-width: 650px; margin: 0 auto var(--space-md); }

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  line-height: 100%;
  font-size: 17px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  background: none;
  border: 1px solid white;
  padding: 20px 70px 18px 35px;
  letter-spacing: .1em;
  transition: var(--transition-fast);
  color: #fff;
  position: relative;
}
.btn:hover {
  padding-left: 40px;
  padding-right: 65px;
  color: var(--color-accent);
}
.btn::after {
  content: '→';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 30px;
  font-size: 20px;
  color: var(--color-accent);
  transition: var(--transition-fast);
}
.btn:hover::after { right: 25px; }

/* Forms */
form { margin-top: var(--space-md); }
input, textarea {
  width: 100%;
  padding: 20px 0;
  margin-bottom: 10px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-accent);
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: #fff;
}
input::placeholder, textarea::placeholder { color: #fff; opacity: 1; }
label { display: none; }

/* Cards */
.card {
  background: #1A1A1A;
  border: none;
  padding: 40px;
  transition: var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card .read-article {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid #454545;
  color: var(--color-accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .4em;
}

/* Grid Layouts */
.grid { display: grid; gap: 12px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Footer */
footer {
  padding: 80px 0 30px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 80%);
}
footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://picsum.photos/1600/400?grayscale') center/cover;
  opacity: 0.5;
  z-index: -1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  border-bottom: 1px solid #444;
  padding-bottom: var(--space-lg);
}
.footer-section h4 { font-size: 1.2rem; margin-bottom: var(--space-md); }
.footer-section ul { list-style: none; }
.footer-section ul.links-horizontal { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.footer-section ul.links-horizontal li { margin-bottom: 0; }
.footer-section li { margin-bottom: var(--space-sm); }
.footer-section a { color: var(--color-text); font-size: 18px; }
.footer-section a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; margin-top: var(--space-lg); font-size: 16px; color: rgba(255, 255, 255, 0.6); }

/* Responsive */
@media screen and (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1280px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
@media screen and (max-width: 1024px) {
  h1 { font-size: 44px; }
  h2 { font-size: 35px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media screen and (max-width: 667px) {
  body { font-size: 14px; }
  h1 { font-size: 32px; }
  h2 { font-size: 25px; }
}