/* --- 1. Master Background & Body --- */
body {
    background-color: transparent !important;
    background-image: url('images/logoEllendale.png') !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   ELLENDALE CUSTOM HEADER & ADMIN OVERRIDES
   ========================================================================== */

/* Fixed Header with more transparent glass effect */
.ellendale-fixed-header {
    position: sticky;
    top: 0;
    width: 100%;
    /* Lowered from 0.3 to 0.15 for more transparency */
    background-color: rgba(100, 100, 100, 0.15) !important; 
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* The "frosted" blur effect */
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    z-index: 100; 
    transition: top 0.3s ease-in-out;
}

/* --- LOGO & GUTTER FIXES --- */

/* 1. Force transparency on logo containers to remove ghost boxes */
.navbar-brand,
.site-logo,
.site-logo a {
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

/* 2. Scale and align the SVG logo for high visibility */
.navbar-brand img,
.site-logo img {
    height: 80px; 
    width: auto;
    display: block;
    background: transparent !important;
}

/* 3. Header-specific Gutter Removal (for use with container-fluid) */
.ellendale-fixed-header .container,
.ellendale-fixed-header .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

.ellendale-fixed-header .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* --- Admin Toolbar Overrides --- */
#toolbar-administration,
#toolbar-bar,
.toolbar-tray {
  z-index: 9999 !important; 
}

body.toolbar-horizontal .ellendale-fixed-header {
  top: 39px; 
}

body.toolbar-horizontal.toolbar-tray-open .ellendale-fixed-header {
  top: 79px; 
}

/**
 * Refined Hero Typography for SimplicityWorks
 * Path: /themes/custom/simplicityworks/css/style.css
 */

.hero-text {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
  letter-spacing: -1px;
  line-height: 1.1;
}

.hero-subtext {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  max-width: 750px;
}

/* ==========================================================================
   HEADER NAVIGATION (White All Caps with Animated Underline)
   ========================================================================== */

#header-nav-wrapper ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

#header-nav-wrapper ul li a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;font-size: 1.5rem; /* Increased from 0.95rem */
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

/* The Animated Underline (Left to Right) */
#header-nav-wrapper ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s ease-in-out;
}

#header-nav-wrapper ul li a:hover::after {
    width: 100%;
}

/* Active State: Red Link, Underline Disabled */
#header-nav-wrapper ul li a.is-active,
#header-nav-wrapper ul li a:active {
    color: #ff0000 !important;
}

#header-nav-wrapper ul li a.is-active::after {
    display: none;
}