/*
Theme Name: Time2ChuckIt
Theme URI: https://hostingersite.com
Author: Time2ChuckIt Developer
Description: High-performance modern block theme tailored for West Michigan dumpster rental and waste logistics networks.
Version: 2.3.0
Requires at least: 6.5
Requires PHP: 8.1
License: GNU General Public License v2 or later
Text Domain: time2chuckit
*/

/* Core Global Layout Typography Default Styles */
body {
    font-family: system-ui, -apple-system, sans-serif;
    background-color: #FFFFFF !important;
    color: #1A1A1A !important;
    margin: 0;
    padding: 0;
}

/* 🛸 PREMIUM INTERACTIVE NAVIGATION STYLING MATRIX */

/* Spacing Out Individual Menu Items Separately - Reduced to 60% (1.2rem) */
.wp-block-navigation .wp-block-navigation-item {
    margin-left: 1.2rem !important;
    margin-right: 0 !important;
}

/* Base Link Formatting & Tactile Transition Presets */
.wp-block-navigation .wp-block-navigation-item__content {
    display: inline-block !important;
    padding: 10px 18px !important;
    color: #1A1A1A !important;
    background-color: #FFFFFF !important;
    border: 1px solid transparent !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-sizing: border-box !important;
}

/* 🚀 Premium 3D Lift Highlight Interaction Loop */
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus {
    color: #C8102E !important; /* Changes text color to your brand crimson red */
    background-color: #FFFFFF !important;
    transform: translateY(-3px) !important; /* Physically raises the element off the screen */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08) !important; /* Deploys 3D depth shadows underneath */
    border: 1px solid #EEEEEE !important;
}

/* Ensuring Active Tap Interaction Simulates a Physical Button Depress */
.wp-block-navigation .wp-block-navigation-item__content:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 🎹 VARIABLE LENGTH SUBMENU CONTAINER ENHANCEMENTS */
.wp-block-navigation .wp-block-navigation__submenu-container {
    background-color: #FFFFFF !important;
    border-radius: 8px !important;
    border: 1px solid #EEEEEE !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    padding: 0.6rem !important;

    /* Forces layout box boundaries to expand dynamically relative to character width lengths */
    width: max-content !important;
    min-width: 100% !important;
    max-width: 450px !important;
}

/* Overriding child text link properties within dropdown boxes exclusively */
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
    margin: 0 !important;
    width: 100% !important;
    padding: 10px 16px !important;
    text-align: left !important;

    /* Blocks text elements from smashing or fragmenting onto separate layout rows */
    white-space: nowrap !important;
    display: block !important;
}

/* ==========================================================================
   Time2ChuckIt Master Dumpster Rental Components (Unified Aesthetic)
   ========================================================================== */
/* Core Layout Container */
.t2c-agreement-wrap {
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
}

/* Base Card Styles applied to ALL custom block cards */
.t2c-fee-card,
.t2c-prohibited-card,
.t2c-rules-card,
.t2c-legal-card {
  border-radius: 10px !important;
  padding: 28px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* Color Presets for WordPress Block Custom Classes */
.t2c-fee-card {
  background-color: #f0f7ff !important;
  border-left: 6px solid #0066cc !important;
  border-top: 1px solid #dbeafe !important;
  border-right: 1px solid #dbeafe !important;
  border-bottom: 1px solid #dbeafe !important;
}

.t2c-prohibited-card {
  background-color: #fff5f5 !important;
  border-left: 6px solid #cc0000 !important;
  border-top: 1px solid #fee2e2 !important;
  border-right: 1px solid #fee2e2 !important;
  border-bottom: 1px solid #fee2e2 !important;
}

.t2c-rules-card {
  background-color: #fffbeb !important;
  border-left: 6px solid #d97706 !important;
  border-top: 1px solid #fef3c7 !important;
  border-right: 1px solid #fef3c7 !important;
  border-bottom: 1px solid #fef3c7 !important;
}

.t2c-legal-card {
  background-color: #f8fafc !important;
  border-left: 6px solid #64748b !important;
  border-top: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* Fixes internal typography header spacing within native blocks */
.t2c-fee-card h3, .t2c-prohibited-card h3, .t2c-rules-card h3, .t2c-legal-card h3 {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
}

/* Restores list bullet indentation by specifically targeting WordPress list block wrappers */
.t2c-fee-card .wp-block-list,
.t2c-prohibited-card .wp-block-list,
.t2c-rules-card .wp-block-list,
.t2c-legal-card .wp-block-list,
.t2c-fee-card ul,
.t2c-prohibited-card ul,
.t2c-rules-card ul,
.t2c-legal-card ul {
  padding-left: 32px !important;
  margin-top: 14px !important;
  margin-bottom: 14px !important;
  list-style-type: disc !important;
}

/* Forces proper formatting and grid margins for list items to prevent left-side clipping */
.t2c-fee-card .wp-block-list li,
.t2c-prohibited-card .wp-block-list li,
.t2c-rules-card .wp-block-list li,
.t2c-legal-card .wp-block-list li,
.t2c-fee-card li,
.t2c-prohibited-card li,
.t2c-rules-card li,
.t2c-legal-card li {
  margin-bottom: 12px !important;
  padding-left: 6px !important;
  list-style-type: disc !important;
  display: list-item !important;
}

/* Ensures native layout paragraphs within legal cards space out cleanly */
.t2c-legal-card p,
.t2c-legal-card .wp-block-paragraph {
  margin-top: 0 !important;
  margin-bottom: 16px !important;
  padding-left: 0 !important;
}

/* Eliminates dead spacing at the bottom of the containers */
.t2c-fee-card li:last-child,
.t2c-prohibited-card li:last-child,
.t2c-rules-card li:last-child,
.t2c-legal-card li:last-child,
.t2c-legal-card p:last-child,
.t2c-fee-card .wp-block-list li:last-child,
.t2c-prohibited-card .wp-block-list li:last-child,
.t2c-rules-card .wp-block-list li:last-child,
.t2c-legal-card .wp-block-list li:last-child,
.t2c-legal-card .wp-block-paragraph:last-child {
  margin-bottom: 0 !important;
}

/* Mobile wrap fix for contact links */
.t2c-footer-wrap {
  margin-top: 40px;
  word-break: break-word;
}
