/* Custom Styles for Bronz Theme */
/* Firefox */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}

/* Chrome */
@media (forced-colors: active) {
    :root {
        color-scheme: light;
    }
}
body {
    background-color: #ffffff;
    color: #111111;
}

/* Base custom classes (from default.htm) */
.periodic-cell {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.periodic-cell:hover {
    background-color: #ffffff;
    transform: scale(1.02);
    border-color: #c5a065 !important;
    box-shadow: 0 10px 30px -10px rgba(197, 160, 101, 0.3), 0 0 15px rgba(197, 160, 101, 0.1);
    z-index: 10;
}

.element-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #a6824c;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: #a6824c;
    font-weight: 700;
}

.periodic-cell .element-symbol {
    transition: color 0.3s ease;
}

.periodic-cell:hover .element-symbol {
    color: #a6824c;
}

.periodic-cell:hover .element-detail {
    color: #a6824c;
}

.technical-line {
    position: absolute;
    background-color: #e5e5e5;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e5e5e5;
}

::-webkit-scrollbar-thumb:hover {
    background: #999999;
}

.bronze-text-gradient {
    background: linear-gradient(135deg, #d4b47d 0%, #a6824c 50%, #8c6a38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtle-grid {
    background-size: 40px 40px;
    background-image: linear-gradient(to right, rgba(168, 125, 67, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(168, 125, 67, 0.05) 1px, transparent 1px);
}

.mega-menu-trigger:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

.hittite-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20L20 0M20 40L40 20M20 20L0 40M40 0L20 20' stroke='%23a6824c' stroke-width='0.5' fill='none' opacity='0.05'/%3E%3C/svg%3E");
}

.forge-glow {
    box-shadow: 0 0 50px 20px rgba(255, 157, 0, 0.15);
    filter: drop-shadow(0 0 10px rgba(255, 157, 0, 0.2));
}

.mask-image-gradient {
    -webkit-mask-image: linear-gradient(to right, transparent, black 40%);
    mask-image: linear-gradient(to right, transparent, black 40%);
}

/* Custom classes extracted from muhendislik-plastikleri-detay-orig.html */
.mono-data {
    font-family: 'JetBrains Mono', monospace;
}

.bronze-accent {
    border-left: 2px solid #b8860b;
}

.bg-dot-pattern {
    background-color: #f9f9f9;
    background-image: radial-gradient(#e5e5e5 0.5px, transparent 0.5px);
    background-size: 20px 20px;
}
