/* =========================
   CSS VARIABLES
   ========================= */
:root {
  /* Typography */
  --font-body: 'Libre Franklin', sans-serif;
  --font-heading: 'Merriweather', serif;

  /* Core colours */
  --color-text: #111;
  --color-heading: #1b2430;
  --color-muted: #555;
  --color-border: #eaeaea;

  /* Backgrounds */
  --color-bg-main: #f8f7f3;
  --color-bg-footer: #f3f2ee;

  /* Accent */
  --color-accent: #1e3a8a;        /* main CTA green */
  --color-accent-hover: #162c6b;  /* hover for CTA */

  /* Social */
  --color-linkedin: #0A66C2;
  --color-fiverr: #1dbf73;
}

/* =========================
   BASE STYLES
   ========================= */
body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg-main);
}

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

a {
   color: var(--color-accent);
}

/* =========================
   LAYOUT
   ========================= */
.content {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1.5rem;
}

section {
  margin-bottom: 3rem;
}

/* =========================
   HERO
   ========================= */
.hero {
  text-align: center;
  padding: 3rem 1.5rem;
}

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

.hero p {
  font-size: 1.25rem;
  color: var(--color-muted);
}

/* Full-width white hero */
.full-width-hero {
    border-bottom: 2px solid var(--color-border);
}

.hero-ctas {
   gap:0.5rem;
}

/* =========================
   BUTTONS / CTA
   ========================= */
.cta {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta:hover {
  background: var(--color-accent-hover);
}

.cta.secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  margin-left: 0.75rem; /* small spacing between buttons */
  font-weight: 600;
}

.cta.secondary:hover {
  background: var(--color-accent);
  color: #fff;
}

/* =========================
   HEADER / NAV
   ========================= */
.site-header {
  border-bottom: 1px solid var(--color-border);
}

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

.logo {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-heading);
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-weight: 500;
  color: var(--color-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.nav-cta {
  background: var(--color-accent);
  color: #fff !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: var(--color-accent-hover);

}

/* Burger menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* =========================
   MOBILE NAV
   ========================= */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: var(--color-bg-main);
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .nav.active {
    display: flex;
    gap: 0.5rem;
    box-sizing: border-box;
  }

  .nav a {
    width: 100%;
    padding: 0.75rem 0;
  }

  .cta.secondary {
    background: none;
    color: var(--color-heading) !important;
    font-weight: 400;
    border: 0;
    margin: 0;
    border-radius: 25px;
  }

  .cta.secondary:hover {
    background:none;
    color: var(--color-accent) !important;
  }
}

/* =========================
   FOOTER
   ========================= */
.footer {
  background: var(--color-bg-footer);
  border-top: 1px solid var(--color-border);
  padding: 3rem 1.5rem 1.5rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 2rem;
  justify-content: center;
}

.footer-nav {
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
}

.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
}

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

.footer-social {
  display: inline-flex;
  gap: 1rem;
  justify-content: center;
}

.footer-social a {
  font-weight: 600;
  text-decoration: none;
}

.footer-social .linkedin {
  color: var(--color-linkedin);
}

.footer-social .fiverr {
  color: var(--color-fiverr);
  display: none;
}

.footer-small {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/* =========================
   CONTACT FORM
   ========================= */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: #1a1f36;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: var(--font-body);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(76,110,219,0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--color-accent-hover);
}

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

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

section.service-card {
   margin-bottom: 0;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.service-card h2 {
  margin-bottom: 0.75rem;
  color: var(--color-heading);
}

.service-card p {
  color: var(--color-muted);
}

/* Desktop two-column */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   BRANDS GRID
   ========================= */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.brands-grid li {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 0.5rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  white-space: normal;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brands-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* =========================
   AGENCY WORK HEADINGS
   ========================= */
.agency-work h3 {
  margin-top: 2rem;
  color: var(--color-heading);
}

/* =========================
   TESTIMONIALS
   ========================= */

.testimonials-home h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.testimonials-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.testimonial {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background: #fff;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-sizing: border-box;
}

.testimonial p {
  font-size: 1.05rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

.testimonial footer {
  font-size: 0.95rem;
  color: var(--color-muted);
}

.testimonial footer strong {
  display: block;
  color: var(--color-heading);
  font-weight: 600;
}

/* Desktop refinement */
@media (min-width: 768px) {
  .testimonials-carousel {
    max-width: 900px;
  }
}

/* Subtle scrollbar styling */
.testimonials-carousel::-webkit-scrollbar {
  height: 6px;
}

.testimonials-carousel::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

/* =========================
   RESPONSIVE CONTACT FORM
   ========================= */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem;
    margin: 1.5rem;
  }
}
/* Cookie consent button styling */
.cc-window .cc-btn {
  border-radius: 20px !important;
}
