/* Cayirhan Theme Styles */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    view-transition-name: main-header;
}

.nav-transparent {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-transparent .nav-link {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(0, 0, 0, 0.8);
}

.nav-transparent .nav-logo {
    filter: brightness(0) invert(1);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

/* Prevent layout shift when font-weight changes */
.nav-link::before {
    content: attr(data-text);
    font-weight: 600;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #10b981, #059669);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-transparent .nav-link {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-transparent .nav-link:hover {
    color: white;
}

.nav-transparent .nav-link::after {
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0.8));
}

.nav-transparent .lang-toggle {
    color: rgba(255, 255, 255, 0.9);
}

.nav-transparent .action-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-transparent .action-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-transparent .mobile-menu-btn {
    color: white;
}

.nav-transparent .mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #064e3b, #10b981);
}

/* Custom Keyframe for Ticker */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}

@keyframes energy-flow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.animate-energy-flow {
    animation: energy-flow 3s linear infinite;
}

/* Parallax Styles */
.parallax-wrapper {
    height: 130%;
    width: 100%;
    position: absolute;
    top: -15%;
    left: 0;
    will-change: transform;
    z-index: 0;
}

/* ===========================================
   Typography - Rich Text Content
   =========================================== */

.prose h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #0f172a;
    line-height: 1.2;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: #1e293b;
    line-height: 1.3;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 1.25rem;
    color: #334155;
    line-height: 1.4;
}

.prose h4 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    color: #475569;
    line-height: 1.4;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #475569;
}

/* ===========================================
   List Styles (General)
   =========================================== */

.prose ul:not(.timeline),
.prose ol {
    margin: 1.25rem 0;
    padding-left: 0;
    list-style: none;
}

.prose ul:not(.timeline) li,
.prose ol li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.4rem;
    line-height: 1.6;
    color: #475569;
}

/* Unordered list bullets - emerald gradient dot */
.prose ul:not(.timeline) li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* Ordered list numbers - emerald styled */
.prose ol {
    counter-reset: list-counter;
}

.prose ol li {
    counter-increment: list-counter;
}

.prose ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #059669;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.1));
    border-radius: 50%;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Nested lists */
.prose ul:not(.timeline) ul,
.prose ul:not(.timeline) ol,
.prose ol ul,
.prose ol ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Second level bullets - smaller, different style */
.prose ul:not(.timeline) ul li::before {
    width: 6px;
    height: 6px;
    top: 0.6rem;
    background: transparent;
    border: 2px solid #10b981;
    box-shadow: none;
}

/* Third level bullets - dash style */
.prose ul:not(.timeline) ul ul li::before {
    width: 10px;
    height: 2px;
    top: 0.75rem;
    border-radius: 1px;
    border: none;
    background: #94a3b8;
}

/* ===========================================
   Timeline Styles
   =========================================== */

ul.timeline,
.prose ul.timeline {
    position: relative !important;
    margin-top: 30px;
    border-left: 1px solid #e2e8f0 !important;
    margin-left: 0.75rem !important;
    padding-left: 0 !important;
    list-style: none !important;
}

ul.timeline li,
.prose ul.timeline li {
    position: relative !important;
    padding-left: 1.5rem !important;
    padding-bottom: 2rem !important;
}

ul.timeline li:last-child,
.prose ul.timeline li:last-child {
    padding-bottom: 0 !important;
}

ul.timeline li::before,
.prose ul.timeline li::before {
    content: '' !important;
    position: absolute !important;
    left: -5px !important;
    top: 0.5rem !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: white !important;
    border: 2px solid #cbd5e1 !important;
}

ul.timeline li p,
.prose ul.timeline li p {
    margin: 0 !important;
    color: #475569 !important;
    line-height: 1.6 !important;
}