/* =========================================
   SILASYN FLAT LIGHT THEME
   ========================================= */

:root {
  --bg: #f8fafc;
  --fg: #0f172a;
  --accent: #ea580c;
  --border: #e2e8f0;
}

/* Base */
html { 
    height: 100%; 
    scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* --- FLAT UI COMPONENTS --- */
.flat-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.flat-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-primary {
    background-color: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #c2410c;
}

/* --- FLOATING NAV LINK EFFECT & HOVER UNDERLINE --- */
.nav-link, .mobile-nav-link {
    position: relative;
    text-decoration: none;
}

.nav-link::after, .mobile-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.mobile-nav-link::after {
    bottom: 0;
}

.nav-link:hover::after, .mobile-nav-link:hover::after {
    width: 100%;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.7s ease-out forwards;
}