/*
 Theme Name: Dragon Queens Agency
 Theme URI: https://dragonqueensagency.co.uk
 Author: ChatGPT
 Description: A neon dark-mode WordPress theme for the Dragon Queens TikTok creator network, part of the DBDQ family.
 Version: 1.0.1
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: dragon-queens-agency
*/

:root {
  --dq-bg: #050017;
  --dq-bg-alt: #0b0225;
  --dq-surface: #12052f;
  --dq-accent: #bf3bff;
  --dq-accent-soft: rgba(191, 59, 255, 0.2);
  --dq-accent-2: #08f0ff;
  --dq-accent-3: #f97316;
  --dq-text: #f9fafb;
  --dq-muted: #9ca3af;
  --dq-border: #312e81;
  --dq-radius-xl: 1.75rem;
  --dq-radius-lg: 1.25rem;
  --dq-radius-pill: 999px;
  --dq-shadow-soft: 0 20px 55px rgba(0,0,0,0.85);
  --dq-transition: 200ms ease-out;
  --dq-nav-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #1e1b4b 0, #020617 55%),
    radial-gradient(circle at bottom, #4c1d95 0, #020617 60%);
  color: var(--dq-text);
  line-height: 1.6;
}

/* Basic WP elements */

a {
  color: var(--dq-accent-2);
  text-decoration: none;
  transition: color var(--dq-transition), text-shadow var(--dq-transition);
}

a:hover {
  color: #e0f2fe;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wp-block-image img {
  border-radius: 1rem;
}

/* Layout */

.dq-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background:
    linear-gradient(to bottom, rgba(5, 0, 23, 0.98), rgba(5, 0, 23, 0.9), transparent);
  border-bottom: 1px solid rgba(129, 140, 248, 0.45);
}

.site-header-inner {
  height: var(--dq-nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.site-logo-circle {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f97316, #f97316 10%, #4c1d95 60%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 24px rgba(191, 59, 255, 0.8);
}

.site-logo-circle img {
  width: 120%;
  height: auto;
}

.site-title-group {
  display: flex;
  flex-direction: column;
}

.site-title-group .site-title {
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-title-group .site-description {
  font-size: 0.78rem;
  color: var(--dq-muted);
}

/* Nav */

.dq-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
}

.dq-nav ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.dq-nav a {
  color: var(--dq-muted);
  position: relative;
  padding-bottom: 2px;
}

.dq-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 0;
  height: 2px;
  border-radius: var(--dq-radius-pill);
  background: linear-gradient(to right, var(--dq-accent), var(--dq-accent-2));
  transition: width var(--dq-transition);
}

.dq-nav a:hover {
  color: var(--dq-text);
}

.dq-nav a:hover::after,
.dq-nav .current-menu-item > a::after {
  width: 100%;
}

.dq-nav-cta {
  padding: 0.45rem 1.1rem;
  border-radius: var(--dq-radius-pill);
  border: 1px solid rgba(129, 140, 248, 0.8);
  background: radial-gradient(circle at top left, rgba(191, 59, 255, 0.5), rgba(8, 240, 255, 0.15));
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f9fafb;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 1);
}

.dq-nav-cta span {
  font-size: 1.1rem;
}

/* Mobile nav toggle */

.dq-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dq-nav-toggle span,
.dq-nav-toggle span::before,
.dq-nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  position: relative;
  transition: transform var(--dq-transition), opacity var(--dq-transition);
}

.dq-nav-toggle span::before,
.dq-nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.dq-nav-toggle span::before {
  top: -6px;
}

.dq-nav-toggle span::after {
  top: 6px;
}

.dq-nav-toggle.active span {
  transform: rotate(45deg);
}

.dq-nav-toggle.active span::before {
  transform: rotate(-90deg) translateX(-6px);
}

.dq-nav-toggle.active span::after {
  opacity: 0;
}

@media (max-width: 880px) {
  .dq-nav {
    position: absolute;
    top: var(--dq-nav-h);
    right: 1.5rem;
    left: 1.5rem;
    padding: 0.9rem;
    border-radius: 1.25rem;
    background: rgba(5, 0, 23, 0.97);
    border: 1px solid rgba(129, 140, 248, 0.7);
    box-shadow: 0 25px 65px rgba(0,0,0,1);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    opacity: 0;
    transform: scaleY(0.7);
    transform-origin: top;
    pointer-events: none;
    transition: opacity var(--dq-transition), transform var(--dq-transition);
  }

  .dq-nav.open {
    opacity: 1;
    transform: scaleY(1);
    pointer-events: auto;
  }

  .dq-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .dq-nav-cta {
    width: 100%;
    justify-content: center;
  }

  .dq-nav-toggle {
    display: inline-flex;
  }
}

/* Hero / front page */

.dq-hero {
  padding: 3.2rem 0 3rem;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
}

@media (max-width: 960px) {
  .dq-hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dq-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--dq-radius-pill);
  background: rgba(5,0,23,0.9);
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dq-muted);
  margin-bottom: 1rem;
}

.dq-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f97316, #f97316 10%, #22d3ee 80%);
  box-shadow: 0 0 18px rgba(248, 250, 252, 0.9);
}

.dq-hero-title {
  font-size: clamp(2.3rem, 3.6vw, 3.3rem);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}

.dq-hero-title span {
  background: linear-gradient(to right, #f97316, #ef4444, #bf3bff, #08f0ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.dq-hero-subtitle {
  color: var(--dq-muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.6rem;
}

.dq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.dq-btn-primary,
.dq-btn-secondary {
  border-radius: var(--dq-radius-pill);
  padding: 0.75rem 1.5rem;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dq-transition), transform var(--dq-transition),
    box-shadow var(--dq-transition), border-color var(--dq-transition), color var(--dq-transition);
}

.dq-btn-primary {
  background: radial-gradient(circle at top left, #f97316, #bf3bff);
  color: #0b1120;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.dq-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 1);
}

.dq-btn-secondary {
  background: rgba(5,0,23,0.9);
  border-color: rgba(129, 140, 248, 0.9);
  color: var(--dq-muted);
}

.dq-btn-secondary:hover {
  color: var(--dq-text);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 1);
}

.dq-hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--dq-muted);
}

.dq-hero-metadata span {
  padding: 0.35rem 0.9rem;
  border-radius: var(--dq-radius-pill);
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(15, 23, 42, 0.9);
}

/* Hero visual */

.dq-hero-card {
  border-radius: var(--dq-radius-xl);
  background: radial-gradient(circle at top, #020617, #020617, #020617);
  border: 1px solid rgba(129, 140, 248, 0.8);
  padding: 1.1rem;
  box-shadow: var(--dq-shadow-soft);
  position: relative;
  overflow: hidden;
}

.dq-hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(8, 240, 255, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(191, 59, 255, 0.28), transparent 55%),
    radial-gradient(circle at 50% 120%, rgba(236, 72, 153, 0.26), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.dq-hero-card-inner {
  position: relative;
  border-radius: calc(var(--dq-radius-xl) - 0.7rem);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
  background: radial-gradient(circle at top, #020617, #0b0225);
  padding: 1rem;
}

.dq-hero-logo {
  max-width: 280px;
  margin: 0 auto 0.75rem;
}

.dq-hero-card-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--dq-muted);
}

.dq-hero-tagline {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.4rem;
  color: #a5b4fc;
}

/* Sections */

.dq-section {
  padding: 3.2rem 0;
}

.dq-section-header {
  margin-bottom: 1.8rem;
}

.dq-section-kicker {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--dq-muted);
}

.dq-section-title {
  font-size: 1.6rem;
  margin-top: 0.3rem;
}

.dq-section-title span {
  color: var(--dq-accent-2);
}

.dq-section-lead {
  color: var(--dq-muted);
  font-size: 0.95rem;
  max-width: 34rem;
}

/* Card grid */

.dq-grid {
  display: grid;
  gap: 1.3rem;
}

@media (min-width: 720px) {
  .dq-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.dq-card {
  border-radius: var(--dq-radius-lg);
  background: radial-gradient(circle at top left, rgba(191, 59, 255, 0.16), rgba(5,0,23,0.9));
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 1.1rem 1.25rem 1.25rem;
  box-shadow: 0 14px 35px rgba(0,0,0,0.9);
}

.dq-card h3 {
  margin-top: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.dq-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--dq-muted);
}

.dq-card-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f97316, #bf3bff);
  font-size: 1rem;
}

/* Content area */

.site-main {
  padding: 2.4rem 0 3.2rem;
}

.dq-page-header {
  margin-bottom: 1.8rem;
  text-align: left;
}

.dq-page-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.dq-page-subtitle {
  font-size: 0.98rem;
  color: var(--dq-muted);
}

/* About page */

.dq-about-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

@media (max-width: 960px) {
  .dq-about_layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dq-about-panel {
  border-radius: var(--dq-radius-xl);
  background: radial-gradient(circle at top left, rgba(191, 59, 255, 0.16), rgba(5,0,23,0.9));
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--dq-shadow-soft);
}

.dq-about-panel h2 {
  margin-top: 0;
}

/* Contact form */

.dq-form {
  max-width: 520px;
}

.dq-form-row {
  margin-bottom: 1rem;
}

.dq-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.dq-form input[type="text"],
.dq-form input[type="email"],
.dq-form input[type="date"],
.dq-form input[type="time"],
.dq-form input[type="datetime-local"],
.dq-form textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(5,0,23,0.9);
  color: var(--dq-text);
  font-size: 0.9rem;
}

.dq-form textarea {
  min-height: 130px;
  resize: vertical;
}

.dq-form input:focus,
.dq-form textarea:focus {
  outline: none;
  border-color: var(--dq-accent-2);
  box-shadow: 0 0 0 1px rgba(8, 240, 255, 0.4);
}

.dq-form-note {
  font-size: 0.75rem;
  color: var(--dq-muted);
}

.dq-form-success,
.dq-form-error {
  padding: 0.75rem 1rem;
  border-radius: 0.85rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.dq-form-success {
  background: rgba(34,197,94,0.12);
  border: 1px solid rgba(34,197,94,0.8);
}

.dq-form-error {
  background: rgba(248,113,113,0.12);
  border: 1px solid rgba(248,113,113,0.9);
}

/* Events & calendar */

.dq-events-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

@media (max-width: 1024px) {
  .dq-events-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.dq-calendar {
  border-radius: var(--dq-radius-xl);
  background: radial-gradient(circle at top left, rgba(8, 240, 255, 0.12), rgba(5,0,23,0.92));
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 1.1rem 1.3rem 1.4rem;
  box-shadow: var(--dq-shadow-soft);
}

.dq-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.dq-calendar-header strong {
  font-size: 1rem;
}

.dq-calendar-nav {
  display: flex;
  gap: 0.4rem;
}

.dq-calendar-nav a {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(129,140,248,0.8);
  color: var(--dq-muted);
}

.dq-calendar table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.dq-calendar th,
.dq-calendar td {
  padding: 0.35rem;
  text-align: center;
  border-radius: 0.65rem;
}

.dq-calendar th {
  color: var(--dq-muted);
  font-weight: 500;
}

.dq-calendar td.dq-today {
  border: 1px solid var(--dq-accent-2);
}

.dq-calendar-day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
}

.dq-calendar-day-number {
  font-size: 0.8rem;
}

.dq-calendar-event-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(191, 59, 255, 0.26);
  font-size: 0.7rem;
}

/* Events list */

.dq-events-list {
  margin-top: 1.1rem;
}

.dq-event-item {
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(5,0,23,0.9);
  font-size: 0.85rem;
}

.dq-event-item + .dq-event-item {
  margin-top: 0.5rem;
}

.dq-event-meta {
  font-size: 0.78rem;
  color: var(--dq-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(55, 65, 81, 0.9);
  background: rgba(5,0,23,0.96);
  padding: 1.4rem 0 1.6rem;
  font-size: 0.8rem;
  color: var(--dq-muted);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; /* bottom-align footer columns */
  gap: 1rem;
  flex-wrap: wrap; /* allows wrapping if space is tight */
}

.site-footer small {
  display: block;
}

.site-footer span {
  color: #e5e7eb;
}

/* Powered by Y4H logo sizing (FINAL – ~50% smaller) */
.footer-powered-by{
  margin-left: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.footer-powered-by img{
  width: 70px;       /* ~50% smaller */
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(8, 240, 255, 0.35));
}

@media (max-width: 720px) {
  .footer-powered-by{
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .footer-powered-by img{
    width: 60px;     /* slightly smaller on mobile */
  }
}


/* WP alignment helpers */

.alignwide {
  margin-left: max(0px, 50% - 560px);
  margin-right: max(0px, 50% - 560px);
}

.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
