/*
Theme Name: RIP Waste Solutions
Theme URI: https://pink-deer-448165.hostingersite.com/
Author: Custom Theme
Description: A custom red-and-black industrial WordPress theme for RIP Waste Solutions, featuring a full-screen Coming Soon homepage.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: rip-waste-solutions
*/

:root {
  --rws-red: #e00000;
  --rws-red-bright: #ff2424;
  --rws-red-dark: #760000;
  --rws-black: #050505;
  --rws-dark: #0b0b0d;
  --rws-dark-2: #121214;
  --rws-white: #f5f5f5;
  --rws-muted: #a4a4a8;
  --rws-border: rgba(255,255,255,.10);
  --rws-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--rws-black);
  color: var(--rws-white);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WordPress admin bar */
.admin-bar .rws-coming-soon { min-height: calc(100vh - 32px); }
@media (max-width: 782px) {
  .admin-bar .rws-coming-soon { min-height: calc(100vh - 46px); }
}

/* =============================
   COMING SOON FRONT PAGE
   ============================= */
.rws-coming-soon {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 58px 24px;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 18%, rgba(224,0,0,.15), transparent 32%),
    radial-gradient(circle at 12% 82%, rgba(160,0,0,.08), transparent 26%),
    linear-gradient(135deg, #040404 0%, #0c0c0d 48%, #030303 100%);
}

.rws-coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .6;
}

.rws-coming-soon::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 720px;
  height: 720px;
  top: -430px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: rgba(255,0,0,.17);
  filter: blur(145px);
}

.rws-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .18;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.04) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.03) 0 1px, transparent 1px 100%);
  background-size: 8px 8px, 11px 11px;
}

.rws-shell {
  position: relative;
  width: 100%;
  max-width: var(--rws-max);
  margin: 0 auto;
}

.rws-top-line {
  height: 1px;
  width: 100%;
  margin-bottom: 34px;
  background: linear-gradient(90deg, transparent, rgba(255,0,0,.25), var(--rws-red), rgba(255,0,0,.25), transparent);
  box-shadow: 0 0 18px rgba(255,0,0,.42);
}

.rws-status-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.rws-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #d5d5d7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.rws-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rws-red-bright);
  box-shadow: 0 0 0 4px rgba(255,0,0,.09), 0 0 13px rgba(255,0,0,.85);
  animation: rwsPulse 1.8s infinite;
}
@keyframes rwsPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(.76); }
}
@media (prefers-reduced-motion: reduce) {
  .rws-status-dot { animation: none; }
}

.rws-logo-wrap { text-align: center; margin-bottom: 30px; }
.rws-logo-wrap img,
.rws-logo-wrap .custom-logo {
  display: inline-block;
  width: min(365px, 80vw);
  max-height: 360px;
  object-fit: contain;
  filter: drop-shadow(0 17px 22px rgba(0,0,0,.75)) drop-shadow(0 0 12px rgba(255,0,0,.16));
}
.rws-logo-link { display: inline-flex; text-decoration: none; }

.rws-heading {
  max-width: 930px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -3px;
  font-weight: 900;
  text-transform: uppercase;
}
.rws-heading span {
  color: var(--rws-red-bright);
  text-shadow: 0 0 20px rgba(255,0,0,.2), 0 4px 20px rgba(0,0,0,.7);
}

.rws-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  width: 100%;
  max-width: 500px;
  margin: 28px auto;
}
.rws-divider-line { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.22)); }
.rws-divider-line:last-child { background: linear-gradient(90deg, rgba(255,255,255,.22), transparent); }
.rws-divider-icon { width: 10px; height: 10px; transform: rotate(45deg); background: var(--rws-red); box-shadow: 0 0 15px rgba(255,0,0,.6); }

.rws-intro {
  max-width: 710px;
  margin: 0 auto;
  text-align: center;
  color: var(--rws-muted);
  font-size: 16px;
  line-height: 1.75;
}
.rws-intro strong { color: #fff; }

.rws-services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 31px auto 0;
}
.rws-service {
  position: relative;
  padding: 10px 16px;
  color: #cacacc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid var(--rws-border);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 5px 20px rgba(0,0,0,.25);
}
.rws-service::before {
  content: "";
  position: absolute;
  width: 3px;
  height: 46%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: var(--rws-red);
}

.rws-card {
  position: relative;
  max-width: 850px;
  margin: 42px auto 0;
  padding: 30px 32px;
  border: 1px solid var(--rws-border);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  box-shadow: 0 30px 60px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
}
.rws-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  bottom: 25px;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--rws-red), transparent);
  box-shadow: 0 0 12px rgba(255,0,0,.4);
}
.rws-card-grid { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: center; }
.rws-card-eyebrow {
  margin: 0 0 8px;
  color: var(--rws-red-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}
.rws-card-title { margin: 0 0 10px; color: #fff; font-size: 22px; line-height: 1.25; font-weight: 800; }
.rws-card-text { margin: 0; color: #919196; font-size: 14px; line-height: 1.65; }

.rws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 23px;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #ff2626;
  border-radius: 4px;
  background: linear-gradient(180deg, #ef1717, #a70000);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 25px rgba(180,0,0,.3);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.rws-btn:hover,
.rws-btn:focus {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #ff2a2a, #c00000);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 12px 30px rgba(220,0,0,.4);
}
.rws-btn svg { width: 17px; height: 17px; }

.rws-progress-wrap { max-width: 850px; margin: 28px auto 0; }
.rws-progress-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  color: #727277;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.rws-progress-head span:last-child { color: var(--rws-red-bright); }
.rws-progress { overflow: hidden; height: 4px; border-radius: 20px; background: rgba(255,255,255,.06); }
.rws-progress-bar {
  width: 72%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(90deg, #6d0000, #ec0000, #ff4141);
  box-shadow: 0 0 14px rgba(255,0,0,.5);
}

.rws-footer { margin-top: 46px; text-align: center; color: #5d5d62; font-size: 11px; letter-spacing: .6px; }
.rws-footer strong { color: #85858a; }

.rws-corner { position: absolute; width: 180px; height: 180px; pointer-events: none; }
.rws-corner-left { left: 0; bottom: 0; border-left: 1px solid rgba(255,0,0,.18); border-bottom: 1px solid rgba(255,0,0,.18); }
.rws-corner-right { right: 0; top: 0; border-top: 1px solid rgba(255,0,0,.18); border-right: 1px solid rgba(255,0,0,.18); }

/* =============================
   INNER PAGE / BLOG BASICS
   ============================= */
.rws-site-header {
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: #080808;
}
.rws-header-inner,
.rws-content,
.rws-site-footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.rws-header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.rws-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.rws-brand img { width: 76px; max-height: 70px; object-fit: contain; }
.rws-brand-name { font-size: 18px; font-weight: 900; letter-spacing: .5px; text-transform: uppercase; }
.rws-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.rws-nav a { color: #d5d5d5; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.rws-nav a:hover { color: var(--rws-red-bright); }
.rws-content { min-height: 60vh; padding: 70px 0; }
.rws-article { max-width: 820px; margin: 0 auto 46px; }
.rws-article h1,
.rws-article h2,
.rws-article h3 { line-height: 1.2; }
.rws-article a { color: var(--rws-red-bright); }
.rws-entry-meta { color: #8b8b90; font-size: 13px; margin-bottom: 20px; }
.rws-site-footer { border-top: 1px solid rgba(255,255,255,.08); background: #080808; }
.rws-site-footer-inner { padding: 28px 0; color: #777; font-size: 13px; text-align: center; }
.rws-404 { text-align: center; padding: 80px 0; }
.rws-404 h1 { font-size: clamp(80px, 16vw, 180px); margin: 0; color: var(--rws-red); line-height: 1; }

@media (max-width: 768px) {
  .rws-coming-soon { padding: 44px 20px; }
  .rws-logo-wrap img, .rws-logo-wrap .custom-logo { width: min(310px, 82vw); }
  .rws-heading { letter-spacing: -2px; }
  .rws-card { padding: 26px 23px; }
  .rws-card-grid { grid-template-columns: 1fr; text-align: center; }
  .rws-card::before {
    left: 50%; top: 0; bottom: auto; width: 70px; height: 3px; transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--rws-red), transparent);
  }
  .rws-header-inner { flex-direction: column; align-items: flex-start; padding: 18px 0; }
  .rws-nav ul { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .rws-coming-soon { padding: 34px 16px; }
  .rws-heading { font-size: 40px; line-height: 1; }
  .rws-intro { font-size: 14px; }
  .rws-services { gap: 7px; }
  .rws-service { font-size: 9px; padding: 9px 11px; }
  .rws-btn { width: 100%; }
  .rws-progress-head { font-size: 9px; }
}
