/* Custom Global Variables */
:root {
    --wp--preset--color--primary: #002DA8;
    --wp--preset--color--text: #4D4D4D;
    --brand-dark: #021332;
    --brand-accent: #61CE70; /* Green Accent */
    --font-primary: 'Familjen Grotesk', sans-serif;
}

/* Base Body Styles */
body {
    background: #FFFFFF;
    color: var(--wp--preset--color--text);
    font-family: var(--font-primary) !important;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary) !important;
    font-weight: 700;
}

/* =========================================
   CLASSIC HEADER STYLES
   ========================================= */

/* 1. Top Bar Styling */
.top-bar {
    background-color: #010d23; 
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.top-bar .text-info {
    color: var(--brand-accent) !important; 
}

/* 2. Main Navbar Styling */
.navbar {
    background-color: var(--brand-dark) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 12px 0;
}

/* Logo Styling */
.navbar-brand img {
    max-height: 50px;
    width: auto;
    background: #fff;
    padding: 0px;
    border-radius: 0px;
}

/* Navigation Links - Better Font & Spacing */
.nav-link {
    color: #ffffff !important;
    font-family: var(--font-primary);
    font-weight: 600 !important;
    font-size: 14px;
    letter-spacing: 1px; /* Improved readability */
    padding: 10px 18px !important;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Hover & Active States */
.nav-link:hover, .nav-link.active {
    color: var(--brand-accent) !important;
}

/* Mobile Toggler */
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 5px 10px;
    outline: none;
    box-shadow: none !important;
}

/* CTA Button in Header */
.navbar .btn-primary {
    background-color: var(--brand-accent);
    border: 2px solid var(--brand-accent);
    color: var(--brand-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(97, 206, 112, 0.3);
    transition: all 0.3s ease;
    padding: 8px 25px;
}

.navbar .btn-primary:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(97, 206, 112, 0.5);
    transform: translateY(-2px);
}

/* Mobile Menu Dropdown Appearance */
@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--brand-dark);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 25px;
        z-index: 9999;
        border-top: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    }
    
    .navbar-nav {
        text-align: left;
    }
    
    .nav-link {
        padding-left: 0 !important;
    }

    .hero-section h1 {
        font-size: 2.5rem !important;
    }
}

/* =========================================
   PRODUCT CARD STYLES
   ========================================= */
.product-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.hover-up {
    transition: transform 0.3s ease;
}
.hover-up:hover {
    transform: translateY(-10px);
}

/* =========================================
   FOOTER STYLES (New & Improved)
   ========================================= */
#rs-footer {
    font-family: var(--font-primary);
    border-top: 4px solid var(--brand-accent);
}

/* Footer Headings */
.footer-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Decorative underline for headings */
.footer-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--brand-accent);
}

/* Footer Links */
.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu li a {
    color: #b0b0b0 !important;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu li a:hover {
    color: #fff !important;
    transform: translateX(5px); /* Slide effect */
    text-decoration: none;
}

/* Contact Info in Footer */
.address-widget li {
    margin-bottom: 15px;
    color: #ccc;
    font-size: 15px;
    display: flex;
    align-items: start;
}

.address-widget i {
    color: var(--brand-accent) !important;
    margin-top: 4px;
    margin-right: 12px;
}

/* Footer Utilities */
.footer-logo img {
    background: transparent !important; 
}

.copy-btn {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #bbb;
    border-radius: 4px;
    padding: 2px 8px;
    margin-left: 8px;
    font-size: 11px;
    cursor: pointer;
    transition: 0.2s;
}

.copy-btn:hover {
    background: var(--brand-accent);
    color: #000;
}

.copy-feedback {
    display: none;
    margin-left: 5px;
    font-size: 12px;
    color: var(--brand-accent);
}