/* --- Global Reset & Variables --- */
:root {
    /* Updated Color Palette (using a calming green/natural scheme) */
    --main-color: #aa850d; /* Primary Green */
    --accent-color: #836502; /* Darker accent */
    --text-color: #1a1a1a; /* Near Black for better contrast */
    --bg-color: #ffffff;
    --nav-bg: #aa850d12; /* Very light background for the main nav bar */
    --border-color: #e0e0e0;
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-deep: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* --- Mega Menu Dropdown Styling --- */

.mega-menu {
    /* State Management */
    opacity: 0; /* Use opacity for transition */
    visibility: hidden; /* Hide it visually and from interaction */
    
    /* Full-width Positioning using fixed trick for full viewport width */
    position: fixed; /* Use fixed to truly break out of parent container */
     /* Adjust this to sit right below your main navigation bar height */
    left: 0; 
    right: 0; 
    width: 100%;
    
    /* Appearance */
    background-color: var(--bg-color);
    box-shadow: var(--shadow-deep);
    border-top: 4px solid var(--main-color);
    z-index: 999;
    padding-block: 2rem; /* Use logical properties for top/bottom padding */
    
    /* Modern Transitions */
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

/* Show the menu on hover or active class */
.has-dropdown:hover .mega-menu, 
.has-dropdown.menu-open .mega-menu { 
    opacity: 1; 
    visibility: visible; 
}

/* Optional: Add a subtle blur effect to content behind the menu */
/* This works best if the main navigation is not full opacity */
/*
.mega-menu {
    backdrop-filter: blur(8px);
    background-color: rgba(255, 255, 255, 0.95);
}
*/


/* --- Mega Menu Content Layout (Columns) --- */
.mega-menu-content {
    /* Use 'display: grid' for more robust and modern column layout control */
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Auto-responsive columns */
    gap: 2rem; /* Use rem units for better scaling */
    
    max-width: 1200px; 
    margin: 0 auto; 
    padding-inline: 1.5rem; /* Use logical properties for left/right padding */
}

/* The featured column can be handled directly in the grid */
.column.featured {
    /* Force it to span two columns on large screens */
    grid-column: span 2; 
    /* Or simply let auto-fit handle it, making the previous 'flex-grow: 1.5' unnecessary */
}

.mega-menu-content .column {
    min-width: unset; /* Remove min-width inherited from old flex property */
}

.mega-menu-content h3 {
    margin-block-start: 0; /* Use logical properties */
    color: var(--accent-color);
    font-size: 1.15rem; /* Use rem units */
    border-bottom: 1px solid var(--border-color); /* Thinner border */
    padding-block-end: 0.5rem;
    margin-block-end: 1rem;
    font-weight: 600; /* Slightly bolder headings */
}

.mega-menu-content ul {
    list-style: none;
    padding: 0;
    margin-block-end: 1.5rem;
}

.mega-menu-content ul li a {
    padding-block: 0.4rem; 
    font-weight: 400; 
    color: var(--text-color) !important;
    font-size: 0.9rem;
    transition: color 0.2s, background-color 0.2s;
    /* !important is generally a bad practice; better to fix specificity upstream. */
    /* Removed !important */
}

.mega-menu-content ul li a:hover {
    color: var(--main-color);
    background-color: transparent;
    text-decoration: none; /* Subtler hover: remove underline for cleaner look */
}

.mega-menu-content ul li p {
padding: 10px;
}

.menupad {
    padding: 5px 0 5px 0 !important;
    font-size: 14px !important;
}

.breakoutp {
    padding-bottom: 15px;
    font-size: 12px;
    line-height: 15px;
}
.mas25 {
    margin-left: 38px;
}

.menico {
    font-family: 'Line Awesome Free';
    font-weight: 600;
    font-size: 22px;
    rotate: -25deg;
    padding-right: 10px;
}
/* --- Featured Column Specific Styles --- */

.feature-link {
    display: block;
    padding: 0.5rem; /* Add padding to the whole feature block */
    background-color: var(--nav-bg); /* Use the light nav background for the feature box */
    border-radius: 8px; /* Softer rounded corners */
    text-decoration: none;
    transition: box-shadow 0.3s;
}

.feature-link:hover {
    box-shadow: var(--shadow-light); /* Lift the feature box on hover */
    background-color: var(--nav-bg);
}

.column.featured img {
    width: 100%; /* Ensure image fills its container */
    height: auto;
    display: block;
    margin-block-end: 0.75rem;
    border-radius: 6px; /* Slightly more rounded */
    object-fit: cover; /* Ensures image covers area cleanly */
}

.column.featured h4 {
    color: var(--accent-color);
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.column.featured p {
    font-size: 0.85rem;
    color: #6a6a6a;
}