/*
Theme Name: SAG
Theme URI: https://sheffieldautogates.co.uk/
Author: Seven Hills Creative
Author URI: https://www.sevenhillscreative.co.uk/
Description: Another custom theme for a happy customer.
Version: 1.01
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: sag
*/

/* BASE */
:root {
  --deeper-blue: #0e202a;
  --deep-blue: #1a2a33;
  --dark-blue: #105077;
  --brand-blue: #3789c5;
  --light-blue-2: #eef3f7;
  --white: #ffffff;
  --text: #1a2a33;
  --on-brand: #06131a;
  --content: 1048px;
}



/* New sag Hero Banner */

.new-sag-hero {
  width: 100%;
  padding: 2em 0;
  background: var(--light-blue-2);
}

.new-sag-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 3vw, 48px);
  width: min(1368px, calc(100% - 72px));
  margin-inline: auto;
}

.new-sag-hero__content { 
    display: grid;
    gap: 1em;
}

.new-sag-hero__copy {
    color: var(--text);
    font-size: 16px;
    display: grid;
    gap: 1em;
}

.new-sag-hero__copy h1 {
    font-size: 50px;
    line-height: 1;
    font-weight: 800;
}

.new-sag-hero__copy p label {
    text-transform: uppercase;
    color: var(--brand-blue);
    font-weight: 700;
    letter-spacing: 1px;
}

.new-sag-hero__button {
    justify-self: start;
    background: var(--deeper-blue);
}

.new-sag-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    border-radius: 5px;
}

@media (max-width: 900px) {
  .new-sag-hero__inner { width: calc(100% - 40px); gap: 24px; }
  .new-sag-hero__heading { font-size: clamp(28px, 3.7vw, 36px); }

  .new-sag-hero__copy h1 {
    font-size: 35px;
  }

}

@media (max-width: 700px) {
    .new-sag-hero__inner { grid-template-columns: minmax(0, 1fr); width: calc(100% - 32px); }
    .new-sag-hero__heading { font-size: clamp(30px, 7.8vw, 40px); line-height: 1.08; }

    .new-sag-hero__button {
        justify-self: center;
    }

    .new-sag-hero__copy {
        text-align: center;     
    }
}






/* INTRO SECTION */

.intro-section {
    padding: 1em 0;
}

.intro-section .section-center {
    max-width: 1200px;
    display: grid;
    gap: 1em;
}

.intro-section .section-center .section-title {
    margin: 0;
}




/* SERVICES GRID */

.new-sag-services {
  padding: 2em 0;
  background: var(--light-blue-2);
}

.new-sag-services__inner {
  width: min(1368px, calc(100% - 72px));
  margin-inline: auto;
}

.new-sag-services__inner h2 {
  font-size: 35px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
}

.new-sag-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5em;
}

.new-sag-services__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px 30px 18px;
  border: 1px solid #e8eef1;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 5px rgb(11 40 54 / 3%);
}

.new-sag-services__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 52px;
  height: 52px;
  color: var(--brand-blue);
  font-size: 48px;
}

.new-sag-services__content {
  font-size: 16px;
}

.new-sag-services__content h3 {
  font-size: 20px;
  font-weight: 700;
}

.new-sag-services__link > i {
  flex-shrink: 0;
  font-size: 16px;
}

.new-sag-services__link svg { flex-shrink: 0; }
.new-sag-services__link:hover { color: #0b526d; text-decoration: underline; text-underline-offset: 3px; }
.new-sag-services__link:focus-visible { outline: 3px solid #167c9f; outline-offset: 4px; border-radius: 2px; }
.new-sag-services__empty { margin: 0; text-align: center; }

@media (max-width: 1000px) {
  .new-sag-services__inner { width: calc(100% - 40px); }
  .new-sag-services__grid { gap: 16px; }
  .new-sag-services__card { padding: 20px; }
}

@media (max-width: 800px) {
  .new-sag-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .new-sag-services { padding-block: 24px; }
  .new-sag-services__inner { width: calc(100% - 32px); }
  .new-sag-services__grid { grid-template-columns: minmax(0, 1fr); }
  .new-sag-services__heading { margin-bottom: 18px; }
  .new-sag-services__card { padding: 24px; }
}
