/*
--------------------------------------------------
Pixel Dude Creative
Copyright (c) 2026 Andre Lefebvre

Theme: PXD Custom
File: style.css
--------------------------------------------------
*/

:root {
  --pd-bg: #e2dbd0;
  --pd-text: #222;
  --pd-muted: #555555;
  --pd-accent: #103713;
  --pd-soft: #f4f6fa;
  --pd-border: #d7dce5;
  --pd-max-width: 1120px;
  --pd-card: #e2dbd0;
  --pd-accent-light: #628b35;
}
 
* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--pd-text);
  background: var(--pd-bg);
}

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

a:hover {
  text-decoration: underline;
}

/* HEADER */

.site-header {
  border-bottom: 1px solid var(--pd-border);
  background: #103713;
}

.site-header-inner {
  max-width: var(--pd-max-width);
  margin: 0 auto;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}

.site-title a {
  color: #E2DBD0;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 28px;
}

.main-navigation a {
  position: relative;
  display: inline-block;
  padding: 8px 0;
  color: #E2DBD0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.main-navigation a::before,
.main-navigation a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  background: #E2DBD0;
  transition: width 0.25s ease;
}

.main-navigation a::before {
  top: 0;
  left: 0;
}

.main-navigation a::after {
  bottom: 0;
  right: 0;
}

.main-navigation a:hover::before,
.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::before,
.main-navigation .current-menu-item > a::after {
  width: 100%;
}

/* DEFAULT PAGE */

.site-main {
  max-width: var(--pd-max-width);
  margin: 0 auto;
  padding: 64px 28px;
}

/* FOOTER */

.site-footer {
  background: #628B35;
  border-top: 1px solid var(--pd-border);
  padding: 32px 28px;
  text-align: center;
  color: #E2DBD0;
  font-size: 0.95rem;
}

.site-footer a {
  color: #E2DBD0;
}

/* HOMEPAGE */

.pxd-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.pxd-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding: 70px 0;
}

.pxd-hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  margin: 0 0 24px;
  color: var(--pd-accent);
}

.pxd-hero-intro p {
  font-size: 20px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 30px;
}

.pxd-hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
    justify-content: center;
}

.pxd-button {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.pxd-button:hover {
  text-decoration: none;
}

.pxd-button-dark {
  background: var(--pd-accent);
  color: #fff;
}

.pxd-button-light {
  background: #fff;
  color: var(--pd-accent);
  border: 1px solid var(--pd-accent);
}

/* HERO MOCKUP */

.pxd-browser-card {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  min-height: 320px;
}

.pxd-browser-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.pxd-browser-dots span {
  width: 12px;
  height: 12px;
  background: var(--pd-border);
  border-radius: 50%;
}

.pxd-browser-lines {
  height: 90px;
  background: linear-gradient(
    to bottom,
    #e8ecf4 0,
    #e8ecf4 12px,
    transparent 12px,
    transparent 26px
  );
  margin-bottom: 28px;
}

.pxd-browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pxd-browser-grid span {
  display: block;
  height: 90px;
  background: #eef1f6;
  border-radius: 14px;
}

/* SECTIONS */

.pxd-services,
.pxd-work,
.pxd-quote,
.pxd-cta {
  padding: 20px 0;
}

.pxd-services h2,
.pxd-work h2,
.pxd-cta h2 {
  font-size: 42px;
  text-align: center;
  margin: 0 0 36px;
  color: var(--pd-accent);
}

.pxd-service-grid,
.pxd-work-grid {
  display: grid;
  gap: 22px;
}

.pxd-service-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pxd-work-grid {
  grid-template-columns: repeat(3, 1fr);
}

.pxd-service-card,
.pxd-work-card,
.pxd-cta {
  background: #fff;
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.pxd-service-card,
.pxd-work-card {
  padding: 28px;
}

.pxd-service-icon {
  font-size: 32px;
  margin-bottom: 14px;
  color: var(--pd-accent);
}

.pxd-service-card h3,
.pxd-work-card h3 {
  margin: 0 0 12px;
  color: var(--pd-accent);
}

.pxd-service-card p,
.pxd-work-card p {
  margin: 0;
  line-height: 1.5;
}

.pxd-work-card a {
  display: block;
  color: var(--pd-text);
  text-decoration: none;
}

.pxd-work-thumb {
  height: 170px;
  background: var(--pd-soft);
  border-radius: 14px;
  margin-bottom: 18px;
}

/* QUOTE */

.pxd-quote {
  background: var(--pd-soft);
  border-radius: 22px;
  margin: 40px 0;
  padding: 42px 34px;
  text-align: center;
}

.pxd-quote blockquote {
  margin: 0;
}

.pxd-quote p {
  font-size: 26px;
  line-height: 1.45;
  margin: 0;
  color: var(--pd-accent);
}

.pxd-quote cite {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  color: var(--pd-muted);
  font-style: normal;
}

/* CTA */

.pxd-cta {
  text-align: center;
  margin: 50px 0 30px;
  padding: 46px 30px;
}

.pxd-cta h2 {
  margin-bottom: 16px;
}

.pxd-cta-text p {
  max-width: 680px;
  margin: 0 auto 26px;
  font-size: 20px;
}

/* MOBILE */

@media (max-width: 900px) {
  .pxd-home {
    padding: 24px 16px;
  }

  .pxd-hero {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 0;
  }

  .pxd-service-grid,
  .pxd-work-grid {
    grid-template-columns: 1fr;
  }

  .pxd-services h2,
  .pxd-work h2,
  .pxd-cta h2 {
    font-size: 34px;
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    display: block;
  }

  .main-navigation ul {
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .site-main {
    padding-top: 42px;
  }

  .pxd-hero h1 {
    font-size: 42px;
  }

  .pxd-browser-grid {
    grid-template-columns: 1fr;
  }

  .pxd-quote p {
    font-size: 22px;
  }
}

.pxd-hero-column {
  min-width: 0;
}

.pxd-hero-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: 24px;
}

.pxd-work-image,
.pxd-work-placeholder {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  margin-bottom: 22px;
}

.pxd-work-image {
  object-fit: cover;
  display: block;
}

.pxd-work-placeholder {
  background: #f3f4f8;
}

.pxd-work-more {
  text-align: center;
  margin-top: 34px;
}

.pxd-button {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--pd-accent);
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}

.pxd-button:hover {
  text-decoration: none;
  opacity: 0.9;
}

.pxd-work-card {
  transition: transform 0.25s ease-out;
}

.pxd-work-card:hover {
  transform: translateY(-2px);
}

.pxd-work-image {
  display: block;
}

/* Services card hover */

.pxd-service-card {
  transition: transform 0.25s ease-out;
}

.pxd-service-card:hover {
  transform: translateY(-2px);
}