/*
Theme Name: Corporate Rescue Group
Theme URI: https://corporaterescuegroup.com.au
Author: Corporate Rescue Group
Author URI: https://corporaterescuegroup.com.au
Description: Corporate Rescue Group — Business rescue, restructuring, and director support for Australian businesses facing financial pressure.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://corporaterescuegroup.com.au
Text Domain: crg
*/

/* ===== MINIMAL CUSTOM CSS ===== */
/* Tailwind CDN handles all utility classes.
   Only custom overrides that can't be done via utility classes live here. */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #030712;
    color: #f9fafb;
    margin: 0;
    padding: 0;
}

/* Ensure select options are readable in dark mode */
select option {
    background-color: #111827;
    color: #fff;
}

/* Smooth panel transitions */
#crg-menu-panel {
    transition: transform 0.35s ease-in-out;
}

#crg-menu-overlay {
    transition: opacity 0.25s ease;
}

/* Remove default WP margins */
.wp-block-group,
.entry-content > *:first-child {
    margin-top: 0;
}

/* Back to top button hidden by default */
#crg-back-to-top {
    display: none;
}

/* Rescue modal hidden by default */
#crg-rescue-modal {
    display: none;
}

/* FAQ content collapsed by default */
.crg-faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Icon sizing helper for Lucide */
[data-lucide] {
    display: inline-block;
    vertical-align: middle;
}

/* Animate pulse for alert icons */
.crg-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Bounce animation for scroll indicator */
.crg-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
