/* Additional Custom Styles */

/* Header Styles */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--td-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--td-shadow-soft);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    max-height: 50px;
    width: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
}

.site-title a {
    color: var(--td-foreground);
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.75rem;
    color: var(--td-muted-foreground);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.25rem;
}

.main-navigation li {
    margin: 0;
}

.main-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    font-weight: 700;
    font-size: 0.875rem;
    color: rgba(30, 41, 59, 0.75);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--td-primary);
    background: var(--td-accent);
}

/* Footer Styles */
.site-footer {
    background: var(--td-secondary);
    color: var(--td-secondary-foreground);
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-widget-area {
    color: rgba(255, 255, 255, 0.9);
}

.footer-widget-area .widget-title {
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-widget-area ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget-area li {
    margin-bottom: 0.5rem;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer-widget-area a:hover {
    color: var(--td-primary);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Main Content */
.site-main {
    min-height: 400px;
}

/* Elementor Compatibility */
.elementor-section {
    position: relative;
}

.elementor-widget {
    margin-bottom: 0;
}

/* RTL Fixes */
[dir="rtl"] .main-navigation ul {
    flex-direction: row-reverse;
}
