/* ==========================================================================
   Australian Brooks & Dunn Show  styles.css
   Structure: THEME TOKENS ? Base ? Layout ? Components ? Utilities
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Allison&family=Anton&display=swap');

/* #ffd889  Dusty Golden Apricot (your base)

#2e4057  Deep Slate Blue (contrast, headings/backgrounds)

#f7f7f7  Soft White (neutral space)

#9fb3c8  Muted Dusty Blue (accent) */

/* THEME TOKENS ------------------------------------------------------------ */
:root {
  /* Colors (adjust for your palette) */
  --color-bg: #0e0d0c;
  --color-fg: #f7f3e9;
  --color-accent: #ffd889;
  --color-muted: #b3a89a;
  --color-blue: #2e4057;

  --surface-1: #151311;
  --surface-2: #1d1a17;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Typography */
  --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  --ff-display: 'Bebas Neue', var(--ff-sans);
  --ff-altdisplay: 'Anton', sans-serif;
  --ff-script: 'Allison', cursive;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: 1.375rem;
  --fs-700: 1.875rem;
  --fs-800: 2.25rem;
  --fs-900: clamp(2rem, 4vw + 1rem, 4rem);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --radius: 14px;
}

/* BASE ------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-sans);
  color: var(--color-fg);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 var(--space-4);
}
h1,
.display {
  font-family: var(--ff-display);
  letter-spacing: 0.05em;
}

.visually-muted {
  color: var(--color-muted);
  font-size: var(--fs-300);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: var(--space-4);
  top: var(--space-4);
  width: auto;
  height: auto;
  padding: var(--space-3) var(--space-4);
  background: var(--surface-2);
  color: var(--color-fg);
  z-index: 1000;
  border-radius: 8px;
}

.row {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.rowcol {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.colrow {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.colhalf {
  width: 100%;
}

@media only screen and (min-width: 56em) {
  .rowcol {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .colrow {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .colhalf {
    width: 50%;
    overflow: hidden;
  }
}

/* LAYOUT ----------------------------------------------------------------- */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 var(--space-4);
}

.section {
  padding: clamp(56px, 8vw, 120px) 0;
}
.section__title {
  font-family: var(--ff-script);
  font-size: 4em;
  font-weight: 200;
  color: #ffd889;
}

@media (min-width: 1024px) {
  .section__title {
    font-size: var(--fs-900);
  }
}

/* Visually hide but keep for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header keeps its subtle translucent background */
.site__header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 12, 0.7);
  -webkit-backdrop-filter: saturate(120%) blur(8px);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Nav layout */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) 0;
}
.nav__brand img {
  height: 42px;
  width: auto;
}

/* Hamburger button  stacked bars */
.nav__toggle {
  display: none; /* shown on mobile */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  cursor: pointer;
}
.nav__toggle:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
.nav__toggle-line {
  width: 24px;
  height: 2px;
  background: var(--color-fg);
  border-radius: 1px;
}

/* Desktop menu */
.nav__menu {
  list-style: none;
  display: flex;
  gap: var(--space-5);
  margin: 0;
  padding: 0;
}
.nav__link {
  color: var(--color-fg);
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}
.nav__link:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.nav__link[aria-current='true'] {
  background: rgba(240, 180, 41, 0.16);
}

/* Mobile presentation */
@media (max-width: 768px) {
  .nav__toggle {
    display: flex;
  }
  .nav__menu {
    display: none; /* hidden by default */
    position: absolute;
    right: var(--space-4);
    top: calc(100% + var(--space-3));
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-4);
    min-width: 220px;
    background: var(--surface-1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open {
    display: flex;
  }
}

/* Nice anchor offset so sections arent hidden under the header */
[id] {
  scroll-margin-top: 72px;
}

/* HERO ------------------------------------------------------------------- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: center/cover no-repeat url('assets/images/bg-mobile.jpg');
  position: relative;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35));
}
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero__logo {
  margin: 0 auto var(--space-5);
  -webkit-filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
  width: 95vw;
  height: auto;
}
.hero__title {
  font-size: var(--fs-900);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  color: #ffd889;
  color: #9fb3c8;
}
.hero__subtitle {
  font-size: var(--fs-500);
  max-width: 70ch;
  margin: 0 auto var(--space-2);
  color: var(--brand-grey);
  line-height: 1em;
}
.hero__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero h2 {
  font-family: var(--ff-script);
  color: var(--color-fg);
  color: #ffd889;
  font-size: 5em;
  font-weight: 200;
  margin-bottom: 0;
}

.small__logo {
  width: 35vw;
  height: auto;
  margin: 2vh;
}
@media (min-width: 1024px) {
  .hero {
    min-height: 95vh;
    background-image: url('assets/images/bg-desktop.jpg');
    background-attachment: fixed;
  }

  .hero__logo {
    width: 40vw;
    height: auto;
  }

  .small__logo {
    width: 10vw;
    height: auto;
    margin: 2vh;
  }
  .hero__subtitle {
    font-size: var(--fs-600);
    line-height: 1em;
  }
}

.services {
  background-color: #2e4057;
}

/* CARDS / SERVICES ------------------------------------------------------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
}
/* .card {
  flex: 1 1 260px;
  background: var(--color-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);
} */

.card {
  --skew: -5deg; /* negative = lean right */
  flex: 1 1 260px;
  background: var(--color-muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: var(--space-5);
  box-shadow: var(--shadow);

  transform: skewX(var(--skew));
  transform-origin: center;
}

/* counter-skew all direct children so text stays straight */
.card > * {
  transform: skewX(calc(var(--skew) * -1));
}

/* optional hover */
.card:hover {
  translate: 0 -2px;
}
@media (prefers-reduced-motion: reduce) {
  .card:hover {
    translate: 0 0;
  }
}

.card__title {
  font-size: var(--fs-600);
  margin-bottom: var(--space-2);
  font-family: var(--ff-altdisplay);
  font-weight: 200;
  letter-spacing: 0.1em;
}
.card__text {
  color: var(--color-blue);
}

/* GALLERY ---------------------------------------------------------------- */
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.gallery__item {
  flex: 1 1 calc(50% - var(--space-4));
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .gallery__item {
    flex-basis: calc(33.333% - var(--space-4));
  }
}

/* QUOTES ----------------------------------------------------------------- */

.testimonials {
  background-color: #2e4057;
}
.quote {
  background: var(--surface-1);
  border-left: 4px solid var(--color-accent);
  margin: 0 0 var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.quote p {
  margin: 0 0 var(--space-3);
}
.quote footer {
  color: var(--color-muted);
  font-size: var(--fs-300);
}

/* FORM ------------------------------------------------------------------- */

.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.form {
  max-width: 720px;
}
.form__row {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-4);
}
.form__label {
  font-weight: 600;
  margin-bottom: var(--space-2);
}
.form__input {
  padding: var(--space-3);
  background: var(--surface-2);
  color: var(--color-fg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}
.form__input:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* BUTTONS ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--color-accent);
  color: #1a1205;
}
.btn--primary:hover {
  -webkit-filter: brightness(0.95);
  filter: brightness(0.95);
  text-decoration: none;
}
.btn--ghost {
  background: transparent;
  color: var(--color-fg);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

/* FOOTER ----------------------------------------------------------------- */
.site__footer {
  background: #0b0a09;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-5) 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.footer__inner p {
  font-size: 0.8em;
}
.social {
  display: flex;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.social a {
  color: var(--color-muted);
}
.social a:hover {
  color: var(--color-fg);
  text-decoration: none;
}

.social__icon {
  width: 8vw;
  height: auto;
}

@media (min-width: 768px) {
  .social__icon {
    width: 2vw;
    height: auto;
  }
}

/* UTILITIES -------------------------------------------------------------- */
.flow > * + * {
  margin-top: var(--space-4);
}

/* ACCESSIBILITY & MOTION ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    -webkit-animation: none !important;
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.h2 {
  width: 100%;
  height: 2vh;
}
.h5 {
  width: 100%;
  height: 5vh;
}
.h10 {
  width: 100%;
  height: 10vh;
}
.w5 {
  width: 5vw;
  height: auto;
}
