/* 
==============================================
   ENERA PRO - PRO/ENTERPRISE DESIGN
==============================================
*/

:root {
    /* Brand Palette */
    --c-primary: #db5919;
    --c-primary-hover: #c04e15;
    --c-primary-soft: rgba(219, 89, 25, 0.1);

    /* Text & Core */
    --c-text-deep: #0a0e17;
    --c-text-body: #475467;
    --c-text-light: #98a2b3;
    --c-bg: #ffffff;
    --c-bg-alt: #f8f9fa;
    --c-border: #eaecf0;

    /* Footer Dark Theme */
    --c-dark-bg: #090e17;
    --c-dark-alt: #131b2c;
    --c-dark-border: #1f2937;
    --c-dark-text: #9ca3af;
    --c-dark-heading: #f9fafb;

    /* Typography */
    --f-body: 'Inter', -apple-system, sans-serif;
    --f-heading: 'Montserrat', var(--f-body);

    /* Layout */
    --wrap-width: 1400px;
    --header-h: 90px;

    /* Effects */
    --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.1), 0 1px 2px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 4px 8px -2px rgba(16, 24, 40, 0.1), 0 2px 4px -2px rgba(16, 24, 40, 0.06);
    --shadow-glow: 0 10px 25px -5px rgba(219, 89, 25, 0.3);
    --trans: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
    margin: 0;
    font-family: var(--f-body);
    color: var(--c-text-body);
    background: var(--c-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--f-heading);
    color: var(--c-text-deep);
    font-weight: 700;
    margin-top: 0;
}

a {
    color: var(--c-primary);
    text-decoration: none;
    transition: var(--trans);
}

a:hover {
    color: var(--c-primary-hover);
}

.container {
    max-width: var(--wrap-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ==============================================
   BUTTON COMPONENTS
============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-family: var(--f-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--trans);
    position: relative;
    overflow: hidden;
}

.btn svg {
    transition: transform 0.3s ease;
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-brand {
    background-color: var(--c-primary);
    color: #fff;
}

.btn-brand:hover {
    background-color: var(--c-primary-hover);
    color: #fff;
}

.btn-white {
    background-color: #fff;
    color: var(--c-text-deep);
}

.btn-white:hover {
    background-color: var(--c-bg-alt);
    color: var(--c-primary);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* ==============================================
   ELITE HEADER DESIGN (LIGHT & PROFESSIONAL)
============================================== */
.site-header-elite {
    background: #ffffff;
    border-bottom: 1px solid rgba(219, 89, 25, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-header-elite.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-bottom-color: transparent;
}

.header-elite-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: padding 0.3s ease;
}

@media (min-width: 1024px) {
    .header-elite-wrap {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.site-header-elite.scrolled .header-elite-wrap {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Logo Area */
.header-logo {
    display: flex;
    align-items: center;
}

.header-logo .custom-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.text-logo {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.05em;
    line-height: 1.25;
    display: flex;
    align-items: center;
    text-decoration: none;
    text-transform: uppercase;
}

.logo-accent {
    color: var(--c-primary);
}

/* Center Navigation */
.header-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 2rem;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    font-family: var(--f-body);
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
    display: flex;
    align-items: center;
}

.main-navigation a:hover,
.main-navigation .current-menu-item>a {
    color: var(--c-primary);
}

/* Header Action Area */
.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-selector-elite {
    position: relative;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s ease-in-out;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-selector-elite svg {
    transition: transform 0.2s ease;
    color: #64748b;
    width: 14px;
    height: 14px;
}

.lang-selector-elite:hover {
    color: var(--c-primary);
}

.lang-selector-elite:hover svg {
    transform: rotate(180deg);
    color: var(--c-primary);
}

.lang-selector-elite .lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: #ffffff;
    min-width: 150px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    list-style: none;
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 1050;
    border: 1px solid #f1f5f9;
}

.lang-selector-elite:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 8px 20px;
    color: #475569;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.lang-dropdown li a:hover {
    background-color: #f8fafc;
    color: var(--c-primary);
    padding-left: 24px;
}

.btn-elite {
    background: var(--c-primary);
    color: #ffffff;
    padding: 0 1.25rem;
    height: 40px;
    border-radius: 0.5rem;
    font-weight: 700;
    font-family: var(--f-body);
    font-size: 0.875rem;
    text-decoration: none;
    transition: transform 0.15s ease-in-out;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
}

.btn-elite:hover {
    transform: scale(1.05);
}

.btn-elite:active {
    transform: scale(0.95);
}


/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--c-bg-alt);
    border: 1px solid var(--c-border);
    border-radius: 4px;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--c-text-deep);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
}

.mobile-menu-toggle .icon-close {
    display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}

/* ==============================================
   PRO ENTERPRISE FOOTER (DARK)
============================================== */
.bg-slate-900 {
    background-color: #0f172a;
    color: #ffffff;
}

.site-footer {
    padding: 4rem 1.5rem;
}

@media (min-width: 1024px) {
    .site-footer {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-widget {
    display: flex;
    flex-direction: column;
}

.brand-widget {
    gap: 1.5rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-wrap .text-primary {
    color: var(--c-primary);
}

.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.25;
    letter-spacing: -0.05em;
    margin: 0;
}

.footer-desc {
    color: #94a3b8;
    font-size: 0.875rem;
    line-height: 1.625;
    margin: 0;
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    margin-top: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #94a3b8;
    font-size: 0.875rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-links a:hover {
    color: var(--c-primary);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact-list .material-symbols-outlined {
    font-size: 1.25rem;
    color: var(--c-primary);
}

.footer-bottom-bar {
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (min-width: 768px) {
    .footer-bottom-bar {
        flex-direction: row;
    }
}

.footer-bottom-bar p {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.footer-legal a:hover {
    color: var(--c-primary);
}

/* ==============================================
   RESPONSIVE
============================================== */
@media (max-width: 1024px) {
    .btn-elite {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    /* Keep language selector visible and aligned with toggle */
    .header-actions {
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: block;
        padding: 8px;
        background: transparent;
        border: none;
        color: #0f172a;
        cursor: pointer;
    }

    .mobile-menu-toggle svg {
        width: 28px;
        height: 28px;
    }

    .header-elite-wrap {
        padding-top: 0;
        padding-bottom: 0;
        height: 60px;
    }

    .text-logo {
        font-size: 1.1rem;
    }

    .text-logo .material-symbols-outlined {
        font-size: 1.8rem !important;
    }

    /* Full Screen Mobile Menu */
    .main-navigation.toggled {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 1000;
    }

    .main-navigation.toggled ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation.toggled a {
        padding: 18px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
        height: auto;
        /* Reset desktop height */
        display: flex;
        justify-content: flex-start;
    }

    .main-navigation.toggled a::after {
        display: none;
    }

    /* Footer Mobile Fixes */
    .footer-container {
        text-align: center;
    }

    .footer-logo-wrap {
        justify-content: center;
    }

    .footer-contact-list li {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}