/*
Theme Name: Star Valet 2025
Theme URI: https://starvalet.example.com
Author: KM Virtual Solutions
Author URI: https://sites.google.com/view/km-virtual-solutions/home
Description: Clean base theme for Star Valet with a fixed hero banner and overlay navigation. Content is managed via WordPress blocks.
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: star-valet-2025
*/

:root {
  --sv-background: #11002b;
  --sv-surface: #190035;
  --sv-surface-light: #f7f0ff;
  --sv-accent: #d7b4ff;
  --sv-text: #fdf9ff;
  --sv-muted: #c4b6dd;
  --sv-nav-bg: rgba(0, 0, 0, 0.7);
}

/* Reset-ish */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--sv-text);
  background-color: var(--sv-surface-light);
}

/* Layout wrappers */
.site-header {
  margin: 0;
  padding: 0;
}

.site-hero {
  position: relative;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  background-color: #050014;
}

/* Make sure the banner fills the width and keeps focus near the middle */
.site-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Fix the hero height on larger screens to show logo + tagline + stars */
@media (min-width: 1024px) {
  .site-hero {
    height: 340px;
  }
}

/* Navigation overlay pinned to bottom of banner */
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--sv-nav-bg);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-nav .menu {
  list-style: none;
  margin: 0;
  padding: 0.6rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}

.site-nav .menu-item {
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-block;
  padding: 0.1rem 0;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sv-text);
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current-menu-item > a {
  border-bottom-color: var(--sv-accent);
  color: var(--sv-accent);
}

/* Stack nav on small screens */
@media (max-width: 600px) {
  .site-nav .menu {
    justify-content: flex-start;
    padding-inline: 1rem;
  }
}

/* Main content area */
.site-main {
  max-width: 1200px;
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
  color: #1b1230;
}

.site-main a {
  color: #5b3bd5;
}

.site-main a:hover,
.site-main a:focus {
  color: #8c62ff;
}

/* Basic block spacing */
.site-main > * + * {
  margin-top: 1.75rem;
}

/* Footer */
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 1rem 2rem;
  background: var(--sv-surface);
  color: var(--sv-muted);
  text-align: center;
  font-size: 0.8rem;
}

.site-footer a {
  color: var(--sv-accent);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  text-decoration: underline;
}

/* Utility */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
