/*
Theme Name: Verduscape
Theme URI: https://verduscape.local
Author: Your Team
Description: Lightweight custom theme for Verduscape — green/white palette, Poppins headings, no page builder.
Version: 1.0.0
Text Domain: verduscape
*/

:root {
  --brand-green: #2a7c6f;
  --brand-green-dark: #1f5d54;
  --brand-cream: #f7f9f8;
  --text-color: #1f262a;
  --muted: #4d6069;
  --border: #d9e1e0;
  --radius: 14px;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);
  --max-width: 1200px;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  background: var(--brand-cream);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 600;
  margin: 0 0 0.4em;
  color: var(--text-color);
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

header.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 16px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  height: 120px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-color);
}

.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 2px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
  color: var(--brand-green);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--brand-green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
  transform: scaleX(1);
}

.nav-cta {
  border: 2px solid var(--brand-green);
  color: var(--brand-green);
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease,
    transform 120ms ease;
}

.nav-cta:hover {
  background: var(--brand-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: var(--brand-green);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 124, 111, 0.18);
  background: var(--brand-green-dark);
}

main {
  flex: 1;
}

.section {
  padding: 80px 0;
  position: relative;
}

.section.light {
  background: #ffffff;
}

.section.band {
  background: #eef3f2;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.04) 15%,
    rgba(0, 0, 0, 0.04) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

.section.hero::before,
.section.about::before {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: box-shadow 160ms ease;
}

.service-card:hover {
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.service-media {
  position: relative;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.service-card:hover .service-media img {
  transform: scale(1.08);
}

.service-body {
  padding: 18px 18px 22px;
  display: grid;
  gap: 10px;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.service-title {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--brand-green);
  margin: 0;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 2px solid var(--brand-green);
  background: transparent;
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, transform 120ms ease;
}

.service-btn:hover {
  background: var(--brand-green);
  color: #fff;
  transform: translateY(-1px);
}

.section.about {
  background: #e5efec;
}

.about-hero {
  background: linear-gradient(
    135deg,
    rgba(42, 124, 111, 0.12),
    rgba(42, 124, 111, 0.22)
  );
}

.about-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
}

.about-hero-copy h1 {
  margin: 10px 0;
}

.about-hero-copy p {
  color: #d3e7e1;
}

.about-hero-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #dbe7e4;
  min-height: 420px;
}

.about-hero-photo {
  height: 100%;
  width: 100%;
  background: url("https://verduscape.com.au/wp-content/uploads/2025/12/about_us-ezgif.com-webp-to-jpg-converter.jpg")
    center/cover no-repeat;
  transition: transform 2s ease;
  min-height: 420px;
  display: block;
}

.about-hero-media:hover .about-hero-photo {
  transform: scale(1.05);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.about-grid > div {
  height: 100%;
}

.about-story {
  padding: 80px 0;
}

.about-story .about-grid {
  padding: 32px 24px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.stat-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 6px;
}

.stat-number {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 700;
  color: var(--brand-green);
  font-size: 24px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.value-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  margin: 0 0 8px;
  color: var(--brand-green);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #2a7c6f, #2f8f7f);
  opacity: 0.9;
}

/* Services / Contact pages */
.services-hero,
.contact-hero {
  background: linear-gradient(
    135deg,
    rgba(42, 124, 111, 0.12),
    rgba(42, 124, 111, 0.22)
  );
}

.contact-page {
  background: linear-gradient(
    135deg,
    rgba(42, 124, 111, 0.12),
    rgba(42, 124, 111, 0.22)
  );
  padding-bottom: 60px;
}

.contact-hero {
  background: transparent;
}

.services-hero h1,
.contact-hero h1 {
  margin: 10px 0;
}

.services-hero p,
.contact-hero p {
  color: #2a7c6f;
}

.contact-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}

.contact-details {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: #1f262a;
}

.contact-details a {
  color: var(--brand-green);
  text-decoration: none;
  font-weight: 700;
}

.contact-details a:hover {
  text-decoration: underline;
}

.services-page h2,
.contact-page h2 {
  margin-bottom: 10px;
}

.services-page p,
.contact-page p {
  max-width: 780px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.process-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 8px;
}

.cta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.services-page .services-grid .service-card {
  min-height: 100%;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.about-copy {
  padding: 40px 32px;
  background: #2a7c6f;
  color: #f3fbf8;
}

.about-copy h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.about-copy p {
  color: #d8eee8;
}

.about-media {
  min-height: 320px;
  height: 100%;
  background: #dbe7e4;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 320px;
}

.section.hero {
  padding: 120px 0 100px;
  background: linear-gradient(120deg, #2a7c6f 0%, #2f8f7f 40%, #2a7c6f 100%);
  color: #f5fbf9;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 82vh;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e8f5f1;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(32px, 5vw, 48px);
  margin-bottom: 12px;
}

.hero p {
  color: #d3e7e1;
  max-width: 560px;
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
}

.card h3 {
  margin-bottom: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(42, 124, 111, 0.12);
  color: var(--brand-green-dark);
  font-weight: 600;
  font-size: 14px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.project-card {
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-card .thumb {
  background: #e5efec;
  height: 220px;
  display: grid;
  place-items: center;
  color: var(--brand-green);
  font-weight: 700;
  letter-spacing: 0.08em;
  overflow: hidden;
}

.project-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 240ms ease;
}

.project-card:hover .thumb img {
  transform: scale(1.05);
}

.project-card .body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 210px;
}

.project-card .btn,
.projects-archive .project-card .btn {
  margin-top: auto;
  align-self: center;
  padding: 10px 14px;
}

/* Single project */
.project-hero {
  color: #f7fbfa;
  background: #0d2521;
}

.project-hero.has-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.project-hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.project-hero h1,
.project-hero .pill {
  color: #f7fbfa;
}

.project-hero .lead {
  color: #f1fbf8;
}

.project-hero-thumb img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  display: block;
}

.project-content {
  display: grid;
  gap: 14px;
}

.project-content p {
  margin: 0;
}

.project-content .wp-block-gallery,
.project-content .blocks-gallery-grid {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100% !important;
  max-width: none !important;
}

.project-content .blocks-gallery-item {
  margin: 0;
  width: 100% !important;
  max-width: none !important;
  height: auto;
  display: block !important;
  flex: 1 1 auto !important;
}

.project-content .blocks-gallery-item figure {
  width: 100% !important;
  height: 100%;
  margin: 0;
}

.project-content .wp-block-gallery img {
  width: 100% !important;
  height: 260px !important;
  max-width: 100% !important;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.project-content .wp-block-image {
  margin: 0;
  width: 100%;
}

.project-content .wp-block-gallery + * {
  margin-top: 0;
}

@media (max-width: 960px) {
  .project-content .wp-block-gallery,
  .project-content .blocks-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-content .wp-block-gallery,
  .project-content .blocks-gallery-grid {
    grid-template-columns: 1fr;
  }
  .project-content .wp-block-gallery img {
    height: 220px !important;
  }
}

/* Classic gallery shortcode support */
.project-content .gallery {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100% !important;
  max-width: none !important;
}

.project-content .gallery-item {
  margin: 0;
  width: 100% !important;
}

.project-content .gallery-icon img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 960px) {
  .project-content .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .project-content .gallery {
    grid-template-columns: 1fr;
  }
  .project-content .gallery-icon img {
    height: 220px !important;
  }
}

/* Gutenberg nested gallery (new markup) */
.project-content .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px;
  width: 100% !important;
  max-width: none !important;
}

.project-content .wp-block-gallery.has-nested-images figure.wp-block-image {
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
}

.project-content .wp-block-gallery.has-nested-images img {
  width: 100% !important;
  height: 260px !important;
  max-width: 100% !important;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.project-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  box-shadow: var(--shadow-soft);
}

.project-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.project-nav a {
  color: var(--brand-green);
  font-weight: 700;
  text-decoration: none;
}

.project-nav a:hover {
  text-decoration: underline;
}

.archive-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.archive-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  margin: 0 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text-color);
  text-decoration: none;
}

.archive-pagination .current,
.archive-pagination .page-numbers:hover {
  background: var(--brand-green);
  color: #fff;
  border-color: var(--brand-green);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.list .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-green);
  margin-top: 6px;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
}

form .field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

form label {
  font-weight: 600;
  color: var(--text-color);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font: inherit;
  background: #fdfefe;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer.site-footer {
  background: #0d2521;
  color: #d8e8e4;
  padding: 64px 0 36px;

  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.footer-row > div {
  min-width: 0;
}

.footer-brand {
  display: grid;
  place-items: start;
  gap: 10px;
}

.footer-logo {
  height: auto;
  width: auto;
  display: block;
  margin: 0;
}

.footer-text {
  color: #cfe2dd;
  font-size: 15px;
  text-align: left;
  max-width: 360px;
}

.footer-heading {
  font-family: "Poppins", "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
  color: #ffffff;
}

.footer-email {
  color: #d8e8e4;
  text-decoration: none;
  transition: color 120ms ease;
}

.footer-email:hover {
  color: #ffffff;
}

.footer-actions {
  display: grid;
  gap: 12px;
  justify-content: end;
  text-align: right;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: #2a7c6f;
  color: #d8e8e4;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(42, 124, 111, 0.22);
  background: #1f5d54;
}

.footer-meta {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
  font-size: 13px;
  color: #a8bcb6;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .footer-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-text {
    text-align: left;
  }
  .footer-cta {
    justify-self: start;
  }
  .footer-actions {
    justify-content: start;
    text-align: left;
  }
  .footer-meta {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .nav-menu {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .nav-bar {
    padding: 12px 0;
  }
  .card,
  .contact-card {
    padding: 18px;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    padding: 14px;
    z-index: 20;
  }
  .nav-menu ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .nav-menu.open {
    display: block;
  }
}
