/*
Theme Name: Inspiro Child - RetroFridge Dark
Template: inspiro
Description: Dark theme child for RetroFridge with gold accents
Version: 1.0
*/

/* === CUSTOM PROPERTIES === */
:root {
    --inspiro-primary-color: #FFCC00 !important;
    --wp--preset--color--primary: #181818;
    --wp--preset--color--secondary: #FFCC00;
    --wp--preset--color--background: #181818;
    --wp--preset--color--white: #ffffff;
    --wp--preset--color--light-background: #222222;
    --wp--preset--color--header-footer: #000000;
    --wp--preset--color--tertiary: #888888;
}

/* === BODY === */
body {
    background-color: #181818 !important;
    color: #ffffff;
    font-family: 'Inconsolata', monospace;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.widget-title {
    font-family: 'Stint Ultra Expanded', serif !important;
    color: #ffffff;
    font-weight: 400;
}

h1, h2 { font-size: 30px; }
h3 { font-size: 26px; }

p, li, td, th, label, span, div {
    font-family: 'Inconsolata', monospace;
}

/* === GOLD DIVIDERS UNDER HEADINGS === */
.entry-content h1::after,
.entry-content h2::after,
.entry-content h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FFD315;
    margin-top: 15px;
    margin-bottom: 15px;
}

/* === HEADER / NAVIGATION === */
.site-header,
.navbar,
.inspiro-nav,
#masthead,
.starter-content-intro,
#starter-content-intro {
    background-color: #000000 !important;
}

.main-navigation a,
.navbar a,
#site-navigation a,
.menu-item a {
    font-family: 'Inconsolata', monospace !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #ffffff !important;
    font-size: 15px;
    font-weight: 500;
}

.main-navigation a:hover,
.menu-item a:hover {
    color: #FFCC00 !important;
}

/* Logo text */
.custom-logo-text,
.site-title a,
.custom-logo-link {
    color: #ffffff !important;
}

/* Header scroll */
.navbar-fixed-top.scrolled,
.site-header.scrolled {
    background-color: #000000 !important;
}

/* === CTA BUTTON IN NAV === */
.menu-item-type-custom.cta-button > a,
.nav-cta-btn a {
    border: 1px solid #FFCC00 !important;
    border-radius: 10px !important;
    padding: 8px 20px !important;
    background: transparent !important;
}

.menu-item-type-custom.cta-button > a:hover,
.nav-cta-btn a:hover {
    background: #FFCC00 !important;
    color: #000000 !important;
}

/* === CONTENT AREA === */
.site-content,
.entry-content,
.page .entry-content,
#content,
.site-content-inner,
article.page,
article.post {
    background-color: #181818;
    color: #ffffff;
}

.entry-content p,
.entry-content li,
.entry-content td,
.entry-content th {
    color: #ffffff;
    font-family: 'Inconsolata', monospace;
    font-size: 16px;
    line-height: 1.7;
}

/* === LINKS === */
a { color: #FFCC00; }
a:hover { color: #FFD315; }
.entry-content a { color: #FFCC00; }

/* === COVER BLOCKS === */
.wp-block-cover { color: #ffffff; }
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover p { color: #ffffff !important; }

.wp-block-cover .wp-block-cover__inner-container h1::after,
.wp-block-cover .wp-block-cover__inner-container h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* === GROUPS & COLUMNS === */
.wp-block-group,
.wp-block-columns {
    color: #ffffff;
}

/* === SEPARATOR / DIVIDER === */
.wp-block-separator {
    border-color: #FFD315 !important;
    background-color: #FFD315 !important;
    opacity: 1;
}

/* === FOOTER === */
.site-footer,
#colophon,
.footer-widgets-wrapper,
.footer-widget-area {
    background-color: #181818 !important;
    color: #ffffff !important;
}

.site-footer h2,
.site-footer h3,
.footer-widgets-wrapper h2,
.footer-widgets-wrapper h3 {
    font-family: 'Stint Ultra Expanded', serif !important;
    color: #ffffff !important;
}

.site-footer a { color: #ffffff !important; }
.site-footer a:hover { color: #FFCC00 !important; }

.site-info {
    background-color: #111111 !important;
    color: #888888;
    border-top: 1px solid #333333;
}
.site-info a { color: #888888 !important; }
.site-info a:hover { color: #FFCC00 !important; }

/* === WOOCOMMERCE === */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #222222;
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255,204,0,0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
    color: #ffffff !important;
    font-family: 'Inconsolata', monospace !important;
    font-size: 16px;
}

.woocommerce ul.products li.product a img {
    border-radius: 5px;
}

.woocommerce .products .product a { color: #ffffff; }

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    color: #ffffff;
    background: #333333;
    border-color: #444444;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #FFCC00;
    color: #000000;
    border-color: #FFCC00;
}

/* WooCommerce category sidebar */
.woocommerce .widget_product_categories a,
.product-categories a {
    color: #ffffff !important;
}
.woocommerce .widget_product_categories a:hover,
.product-categories a:hover {
    color: #FFCC00 !important;
}

/* Single product */
.woocommerce div.product .product_title {
    color: #ffffff;
    font-family: 'Stint Ultra Expanded', serif !important;
}

.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce div.product .description {
    color: #ffffff;
}

.woocommerce .price,
.woocommerce .amount {
    color: #FFCC00 !important;
}

/* === SIDEBAR / WIDGETS === */
.widget { color: #ffffff; }
.widget a { color: #FFCC00; }
.widget a:hover { color: #FFD315; }

/* === BUTTONS === */
.wp-block-button__link,
button,
input[type="submit"] {
    background-color: #FFCC00 !important;
    color: #000000 !important;
    font-family: 'Inconsolata', monospace;
    border-radius: 10px;
    border: none;
    font-weight: 500;
}

.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
    background-color: #FFD315 !important;
    color: #000000 !important;
}

/* Outline button style */
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent !important;
    border: 2px solid #FFCC00;
    color: #ffffff !important;
}

.is-style-outline .wp-block-button__link:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #FFCC00 !important;
    color: #000000 !important;
}

/* === WHATSAPP BUTTON === */
.whatsapp-cta,
.whatsapp-cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366 !important;
    color: #ffffff !important;
    padding: 15px 30px;
    border-radius: 10px;
    font-family: 'Inconsolata', monospace;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}

.whatsapp-cta:hover,
.whatsapp-cta a:hover {
    background: #128C7E !important;
    color: #ffffff !important;
    text-decoration: none;
}

/* === GALLERY === */
.wp-block-gallery { gap: 10px; }
.wp-block-gallery .wp-block-image img { border-radius: 5px; }

/* === FORMS === */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea,
select {
    background-color: #222222 !important;
    color: #ffffff !important;
    border: 1px solid #444444 !important;
    border-radius: 5px;
    font-family: 'Inconsolata', monospace;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    border-color: #FFCC00 !important;
    outline: none;
}

/* === PAGE HEADERS === */
.page-header,
.entry-header {
    background-color: #181818;
}

.page-title,
.entry-title {
    color: #ffffff !important;
}

/* === HERO AREA (INSPIRO) === */
.starter-content-intro .starter-content-intro-inner,
.starter-content-intro .starter-content-intro-content {
    background-color: #000000;
}

.starter-content-intro h2,
.starter-content-intro p {
    color: #ffffff !important;
}

.starter-content-intro .starter-content-intro-btn {
    border: 2px solid #FFCC00;
    background: transparent;
    color: #ffffff;
    border-radius: 10px;
    font-family: 'Inconsolata', monospace;
}

.starter-content-intro .starter-content-intro-btn:hover {
    background: #FFCC00;
    color: #000000;
}

/* === SOCIAL ICONS === */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #FFCC00;
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #FFCC00;
    color: #000000;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #181818; }
::-webkit-scrollbar-thumb { background: #444444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FFCC00; }

/* === SEARCH === */
.search-form input[type="search"] {
    background-color: #222222;
    color: #ffffff;
    border: 1px solid #444444;
}

/* === BREADCRUMBS === */
.breadcrumbs, .woocommerce-breadcrumb {
    color: #888888;
}
.breadcrumbs a, .woocommerce-breadcrumb a {
    color: #FFCC00;
}

/* === MISC === */
.comment-list, .comments-area { color: #ffffff; }
.error-404 { color: #ffffff; }
hr { border-color: #333333; }
blockquote { border-left-color: #FFCC00; color: #cccccc; }
code, pre { background-color: #222222; color: #FFCC00; }
table, th, td { border-color: #333333; color: #ffffff; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    h1, h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    .whatsapp-cta { font-size: 16px; padding: 12px 24px; }
}

/* Inspiro Store Page Product Grid */
.page-id-200 .entry-content > section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 20px 0;
}
.page-id-200 .entry-content > section > article {
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.page-id-200 .entry-content > section > article:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255,204,0,0.15);
}
.page-id-200 .entry-content > section > article img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}
.page-id-200 .entry-content > section > article h2 {
  padding: 15px;
  font-size: 18px;
  text-align: center;
}
.page-id-200 .entry-content > section > article h2 a {
  color: #FFCC00;
  text-decoration: none;
}
.page-id-200 .entry-content > section > article h2 a:hover {
  color: #ffffff;
}
.page-id-200 .entry-content > section > article p { display: none; }
@media (max-width: 768px) {
  .page-id-200 .entry-content > section {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
@media (max-width: 480px) {
  .page-id-200 .entry-content > section {
    grid-template-columns: 1fr;
  }
}

/* WooCommerce shortcode product grid */
.woocommerce ul.products li.product a.button {
  background: transparent;
  border: 1px solid #FFCC00;
  color: #FFCC00;
  padding: 8px 20px;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
}
.woocommerce ul.products li.product a.button:hover {
  background: #FFCC00;
  color: #000;
}
