/* ============================================
   Corner Canyon DJ — Site Styles
   High-energy mobile-first design
   ============================================ */

:root {
  --bg-deep: #060810;
  --bg-card: #0c121c;
  --bg-elevated: #141c28;
  --primary: #1e3a5f;
  --primary-bright: #3d6a9e;
  --primary-deep: #0f1f35;
  --silver: #a8b0bc;
  --silver-bright: #c8d0dc;
  --text-primary: #ffffff;
  --text-secondary: #d0d6e0;
  --text-muted: #8a94a4;
  --border: rgba(61, 106, 158, 0.4);
  --shadow-glow: 0 0 24px rgba(30, 58, 95, 0.45), 0 0 48px rgba(168, 176, 188, 0.1);
  --gradient-hero: linear-gradient(145deg, #060810 0%, #0c121c 40%, #121a28 100%);
  --gradient-btn: linear-gradient(90deg, #1e3a5f, #3d6a9e);
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --radius: 14px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--primary-bright);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--silver-bright);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.text-center { text-align: center; }

.energy-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 15% 15%, rgba(30, 58, 95, 0.2), transparent 50%),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(168, 176, 188, 0.08), transparent 50%),
    var(--bg-deep);
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6, 8, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  height: 52px;
  width: auto;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0.35rem;
  align-items: center;
}

.main-nav a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 8px;
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(61, 106, 158, 0.25);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background: var(--gradient-hero);
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(61, 106, 158, 0.28), transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-bright);
  border: 1px solid rgba(200, 208, 220, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4.2vw, 2.6rem);  /* smaller than before */
  font-weight: 900;
  letter-spacing: 0.02em;                     /* was 0.04em */
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 30px rgba(61, 106, 158, 0.5);
  white-space: nowrap;                        /* force one line */
}
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-btn);
  color: #fff;
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(61, 106, 158, 0.6);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  border-color: var(--silver-bright);
  background: rgba(168, 176, 188, 0.12);
  color: #fff;
}

.btn-accent {
  background: var(--bg-elevated);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-accent:hover {
  background: rgba(61, 106, 158, 0.3);
  border-color: var(--primary-bright);
  color: #fff;
}

.pulse {
  animation: pulse-glow 2.2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 20px rgba(30, 58, 95, 0.5); }
  50% { box-shadow: 0 4px 32px rgba(61, 106, 158, 0.75); }
}

/* ========== SECTIONS ========== */
.section {
  padding: 4rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 2.25rem;
  font-size: 1.05rem;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-bright);
}

.service-card.featured {
  border-color: var(--silver);
  box-shadow: 0 0 0 1px rgba(168, 176, 188, 0.35);
}

.service-card.featured::before {
  content: "CC Favorite";
  position: absolute;
  top: 12px;
  right: -30px;
  z-index: 2;
  background: linear-gradient(90deg, #1e3a5f, #3d6a9e);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 2.3rem;
  transform: rotate(45deg);
}

.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.55rem;
  letter-spacing: 0.02em;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  flex: 1;
  line-height: 1.55;
}

.service-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ========== VIBES / GALLERY ========== */
.vibes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.vibe-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.vibe-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vibe-item:hover img {
  transform: scale(1.06);
}

.vibe-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

/* ========== CONTACT / WIDGET ========== */
.contact-section {
  background: linear-gradient(180deg, transparent, rgba(30, 58, 95, 0.08));
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.contact-info a {
  font-weight: 600;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0;
}

.contact-list li {
  margin-bottom: 0.65rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-list strong {
  color: #fff;
  display: inline-block;
  min-width: 4.5rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: #fff;
  transition: var(--transition);
}

.social-btn:hover {
  background: rgba(61, 106, 158, 0.3);
  border-color: var(--primary-bright);
  color: #fff;
}

/* CheckCherry — light panel, contained calendar, readable text */
.widget-wrap {
  background: #ffffff;
  border: 2px solid var(--primary-bright);
  border-radius: var(--radius);
  padding: 1.25rem 1rem 1.5rem;
  box-shadow: 0 8px 32px rgba(30, 58, 95, 0.3);
  overflow: hidden;
  max-width: 100%;
  width: 100%;
}

.widget-wrap h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
  color: #111111;
  text-align: center;
}

.widget-wrap .widget-sub {
  text-align: center;
  color: #444444;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.checkcherry__widget__appointment-scheduler {
  color: #111111 !important;
  font-family: var(--font-body) !important;
  background: #ffffff !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.checkcherry__widget__appointment-scheduler,
.checkcherry__widget__appointment-scheduler * {
  color: #111111 !important;
  box-sizing: border-box !important;
  max-width: 100% !important;
}

.checkcherry__widget__appointment-scheduler > div,
.checkcherry__widget__appointment-scheduler [class*="calendar"],
.checkcherry__widget__appointment-scheduler [class*="Calendar"],
.checkcherry__widget__appointment-scheduler [class*="scheduler"],
.checkcherry__widget__appointment-scheduler [class*="Scheduler"] {
  max-width: 100% !important;
  overflow-x: auto !important;
}

.checkcherry__widget__appointment-scheduler table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

.checkcherry__widget__appointment-scheduler td,
.checkcherry__widget__appointment-scheduler th {
  padding: 0.25rem !important;
  font-size: 0.85rem !important;
}

.checkcherry__widget__appointment-scheduler p,
.checkcherry__widget__appointment-scheduler span,
.checkcherry__widget__appointment-scheduler label,
.checkcherry__widget__appointment-scheduler div,
.checkcherry__widget__appointment-scheduler li {
  color: #111111 !important;
}

.checkcherry__widget__appointment-scheduler a {
  color: #1e3a5f !important;
  font-weight: 700 !important;
}

.checkcherry__widget__appointment-scheduler button,
.checkcherry__widget__appointment-scheduler .btn,
.checkcherry__widget__appointment-scheduler [class*="button"],
.checkcherry__widget__appointment-scheduler [class*="Button"],
.checkcherry__widget__appointment-scheduler input[type="submit"],
.checkcherry__widget__appointment-scheduler input[type="button"] {
  background: linear-gradient(90deg, #1e3a5f, #3d6a9e) !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 700 !important;
}

.checkcherry__widget__appointment-scheduler input,
.checkcherry__widget__appointment-scheduler select,
.checkcherry__widget__appointment-scheduler textarea {
  background: #f5f5f5 !important;
  color: #111111 !important;
  border: 1px solid #cccccc !important;
  max-width: 100% !important;
}

.checkcherry__widget__appointment-scheduler input::placeholder,
.checkcherry__widget__appointment-scheduler textarea::placeholder {
  color: #666666 !important;
}

/* ========== PEER LINKS ========== */
.peer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.peer-links a {
  padding: 0.4rem 0.9rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.peer-links a:hover {
  color: #fff;
  border-color: var(--primary-bright);
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  background: #04060a;
  text-align: center;
}

.footer-logo img {
  height: 48px;
  margin: 0 auto 1rem;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 420px;
  margin: 0 auto 1.25rem;
}

.footer-bottom {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-bottom a {
  color: var(--primary-bright);
  font-weight: 600;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100vh;
    background: #0a1018;
    border-left: 1px solid var(--border);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(110%);
    transition: transform 0.35s ease;
    z-index: 1000;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .main-nav a {
    padding: 0.9rem 1rem;
    font-size: 1.05rem;
  }

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

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

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

  .vibe-item:first-child {
    grid-column: auto;
    aspect-ratio: 16/10;
  }

  .service-card.featured::before {
    font-size: 0.6rem;
    right: -34px;
  }

  .widget-wrap {
    padding: 1rem 0.75rem 1.25rem;
  }

  .checkcherry__widget__appointment-scheduler td,
  .checkcherry__widget__appointment-scheduler th {
    padding: 0.15rem !important;
    font-size: 0.8rem !important;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .logo {
    height: 44px;
  }
}
