/*
Theme Name: Elite Construction Co
Theme URI: https://eliteconstruction.com.au
Author: Elite Construction Co
Author URI: https://eliteconstruction.com.au
Description: High-performance, modern architectural WordPress theme for Elite Construction Co, South Australia (BLD 313116). Specializing in residential & commercial construction, decorative concrete, fencing, retaining walls, and stormwater solutions.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: elite-construction
Tags: construction, architecture, commercial, residential, concrete, modern, custom-colors, responsive-layout, featured-images, full-width-template
*/

/* -------------------------------------------------------------
 * RESET & CSS VARIABLES
 * ----------------------------------------------------------- */
:root {
  --primary: #EA580C;
  --primary-hover: #C2410C;
  --primary-light: #FFF7ED;
  --primary-border: rgba(234, 88, 12, 0.25);
  --dark-bg: #0B1320;
  --dark-surface: #111827;
  --dark-card: #172133;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--slate-900);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* -------------------------------------------------------------
 * LAYOUT CONTAINERS
 * ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .section-padding {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

/* -------------------------------------------------------------
 * BUTTONS & PILLS
 * ----------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: #ffffff;
  color: var(--slate-900) !important;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.btn-white:hover {
  background-color: #f8fafc;
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-800);
}

.btn-outline:hover {
  border-color: var(--slate-900);
  color: var(--slate-900);
}

.badge-pill {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

/* -------------------------------------------------------------
 * HEADER
 * ----------------------------------------------------------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 1.5rem 1rem;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-emblem {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #EA580C, #C2410C);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-name span {
  color: #FB923C;
  font-weight: 300;
}

.nav-pill {
  display: none;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9999px;
  padding: 0.65rem 2rem;
  gap: 2rem;
}

@media (min-width: 860px) {
  .nav-pill {
    display: flex;
    align-items: center;
  }
}

.nav-pill a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-pill a:hover {
  color: #fdba74;
}

/* -------------------------------------------------------------
 * HERO SECTION
 * ----------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 94vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #ffffff;
  padding: 8rem 1.5rem 5rem;
  background-color: #0f172a;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.85) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,0,0,0.4);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #e2e8f0;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * SERVICES GRID
 * ----------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-number {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  background-color: var(--slate-100);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-box img {
  transform: scale(1.04);
}

/* -------------------------------------------------------------
 * FEATURED PROJECTS (DARK)
 * ----------------------------------------------------------- */
.projects-section {
  background-color: var(--dark-surface);
  color: #ffffff;
}

.project-showcase-box {
  background-color: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .project-showcase-box {
    grid-template-columns: 1.6fr 1fr;
  }
}

.project-img-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #0f172a;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------
 * PRICING
 * ----------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 1.75rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pricing-card.featured {
  background: var(--dark-surface);
  color: #ffffff;
  border-color: rgba(234, 88, 12, 0.4);
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.3);
}

/* -------------------------------------------------------------
 * FOOTER
 * ----------------------------------------------------------- */
.site-footer {
  background-color: var(--dark-bg);
  color: #ffffff;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
