/*
Theme Name:   X Child - Solid Grind Entertainment
Theme URI:    https://solidgrindentertainment.com
Description:  X Theme Child Theme for Solid Grind Entertainment
Author:       Solid Grind Entertainment
Author URI:   https://solidgrindentertainment.com
Template:     x
Version:      1.0.0
Text Domain:  x-child
*/

/* =========================================================
   SGE Brand Variables
   ========================================================= */
:root {
  --sge-red:        #1e6fff;
  --sge-red-dark:   #1558e6;
  --sge-blue:       #1e6fff;
  --sge-blue-dark:  #1558e6;
  --sge-dark:       #272727;
  --sge-gray:       #999999;
  --sge-bg:         #f3f3f3;
  --sge-white:      #ffffff;
  --sge-black:      #111111;
}

/* =========================================================
   Global Resets / Typography
   ========================================================= */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: var(--sge-black);
  color: var(--sge-gray);
}

a {
  color: var(--sge-red);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sge-red-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--sge-white);
  letter-spacing: -0.035em;
  font-weight: 700;
}

/* =========================================================
   SGE Page Wrapper
   ========================================================= */
.sge-page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================================
   SGE Hero Banner
   ========================================================= */
.sge-hero {
  position: relative;
  background: linear-gradient(180deg, #111 0%, #001830 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 4px solid var(--sge-blue);
  overflow: hidden;
}

.sge-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(30,111,255,0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Logo watermark behind hero text */
.sge-hero__logo-bg {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: contain;
  object-position: center;
  opacity: 0.15;
  filter: brightness(0) invert(1);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Keep hero children above watermark */
.sge-hero > *:not(.sge-hero__logo-bg) {
  position: relative;
  z-index: 2;
}

.sge-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sge-red);
  margin-bottom: 16px;
}

.sge-hero__title {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--sge-white);
  margin: 0 0 16px;
  line-height: 1.1;
}

.sge-hero__title span {
  color: var(--sge-red);
}

.sge-hero__sub {
  font-size: 1.1rem;
  color: var(--sge-gray);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* =========================================================
   SGE Button
   ========================================================= */
.sge-btn {
  display: inline-block;
  padding: 14px 36px;
  background: var(--sge-red);
  color: var(--sge-white) !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 2px solid var(--sge-red);
  border-radius: 4px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(30,111,255,0.35);
}

.sge-btn:hover {
  background: var(--sge-red-dark);
  border-color: var(--sge-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30,111,255,0.45);
}

.sge-btn--outline {
  background: transparent;
  color: var(--sge-red) !important;
}

.sge-btn--outline:hover {
  background: var(--sge-red);
  color: var(--sge-white) !important;
}

/* =========================================================
   SGE Section
   ========================================================= */
.sge-section {
  padding: 72px 24px;
}

.sge-section--dark {
  background: #1a1a1a;
}

.sge-section--black {
  background: var(--sge-black);
}

.sge-section__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sge-red);
  display: block;
  margin-bottom: 12px;
  text-align: center;
}

.sge-section__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--sge-white);
  text-align: center;
  margin: 0 0 16px;
}

.sge-section__desc {
  text-align: center;
  color: var(--sge-gray);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
  font-size: 1rem;
}

/* =========================================================
   Homepage — Logo / Nav Card Grid
   ========================================================= */
.sge-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .sge-nav-grid {
    grid-template-columns: 1fr;
  }
}

.sge-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  padding: 48px 24px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 200px;
}

.sge-nav-card:hover {
  border-color: var(--sge-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(30,111,255,0.2);
}

.sge-nav-card__logo {
  width: auto;
  max-width: 160px;
  max-height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(1);
  transition: filter 0.2s ease;
}

.sge-nav-card:hover .sge-nav-card__logo {
  filter: brightness(1.15);
}

.sge-nav-card__icon {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--sge-red);
  line-height: 1;
}

.sge-nav-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--sge-white) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.sge-nav-card__desc {
  font-size: 0.85rem;
  color: var(--sge-gray);
  margin: 0;
  line-height: 1.5;
}

/* =========================================================
   Homepage — About Strip
   ========================================================= */
.sge-about-strip {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.sge-about-strip__text {
  flex: 1;
}

.sge-about-strip__text h2 {
  margin-bottom: 16px;
}

.sge-about-strip__text p {
  color: var(--sge-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.sge-about-strip__image {
  flex: 0 0 380px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid #333;
}

.sge-about-strip__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .sge-about-strip {
    flex-direction: column;
  }

  .sge-about-strip__image {
    flex: none;
    width: 100%;
  }
}

/* =========================================================
   Services Page
   ========================================================= */
.sge-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.sge-service-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 40px 32px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sge-service-card:hover {
  border-color: var(--sge-red);
  transform: translateY(-3px);
}

.sge-service-card__icon {
  font-size: 36px;
  color: var(--sge-red);
  margin-bottom: 20px;
  line-height: 1;
}

.sge-service-card__title {
  font-size: 1.15rem;
  color: var(--sge-white);
  margin: 0 0 12px;
  font-weight: 700;
}

.sge-service-card__desc {
  color: var(--sge-gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   Artist Page
   ========================================================= */
.sge-artist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.sge-artist-card {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sge-artist-card:hover {
  border-color: var(--sge-red);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(30,111,255,0.18);
}

.sge-artist-card__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.sge-artist-card__photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sge-red);
  font-size: 64px;
}

.sge-artist-card__body {
  padding: 24px;
}

.sge-artist-card__name {
  font-size: 1.15rem;
  color: var(--sge-white);
  margin: 0 0 6px;
  font-weight: 700;
}

.sge-artist-card__genre {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sge-red);
  margin: 0 0 12px;
}

.sge-artist-card__bio {
  font-size: 0.875rem;
  color: var(--sge-gray);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   Contact Page
   ========================================================= */
.sge-contact-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.sge-contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.sge-contact-info-item {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
}

.sge-contact-info-item__icon {
  font-size: 28px;
  color: var(--sge-red);
  margin-bottom: 12px;
}

.sge-contact-info-item__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sge-gray);
  margin-bottom: 6px;
}

.sge-contact-info-item__value {
  font-size: 0.9rem;
  color: var(--sge-white);
  font-weight: 700;
}

.sge-contact-form .wpcf7,
.sge-contact-form {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 40px;
}

.sge-contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sge-gray);
  margin-bottom: 8px;
}

.sge-contact-form input[type="text"],
.sge-contact-form input[type="email"],
.sge-contact-form input[type="tel"],
.sge-contact-form select,
.sge-contact-form textarea {
  width: 100%;
  background: #111;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--sge-white);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.sge-contact-form select {
  height: 4em !important;
}

.sge-contact-form input:focus,
.sge-contact-form textarea:focus {
  outline: none;
  border-color: var(--sge-red);
}

.sge-contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* =========================================================
   WooCommerce — Store Overrides
   ========================================================= */
.woocommerce .sge-shop-header {
  margin-bottom: 40px;
}

.woocommerce ul.products li.product a img {
  border-radius: 4px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover a img {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,111,255,0.2);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--sge-white) !important;
  font-weight: 700;
}

.woocommerce ul.products li.product .price {
  color: var(--sge-red) !important;
  font-weight: 700;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--sge-red) !important;
  color: var(--sge-white) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em;
  transition: background 0.2s ease !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--sge-red-dark) !important;
}

.woocommerce-page .woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
  background: #1a1a1a;
  color: var(--sge-white);
  border: 1px solid #444;
  border-radius: 4px;
}

.woocommerce ul.products li.product {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 16px !important;
  transition: border-color 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  border-color: var(--sge-red);
}

/* =========================================================
   Divider
   ========================================================= */
.sge-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sge-blue), transparent);
  border: none;
  margin: 0;
}

/* =========================================================
   Pricing Table
   ========================================================= */
.sge-pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 40px;
}

.sge-pricing-card {
  background: #111;
  padding: 36px 28px;
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  position: relative;
}

.sge-pricing-card:last-child {
  border-right: none;
}

.sge-pricing-card--featured {
  background: var(--sge-blue);
}

.sge-pricing-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.sge-pricing-card__name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 8px;
}

.sge-pricing-card--featured .sge-pricing-card__name {
  margin-top: 24px;
}

.sge-pricing-card__price {
  text-align: center;
  margin-bottom: 28px;
}

.sge-pricing-card__amount {
  display: block;
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.sge-pricing-card__period {
  display: block;
  font-size: 13px;
  color: #666;
  margin-top: 4px;
}

.sge-pricing-card--featured .sge-pricing-card__period {
  color: rgba(255, 255, 255, 0.7);
}

.sge-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sge-pricing-card__features li {
  font-size: 13px;
  padding-left: 22px;
  position: relative;
}

.sge-pricing-card__features li.sge-feature--yes {
  color: #ccc;
}

.sge-pricing-card__features li.sge-feature--yes::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #ccc;
  font-weight: 700;
}

.sge-pricing-card__features li.sge-feature--no {
  color: #e05555;
}

.sge-pricing-card__features li.sge-feature--no::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #e05555;
  font-weight: 700;
}

.sge-pricing-card--featured .sge-pricing-card__features li.sge-feature--yes {
  color: #fff;
}

.sge-pricing-card--featured .sge-pricing-card__features li.sge-feature--yes::before {
  color: #fff;
}

.sge-pricing-card__btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  background: #1e3a6e;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #2a5099;
  transition: background 0.2s ease;
}

.sge-pricing-card__btn:hover {
  background: var(--sge-blue);
}

.sge-pricing-card--featured .sge-pricing-card__btn {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sge-pricing-card--featured .sge-pricing-card__btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

.sge-pricing-address {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: #555;
}

@media (max-width: 768px) {
  .sge-pricing-table {
    grid-template-columns: 1fr;
  }
  .sge-pricing-card {
    border-right: none;
    border-bottom: 1px solid #333;
  }
  .sge-pricing-card:last-child {
    border-bottom: none;
  }
}
