/*
Theme Name: Astro Inspired
Theme URI: https://example.com/astro-inspired
Author: Bojan + Codex
Author URI: https://example.com
Description: A custom WordPress theme inspired by modern astrology websites.
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: astro-inspired
Tags: custom-background, custom-logo, custom-menu, featured-images, one-column, two-columns
*/

:root {
  --bg-900: #05030f;
  --bg-800: #0d0b1c;
  --bg-700: #17142f;
  --text-100: #f5f4ff;
  --text-300: #c9c6e6;
  --accent-500: #53d8fb;
  --accent-400: #8c72ff;
  --accent-300: #f05ab7;
  --card: rgba(16, 12, 34, 0.8);
  --card-border: rgba(255, 255, 255, 0.1);
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text-100);
  background: radial-gradient(circle at 20% -20%, #31256e 0%, transparent 35%),
    radial-gradient(circle at 90% 10%, #4c1864 0%, transparent 30%),
    linear-gradient(160deg, var(--bg-900), var(--bg-700));
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-wrap {
  position: relative;
  overflow: hidden;
}

.site-wrap::before,
.site-wrap::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
}

.site-wrap::before {
  background: rgba(83, 216, 251, 0.18);
  top: -130px;
  left: -120px;
}

.site-wrap::after {
  background: rgba(240, 90, 183, 0.2);
  bottom: -130px;
  right: -120px;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(5, 3, 15, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent-500), var(--accent-300));
  box-shadow: 0 0 18px rgba(83, 216, 251, 0.75);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--text-300);
  font-size: 0.95rem;
}

.primary-menu a:hover,
.primary-menu .current-menu-item a {
  color: #ffffff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--text-100);
  font-size: 1.2rem;
}

.hero {
  padding: 5.2rem 0 3rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero p {
  margin: 0;
  max-width: 58ch;
  color: var(--text-300);
}

.hero__form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.hero__form h2 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-300);
  margin-bottom: 0.35rem;
}

input,
select,
button {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-100);
  padding: 0.75rem 0.8rem;
}

button {
  cursor: pointer;
  border: 0;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent-400), var(--accent-500));
}

.section {
  padding: 3rem 0;
}

.section h2 {
  margin-top: 0;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.card h3 {
  margin-top: 0;
}

.site-content {
  padding: 2rem 0 4rem;
}

.entry-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.3rem 0;
  color: var(--text-300);
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    padding: 0.8rem 1rem 1rem;
    background: rgba(5, 3, 15, 0.96);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}
