/* Text beautification and effects */
.text-effects {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(45deg, var(--primary-color), #7986cb);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    display: inline-block;
    text-shadow: none !important;
}

[data-theme="dark"] .gradient-text {
    background: linear-gradient(45deg, #536dfe, #90caf9);
    background-clip: text;
    -webkit-background-clip: text;
}

/* Glowing effect for dark mode links */
[data-theme="dark"] .glow-on-hover:hover {
    text-shadow: 0 0 8px rgba(83, 109, 254, 0.6);
}

/* Glass morphism effect for headers */
.glass-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .glass-header {
    background: rgba(26, 32, 44, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(66, 77, 107, 0.2);
}

/* Enhanced headings with border and padding */
.enhanced-heading {
    padding-bottom: 10px;
    position: relative;
    display: inline-block;
}

.enhanced-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.enhanced-heading:hover::after {
    width: 100%;
}

/* Beautiful quotes styling */
.quote {
    font-style: italic;
    padding: 20px;
    background: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

[data-theme="dark"] .quote {
    background: rgba(26, 32, 44, 0.6);
    border-left: 5px solid var(--primary-color);
}

/* Beautiful list styling */
.custom-list {
    list-style: none;
    padding-left: 20px;
}

.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.custom-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

[data-theme="dark"] .custom-list li::before {
    background: var(--primary-color);
    box-shadow: 0 0 5px rgba(83, 109, 254, 0.5);
}

/* Modern section dividers */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 40px 0;
}

/* Highlight important text */
.highlight {
    background: rgba(74, 99, 231, 0.1);
    color: var(--primary-color);
    padding: 3px 6px;
    border-radius: 4px;
}

[data-theme="dark"] .highlight {
    background: rgba(83, 109, 254, 0.2);
    color: #90caf9;
}

/* Apply glass morphism to header */
header {
    transition: all 0.3s ease;
}

header.sticky {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] header.sticky {
    background: rgba(21, 26, 32, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Enhanced menu styles */
.menu-items {
    transition: all 0.3s ease;
}

header.sticky .menu-items .menu-item {
    color: var(--text-color);
}

[data-theme="dark"] header.sticky .menu-items .menu-item {
    color: #e0e0e0;
}

.menu-item {
    position: relative;
    transition: all 0.3s ease;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.menu-item:hover::after,
.menu-item.active::after {
    width: 100%;
}

/* Glass effect for dropdown menus if needed later */
.glass-dropdown {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

[data-theme="dark"] .glass-dropdown {
    background: rgba(26, 32, 44, 0.8);
    border: 1px solid rgba(66, 77, 107, 0.2);
}
