/* ===============================================
   EVOLVEDLOTUS Header Styles
   =============================================== */

/* Header Layout */
.evl-navcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.evl-leftnav {
    flex: 0 0 auto;
}

.evl-rightnav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.evl-navtxtgroup.desktop-only {
    display: flex;
    gap: 15px;
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Navigation Text - ALWAYS BLACK */
.evl-navtxt {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
}

.evl-navtxt:hover {
    opacity: 0.7;
}

.evl-navdivtxt a {
    color: #000000 !important;
    text-decoration: none;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #333;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    color: #33bdef;
}

/* Settings Dropdown */
.settings-dropdown-wrapper {
    position: relative;
}

.settings-panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: white;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    min-width: 200px;
    display: none;
    z-index: 101;
}

.settings-panel.active {
    display: block;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.setting-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.setting-label {
    font-weight: 600;
    font-size: 14px;
}

/* Toggle Switch */
.toggle-switch {
    background: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 24px;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 5px;
}

.lang-link {
    text-decoration: none;
    color: #666;
    font-size: 12px;
    padding: 2px 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.lang-link.active {
    background: #33bdef;
    color: white;
    border-color: #33bdef;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: white;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    float: right;
    margin-bottom: 20px;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    clear: both;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.95);
    z-index: 300;
    display: none;
    justify-content: center;
    padding-top: 100px;
}

.search-overlay.active {
    display: flex;
}

.search-overlay-content {
    width: 100%;
    max-width: 600px;
    position: relative;
    padding: 0 20px;
}

.search-close-btn {
    position: absolute;
    top: -60px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.search-input-wrapper input {
    width: 100%;
    padding: 15px 20px;
    font-size: 24px;
    border: none;
    border-bottom: 2px solid #33bdef;
    background: transparent;
    outline: none;
}

.global-search-results {
    margin-top: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.search-result-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-result-item:hover {
    background: #f9f9f9;
}

.search-result-title {
    font-size: 18px;
    margin: 0 0 5px 0;
    color: #33bdef;
}

.search-result-description {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive */
.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-only {
        display: flex !important;
    }
}

/* Dark Mode Overrides */
[data-theme="dark"] .evl-navcontainer,
[data-theme="dark"] .settings-panel,
[data-theme="dark"] .mobile-menu-content {
    background: #1e293b;
    color: #e2e8f0;
}

/* Navigation text ALWAYS stays black */
[data-theme="dark"] .evl-navtxt,
[data-theme="dark"] .evl-navdivtxt a {
    color: #000000 !important;
}

[data-theme="dark"] .icon-btn {
    color: #e2e8f0;
}

[data-theme="dark"] .mobile-nav-links a {
    color: #e2e8f0;
}

[data-theme="dark"] .search-overlay {
    background: rgba(30, 41, 59, 0.95);
}

[data-theme="dark"] .search-input-wrapper input {
    color: #e2e8f0;
}

/* ===============================================
   EVOLVEDLOTUS Footer Styles
   =============================================== */

footer {
    box-shadow: 5px 5px 50px 5px #8888882e;
    color: rgb(255, 255, 255);
    background-color: #5BBCE8 !important;
    text-align: center;
    font-family: 'SvelteTrial-Regular', sans-serif;
    border: solid 1px #5bbbe87a;
    max-width: 100%;
    margin-top: auto;
}

.evl-footertext {
    color: #808080;
    font-weight: bolder;
    text-decoration: none;
    font-size: 18px;
    padding-left: 25px;
}

.evl-footertext:hover {
    color: #ffffff;
}

.evl-footerdivinside {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.evl-footercontainer {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
    width: 100%;
}

.evl-footercolumn {
    display: flex;
    text-align: left;
    padding-left: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.evl-footeritem {
    margin: 5px;
}

.evl-spacediv14 {
    height: 20px;
}

/* Dark mode overrides for footer */
[data-theme="dark"] footer {
    background-color: #1e293b !important;
    border-color: #334155;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .evl-footertext {
    color: #cbd5e1;
}

[data-theme="dark"] .evl-footertext:hover {
    color: #38bdf8;
}

[data-theme="dark"] .fill-000000 {
    fill: #cbd5e1;
}

[data-theme="dark"] .evl-footeritem div[style*="color: #000000"] {
    color: #cbd5e1 !important;
}

/* Newsletter Form Styles */
.newsletter-signup {
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    width: 100%;
}

.footer-newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.footer-newsletter-input::placeholder {
    color: #666;
}

.footer-newsletter-button {
    padding: 10px 25px;
    background: #ffffff;
    color: #5BBCE8;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.footer-newsletter-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

[data-theme="dark"] .footer-newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border-color: #cbd5e1;
    color: #e2e8f0;
}

[data-theme="dark"] .footer-newsletter-input::placeholder {
    color: #94a3b8;
}

[data-theme="dark"] .footer-newsletter-button {
    background: #38bdf8;
    color: #1e293b;
}

[data-theme="dark"] .footer-newsletter-button:hover {
    background: #0ea5e9;
}

/* Mobile footer overrides */
@media (max-width: 480px) {
    .evl-footertext {
        font-size: 10px;
        padding-left: 6px;
        white-space: nowrap;
    }
    
    footer svg {
        width: 18px;
        height: 18px;
    }
    
    .evl-footercolumn {
        flex-wrap: wrap;
    }
}
