/*
Theme Name: Saka Company Theme
Theme URI: https://example.com/saka-company-theme
Author: Saka Company
Author URI: https://example.com
Description: Custom one-page WordPress theme inspired by Saka Company design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saka-company-theme
Tags: custom-background, custom-logo, custom-menu, one-column, featured-images
*/

/* Base reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Arial Black", Impact, "Segoe UI", sans-serif;
  color: #ffffff;
  background: #b60e15;
  line-height: 1.4;
}

body.blog,
body.archive,
body.category {
  background: #eef1f5;
  color: #121212;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.news-main {
  background: #eef1f5;
}

body.blog .news-main,
body.archive .news-main,
body.category .news-main {
  background: #eef1f5;
  color: #121212;
}

/* Utilities */
.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 1rem;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 1px;
  color: #ffd23f;
  text-shadow:
    -3px -3px 0 #000,
    3px -3px 0 #000,
    -3px 3px 0 #000,
    3px 3px 0 #000;
}

.text-outline {
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000;
}

/* Header / Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #000;
  border-bottom: 0 !important;
  height: 109px;
}

.site-header::before,
.site-header::after,
.nav-wrap::before,
.nav-wrap::after,
.site-branding::before,
.site-branding::after,
.site-branding a::before,
.site-branding a::after,
.main-navigation::before,
.main-navigation::after,
.main-navigation ul::before,
.main-navigation ul::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.site-header *,
.nav-wrap *,
.site-branding *,
.main-navigation * {
  border-left-color: transparent;
  border-right-color: transparent;
}

.site-header .menu-toggle {
  display: none !important;
}

.nav-wrap {
  height: 109px;
  min-height: 109px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-branding a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
}

.site-logo-text {
  letter-spacing: 1px;
}

.site-branding .custom-logo-link img.custom-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 10px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle-bar {
  width: 20px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
}

.main-navigation a {
  font-weight: 900;
  text-transform: capitalize;
  color: #fff;
}

.main-navigation a:hover {
  color: #ffd23f;
}

/* Shared section styles */
.grid-red {
  background-color: #c6151d;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
}

.section {
  padding: 5rem 0;
  position: relative;
}

/* Hero */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 0 !important;
}

.hero-inner {
  width: min(1200px, 94%);
}

.hero-composition {
  position: relative;
  min-height: 620px;
  display: block;
  padding: 1.4rem 0 0.8rem;
}

.hero-coded .hero-logo-image {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) skewX(-8deg);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  gap: 0.12em;
  color: #fff;
  font-size: clamp(4rem, 11vw, 9.6rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-shadow:
    -4px -4px 0 #000,
    4px -4px 0 #000,
    -4px 4px 0 #000,
    4px 4px 0 #000,
    0 8px 0 rgba(0, 0, 0, 0.25);
}

.hero-coded .hero-logo-row {
  display: block;
  position: relative;
  padding: 0.04em 0.14em;
  background:
    linear-gradient(to bottom, #ffffff 0 48%, #ff2e2e 48% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-coded .hero-logo-row::before {
  content: "";
  position: absolute;
  inset: -0.08em -0.1em;
  border: 0.1em solid #f8dd68;
  border-radius: 0.14em;
  z-index: -1;
}

.hero-coded .hero-mascot-right {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(250px, -88px);
  width: 170px;
  height: 280px;
  z-index: 4;
}

.hero-coded .hero-tv-head {
  position: absolute;
  top: 26px;
  right: 0;
  width: 110px;
  height: 84px;
  background: #3e4349;
  border: 5px solid #000;
  transform: rotate(8deg);
}

.hero-coded .hero-tv-head::before {
  content: "";
  position: absolute;
  inset: 12px;
  background:
    repeating-linear-gradient(
      to bottom,
      #6f757d 0 4px,
      #5b6068 4px 8px
    );
}

.hero-coded .hero-tv-head::after {
  content: "";
  position: absolute;
  top: -24px;
  right: 8px;
  width: 56px;
  height: 28px;
  border-top: 4px solid #000;
  border-right: 4px solid #000;
  transform: skewX(-28deg);
}

.hero-coded .hero-placard {
  position: absolute;
  top: 6px;
  right: 78px;
  font-size: 0.96rem;
  font-weight: 900;
  color: #111;
  background: #f6d741;
  border: 4px solid #000;
  padding: 0.2rem 0.45rem;
  line-height: 0.9;
  transform: rotate(-3deg);
}

.hero-coded .hero-body {
  position: absolute;
  top: 108px;
  right: 26px;
  width: 72px;
  height: 144px;
  background: #2b2e33;
  border-left: 4px solid #000;
  border-right: 4px solid #000;
}

.hero-coded .hero-body::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 28px;
  width: 12px;
  height: 44px;
  background: #fff;
  border: 3px solid #000;
}

.hero-coded .hero-body::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: -14px;
  width: 98px;
  height: 22px;
  background: #1d1f22;
  border: 4px solid #000;
  border-radius: 50%;
}

.hero-coded .hero-burst-left {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-420px, -20px) rotate(-8deg);
  width: 120px;
  height: 94px;
  z-index: 2;
}

.hero-coded .hero-burst-left::before,
.hero-coded .hero-burst-left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #d92a1e;
  border: 4px solid #000;
  clip-path: polygon(0% 52%, 32% 34%, 42% 0%, 56% 32%, 100% 18%, 76% 54%, 100% 86%, 58% 72%, 44% 100%, 30% 70%);
}

.hero-coded .hero-burst-left::after {
  transform: translate(18px, 16px) scale(0.58);
  clip-path: polygon(0% 52%, 32% 34%, 42% 0%, 56% 32%, 100% 18%, 76% 54%, 100% 86%, 58% 72%, 44% 100%, 30% 70%);
}

.hero-subtitle {
  margin: 0;
  display: inline-block;
  background: #1b1b1b;
  border: 4px solid #000;
  border-radius: 999px;
  padding: 0.58rem 2.1rem;
  font-size: clamp(1rem, 1.86vw, 1.75rem);
  color: #ffd23f;
  font-weight: 900;
  z-index: 5;
  position: absolute;
  left: 50%;
  top: 82.5%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.5);
}

.hero-subtitle-image-style {
  margin-top: 0;
}

.hero-coded .hero-shadow-image {
  position: absolute;
  left: 50%;
  top: 84%;
  transform: translate(-50%, -50%);
  width: min(560px, 66vw);
  height: 38px;
  background: #171717;
  border-radius: 50%;
  z-index: 1;
  opacity: 0.9;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.about-text {
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 800;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

.card-illustration {
  background: rgba(255, 255, 255, 0.08);
  border: 4px solid #000;
  border-radius: 24px;
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
}

/* Services */
.services-list {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
}

.services-list li {
  margin-bottom: 0.8rem;
  font-size: clamp(1.1rem, 2.1vw, 2rem);
  font-weight: 900;
  text-shadow:
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}

/* Clients */
.clients-wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  border: 4px solid #000;
}

.clients-title {
  text-align: center;
  color: #e38b8b;
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1.2rem;
}

.client-item {
  background: #f4f4f4;
  border: 2px dashed #d5d5d5;
  border-radius: 12px;
  min-height: 90px;
  display: grid;
  place-items: center;
  color: #444;
  font-weight: 900;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
}

.contact-card {
  background: #ffd23f;
  border: 4px solid #000;
  border-radius: 26px;
  color: #000;
  padding: 1.5rem;
  font-weight: 900;
}

.contact-card .phone-pill {
  display: inline-flex;
  margin-top: 1rem;
  background: #fff;
  border: 3px solid #000;
  border-radius: 999px;
  padding: 0.55rem 1rem;
}

.form-card {
  background: rgba(0, 0, 0, 0.08);
  border: 4px solid #000;
  border-radius: 20px;
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-weight: 900;
}

.input-control,
textarea.input-control {
  width: 100%;
  border: 4px solid #000;
  border-radius: 14px;
  background: #f19494;
  color: #1f1f1f;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 700;
  outline: none;
}

textarea.input-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  border: 4px solid #000;
  border-radius: 18px;
  background: #ffd23f;
  color: #000;
  font-size: 1.6rem;
  font-weight: 900;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  text-transform: uppercase;
  float: right;
}

.btn-submit:hover {
  filter: brightness(0.95);
}

/* Footer */
.site-footer {
  background: #060606;
  color: #fff;
  padding: 2.5rem 0;
  border-top: 4px solid #d21a21;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-title {
  margin: 0 0 0.6rem;
  font-size: 1.3rem;
  color: #fff;
}

/* Floating WhatsApp */
.wa-float {
  display: none !important;
}

/* Articles */
.article-page {
  background: #ffffff;
  color: #111827;
  border: 3px solid #000;
  border-radius: 18px;
  padding: 1.5rem;
}

.single-article-page {
  color: #fff;
}

.article-header {
  margin-bottom: 1.5rem;
}

.article-subtitle {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #374151;
}

.article-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0 2rem;
}

.category-chip {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border: 2px solid #000;
  border-radius: 999px;
  background: #ffd23f;
  color: #000;
  font-weight: 900;
  font-size: 0.9rem;
}

.category-chip.is-active,
.category-chip:hover {
  background: #fff;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 1.2rem;
}

.article-card {
  background: #ffffff;
  border: 2px solid #d1d5db;
  border-radius: 16px;
  overflow: hidden;
}

.article-thumb img,
.single-article-thumb img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.article-thumb-fallback {
  height: 240px;
  display: grid;
  place-items: center;
  background: #eee;
  color: #222;
  font-weight: 900;
}

.article-content {
  padding: 1rem;
  color: #111827;
}

.article-meta,
.single-article-meta {
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  opacity: 0.9;
  color: #6b7280;
}

.article-title {
  margin: 0.6rem 0;
  font-size: 1.3rem;
  line-height: 1.2;
  color: #111827;
}

.article-excerpt p {
  margin: 0.4rem 0 0.8rem;
  color: #374151;
}

.article-readmore {
  display: inline-block;
  border: 2px solid #000;
  background: #ffd23f;
  color: #000;
  border-radius: 10px;
  padding: 0.4rem 0.75rem;
  font-weight: 900;
}

.article-pagination {
  margin-top: 1.5rem;
}

.article-pagination .nav-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.article-pagination .page-numbers {
  border: 2px solid #000;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  background: #ffd23f;
  color: #000;
  font-weight: 900;
}

.article-empty {
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  padding: 1rem;
  color: #374151;
}

.article-sidebar {
  min-width: 0;
}

.popular-articles-card {
  position: sticky;
  top: 130px;
  background: #f9fafb;
  border: 2px solid #d1d5db;
  border-radius: 14px;
  padding: 1rem;
}

.popular-articles-title {
  margin: 0 0 0.9rem;
  font-size: 1.1rem;
  color: #111827;
  text-transform: uppercase;
}

.popular-articles-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.popular-article-item + .popular-article-item {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e5e7eb;
}

.popular-article-link {
  display: block;
  font-size: 0.95rem;
  color: #111827;
  line-height: 1.4;
  font-weight: 700;
}

.popular-article-link:hover {
  color: #b91c1c;
}

.popular-article-date {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 700;
}

.popular-article-empty {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}

body.single-post {
  background: #f3f4f6;
  color: #111827;
}

body.single-post .single-news-main {
  background: transparent;
  padding: 2.5rem 0 4rem;
}

body.single-post .single-article-page {
  max-width: 860px;
  width: min(860px, 92%);
}

body.single-post .single-article-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem 1.5rem 2rem;
  color: #111827;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

body.single-post .single-article-header {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

body.single-post .single-article-category {
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
}

body.single-post .single-article-title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4.2vw, 2.6rem);
  line-height: 1.22;
  color: #111827;
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none !important;
  font-family: "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

body.single-post .single-article-meta {
  font-size: 0.9rem;
  color: #6b7280;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  opacity: 1;
}

body.single-post .single-article-thumb {
  margin: 0 0 1.2rem;
}

body.single-post .single-article-thumb img {
  width: 100%;
  border-radius: 6px;
  height: auto;
  max-height: 460px;
  object-fit: cover;
}

body.single-post .single-article-content {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #1f2937;
  font-size: 1.06rem;
  line-height: 1.85;
}

body.single-post .single-article-content p,
body.single-post .single-article-content ul,
body.single-post .single-article-content ol,
body.single-post .single-article-content blockquote {
  margin-bottom: 1rem;
}

body.single-post .single-article-content h2,
body.single-post .single-article-content h3,
body.single-post .single-article-content h4 {
  color: #111827;
  line-height: 1.35;
  margin-top: 1.6rem;
  margin-bottom: 0.7rem;
}

body.single-post .single-article-content a {
  color: #1d4ed8;
  text-decoration: underline;
}

body.single-post .single-article-footer {
  margin-top: 1.8rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

body.single-post .single-article-nav {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

body.single-post .single-article-prev a,
body.single-post .single-article-next a {
  color: #0f172a;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header,
  .nav-wrap {
    height: auto;
    min-height: 84px;
  }

  .nav-wrap {
    padding: 0.75rem 0;
  }

  .site-branding .custom-logo-link img.custom-logo {
    width: 68px;
    height: 68px;
  }

  .main-navigation ul {
    gap: 1rem;
  }

  .hero-composition {
    min-height: 540px;
    padding-top: 1rem;
  }

  .hero-logo-image {
    width: min(690px, 90vw);
  }

  .hero-mascot-right {
    transform: translate(148px, -130px);
    width: clamp(165px, 20vw, 220px);
  }

  .hero-burst-left {
    transform: translate(-335px, -34px);
    width: clamp(78px, 10vw, 114px);
  }

  .hero-subtitle {
    top: 76%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .clients-grid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .popular-articles-card {
    position: static;
    top: auto;
  }

  .single-article-nav {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(1140px, 94%);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 4px solid #d21a21;
    display: none;
    padding: 0.5rem 0;
  }

  .main-navigation.is-open {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .main-navigation li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .main-navigation a {
    display: block;
    padding: 0.95rem 1rem;
    text-align: left;
  }

  .hero {
    min-height: auto;
  }

  .hero-composition {
    min-height: 450px;
    padding-top: 0.4rem;
  }

  .hero-logo-image {
    width: min(560px, 92vw);
    top: 40%;
  }

  .hero-mascot-right {
    transform: translate(108px, -102px);
    width: clamp(120px, 20vw, 165px);
  }

  .hero-burst-left {
    transform: translate(-270px, -22px);
    width: clamp(55px, 9vw, 84px);
  }

  .hero-subtitle {
    border-radius: 20px;
    max-width: 96%;
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
    padding: 0.52rem 1rem;
    top: 74%;
  }

  .hero-shadow-image {
    width: min(430px, 82vw);
    top: 84%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .clients-wrap,
  .card-illustration,
  .contact-card,
  .form-card {
    border-width: 3px;
    border-radius: 16px;
  }

  .btn-submit {
    width: 100%;
    float: none;
  }

  .article-thumb img,
  .single-article-thumb img,
  .article-thumb-fallback {
    height: 190px;
  }

  body.single-post .single-article-card {
    padding: 1rem 1rem 1.35rem;
  }

  body.single-post .single-article-content {
    font-size: 1rem;
    line-height: 1.72;
  }
}

@media (max-width: 480px) {
  .site-branding .custom-logo-link img.custom-logo {
    width: 58px;
    height: 58px;
  }

  .section-title {
    margin-bottom: 0.8rem;
  }

  .hero-composition {
    min-height: 390px;
    padding-top: 0.1rem;
  }

  .hero-logo-image {
    width: min(460px, 94vw);
    top: 39%;
  }

  .hero-mascot-right {
    transform: translate(88px, -85px);
    width: clamp(90px, 22vw, 120px);
  }

  .hero-burst-left {
    transform: translate(-220px, -18px);
    width: clamp(40px, 10vw, 56px);
  }

  .hero-subtitle {
    font-size: 0.82rem;
    padding: 0.42rem 0.76rem;
    top: 72%;
  }

  .hero-shadow-image {
    width: min(330px, 84vw);
    top: 82%;
  }

  .about-text,
  .services-list li {
    font-size: 1rem;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .clients-title {
    margin-bottom: 1rem;
  }

  .site-footer {
    padding: 2rem 0;
  }
}
