/*
Theme Name: Fire Guard Solution
Theme URI: https://fireguardsolution.com/
Author: Your Name/Company Name
Author URI: https://fireguardsolution.com/
Description: A modern, responsive WordPress theme for fire safety equipment and services, featuring glassmorphism design.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fireguardsolution_wp_theme
*/

/* Base styles for Inter font and background gradient */
body {
    font-family: 'Inter', sans-serif;
    background-image: url('https://fireguardsolution.com/wp-content/uploads/2025/07/pngtree-rendering-of-a-three-dimensional-red-fire-extinguisher-image_3833190.jpg'); /* Updated background image */
    background-size: cover; /* Make the image cover the entire background */
    background-attachment: fixed; /* Keep the image fixed when scrolling */
    background-position: center center; /* Center the background image */
    background-color: #000000; /* Changed to full black background */
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scroll on small screens */
    display: flex;
    flex-direction: column;
}

/* Hide scrollbar for cleaner look */
body::-webkit-scrollbar {
    display: none;
}
body {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Glass effect base class */
.glass {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Blurs content behind it */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18); /* Subtle border */
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Soft shadow */
}

/* Header specific glass effect - slightly more pronounced */
.site-header {
    background-color: rgba(255, 255, 255, 0.2); /* Slightly more opaque for header */
    backdrop-filter: blur(15px); /* Stronger blur for header */
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3); /* Clearer border */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* More pronounced shadow */
    border-radius: 0 0 1rem 1rem; /* Rounded bottom corners only */
    padding-top: 1rem; /* p-4 */
    padding-bottom: 1rem; /* p-4 */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    color: white;
}

/* Main content area padding (to account for fixed header) */
main#primary {
    padding-top: 80px; /* Adjust based on header height */
    flex-grow: 1; /* Allows content to take up available space */
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    color: #333;
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center content */
}

/* Navigation menu links */
.main-navigation .nav-menu li a,
.mobile-menu .mobile-nav-menu li a {
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.3s; /* transition-all duration-300 */
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
}
.main-navigation .nav-menu li a:hover,
.mobile-menu .mobile-nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.2); /* hover:bg-white/20 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* hover:shadow-md */
}

/* Cart badge styling */
.cart-badge {
    background-color: #ef4444; /* bg-red-500 */
    color: white;
    font-size: 0.75rem; /* text-xs */
    font-weight: bold;
    border-radius: 9999px; /* rounded-full */
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -0.5rem; /* -top-2 */
    right: -0.5rem; /* -right-2 */
}

/* Section general styles */
.section {
    margin-top: 3rem; /* my-12 */
    margin-bottom: 3rem; /* my-12 */
    padding: 2rem; /* p-8 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
}

.container {
    max-width: 1100px; /* Adjusted for better content width */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Hero Section */
.hero-section {
    padding-top: 4rem; /* More space below header */
    color: white;
}

.hero-title {
    font-size: 3rem; /* text-5xl */
    font-weight: 800; /* font-extrabold */
    margin-bottom: 1rem;
    color: white; /* Ensured hero title is white */
}

.hero-description {
    font-size: 1.25rem; /* text-xl */
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px; /* rounded-full */
    text-decoration: none;
    font-weight: 600; /* font-semibold */
    transition: all 0.3s ease;
    margin: 0.5rem;
}

/* Buttons */
.btn-primary {
    background-color: #ef4444; /* Red */
    color: white;
    border: 1px solid #ef4444;
}

.btn-primary:hover {
    background-color: #dc2626; /* Darker Red */
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #3b82f6; /* Blue */
    color: white;
    border: 1px solid #3b82f6;
}

.btn-secondary:hover {
    background-color: #2563eb; /* Darker Blue */
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 1.5rem; /* gap-6 */
}

.grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) { /* md breakpoint */
    .grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.grid-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) { /* sm breakpoint */
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 768px) { /* md breakpoint */
    .grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) { /* lg breakpoint */
    .grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Card styles */
.card, .product-card, .service-card, .testimonial-card {
    padding: 1.5rem; /* p-6 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* shadow-sm */
    background-color: white; /* Default background, overridden by glass or specific colors */
    transition: all 0.3s ease;
}

.card:hover, .product-card:hover, .service-card:hover, .testimonial-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* shadow-md */
    transform: translateY(-3px);
}

.feature-icon, .product-image, .service-icon {
    font-size: 3rem; /* text-5xl */
    margin-bottom: 1rem;
    line-height: 1; /* Prevents extra space */
}

.product-card .product-thumbnail img {
    width: 100%;
    height: 128px; /* h-32 */
    object-fit: cover;
    border-radius: 0.25rem; /* rounded */
}

.product-title, .service-title {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 0.5rem;
    color: #333; /* Default text color */
}
.product-title a, .service-title a {
    color: #333; /* Default link color */
    text-decoration: none;
}
.product-title a:hover, .service-title a:hover {
    color: #ef4444; /* Hover color */
}

.product-price, .service-price {
    font-weight: bold;
    font-size: 1.125rem; /* text-lg */
    color: #10b981; /* green-500 */
    margin-top: 0.5rem;
}

.product-actions .btn, .service-actions .btn {
    width: 100%;
    display: block;
    margin-top: 1rem;
}

.product-actions .btn-outline, .service-actions .btn-outline {
    background-color: transparent;
    color: #3b82f6; /* blue-500 */
    border: 1px solid #3b82f6;
}
.product-actions .btn-outline:hover, .service-actions .btn-outline:hover {
    background-color: #3b82f6;
    color: white;
}

.section-title {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    color: #ffffff; /* Changed to white for better contrast on background */
    margin-bottom: 2rem;
}

/* Specific section background colors (overriding default card background) */
.features-section { background-color: rgba(0,0,0,0.3); } /* Darker transparent background */
.features-section .card {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter glass for features */
    color: white;
}
.features-section .feature-title, .features-section .feature-description {
    color: white;
}
.products-section { background-color: rgba(0,0,0,0.4); } /* Darker transparent background */
.products-section .product-card {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter glass for products */
    color: white;
}
.products-section .product-title, .products-section .product-excerpt, .products-section .product-price {
    color: white;
}
.products-section .product-title a {
    color: white;
}
.products-section .product-title a:hover {
    color: #ef4444; /* Red hover for product titles */
}

.services-section { background-color: rgba(0,0,0,0.3); } /* Darker transparent background */
.services-section .service-card {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter glass for services */
    color: white;
}
.services-section .service-title, .services-section .service-description, .services-section .service-price {
    color: white;
}
.services-section .service-title a {
    color: white;
}
.services-section .service-title a:hover {
    color: #ef4444; /* Red hover for service titles */
}

/* Testimonials */
.testimonials-section { background-color: rgba(0,0,0,0.4); } /* Darker transparent background */
.testimonials-section .testimonial-card {
    background-color: rgba(255, 255, 255, 0.2); /* Darker glass for testimonials */
    color: white;
}
.testimonial-text {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.6;
}
.author-name {
    font-weight: bold;
    margin-top: 0.5rem;
}
.author-company {
    font-size: 0.875rem; /* text-sm */
    opacity: 0.8;
}

/* Call to Action */
.cta-section { background-color: rgba(0,0,0,0.3); } /* Darker transparent background */
.cta-section .glass {
    background-color: rgba(255, 255, 255, 0.2); /* Lighter glass for CTA */
}
.cta-title {
    font-size: 2.25rem; /* text-3xl */
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
}
.cta-description {
    font-size: 1.25rem; /* text-xl */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* Footer styles */
.site-footer {
    background-color: black; /* Black background for footer */
    color: white;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: auto; /* Pushes footer to the bottom */
}

.site-footer a {
    color: #63b3ed; /* Light blue for links */
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.footer-heading {
    font-weight: bold;
    font-size: 1.125rem; /* text-lg */
    margin-bottom: 1rem;
    color: #cbd5e0; /* gray-300 */
}

.footer-links li a {
    color: #a0aec0; /* gray-400 */
    transition: color 0.2s ease-in-out;
}

.footer-links li a:hover {
    color: #ffffff;
}

.footer-section .footer-title {
    color: white; /* Ensure footer titles are white */
}

.footer-section .social-links a {
    color: white; /* Default social icon color */
}
.footer-section .social-links a:hover {
    color: #3b82f6; /* Hover color for social icons */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3); /* Lighter border for footer bottom */
    margin-top: 2rem; /* mt-8 */
    padding-top: 2rem; /* pt-8 */
}

.footer-bottom .copyright,
.footer-bottom .footer-legal-menu li a {
    color: rgba(255, 255, 255, 0.8);
}
.footer-bottom .footer-legal-menu li a:hover {
    color: #ef4444; /* Red hover for legal links */
}

.back-to-top button {
    opacity: 0.8;
}
.back-to-top button:hover {
    opacity: 1;
    color: #3b82f6; /* Blue hover for back to top */
}

/* General utility classes (if not using full Tailwind build) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
.hidden {
    display: none;
}
.relative {
    position: relative;
}
.absolute {
    position: absolute;
}
.flex {
    display: flex;
}
.justify-between {
    justify-content: space-between;
}
.items-center {
    align-items: center;
}
.space-x-2 > *:not(:first-child) {
    margin-left: 0.5rem;
}
.space-x-4 > *:not(:first-child) {
    margin-left: 1rem;
}
.space-x-6 > *:not(:first-child) {
    margin-left: 1.5rem;
}
.space-y-2 > *:not(:first-child) {
    margin-top: 0.5rem;
}
.space-y-3 > *:not(:first-child) {
    margin-top: 0.75rem;
}
.space-y-4 > *:not(:first-child) {
    margin-top: 1rem;
}
.rounded-full {
    border-radius: 9999px;
}
.rounded-md {
    border-radius: 0.375rem;
}
.rounded-lg {
    border-radius: 0.5rem;
}
.rounded-xl {
    border-radius: 0.75rem;
}
.rounded-b-xl {
    border-bottom-left-radius: 0.75rem;
    border-bottom-right-radius: 0.75rem;
}
.rounded-3xl {
    border-radius: 1.5rem;
}
.w-full {
    width: 100%;
}
.h-8 {
    height: 2rem;
}
.h-32 {
    height: 8rem;
}
.text-white {
    color: #ffffff;
}
.text-white\/80 {
    color: rgba(255, 255, 255, 0.8);
}
.text-white\/90 {
    color: rgba(255, 255, 255, 0.9);
}
.text-blue-600 {
    color: #2563eb;
}
.text-blue-700 {
    color: #1d4ed8;
}
.text-red-300 {
    color: #fca5a5;
}
.text-red-400 {
    color: #f87171;
}
.text-yellow-400 {
    color: #facc15;
}
.text-sm {
    font-size: 0.875rem;
}
.text-base {
    font-size: 1rem;
}
.text-lg {
    font-size: 1.125rem;
}
.text-xl {
    font-size: 1.25rem;
}
.text-2xl {
    font-size: 1.5rem;
}
.text-3xl {
    font-size: 1.875rem;
}
.text-4xl {
    font-size: 2.25rem;
}
.text-5xl {
    font-size: 3rem;
}
.font-bold {
    font-weight: 700;
}
.font-semibold {
    font-weight: 600;
}
.font-extrabold {
    font-weight: 800;
}
.text-center {
    text-align: center;
}
.text-left {
    text-align: left;
}
.italic {
    font-style: italic;
}
.mb-1 {
    margin-bottom: 0.25rem;
}
.mb-2 {
    margin-bottom: 0.5rem;
}
.mb-3 {
    margin-bottom: 0.75rem;
}
.mb-4 {
    margin-bottom: 1rem;
}
.mb-8 {
    margin-bottom: 2rem;
}
.mt-2 {
    margin-top: 0.5rem;
}
.mt-4 {
    margin-top: 1rem;
}
.mt-8 {
    margin-top: 2rem;
}
.mt-12 {
    margin-top: 3rem;
}
.mx-auto {
    margin-left: auto;
    margin-right: auto;
}
.mr-1 {
    margin-right: 0.25rem;
}
.mr-2 {
    margin-right: 0.5rem;
}
.mr-3 {
    margin-right: 0.75rem;
}
.p-4 {
    padding: 1rem;
}
.p-6 {
    padding: 1.5rem;
}
.p-8 {
    padding: 2rem;
}
.p-12 {
    padding: 3rem;
}
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}
.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.py-2\.5 {
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}
.pt-6 {
    padding-top: 1.5rem;
}
.pt-8 {
    padding-top: 2rem;
}
.object-cover {
    object-fit: cover;
}
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}
.duration-300 {
    transition-duration: 300ms;
}
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.hover\:scale-105:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
}
.hover\:rotate-1:hover {
    --tw-rotate: 1deg;
}
.bg-black {
    background-color: #000;
}
.hover\:bg-gray-800:hover {
    background-color: #2d3748;
}
.bg-gray-800 {
    background-color: #2d3748;
}
.bg-gray-900 {
    background-color: #1a202c;
}
.bg-blue-900 {
    background-color: #1e3a8a;
}
.bg-opacity-70 {
    background-color: rgba(0, 0, 0, 0.7);
}
.border {
    border-width: 1px;
}
.border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}
.border-opacity-30 {
    border-color: rgba(255, 255, 255, 0.3);
}
.border-white {
    border-color: #ffffff;
}
.border-gray-700 {
    border-color: #4a5568;
}
.border-t {
    border-top-width: 1px;
}
.md\:flex {
    display: none;
}
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }
    .md\:hidden {
        display: none;
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:text-left {
        text-align: left;
    }
    .md\:mb-0 {
        margin-bottom: 0;
    }
}
/* For mobile menu, ensure it's hidden by default and shown with JS */
.mobile-menu {
    display: none; /* Hidden by default */
}
.mobile-menu.active {
    display: block; /* Shown when active */
}
