/* ============================================================
   ABRAHAM, THOMPSONS & CO — MAIN STYLESHEET
   ============================================================
   
   TABLE OF CONTENTS
   -----------------
   1. FONTS & TYPOGRAPHY
   2. CSS VARIABLES (colours, spacing, sizing)
   3. RESET & BASE STYLES
   4. LAYOUT & CONTAINERS
   5. NAVBAR & NAVIGATION
   6. DROPDOWN MENUS
   7. MOBILE MENU
   8. HERO SECTION
   9. ABOUT STRIP (homepage)
   10. PRACTICE AREAS GRID
   11. PROPOSITION / QUOTE BAND
   12. CONTACT SECTION & FORM
   13. PAGE HEADERS (inner pages)
   14. ABOUT PAGE STYLES
   15. FOOTER
   16. BUTTONS & LINKS
   17. UTILITY CLASSES
   18. RESPONSIVE — TABLET (max-width: 1024px)
   19. RESPONSIVE — MOBILE (max-width: 768px)
   20. ACCESSIBILITY & REDUCED MOTION
   
   ============================================================ */


/* ============================================================
   1. FONTS & TYPOGRAPHY
   ============================================================
   
   TO CHANGE FONTS:
   1. Go to https://fonts.google.com and pick your fonts
   2. Update the @import URL below with your new fonts
   3. Update the --serif and --sans variables in Section 2
   
   Current fonts:
   - Headlines: Cormorant Garamond (elegant serif)
   - Body text: DM Sans (clean sans-serif)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@400;500;600&display=swap');


/* ============================================================
   2. CSS VARIABLES
   ============================================================
   
   Change these values to update colours, fonts, and spacing
   across the ENTIRE website in one place.
   ============================================================ */

:root {
  /* --- Colours --- */
  --black:        #000000;
  --white:        #FFFFFF;
  --off-white:    #F5F5F5;       /* Light background sections       */
  --grey-light:   #E0E0E0;       /* Borders, dividers               */
  --grey-mid:     #888888;       /* Secondary text, labels           */
  --grey-dark:    #333333;       /* Body text on light backgrounds   */
  --accent:       #9AC43A;       /* Brand green from logo            */
  --accent-dark:  #7DA62E;       /* Darker green for hover states    */

  /* --- Fonts --- */
  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'DM Sans', system-ui, sans-serif;

  /* --- Spacing --- */
  --container-max:  1140px;      /* Maximum content width            */
  --container-pad:  2rem;        /* Horizontal padding on container  */
  --section-pad:    6rem;        /* Vertical padding for sections    */

  /* --- Navbar --- */
  --navbar-height:  72px;
}


/* ============================================================
   3. RESET & BASE STYLES
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height); /* Offset for fixed navbar */
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; }

ul, ol { list-style: none; }


/* ============================================================
   4. LAYOUT & CONTAINERS
   ============================================================
   
   Use .container on any section's inner wrapper to keep
   content at a readable width with consistent padding.
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Full-width section wrapper */
.section {
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}

.section--black {
  background: var(--black);
  color: var(--white);
}

.section--grey {
  background: var(--off-white);
}


/* ============================================================
   5. NAVBAR & NAVIGATION
   ============================================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4vw;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
}

.navbar__logo img {
  height: 50px;
  width: auto;
}

/* Nav links container */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 0;
}

/* Individual nav items */
.navbar__item {
  position: relative;
}

.navbar__link {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  padding: 1.2rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.3s ease;
}

.navbar__link:hover,
.navbar__item:hover > .navbar__link {
  color: var(--white);
}

/* Active page indicator */
.navbar__link--active {
  color: var(--white);
}

/* Dropdown arrow icon */
.navbar__arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.navbar__item:hover .navbar__arrow {
  transform: rotate(180deg);
}

/* CTA button in navbar */
.navbar__cta {
  background: var(--accent);
  color: var(--black) !important;
  padding: 0.6rem 1.5rem !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  margin-left: 0.75rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.navbar__cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
}


/* ============================================================
   6. DROPDOWN MENUS
   ============================================================ */

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.navbar__item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown__link {
  display: block;
  padding: 0.65rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

.dropdown__link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent);
  padding-left: 1.8rem;
}


/* ============================================================
   7. MOBILE MENU TOGGLE
   ============================================================ */

.menu-toggle {
  display: none;        /* Hidden on desktop — shown via media query */
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s ease;
}


/* ============================================================
   8. HERO SECTION
   ============================================================
   
   TO CHANGE THE HERO BACKGROUND IMAGE:
   1. Place your image in the /images/ folder
   2. Update the background-image URL below
   
   Recommended image: 1920×1080px, dark or high-contrast
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 6vh;
  overflow: hidden;
  color: var(--white);

  /* HERO BACKGROUND IMAGE — change the file path below */
  background-image: url('../images/homepagehero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay so text is readable over any image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);   /* Adjust opacity: 0.5 = lighter, 0.8 = darker */
  z-index: 1;
}

/* Subtle green glow — decorative */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(154, 196, 58, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;          /* Sits above the overlay */
  padding-top: calc(var(--navbar-height) + 2rem);
}

.hero__tagline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 750px;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

/* Hero statistics bar */
.hero__stats {
  display: flex;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-number {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--grey-mid);
  margin-top: 0.4rem;
  display: block;
}


/* ============================================================
   9. ABOUT STRIP (homepage intro)
   ============================================================ */

.about-strip {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.about-strip__label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  white-space: nowrap;
  padding-top: 0.6rem;
  min-width: 120px;
  flex-shrink: 0;
}

.about-strip__text {
  max-width: 680px;
}

.about-strip__text p {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.55;
  color: var(--grey-dark);
}

.about-strip__text em {
  font-style: italic;
  color: var(--black);
}


/* ============================================================
   10. PRACTICE AREAS GRID
   ============================================================ */

.practice__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.practice__header h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.practice__header p {
  font-size: 0.88rem;
  color: var(--grey-mid);
  max-width: 300px;
  text-align: right;
  line-height: 1.5;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
}

.practice__card {
  background: var(--white);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease, color 0.4s ease;
  color: var(--black);
}

/* Green bottom border on hover */
.practice__card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.practice__card:hover::after {
  width: 100%;
}

.practice__card:hover {
  background: var(--black);
  color: var(--white);
}

.practice__card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

.practice__card-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--grey-mid);
  transition: color 0.4s ease;
}

.practice__card:hover .practice__card-desc {
  color: rgba(255, 255, 255, 0.5);
}

/* Arrow icon on cards */
.practice__card-arrow {
  align-self: flex-end;
  margin-top: 1.2rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.practice__card:hover .practice__card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.practice__card-arrow svg {
  width: 20px;
  height: 20px;
}

.practice__card:hover .practice__card-arrow svg {
  stroke: var(--accent);
}


/* ============================================================
   11. PROPOSITION / QUOTE BAND
   ============================================================ */

.proposition {
  text-align: center;
  position: relative;
}

/* Green divider above the quote */
.proposition::before {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 2.5rem;
}

.proposition__inner {
  max-width: 720px;
  margin: 0 auto;
}

.proposition__quote {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.proposition__cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--grey-mid);
  letter-spacing: 0.05em;
}


/* ============================================================
   12. CONTACT SECTION & FORM
   ============================================================ */

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.contact__info > p {
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 400px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.3rem;
}

.contact__value {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--black);
  line-height: 1.4;
}

.contact__value a {
  color: var(--black);
  border-bottom: 1px solid var(--grey-light);
  transition: border-color 0.3s ease;
}

.contact__value a:hover {
  border-color: var(--accent);
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form__group {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}

.form__input,
.form__select,
.form__textarea {
  font-family: var(--sans);
  font-size: 0.92rem;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1.5px solid var(--grey-light);
  background: transparent;
  color: var(--black);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
  width: 100%;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--accent);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: #BEBEBE;
}


/* ============================================================
   13. PAGE HEADERS (inner pages like About, Contact, etc.)
   ============================================================ */

.page-header {
  background: var(--black);
  color: var(--white);
  padding-top: calc(var(--navbar-height) + 4rem);
  padding-bottom: 4rem;
}

.page-header__tagline {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
}

.page-header__title {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-header__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 600px;
  line-height: 1.6;
}


/* ============================================================
   14. ABOUT PAGE STYLES
   ============================================================ */

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about__text h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--black);
}

.about__text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--grey-dark);
  margin-bottom: 1.2rem;
}

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

/* Vision / Mission / Proposition cards */
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.values__card {
  padding: 2rem;
  border: 1px solid var(--grey-light);
  transition: border-color 0.3s ease;
}

.values__card:hover {
  border-color: var(--accent);
}

.values__card-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1rem;
}

.values__card h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.values__card p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--grey-mid);
}


/* ============================================================
   14b. PRACTICE AREA — INDIVIDUAL PAGE STYLES
   ============================================================ */

/* Service overview section */
.service__overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.service__text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.service__text h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.service__text p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--grey-dark);
  margin-bottom: 1rem;
}

/* What we do — service list */
.service__list {
  list-style: none;
  padding: 0;
}

.service__list li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--grey-dark);
  padding: 0.65rem 0;
  padding-left: 1.2rem;
  border-bottom: 1px solid var(--grey-light);
  position: relative;
}

.service__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.service__list li:last-child {
  border-bottom: none;
}

/* Related practice areas links */
.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-light);
  border: 1px solid var(--grey-light);
}

.related__card {
  background: var(--white);
  padding: 1.8rem 1.5rem;
  color: var(--black);
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.related__card:hover {
  background: var(--black);
  color: var(--white);
}

.related__card h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}

.related__card-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 16px;
  height: 16px;
}

.related__card:hover .related__card-arrow {
  opacity: 1;
  transform: translateX(0);
  stroke: var(--accent);
}

/* Centralized contact form section */
.contact-cta {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.contact-cta > p {
  font-size: 0.95rem;
  color: var(--grey-mid);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.contact-cta__email {
  display: inline-block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--accent-dark);
  margin-bottom: 2.5rem;
  transition: color 0.3s ease;
}

.contact-cta__email:hover {
  color: var(--black);
  border-color: var(--black);
}

/* Centralized form */
.form--centered {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}


/* ============================================================
   15. FOOTER
   ============================================================ */

.footer {
  background: var(--black);
  color: var(--white);
  padding: 3.5rem 0 2rem;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}

.footer__brand img {
  height: 42px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: brightness(10);       /* Makes logo white */
}

.footer__brand p {
  font-size: 0.78rem;
  color: var(--grey-mid);
  max-width: 280px;
  line-height: 1.5;
}

.footer__columns {
  display: flex;
  gap: 4rem;
}

.footer__col h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer__col a {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.55rem;
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: var(--white);
}

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

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__socials {
  display: flex;
  gap: 1.5rem;
}

.footer__socials a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.3s ease;
}

.footer__socials a:hover {
  color: var(--accent);
}


/* ============================================================
   16. BUTTONS & LINKS
   ============================================================ */

/* Primary button (green) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 1rem 2.2rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Secondary button (black) */
.btn--secondary {
  background: var(--black);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--grey-dark);
  transform: translateY(-1px);
}

/* Outline button (white border) */
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Arrow icon inside buttons */
.btn__icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}


/* ============================================================
   17. UTILITY CLASSES
   ============================================================ */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Screen reader only (for accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}


/* ============================================================
   18. RESPONSIVE — TABLET (max-width: 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .practice__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .values__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer__columns {
    flex-wrap: wrap;
    gap: 2rem;
  }
}


/* ============================================================
   19. RESPONSIVE — MOBILE (max-width: 768px)
   ============================================================ */

@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .menu-toggle {
    display: block;
  }

  /* Hide desktop nav, show as overlay when .open */
  .navbar__links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    z-index: 999;
  }

  .navbar__links.open {
    display: flex;
  }

  .navbar__link {
    font-size: 1.1rem;
    padding: 1rem;
    justify-content: center;
  }

  /* Mobile dropdowns — toggle on tap */
  .dropdown {
    position: static;
    min-width: auto;
    border: none;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: max-height 0.4s ease;
  }

  .navbar__item.dd-open > .dropdown {
    max-height: 500px;
  }

  .dropdown__link {
    text-align: center;
    padding: 0.5rem 1rem;
  }

  .dropdown__link:hover {
    padding-left: 1rem;
  }

  .navbar__cta {
    margin-left: 0;
    margin-top: 1rem;
  }

  /* Hero adjustments */
  .hero__stats {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .hero__stat-number {
    font-size: 2rem;
  }

  /* About strip stacks vertically */
  .about-strip {
    flex-direction: column;
    gap: 1rem;
  }

  .about-strip__text p {
    font-size: 1.25rem;
  }

  /* Practice areas single column */
  .practice__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .practice__header p {
    text-align: left;
  }

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

  /* Service pages stack vertically */
  .service__overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  /* Contact stacks vertically */
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  /* Footer stacks */
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Reduce section padding on mobile */
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .page-header {
    padding-top: calc(var(--navbar-height) + 2.5rem);
    padding-bottom: 2.5rem;
  }
}


/* ============================================================
   20. ACCESSIBILITY & REDUCED MOTION
   ============================================================ */

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}





/* ============================================================
   PAGE HEADER — BACKGROUND BANNERS- VICTOR ADDITIONS
   ============================================================
   
   Adds background images to inner page headers.
   Drop this at the END of your existing style.css.
   
   TO USE:
   1. Save your banner images to /images/banners/
   2. On each page's <header>, add a second class:
      <header class="page-header page-header--about">
      That's the ONLY HTML change needed.
   3. The image, overlay, and text styling all come from here.
   
   ============================================================ */

/* Base banner behaviour — applies to any page-header with a background */
.page-header {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Dark overlay so white text stays readable over any image */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);  /* Adjust: 0.5 = lighter, 0.8 = darker */
  z-index: 1;
}

/* Keep all text above the overlay */
.page-header .container {
  position: relative;
  z-index: 2;
}


/* ── INDIVIDUAL PAGE BANNERS ──
   
   Update the image paths below to match your files.
   Add the matching class to each page's <header> tag.
   
   Example HTML:
   <header class="page-header page-header--about">
   ============================================================ */

.page-header--about {
  background-image: url('../images/banners/about-banner.jpg');
}

.page-header--people {
  background-image: url('../images/banners/people-banner.jpg');
}

.page-header--artworks {
  background-image: url('../images/banners/artworks-banner.jpg');
}

.page-header--practice {
  background-image: url('../images/banners/practice-banner.jpg');
}

.page-header--contact {
  background-image: url('../images/banners/contact-banner.jpg');
}

.page-header--faqs {
  background-image: url('../images/banners/faqs-banner.jpg');
}

.page-header--careers {
  background-image: url('../images/banners/careers-banner.jpg');
}

.page-header--news {
  background-image: url('../images/banners/news-banner.jpg');
}

/* Use this for all individual practice area pages 
   (so you only need one banner for all 11) */
.page-header--service {
  background-image: url('../images/banners/service-banner.jpg');
}


/* ── OPTIONAL: Taller headers when a banner is present ──
   Remove this block if you're happy with the current height */

/*
.page-header[class*="page-header--"] {
  padding-top: calc(var(--navbar-height) + 5rem);
  padding-bottom: 5rem;
}
*/




