/* ==========================================================================
   ERAA (UK) LTD — Website Stylesheet
   Colour palette: Eraa Brand Colour Palette Guide (April 2026)
   Typography: Jost (Google Fonts)
   No pure black (#000) or pure white (#FFF) per brand guidelines
   ========================================================================== */

/* Google Fonts loaded via <link> in HTML head to avoid render-blocking @import */

/* --- CSS Variables (Brand Palette) --- */
:root {
  --deep-maroon: #4A1525;
  --claret: #612233;
  --rose-maroon: #9B3A4A;
  --heritage-gold: #E2AC4A;
  --copper: #A0623B;
  --warm-cream: #F5E5D5;
  --silk-white: #FFFCF5;
  --silk-white-text: #FFFEF9;
  --warm-charcoal: #3B2C2C;
  --transition: 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  color: var(--warm-charcoal);
  background-color: var(--silk-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--deep-maroon);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--heritage-gold);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  color: var(--deep-maroon);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background-color: var(--warm-cream);
}

.section--maroon {
  background-color: var(--deep-maroon);
  color: var(--silk-white-text);
}

.section--maroon h2,
.section--maroon h3 {
  color: var(--heritage-gold);
}

.section--maroon a {
  color: var(--heritage-gold);
}

.section--maroon a:hover {
  color: var(--silk-white-text);
}

/* --- Header --- */
.site-header {
  background-color: var(--deep-maroon);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(74, 21, 37, 0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.site-logo img {
  height: 44px;
  width: auto;
}

/* --- Navigation --- */
.site-nav {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--silk-white-text);
  margin: 5px 0;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--silk-white-text);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--heritage-gold);
  transition: width var(--transition);
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--heritage-gold);
}

/* --- Hero --- */
.hero {
  background-color: var(--deep-maroon);
  padding: 6rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 120%, var(--claret) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo {
  max-width: 280px;
  margin: 0 auto 2rem;
}

.hero h1 {
  color: var(--silk-white-text);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.hero .strapline {
  color: var(--heritage-gold);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* --- Page Header (inner pages) --- */
.page-header {
  background-color: var(--deep-maroon);
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 120%, var(--claret) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--silk-white-text);
  font-weight: 300;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
}

.page-header .gold-rule {
  width: 60px;
  height: 3px;
  background-color: var(--heritage-gold);
  margin: 1rem auto 0;
  position: relative;
  z-index: 1;
}

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

.brand-card {
  background-color: var(--silk-white);
  border: 1px solid rgba(74, 21, 37, 0.1);
  border-radius: 6px;
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.brand-card:hover {
  box-shadow: 0 8px 30px rgba(74, 21, 37, 0.12);
  transform: translateY(-3px);
}

.brand-card-logo {
  height: 48px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
}

.brand-card-logo img {
  max-height: 48px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}

.brand-card h3 {
  margin-bottom: 0.25rem;
}

.brand-card .brand-type {
  font-size: 0.85rem;
  color: var(--rose-maroon);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.brand-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--warm-charcoal);
}

.brand-card .brand-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--deep-maroon);
  border-bottom: 1px solid var(--heritage-gold);
  padding-bottom: 2px;
}

.brand-card .brand-link:hover {
  color: var(--heritage-gold);
}

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

.contact-details h3 {
  margin-bottom: 1rem;
}

.contact-details p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-details .label {
  font-weight: 600;
  color: var(--deep-maroon);
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.map-embed {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(74, 21, 37, 0.1);
  min-height: 350px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: none;
}

/* --- About page --- */
.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.value-item .value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--heritage-gold);
}

.value-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-item p {
  font-size: 0.9rem;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--deep-maroon);
  color: var(--silk-white-text);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand .footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 252, 245, 0.7);
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h4 {
  color: var(--heritage-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.4rem;
}

.footer-links a {
  color: rgba(255, 252, 245, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--heritage-gold);
}

.footer-contact p {
  font-size: 0.85rem;
  color: rgba(255, 252, 245, 0.7);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255, 252, 245, 0.7);
}

.footer-contact a:hover {
  color: var(--heritage-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 252, 245, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 252, 245, 0.5);
  margin-bottom: 0;
}

.footer-bottom a {
  color: rgba(255, 252, 245, 0.5);
}

.footer-bottom a:hover {
  color: var(--heritage-gold);
}

/* --- Intro text styling --- */
.intro-text {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
  line-height: 1.8;
}

.gold-accent {
  color: var(--heritage-gold);
}

/* --- CTA Button --- */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all var(--transition);
  cursor: pointer;
}

.btn--gold {
  background-color: var(--heritage-gold);
  color: var(--deep-maroon);
}

.btn--gold:hover {
  background-color: #cf9c3d;
  color: var(--deep-maroon);
}

.btn--outline {
  background-color: transparent;
  color: var(--silk-white-text);
  border: 1px solid var(--heritage-gold);
}

.btn--outline:hover {
  background-color: var(--heritage-gold);
  color: var(--deep-maroon);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 4rem 0 3.5rem; }
  .hero-logo { max-width: 200px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 3.5rem 0; }

  .nav-toggle { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--deep-maroon);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-top: 1px solid rgba(255, 252, 245, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .header-inner {
    position: relative;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
