/*
Theme Name: Casibella Child
Theme URI: https://example.com/cmth-child
Description: Child theme for CMth
Author: Your Name
Author URI: https://example.com
Template: cmth
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: casibella-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*
 * This is a child theme for CMth.
 * All customizations should be made in this file or in the child theme functions.php.
 * The parent theme's styles are automatically loaded.
 */

/* ========================================
   Site-specific Customizations
   ======================================== */

/* 
 * HEADER COLOR CUSTOMIZATION
 * You can customize header colors here or via WordPress Customizer
 * (Appearance → Customize → Header Colors)
 */

/*
:root {
    --header-bg: #001744;      /* Header background color * /
    --header-accent: #FF6B35;  /* Logo background & accent color * /
    --header-text: #ffffff;    /* Header text color * /
    --header-stripe: #FFB800;  /* Bottom stripe color * /
    --header-hover: #FF8555;   /* Hover state color * /
}
*/

/* Example: Make header sticky */
/*
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
*/

/* Example: Add transition to header */
/*
.site-header {
    transition: all 0.3s ease;
}
*/

/* Example: Adjust logo size */
/*
.site-branding .custom-logo {
    max-height: 3rem;
}
*/

/* Example: Adjust mobile menu styles */
/*
#mobile-menu {
    background: linear-gradient(180deg, var(--header-bg), #000);
}
*/

/* Example: Custom search modal styling */
/*
#search-modal .bg-header-bg {
    background: rgba(0, 23, 68, 0.95);
}
*/

/* ========================================
   Site-wide Customizations
   ======================================== */

/* Example: Custom primary colors */
:root {
  --site-primary-color: #3b82f6;
  --site-secondary-color: #9333ea;
}

/* Add your site-specific styles below this line */
/* ============================================ */

.fa.fa-twitter {
  font-family: "Font Awesome 5 Brands";
  font-weight: 400;
}

#masthead {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#masthead.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.custom-logo-link {
  transition: transform 0.3s ease;
}

.custom-logo-link:hover {
  transform: scale(1.05);
}

.custom-logo-link img {
  max-height: 4rem;
  width: auto;
  transition: transform 0.3s ease;
}

.custom-logo-link:hover img {
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .custom-logo-link img {
    max-height: 5rem;
  }
}

#primary-menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--header-text, #ffffff);
}

#primary-menu > li > a:hover {
  background-color: rgba(6, 147, 227, 0.1);
  color: var(--header-accent, #0693e3);
  transform: translateY(-2px);
}

#primary-menu > li.current-menu-item > a,
#primary-menu > li.current-page-ancestor > a {
  background: linear-gradient(
    135deg,
    rgba(6, 147, 227, 0.15),
    rgba(6, 147, 227, 0.05)
  );
  color: var(--header-accent, #0693e3);
  border: 1px solid rgba(6, 147, 227, 0.2);
}

#primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  margin-top: 0.5rem;
  display: none;
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

#primary-menu .sub-menu li {
  margin: 0;
}

#primary-menu .sub-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  color: #374151;
  font-weight: 500;
}

#primary-menu .sub-menu a:hover {
  background: rgba(6, 147, 227, 0.1);
  color: var(--header-accent, #0693e3);
  transform: translateX(5px);
}

.casino-list {
  list-style: none !important;
  margin-left: 0 !important;
}

.table-list {
  max-width: 100% !important;
}

.table-list .feature-items {
  margin-left: 0;
  list-style: none !important;
}

.top5-list ul {
  margin-left: 0;
  margin-bottom: 0;
  list-style: none !important;
}

.entry-content .wp-block-table {
  margin: 20px 0;
}

.top5-header {
  background-color: #0693e3 !important;
}

.page-numbers.current {
  font-weight: bold;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav-menu li {
  list-style: none;
}

.mobile-submenu-toggle.active svg {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  margin: 0 !important;
  padding: 0;
  transition: all 0.3s ease;
}

.mobile-submenu.submenu-open {
  margin-top: 15px !important;
  margin-left: 20px !important;
  margin-bottom: 15px !important;
  margin-right: 0 !important;
  padding-left: 8px;
}

.submenu-active {
  border-color: #0693e3 !important;
  background-color: rgba(6, 147, 227, 0.1);
}

#mobile-menu-close:hover svg {
  transform: rotate(90deg);
}

#mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#mobile-menu nav a {
  text-decoration: none;
  display: block;
}

#mobile-menu nav .sub-menu {
  padding-left: 0;
  margin-top: 0.25rem;
}

#mobile-menu nav .sub-menu a span {
  padding-left: 2rem;
  font-size: 0.875rem;
  background-color: transparent;
  color: #9ca3af;
}

#mobile-menu nav .sub-menu a span:hover {
  color: #ffffff;
}

.wp-block-ub-styled-list {
  padding: 0 !important;
}

.prp-page div.prp-content .prp-el-circle-rating,
.wp-admin div.prp-content .prp-el-circle-rating,
.prp-page.page div.prp-content .prp-el-circle-rating {
  color: #000;
  width: 170px;
  height: 170px;
}

@charset "UTF-8";
:root {
  --star-size: 20px;
  --star-color: #fff;
  --star-background: #fc0;
  --star-border: 1px solid #525252;
}

.stars {
  --percent: calc(var(--rating) / 5 * 100%);
  display: inline-block;
  font-size: var(--star-size);
  font-family: Times;
  line-height: 1;
  padding-top: 5px;
}

.stars::before {
  content: "★★★★★";
  letter-spacing: 3px;
  background: linear-gradient(
    90deg,
    var(--star-background) var(--percent),
    var(--star-color) var(--percent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.casino ul {
  display: flex;
  flex-direction: row;
  padding: 5px;
  margin: 20px !important;
  align-items: start;
  justify-content: center;
  background-color: #f6f6f6;
  flex-wrap: wrap;
}

.casino li {
  list-style-type: none;
  margin: 10px;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  font-weight: 600;
  font-size: 19px;
  padding: 15px;
}

.casino img {
  width: 80px;
  height: auto;
}

@media (max-width: 470px) {
  .casino li {
    width: 100%;
  }
}
