/*
Theme Name: DSLR Design
Theme URI: https://www.dslr-portal.de/
Author: Antigravity
Description: Professional Camera & DSLR Design with high-tech red and slate aesthetic.
Version: 1.0
*/

:root {
    --dslr-dark: #0F172A;
    /* Deeper Slate instead of pure black */
    --dslr-bg-alt: #1E293B;
    /* Lighter slate for sections */
    --dslr-red: #EF4444;
    /* Brighter, more modern red */
    --dslr-slate: #1E293B;
    --dslr-accent: #334155;
    --dslr-silver: #94A3B8;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --glass-bg: rgba(15, 23, 42, 0.8);
}

body {
    background-color: var(--dslr-dark);
    color: var(--text-main);
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, sans-serif;
    letter-spacing: -0.01em;
}

.dslr-gradient {
    background: linear-gradient(135deg, var(--dslr-red) 0%, #991B1B 100%);
}

.dslr-gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.red-gradient-text {
    background: linear-gradient(135deg, var(--dslr-red) 0%, #991B1B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 99999 !important;
    /* Force on top of everything */
}

/* Dropdown Mega Menu Styling (Bilder-Hosting / Premium Style) */
.dropdown-menu {
    transform-origin: top;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px) scaleY(0.95);
    pointer-events: none;
}

.group:hover .dropdown-menu {
    transform: translateY(0) scaleY(1);
    pointer-events: auto;
}

/* Sub-menu Grid Columns */
.dropdown-menu .grid {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.group:hover .dropdown-menu .grid {
    opacity: 1;
    transform: translateY(0);
}

/* Sub-menu Link Styling */
.dropdown-menu a {
    position: relative;
    transition: all 0.2s ease;
}

/* Category Header Indicator */
.dropdown-menu a[class*="font-black"]::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%) scaleY(0.5);
    width: 2px;
    height: 100%;
    background: var(--dslr-red);
    opacity: 0.5;
    transition: transform 0.3s;
}

.dropdown-menu a[class*="font-black"]:hover::before {
    transform: translateY(-50%) scaleY(1);
    opacity: 1;
}

/* Standard Item Hover Effect (Refined for horizontal layout) */
.dropdown-menu a[class*="text-white/60"] {
    display: inline-block;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-menu a[class*="bg-white/"]:hover {
    background: var(--dslr-red) !important;
    color: #FFF !important;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Interactivity Fix for Fixed Menu */
.dropdown-menu:hover {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    background-color: rgba(15, 23, 42, 0.99) !important;
    /* Extremely solid on hover */
}

/* Mobile Sub-menu Styling */
.bubble-sub {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lg\:hidden.fixed.inset-0 a {
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 1024px) {
    .glass-nav {
        position: fixed !important;
        width: 100%;
        top: 0;
        z-index: 99999 !important;
    }
}

/* Accordion Arrow Rotation */
.rotate-180 {
    transform: rotate(180deg);
}

.premium-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Content Styling / Typography */
.entry-content {
    font-size: 1.35rem;
    /* Larger font size for better readability */
    line-height: 1.8;
}

.entry-content h2 {
    color: #FFF;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 4rem 0 2rem;
    letter-spacing: -0.03em;
    position: relative;
    display: inline-block;
}

.entry-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--dslr-red);
    border-radius: 2px;
}

.entry-content h3 {
    color: var(--dslr-red);
    font-size: 1.75rem;
    font-weight: 700;
    margin: 3rem 0 1.5rem;
}

.entry-content p {
    margin-bottom: 1.75rem;
    color: #CBD5E1;
}

.entry-content a {
    color: var(--dslr-red);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border 0.3s;
}

.entry-content a:hover {
    border-bottom-color: var(--dslr-red);
}

.entry-content ul,
.entry-content ol {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 1rem;
    color: #CBD5E1;
}

.entry-content blockquote {
    background: rgba(239, 68, 68, 0.05);
    border-left: 4px solid var(--dslr-red);
    padding: 2.5rem;
    margin: 3rem 0;
    border-radius: 0 1.5rem 1.5rem 0;
    font-style: italic;
    color: #FFF;
    font-size: 1.25rem;
}

/* Info Box */
.dslr-box {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 2rem;
    margin: 3rem 0;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

/* Custom Shortcode: Lists */
.dslr-custom-list li {
    backdrop-filter: blur(8px);
}

.dslr-custom-list span:first-child {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

/* Custom Shortcode: Buttons */
.dslr-custom-btn {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dslr-custom-btn:hover {
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
    filter: brightness(1.1);
}

.dslr-custom-btn i {
    font-size: 1.2em;
    vertical-align: middle;
}

/* Comments Styling */
.comments-area input,
.comments-area textarea {
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.comments-area input:focus,
.comments-area textarea:focus {
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1), inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

.comment-list .children {
    margin-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .comment-list .children {
        margin-left: 1rem;
        padding-left: 1rem;
    }
}