/*
Theme Name: AABOY Limited
Theme URI: https://aaboylimited.com
Author: AABOY Limited
Description: A WordPress block theme based on the A. A Boy Limited Lovable design, built for easy editing in the Site Editor.
Version: 1.0.2
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: aaboy-limited
*/

:root {
  --aaboy-navy: #0f172a;
  --aaboy-slate: #334155;
  --aaboy-muted: #64748b;
  --aaboy-line: #e2e8f0;
  --aaboy-gold: #d99a2b;
  --aaboy-gold-dark: #b87516;
  --aaboy-cream: #f8f5ee;
  --aaboy-white: #ffffff;
  --aaboy-dark: #111827;
}

body {
  background: #ffffff;
}

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

img,
figure {
  max-width: 100%;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.wp-site-blocks {
  overflow-x: hidden;
}

.aaboy-topbar {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 20;
}

.aaboy-topbar > .wp-block-group {
  gap: 16px;
}

.aaboy-topbar .wp-block-navigation__container {
  gap: 16px;
}

.aaboy-header-cta .wp-block-button__link,
.aaboy-gold-button .wp-block-button__link {
  background: var(--aaboy-gold);
  border-radius: 999px;
  color: #111827;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
}

.aaboy-header-cta .wp-block-button__link:hover,
.aaboy-gold-button .wp-block-button__link:hover {
  background: var(--aaboy-gold-dark);
  color: #ffffff;
}

.aaboy-outline-button .wp-block-button__link {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  padding: 0.85rem 1.25rem;
}

.aaboy-hero {
  min-height: 760px;
  position: relative;
}

.aaboy-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 44%, rgba(15, 23, 42, 0.18) 100%) !important;
  opacity: 1 !important;
}

.aaboy-eyebrow {
  color: var(--aaboy-gold);
  font-family: Archivo, Barlow, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.aaboy-hero h1,
.aaboy-section-title {
  letter-spacing: 0;
}

.aaboy-stat-strip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.aaboy-card {
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.aaboy-card:hover {
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.13);
  transform: translateY(-3px);
}

.aaboy-service-card {
  min-height: 250px;
}

.aaboy-icon {
  align-items: center;
  background: rgba(217, 154, 43, 0.12);
  border-radius: 8px;
  color: var(--aaboy-gold-dark);
  display: inline-flex;
  font-family: Archivo, Barlow, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.aaboy-image-frame img {
  border-radius: 8px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.aaboy-dark-band {
  background:
    linear-gradient(135deg, rgba(217, 154, 43, 0.16), transparent 34%),
    var(--aaboy-navy);
}

.aaboy-project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.aaboy-project-card .wp-block-group {
  min-height: 190px;
}

.aaboy-gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.aaboy-gallery-item {
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.09);
  margin: 0;
  overflow: hidden;
}

.aaboy-gallery-item img {
  aspect-ratio: 9 / 7;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
  width: 100%;
}

.aaboy-gallery-item:hover img {
  transform: scale(1.03);
}

.aaboy-credential-card {
  overflow: hidden;
}

.aaboy-credential-card img {
  aspect-ratio: 3 / 4;
  background: #ffffff;
  object-fit: contain;
  padding: 18px;
}

.aaboy-process-number {
  color: var(--aaboy-gold);
  font-family: Archivo, Barlow, sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.aaboy-testimonial {
  border-left: 4px solid var(--aaboy-gold);
}

.aaboy-contact-panel {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.11);
  padding: 30px;
}

.aaboy-form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.aaboy-form-grid input,
.aaboy-form-grid select,
.aaboy-form-grid textarea {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111827;
  font: inherit;
  padding: 14px 16px;
  width: 100%;
}

.aaboy-form-grid textarea,
.aaboy-form-grid .aaboy-span-2 {
  grid-column: 1 / -1;
}

.aaboy-form-grid button {
  background: var(--aaboy-gold);
  border: 0;
  border-radius: 999px;
  color: #111827;
  cursor: pointer;
  font-family: Archivo, Barlow, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  padding: 15px 22px;
}

.aaboy-footer {
  background: #0b1220;
}

@media (max-width: 900px) {
  .wp-site-blocks > .alignfull,
  .wp-site-blocks .alignfull {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }

  .wp-block-columns {
    flex-direction: column;
    gap: 24px !important;
  }

  .wp-block-column,
  .wp-block-column[style*="flex-basis"] {
    flex-basis: auto !important;
    width: 100% !important;
  }

  .aaboy-hero {
    min-height: 700px;
  }

  .aaboy-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aaboy-header-cta {
    display: none;
  }

  .aaboy-topbar {
    position: relative;
  }

  .aaboy-topbar > .wp-block-group {
    align-items: flex-start !important;
  }

  .aaboy-topbar .wp-block-navigation {
    flex-basis: 100%;
    justify-content: flex-start;
    width: 100%;
  }

  .aaboy-topbar .wp-block-navigation__container {
    column-gap: 12px;
    row-gap: 8px;
  }

  .aaboy-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .wp-block-group,
  .wp-block-cover {
    box-sizing: border-box;
  }

  .wp-block-group.alignfull,
  .wp-block-cover.alignfull,
  main.wp-block-group.alignfull {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .wp-block-group.alignfull,
  main.wp-block-group.alignfull {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  .aaboy-hero {
    min-height: 620px !important;
    padding-top: 72px !important;
    padding-bottom: 72px !important;
  }

  .aaboy-hero h1 {
    font-size: 3rem !important;
    line-height: 1 !important;
    overflow-wrap: anywhere;
  }

  .aaboy-hero p {
    font-size: 1.05rem !important;
  }

  .aaboy-hero .wp-block-buttons {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .aaboy-hero .wp-block-button,
  .aaboy-hero .wp-block-button__link {
    width: 100%;
  }

  .aaboy-topbar .wp-block-navigation {
    font-size: 0.82rem;
  }

  .aaboy-topbar .wp-block-navigation__container {
    align-items: center;
    justify-content: flex-start;
  }

  .aaboy-topbar .wp-block-navigation-item__content {
    padding: 4px 0;
  }

  .aaboy-topbar .wp-block-site-logo img {
    height: auto;
    width: 56px;
  }

  .aaboy-gallery-grid {
    grid-template-columns: 1fr;
  }

  .aaboy-contact-panel {
    padding: 20px;
  }

  .aaboy-form-grid input,
  .aaboy-form-grid select,
  .aaboy-form-grid textarea {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .aaboy-hero h1 {
    font-size: 2.55rem !important;
  }

  .aaboy-section-title,
  .wp-block-heading {
    overflow-wrap: anywhere;
  }

  .aaboy-gallery-item img {
    aspect-ratio: 4 / 3;
  }
}
