/*
Theme Name: Ammovoles Bricks Child
Theme URI: https://dev.ammovoles-livadeia.gr
Description: Bricks child theme for the Ammovoles Livadeia rebuild.
Author: webdsign.gr
Template: bricks
Version: 1.0.1
Text Domain: ammovoles-bricks-child
*/

:root {
  --av-ink: #181512;
  --av-muted: #625b52;
  --av-paper: #f7f3ec;
  --av-line: rgba(24, 21, 18, .14);
  --av-rust: #b45a2a;
  --av-gold: #d79a42;
}

body {
  color: var(--av-ink);
  background: var(--av-paper);
  font-family: Inter, Arial, sans-serif;
}

.av-global-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 236, .96);
  border-bottom: 1px solid var(--av-line);
  backdrop-filter: blur(12px);
}

.av-header-bar {
  min-height: 76px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 24px;
}

.av-logo img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.av-main-nav .bricks-nav-menu {
  display: flex;
  justify-content: center;
  gap: 22px;
  align-items: center;
}

.av-main-nav .bricks-nav-menu > li > a,
.av-header-phone a {
  color: var(--av-ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.av-main-nav .sub-menu {
  background: #fff;
  border: 1px solid var(--av-line);
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
  padding: 10px;
}

.av-header-phone {
  border-left: 1px solid var(--av-line);
  padding-left: 22px;
}

.av-section {
  position: relative;
  padding: 92px 0;
}

.av-hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(18,15,12,.86), rgba(18,15,12,.48), rgba(18,15,12,.18)),
    url('/wp-content/uploads/2026/05/αμμοβολή-σε-οχήματα-σασι-αυτοκινήτου-header.jpg') center / cover no-repeat;
  color: #fff;
}

.av-hero-inner,
.av-page-hero-inner,
.av-wide,
.av-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.av-hero-inner {
  max-width: 780px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
}

.av-kicker {
  color: var(--av-gold);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
  margin-bottom: 14px;
}

.av-hero-title,
.av-page-title {
  font-size: 58px;
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: 0;
}

.av-hero-text {
  font-size: 19px;
  line-height: 1.65;
  max-width: 720px;
}

.av-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.av-primary-btn,
.av-secondary-btn,
.av-light-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 3px;
  font-weight: 800;
  text-decoration: none;
}

.av-primary-btn {
  background: var(--av-rust);
  color: #fff;
}

.av-secondary-btn {
  border: 1px solid rgba(255,255,255,.55);
  color: #fff;
}

.av-light-btn {
  background: #fff;
  color: var(--av-ink);
}

.av-band.av-light {
  background: #fffaf2;
}

.av-band.av-dark {
  background: #202426;
  color: #f8f0e4;
}

.av-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: 54px;
  align-items: center;
}

.av-section-title,
.av-section-copy h2 {
  font-size: 38px;
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: 0;
}

.av-rich-text {
  color: var(--av-muted);
  font-size: 17px;
  line-height: 1.8;
}

.av-large-copy {
  font-size: 18px;
}

.av-feature-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 24px 70px rgba(0,0,0,.18);
}

.av-feature-img img,
.av-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.av-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.av-stat {
  border-top: 2px solid var(--av-rust);
  padding-top: 12px;
}

.av-stat strong {
  display: block;
  font-size: 28px;
  color: var(--av-ink);
}

.av-stat span {
  color: var(--av-muted);
  font-size: 13px;
}

.av-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
}

.av-service-card {
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: 6px;
  padding: 24px;
  min-height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}

.av-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}

.av-service-icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 18px;
}

.av-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-card-title {
  font-size: 22px;
  margin: 0 0 10px;
}

.av-card-text {
  color: var(--av-muted);
  line-height: 1.65;
}

.av-text-link,
.av-text-link a {
  color: var(--av-rust);
  font-weight: 800;
}

.av-section-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.av-section-copy p {
  color: rgba(248,240,228,.78);
  font-size: 17px;
  line-height: 1.7;
}

.av-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.av-project-grid-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.av-project-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
}

.av-project-img {
  aspect-ratio: 4 / 3;
}

.av-before {
  opacity: .72;
}

.av-project-caption {
  padding: 16px;
  display: grid;
  gap: 4px;
}

.av-project-caption strong {
  color: #fff;
}

.av-project-caption span {
  color: rgba(248,240,228,.72);
  font-size: 14px;
  line-height: 1.5;
}

.av-cta {
  background: linear-gradient(135deg, var(--av-rust), #743819);
  color: #fff;
}

.av-cta-inner {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.av-cta .av-rich-text {
  color: rgba(255,255,255,.86);
}

.av-page-hero {
  background: #202426;
  color: #fff;
  padding: 96px 0 76px;
}

.av-page-hero-inner {
  max-width: 900px;
}

.av-contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 32px;
}

.av-contact-cards,
.av-map-card {
  background: #fff;
  border: 1px solid var(--av-line);
  border-radius: 6px;
  padding: 28px;
}

.av-map-embed iframe {
  width: 100%;
  height: 460px;
  border: 0;
  border-radius: 4px;
}

.av-footer {
  background: #171513;
  color: #f7f3ec;
  padding: 42px 0;
}

.av-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.av-footer-logo {
  font-size: 22px;
  font-weight: 900;
}

.av-footer-text {
  color: rgba(247,243,236,.72);
}

@media (max-width: 900px) {
  .av-header-bar {
    grid-template-columns: 150px 1fr;
  }

  .av-header-phone {
    display: none;
  }

  .av-main-nav .bricks-nav-menu {
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
  }

  .av-hero-title,
  .av-page-title {
    font-size: 42px;
  }

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

  .av-service-grid,
  .av-project-grid,
  .av-project-grid-large {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .av-section {
    padding: 64px 0;
  }

  .av-header-bar {
    min-height: 70px;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .av-logo img {
    max-height: 44px;
  }

  .av-main-nav .bricks-nav-menu {
    justify-content: flex-start;
    font-size: 13px;
  }

  .av-hero-title,
  .av-page-title {
    font-size: 34px;
  }

  .av-hero-text {
    font-size: 16px;
  }

  .av-service-grid,
  .av-project-grid,
  .av-project-grid-large,
  .av-stats {
    grid-template-columns: 1fr;
  }
}
