/* McDowell Concrete LLC — Complete Redesign 2026 */
/* Bold • Industrial • Premium */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --black: #0c0c0c;
  --black-soft: #161616;
  --cream: #f8f6f2;
  --cream-dark: #ebe8e2;
  --rust: #e07c4a;
  --rust-dark: #c96838;
  --steel: #3d3d3d;
  --steel-light: #6b6b6b;
  --white: #ffffff;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--cream);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(3.5rem, 12vw, 8rem); }
h2 { font-size: clamp(2.5rem, 6vw, 4rem); }
h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--black);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 0.05em;
}

.logo span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.25em;
  color: var(--rust);
  margin-top: 2px;
}

/* Mobile Menu */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: 2px solid var(--white);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: all 0.3s var(--ease-out);
}

.menu-toggle.active { border-color: var(--rust); }
.menu-toggle.active span { background: var(--rust); }
.menu-toggle.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100%;
  max-height: 100vh;
  background: var(--black);
  padding: 5.5rem 2rem 2rem;
  transition: right 0.35s var(--ease-out);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav-menu.active { right: 0; }

/* Cleaner scrollbar for nav menu */
.nav-menu::-webkit-scrollbar { width: 6px; }
.nav-menu::-webkit-scrollbar-track { background: transparent; }
.nav-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }

.nav-menu ul { list-style: none; }

.nav-menu > ul > li {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-menu a {
  display: block;
  padding: 1.25rem 0;
  color: var(--white);
  font-weight: 500;
  font-size: 1.125rem;
}

.nav-menu a:hover { color: var(--rust); }

.nav-dropdown {
  padding-left: 1rem;
  padding-bottom: 0.5rem;
}

.nav-dropdown a {
  padding: 0.6rem 0;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

@media (min-width: 992px) {
  .menu-toggle { display: none; }

  .nav-menu {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    padding: 0;
  }

  .nav-menu ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .nav-menu > ul > li { border: none; position: relative; }

  .nav-menu > ul > li > a { padding: 0.5rem 1rem; }

  .nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--black-soft);
    padding: 0.75rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.25s;
  }

  .nav-menu li:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-dropdown a { padding: 0.5rem 1.25rem; }
}

/* Hero — Full bleed, bold */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(12,12,12,0.85) 0%, rgba(12,12,12,0.6) 50%, rgba(12,12,12,0.9) 100%),
    url('https://images.pexels.com/photos/2792602/pexels-photo-2792602.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.hero h1 {
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.125rem;
  max-width: 520px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.btn-primary {
  background: var(--rust);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--rust-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-secondary:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Page Hero */
.page-hero {
  padding: 8rem 0 5rem;
  background: var(--black);
  color: var(--white);
  text-align: center;
}

.page-hero h1 { margin-bottom: 0.5rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; }

/* Sections */
section {
  padding: 5rem 0;
}

section.alt-bg { background: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  color: var(--black);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--steel-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

/* Service Cards — Bolder, larger */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.service-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out);
}

.service-card:hover { transform: translateY(-6px); }

.service-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--steel);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-content {
  padding: 1.75rem 1.5rem;
  border-left: 4px solid var(--rust);
  background: var(--white);
}

section.services { background: var(--cream-dark); }

.service-card h3 {
  color: var(--black);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--steel-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card .btn {
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem;
}

/* Content Sections */
.content-section {
  margin-bottom: 3rem;
}

.content-section h2 {
  color: var(--black);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 4px solid var(--rust);
  display: inline-block;
}

.content-section h3 { margin: 1.5rem 0 0.75rem; color: var(--black); }
.content-section p { color: var(--steel); margin-bottom: 1rem; }

/* Project Cards */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
}

.project-card {
  background: var(--cream);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out);
}

.project-card:hover { transform: translateY(-4px); }

.project-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--steel);
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card-content {
  padding: 1.5rem;
}

.project-card h4 { margin-bottom: 0.5rem; }
.project-card p { font-size: 0.9rem; color: var(--steel-light); margin: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 992px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--steel);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section { margin-bottom: 3rem; }
.gallery-section h2 { margin-bottom: 1.5rem; color: var(--black); }

/* Contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr 1.2fr; }
}

.contact-info {
  padding: 2.5rem;
  background: var(--black);
  color: var(--white);
}

.contact-info h3 {
  color: var(--rust);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

.contact-info p { margin-bottom: 1rem; opacity: 0.9; }
.contact-info a { color: var(--rust); font-weight: 600; }
.contact-info a:hover { text-decoration: underline; }

.contact-form {
  background: var(--cream);
  padding: 2.5rem;
  border: 2px solid var(--cream-dark);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--cream-dark);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rust);
}

.form-group textarea { min-height: 140px; resize: vertical; }

/* CTA Banner */
.cta-banner {
  background: var(--rust);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-banner p { margin-bottom: 1.5rem; opacity: 0.95; font-size: 1.125rem; }
.cta-banner .btn-secondary { border-color: var(--white); color: var(--white); }
.cta-banner .btn-secondary:hover { background: var(--white); color: var(--rust); }

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1rem;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { color: rgba(255,255,255,0.85); }
.footer a:hover { color: var(--rust); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

.footer-bottom p { font-size: 0.9rem; opacity: 0.7; }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a { font-size: 0.9rem; opacity: 0.8; }
.footer-legal a:hover { opacity: 1; color: var(--rust); }

/* Legal Pages */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 0;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 1rem; }
.legal-content ul { margin: 0 0 1rem 1.5rem; }
.legal-content li { margin-bottom: 0.5rem; }

/* Placeholder */
.placeholder-img {
  background: linear-gradient(145deg, var(--steel) 0%, var(--black-soft) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.25);
  font-size: 0.75rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--rust);
  color: white;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus { top: 0; }
