/*
Theme Name: Southern Star Technology
Theme URI: https://southernstartechnology.com
Author: Kevin Brown
Description: Custom theme for Southern Star Technology
Version: 1.0
Text Domain: southern-star-technology
*/

:root {
  --navy: #001f3f;
  --gold: #f0c14b;
  --bg: #f7f5f0;
  --text: #333333;
}

/* Reset & base */

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

body {
  font-family: Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

header.site-header {
  background: var(--navy);
  color: #fff;
  padding: 1rem 0;
  position: relative;
  z-index: 1000;
}

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

.site-title a {
  font-size: 1.4rem;
  font-weight: bold;
  color: #fff;
}

/* Desktop nav */

.desktop-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.desktop-nav a {
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 0;
}

/* Mobile toggle */

.mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.25s ease;
}

.mobile-toggle span::before {
  content: "";
  top: -6px;
}

.mobile-toggle span::after {
  content: "";
  top: 6px;
}

.mobile-toggle.open span {
  background: transparent;
}

.mobile-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile nav panel */

.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  height: 100vh;
  background: var(--navy);
  color: #fff;
  padding: 2rem 1rem;
  box-shadow: -4px 0 12px rgba(0,0,0,0.4);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 999;
  overflow-y: auto;
}

.mobile-nav-panel.open {
  display: block;
  transform: translateX(0);
}

.mobile-nav-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-panel li {
  margin-bottom: 1rem;
}

.mobile-nav-panel a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
  padding: 0.5rem 0;
}

/* Main */

main.site-main {
  padding: 2rem 0;
}

/* Footer */

footer.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 2rem 0;
  margin-top: 3rem;
}

.site-footer a {
  color: #fff;
  font-weight: 600;
}

/* Content */

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.entry-content {
  margin-top: 1rem;
}

/* Archive / blog */

.archive-header {
  margin-bottom: 2rem;
}

.archive-header h1 {
  font-size: 2rem;
}

/* 404 */

.not-found {
  text-align: center;
  padding: 4rem 0;
}

/* Responsive */

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-nav-panel {
    display: block;
  }
}
/* Highlight "Other Services" menu item */
.menu-other-services > a {
  background-color: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}
.mobile-nav-panel .menu-other-services a {
  background-color: var(--gold);
  color: var(--navy) !important;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  display: inline-block;
}