/*
Theme Name: Dignity Fashions
Theme URI: https://dignitywear.co.ke
Author: Dignity Wear Ltd
Author URI: https://dignitywear.co.ke
Description: A modern WordPress theme for Dignity Wear Ltd - Manufacturing corporate uniforms, apparel, workwear, custom-branded merchandise, safety gear, and more in Kenya.
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: dignity-fashions
Tags: custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Custom Utilities */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero-gradient {
    background: linear-gradient(to right, rgba(134, 26, 29, 0.95), rgba(134, 26, 29, 0.85), rgba(134, 26, 29, 0.6));
}

.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Scroll Reveal Class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
#mobile-menu.open {
    max-height: 500px;
    opacity: 1;
}

/* FAQ Transition */
.faq-content {
    transition: grid-template-rows 0.3s ease-out;
    display: grid;
    grid-template-rows: 0fr;
}
.faq-content.open {
    grid-template-rows: 1fr;
}
.faq-inner {
    overflow: hidden;
}

/* Accessibility: Skip Link Styling */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #861a1d;
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    transition: top 0.3s;
    font-weight: bold;
    border-bottom-right-radius: 8px;
}
.skip-link:focus {
    top: 0;
}

/* Brand Color Fallbacks - Ensure colors work even if Tailwind config doesn't load */
.bg-brand-dark {
    background-color: #0f1724 !important;
}
.bg-brand-red {
    background-color: #861a1d !important;
}
.bg-brand-darkRed {
    background-color: #5d1215 !important;
}
.bg-brand-gold {
    background-color: #f4b34b !important;
}
.text-brand-red {
    color: #861a1d !important;
}
.text-brand-gold {
    color: #f4b34b !important;
}
.text-brand-dark {
    color: #0f1724 !important;
}
.hover\:bg-brand-red:hover {
    background-color: #861a1d !important;
}
.hover\:text-brand-red:hover {
    color: #861a1d !important;
}
.hover\:text-brand-gold:hover {
    color: #f4b34b !important;
}