/*
Theme Name: Sebete Empire
Theme URI: http://sebeteempire.co.za
Author: Reabetswe Maja
Description: Custom WordPress theme for Sebete Empire
Version: 1.0
*/

/* =========================
   RESET + BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  background-color: #111;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 600;
  margin: 0 0 18px;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 28px;
}

p {
  font-size: 16px;
  margin: 0 0 18px;
}

/* Utility container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   TOP ACCENT
========================= */

.top-accent {
  height: 6px;
  background: linear-gradient(90deg, #f5eb2b 0%, #000000 70%);
  position: relative;
  z-index: 2;
}

/* =========================
   HEADER + NAV
========================= */

.site-header {
  position: relative;
  background-image: url("../images/header-bg.png"); /* update file name here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* overlay */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo a {
  display: inline-block;
}

.logo img {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
}

/* Desktop nav */
.main-nav {
  position: relative;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border: none; /* no borders now */
  opacity: 0.95;
}

.main-nav a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1200;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #ffffff;
  margin: 5px 0;
}

/* =========================
   UNIVERSAL HERO (About/Services/Contact)
========================= */

.page-hero {
  background: linear-gradient(135deg, #000000, #0013fc);
  padding: 60px 20px 50px;
}

.page-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 14px;
}

.page-hero p {
  font-size: 17px;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

/* =========================
   HOME HERO
========================= */

.hero {
  position: relative;
  background: linear-gradient(135deg, #000000, #0013fc);
  padding: 90px 20px 70px;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-about {
  display: inline-block;
  text-decoration: none;
  border-radius: 4px;
}

.btn-primary {
  padding: 14px 26px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.btn-secondary {
  padding: 14px 24px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.9;
}

.btn-primary:hover,
.btn-secondary:hover {
  opacity: 0.9;
}

.btn-about {
  margin-top: 14px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.btn-about:hover {
  opacity: 1;
}

/* =========================
   ABOUT (HOME SECTION)
========================= */

.about {
  background: #000000;
  padding: 70px 20px;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 50px;
  align-items: center;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.about-content h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 16px;
}

/* =========================
   SERVICES (HOME SUMMARY GRID)
========================= */

.services {
  background: #111;
  padding: 70px 20px;
}

.services-header {
  max-width: 800px;
  margin: 0 auto 45px;
  text-align: center;
}

.services-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-item {
  text-align: center;
}

.service-item img {
  width: 56px;
  margin: 0 auto 12px;
}

.service-item h3 {
  font-size: 16px;
  margin: 0 0 10px;
}

.service-item p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.88;
  margin: 0;
}

/* =========================
   ABOUT PAGE SECTIONS
========================= */

.about-page {
  background: #111;
}

.about-section {
  padding: 80px 20px;
}

.about-section.alt {
  background: #000000;
}

.about-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  line-height: 1.8;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.mv-item {
  text-align: center;
}

.mv-icon {
  width: 52px;
  margin: 0 auto 14px;
}

.mv-item h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mv-item p {
  max-width: 540px;
  margin: 0 auto 14px;
  line-height: 1.8;
}

/* =========================
   SERVICES PAGE (STABLE – NO :has)
========================= */

.services-page {
  background: #111;
}

.services-list {
  padding: 70px 20px;
}

.services-list-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.service-block {
  margin-bottom: 70px;
}

/* Row 1: icon + title */
.service-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.service-header img {
  width: 44px;
}

.service-header h2 {
  font-size: 24px;
  margin: 0;
}

/* Row 2 wrapper (text + optional image) */
.service-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

/* Make your existing .service-content behave as the TEXT column */
.service-content {
  margin: 0;
}

.service-content p {
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Image column */
.service-image {
  margin: 0;
}

.service-image img {
  width: 70%;
  border-radius: 4px;
}

/* =========================
   ASSET LIFECYCLE GRAPH
========================= */

.asset-lifecycle {
  background: linear-gradient(135deg, #000000, #0013fc);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 20px;
  margin-top: 30px;
  text-align: center;
}

.lifecycle-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 50px;
}

/* Layout */
.lifecycle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  overflow-x: auto; /* mobile safe */
  padding-bottom: 10px;
}

/* Item */
.lifecycle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 130px;
}

/* Icon container */
.lifecycle-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

/* Font Awesome gradient */
.lifecycle-icon i {
  font-size: 26px;
  background: linear-gradient(135deg, #f5eb2b, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Labels */
.lifecycle-item span {
  font-size: 14px;
  line-height: 1.4;
  opacity: 0.9;
  max-width: 120px;
}

/* Arrows */
.lifecycle-arrow {
  font-size: 28px;
  opacity: 0.5;
  margin: 0 6px;
}

/* =========================
   CONTACT PAGE
========================= */

.contact-page {
  background: #111;
}

.contact-details {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}

.contact-item i {
  font-size: 20px;
  color: #f5eb2b;
}

.contact-item a,
.contact-item span {
  text-decoration: none;
}

.contact-form-section {
  padding: 80px 20px;
}

.contact-form-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.contact-form-inner h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.contact-form-inner p {
  max-width: 720px;
  margin: 0 auto 30px;
  opacity: 0.92;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-row {
  width: 100%;
  max-width: 560px;
  margin: 0 auto 16px;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: #000000;
  color: #ffffff;
  font-size: 15px;
  font-family: inherit;
  border-radius: 4px;
}

.contact-form input,
.contact-form textarea,
.conatc-form select {
  color: #ffffff;
}

.form-row textarea {
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.btn-submit {
  margin-top: 6px;
  padding: 16px 22px;
  background: #f5eb2b;
  color: #000000;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 60%;
  max-width: 260px;
  border-radius: 4px;
}

.btn-submit:hover {
  opacity: 0.92;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: #f5eb2b;
  color: #000000;
}

.footer-accent {
  height: 6px;
  background: linear-gradient(90deg, #0013fc 0%, #000000 70%);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 55px 20px 35px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col {
  text-align: left;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-logo {
  height: 110px;
  width: auto;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #000000;
}

.footer-col a {
  color: #000000;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.footer-bottom {
  background: #000000;
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  padding: 12px 20px;
}

/* =========================================
   WASHING & CLEANING SECTION
========================================= */

/* =========================================
   WASHING & CLEANING SECTION
========================================= */

.washing-section {
  background-color: #000000;
  background-image: url("../images/texture-metal.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 20px;
}

.washing-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.washing-header {
  max-width: 850px;
  margin: 0 auto 50px;
  text-align: center;
}

.washing-header h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.washing-header p {
  font-size: 16px;
  line-height: 1.8;
  opacity: 0.88;
  color: #ffffff;
}

/* GRID */

.washing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* CARD */

.washing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: 0.3s ease;
}

.washing-card:hover {
  transform: translateY(-6px);
}

/* IMAGE */

.washing-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* CONTENT */

.washing-content {
  padding: 22px;
}

.washing-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #ffffff;
}

.washing-content p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  h1 {
    font-size: 28px;
  }

  .logo img {
    height: 56px;
  }

  /* Header */

  .hamburger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 6px);
    right: 12px;
    width: 220px;
    background: #000000;
    padding: 14px 16px;
    border-radius: 10px;
    display: none;
    z-index: 1100;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .main-nav a {
    padding: 8px 0;
    width: 100%;
  }

  .main-nav.active {
    display: block;
  }

  /* Heroes */

  .page-hero {
    padding: 60px 20px 45px;
  }

  .hero {
    padding: 70px 20px 55px;
  }

  .hero-inner {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  /* About */

  .about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image img {
    clip-path: none;
  }

  .about-section-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mission-vision {
    grid-template-columns: 1fr;
  }

  /* Services */

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-content,
  .service-content p,
  .service-body,
  .service-block {
    width: 100%;
    min-width: 0;
    overflow-wrap: break-word;
  }

  .service-image img {
    width: 100%;
  }

  /* Lifecycle */

  .lifecycle-wrapper {
    flex-direction: column;
  }

  .lifecycle-arrow {
    transform: rotate(90deg);
  }

  /* Washing */

  .washing-section {
    padding: 70px 20px;
    background-attachment: scroll;
  }

  .washing-header h2 {
    font-size: 28px;
  }

  .washing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .washing-card {
    width: 100%;
  }

  .washing-card img {
    height: 220px;
  }

  .washing-content {
    padding: 20px;
  }

  /* Footer */

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 14px;
  }

  /* Contact */

  .contact-details {
    flex-direction: column;
    gap: 18px;
  }

  .form-row {
    max-width: 100%;
  }
}
