/* ===========================================================
   adnanumar.com — custom styles
   Layered on top of Tailwind CDN.
   =========================================================== */

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

code, pre, .mono {
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===========================================================
   Stack pills (tech stack section)
   =========================================================== */
.stack-pill {
    @apply bg-slate-800 border border-white/10 rounded-xl px-4 py-3 text-center text-sm font-semibold text-slate-300 hover:text-white hover:border-cyan-500/30 hover:bg-slate-800/80 transition cursor-default;
}

/* ===========================================================
   FAQ accordion — premium
   =========================================================== */
.faq-item {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6), rgba(2, 6, 23, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(6, 182, 212, 0.25);
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.8));
}

.faq-item[open] {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.08);
    background: linear-gradient(to bottom, rgba(8, 47, 73, 0.25), rgba(2, 6, 23, 0.7));
}

.faq-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    cursor: pointer;
    color: #f1f5f9;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-summary:hover {
    color: #67e8f9;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-item[open] .faq-summary {
    color: #ffffff;
}

.faq-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 9999px;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.3);
    color: #22d3ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(135deg);
    background: #06b6d4;
    color: #0a0e27;
    border-color: #06b6d4;
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: #94a3b8;
    line-height: 1.75;
    animation: faqReveal 0.4s ease;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================================================
   Calendly widget refinement
   =========================================================== */
.calendly-inline-widget {
    min-height: 720px;
}

@media (max-width: 640px) {
    .calendly-inline-widget {
        min-height: 600px;
    }
}

/* ===========================================================
   Subtle animations
   =========================================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeUp {
    animation: fadeUp 0.6s ease-out;
}

/* ===========================================================
   Selection
   =========================================================== */
::selection {
    background: #D97706;
    color: white;
}

/* ===========================================================
   Scrollbar (subtle, dark theme)
   =========================================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0F172A;
}

::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* ===========================================================
   Focus states (accessibility)
   =========================================================== */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #06B6D4;
    outline-offset: 2px;
    border-radius: 4px;
}